diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index cfe7db524f..22b2fd5bf9 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -2026,11 +2026,9 @@ def maxRecDepthErrorMessage : String := namespace Macro /- References -/ -constant MethodsRefPointed : PointedType.{0} +private constant MethodsRefPointed : PointedType.{0} -def MethodsRef : Type := MethodsRefPointed.type -instance : Inhabited MethodsRef where - default := MethodsRefPointed.val +private def MethodsRef : Type := MethodsRefPointed.type structure Context where methods : MethodsRef @@ -2102,7 +2100,10 @@ unsafe def mkMethodsImp (methods : Methods) : MethodsRef := unsafeCast methods @[implementedBy mkMethodsImp] -constant mkMethods (methods : Methods) : MethodsRef +constant mkMethods (methods : Methods) : MethodsRef := MethodsRefPointed.val + +instance : Inhabited MethodsRef where + default := mkMethods arbitrary unsafe def getMethodsImp : MacroM Methods := bind read fun ctx => pure (unsafeCast (ctx.methods)) diff --git a/stage0/src/Lean/Elab/Attributes.lean b/stage0/src/Lean/Elab/Attributes.lean index 9e39d984a2..dade21c8e3 100644 --- a/stage0/src/Lean/Elab/Attributes.lean +++ b/stage0/src/Lean/Elab/Attributes.lean @@ -30,12 +30,12 @@ instance : Inhabited Attribute where attrKind := leading_parser optional («scoped» <|> «local») ``` -/ -def toAttributeKind [Monad m] [MonadResolveName m] [MonadError m] (attrKindStx : Syntax) : m AttributeKind := do +def toAttributeKind (attrKindStx : Syntax) : MacroM AttributeKind := do if attrKindStx[0].isNone then return AttributeKind.global else if attrKindStx[0][0].getKind == ``Lean.Parser.Term.scoped then - if (← getCurrNamespace).isAnonymous then - throwError "scoped attributes must be used inside namespaces" + if (← Macro.getCurrNamespace).isAnonymous then + throw <| Macro.Exception.error (← getRef) "scoped attributes must be used inside namespaces" return AttributeKind.scoped else return AttributeKind.local @@ -45,7 +45,7 @@ def mkAttrKindGlobal : Syntax := def elabAttr {m} [Monad m] [MonadEnv m] [MonadResolveName m] [MonadError m] [MonadMacroAdapter m] [MonadRecDepth m] [MonadTrace m] [MonadOptions m] [AddMessageContext m] (attrInstance : Syntax) : m Attribute := do /- attrInstance := ppGroup $ leading_parser attrKind >> attrParser -/ - let attrKind ← toAttributeKind attrInstance[0] + let attrKind ← liftMacroM <| toAttributeKind attrInstance[0] let attr := attrInstance[1] let attr ← liftMacroM <| expandMacros attr let attrName ← diff --git a/stage0/src/Lean/Elab/DefView.lean b/stage0/src/Lean/Elab/DefView.lean index a4456c34dc..3c6ae9e450 100644 --- a/stage0/src/Lean/Elab/DefView.lean +++ b/stage0/src/Lean/Elab/DefView.lean @@ -120,7 +120,7 @@ partial def main (type : Syntax) : CommandElabM Name := do if str.isEmpty then mkFreshInstanceName else - mkUnusedBaseName <| Name.mkSimple ("inst" ++ str) + liftMacroM <| mkUnusedBaseName <| Name.mkSimple ("inst" ++ str) end MkInstanceName @@ -139,7 +139,7 @@ def mkDefViewOfConstant (modifiers : Modifiers) (stx : Syntax) : CommandElabM De def mkDefViewOfInstance (modifiers : Modifiers) (stx : Syntax) : CommandElabM DefView := do -- leading_parser Term.attrKind >> "instance " >> optNamedPrio >> optional declId >> declSig >> declVal - let attrKind ← toAttributeKind stx[0] + let attrKind ← liftMacroM <| toAttributeKind stx[0] let prio ← liftMacroM <| expandOptNamedPrio stx[2] let attrStx ← `(attr| instance $(quote prio):numLit) let (binders, type) := expandDeclSig stx[4] diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index b73fba92c8..bcc51fc6d7 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -37,10 +37,40 @@ private def liftMethodDelimiter (k : SyntaxNodeKind) : Bool := k == ``Lean.Parser.Term.termTry || k == ``Lean.Parser.Term.termFor +/-- Given `stx` which is a `letPatDecl`, `letEqnsDecl`, or `letIdDecl`, return true if it has binders. -/ +private def letDeclArgHasBinders (letDeclArg : Syntax) : Bool := + let k := letDeclArg.getKind + if k == ``Lean.Parser.Term.letPatDecl then + false + else if k == ``Lean.Parser.Term.letEqnsDecl then + true + else if k == ``Lean.Parser.Term.letIdDecl then + -- letIdLhs := ident >> checkWsBefore "expected space before binders" >> many (ppSpace >> (simpleBinderWithoutType <|> bracketedBinder)) >> optType + let binders := letDeclArg[1] + binders.getNumArgs > 0 + else + false + +/-- Return `true` if the given `letDecl` contains binders. -/ +private def letDeclHasBinders (letDecl : Syntax) : Bool := + letDeclArgHasBinders letDecl[0] + /-- Return true if we should generate an error message when lifting a method over this kind of syntax. -/ -private def liftMethodForbiddenBinder (k : SyntaxNodeKind) : Bool := - k == ``Lean.Parser.Term.fun || - k == ``Lean.Parser.Term.matchAlts +private def liftMethodForbiddenBinder (stx : Syntax) : Bool := + let k := stx.getKind + if k == ``Lean.Parser.Term.fun || k == ``Lean.Parser.Term.matchAlts || + k == ``Lean.Parser.Term.doLetRec || k == ``Lean.Parser.Term.letrec then + -- It is never ok to lift over this kind of binder + true + -- The following kinds of `let`-expressions require extra checks to decide whether they contain binders or not + else if k == ``Lean.Parser.Term.let then + letDeclHasBinders stx[1] + else if k == ``Lean.Parser.Term.doLet then + letDeclHasBinders stx[2] + else if k == ``Lean.Parser.Term.doLetArrow then + letDeclArgHasBinders stx[2] + else + false private partial def hasLiftMethod : Syntax → Bool | Syntax.node k args => @@ -1138,7 +1168,7 @@ private partial def expandLiftMethodAux (inQuot : Bool) (inBinder : Bool) : Synt return stx else if k == `Lean.Parser.Term.liftMethod && !inQuot then withFreshMacroScope do if inBinder then - Macro.throwErrorAt stx "cannot lift `(<- ...)` over a binder, this error usually happens when you are trying to lift a method nested in a `fun` or `match`-alternative, and it can often be fixed by adding a missing `do`" + Macro.throwErrorAt stx "cannot lift `(<- ...)` over a binder, this error usually happens when you are trying to lift a method nested in a `fun`, `let`, or `match`-alternative, and it can often be fixed by adding a missing `do`" let term := args[1] let term ← expandLiftMethodAux inQuot inBinder term let auxDoElem ← `(doElem| let a ← $term:term) @@ -1146,7 +1176,7 @@ private partial def expandLiftMethodAux (inQuot : Bool) (inBinder : Bool) : Synt `(a) else do let inAntiquot := stx.isAntiquot && !stx.isEscapedAntiquot - let inBinder := inBinder || (!inQuot && liftMethodForbiddenBinder k) + let inBinder := inBinder || (!inQuot && liftMethodForbiddenBinder stx) let args ← args.mapM (expandLiftMethodAux (inQuot && !inAntiquot || stx.isQuot) inBinder) return Syntax.node k args | stx => pure stx diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index 0971afe269..015145a4a3 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -240,7 +240,7 @@ private def declareSyntaxCatQuotParser (catName : Name) : CommandElabM Unit := d ``` It generates the names `term_+_` and `term[_,]` -/ -partial def mkNameFromParserSyntax (catName : Name) (stx : Syntax) : CommandElabM Name := +partial def mkNameFromParserSyntax (catName : Name) (stx : Syntax) : MacroM Name := do mkUnusedBaseName <| Name.mkSimple <| appendCatName <| visit stx "" where visit (stx : Syntax) (acc : String) : String := @@ -295,7 +295,7 @@ private partial def isAtomLikeSyntax (stx : Syntax) : Bool := | none => precDefault let name ← match name? with | some name => pure name.getId - | none => mkNameFromParserSyntax cat syntaxParser + | none => liftMacroM <| mkNameFromParserSyntax cat syntaxParser let prio ← liftMacroM <| evalOptPrio prio? let stxNodeKind := (← getCurrNamespace) ++ name let catParserId := mkIdentFrom stx (cat.appendAfter "Parser") @@ -422,14 +422,14 @@ private partial def antiquote (vars : Array Syntax) : Syntax → Syntax | stx => stx /- Convert `notation` command lhs item into a `syntax` command item -/ -def expandNotationItemIntoSyntaxItem (stx : Syntax) : CommandElabM Syntax := +def expandNotationItemIntoSyntaxItem (stx : Syntax) : MacroM Syntax := let k := stx.getKind if k == `Lean.Parser.Command.identPrec then pure $ Syntax.node `Lean.Parser.Syntax.cat #[mkIdentFrom stx `term, stx[1]] else if k == strLitKind then pure $ Syntax.node `Lean.Parser.Syntax.atom #[stx] else - throwUnsupportedSyntax + Macro.throwUnsupported def strLitToPattern (stx: Syntax) : MacroM Syntax := match stx.isStrLit? with @@ -437,22 +437,22 @@ def strLitToPattern (stx: Syntax) : MacroM Syntax := | none => Macro.throwUnsupported /- Convert `notation` command lhs item into a pattern element -/ -def expandNotationItemIntoPattern (stx : Syntax) : CommandElabM Syntax := +def expandNotationItemIntoPattern (stx : Syntax) : MacroM Syntax := let k := stx.getKind if k == `Lean.Parser.Command.identPrec then mkAntiquotNode stx[0] else if k == strLitKind then - liftMacroM <| strLitToPattern stx + strLitToPattern stx else - throwUnsupportedSyntax + Macro.throwUnsupported /-- Try to derive a `SimpleDelab` from a notation. The notation must be of the form `notation ... => c var_1 ... var_n` where `c` is a declaration in the current scope and the `var_i` are a permutation of the LHS vars. -/ -def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) : OptionT CommandElabM Syntax := do +def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) : OptionT MacroM Syntax := do match qrhs with | `($c:ident $args*) => - let [(c, [])] ← resolveGlobalName c.getId | failure + let [(c, [])] ← Macro.resolveGlobalName c.getId | failure 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 @@ -461,13 +461,13 @@ def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) | `($qrhs) => `($pat) | _ => throw ()) | `($c:ident) => - let [(c, [])] ← resolveGlobalName c.getId | failure + let [(c, [])] ← Macro.resolveGlobalName c.getId | failure `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun _ => `($pat)) | _ => failure private def expandNotationAux (ref : Syntax) - (currNamespace : Name) (attrKind : Syntax) (prec? : Option Syntax) (name? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : CommandElabM Syntax := do - let prio ← liftMacroM <| evalOptPrio prio? + (currNamespace : Name) (attrKind : Syntax) (prec? : Option Syntax) (name? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do + let prio ← evalOptPrio prio? -- build parser let syntaxParts ← items.mapM expandNotationItemIntoSyntaxItem let cat := mkIdentFrom ref `term @@ -490,15 +490,12 @@ private def expandNotationAux (ref : Syntax) | some delabDecl => mkNullNode #[stxDecl, macroDecl, delabDecl] | none => mkNullNode #[stxDecl, macroDecl] -@[builtinCommandElab «notation»] def expandNotation : CommandElab := - adaptExpander fun stx => do - let currNamespace ← getCurrNamespace - match stx with - | `($attrKind:attrKind notation $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $items* => $rhs) => - -- trigger scoped checks early and only once - let _ ← toAttributeKind attrKind - expandNotationAux stx currNamespace attrKind prec? name? prio? items rhs - | _ => throwUnsupportedSyntax +@[builtinMacro Lean.Parser.Command.notation] def expandNotation : Macro + | stx@`($attrKind:attrKind notation $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $items* => $rhs) => do + -- trigger scoped checks early and only once + let _ ← toAttributeKind attrKind + expandNotationAux stx (← Macro.getCurrNamespace) attrKind prec? name? prio? items rhs + | _ => Macro.throwUnsupported /- Convert `macro` argument into a `syntax` command item -/ def expandMacroArgIntoSyntaxItem : Macro @@ -531,28 +528,28 @@ def expandMacroArgIntoPattern (stx : Syntax) : MacroM Syntax := do /- «macro» := leading_parser suppressInsideQuot (Term.attrKind >> "macro " >> optPrecedence >> optNamedName >> optNamedPrio >> macroHead >> many macroArg >> macroTail) -/ -def expandMacro (currNamespace : Name) (stx : Syntax) : CommandElabM Syntax := do +@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro := fun stx => do let attrKind := stx[0] let prec := stx[2].getOptional? - let name? ← liftMacroM <| expandOptNamedName stx[3] - let prio ← liftMacroM <| expandOptNamedPrio stx[4] + let name? ← expandOptNamedName stx[3] + let prio ← expandOptNamedPrio stx[4] let head := stx[5] let args := stx[6].getArgs let cat := stx[8] -- build parser - let stxPart ← liftMacroM <| expandMacroArgIntoSyntaxItem head - let stxParts ← liftMacroM <| args.mapM expandMacroArgIntoSyntaxItem + let stxPart ← expandMacroArgIntoSyntaxItem head + let stxParts ← args.mapM expandMacroArgIntoSyntaxItem let stxParts := #[stxPart] ++ stxParts -- name let name ← match name? with | some name => pure name | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) -- build macro rules - let patHead ← liftMacroM <| expandMacroArgIntoPattern head - let patArgs ← liftMacroM <| args.mapM expandMacroArgIntoPattern + let patHead ← expandMacroArgIntoPattern head + let patArgs ← args.mapM expandMacroArgIntoPattern /- The command `syntax [] ...` adds the current namespace to the syntax node kind. So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ - let pat := Syntax.node (currNamespace ++ name) (#[patHead] ++ patArgs) + let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) if stx.getArgs.size == 11 then -- `stx` is of the form `macro $head $args* : $cat => term` let rhs := stx[10] @@ -566,10 +563,6 @@ def expandMacro (currNamespace : Name) (stx : Syntax) : CommandElabM Syntax := d let macroRulesCmd ← `(macro_rules | `($pat) => `($rhsBody)) return mkNullNode #[stxCmd, macroRulesCmd] -@[builtinCommandElab «macro»] def elabMacro : CommandElab := - adaptExpander fun stx => do - expandMacro (← getCurrNamespace) stx - builtin_initialize registerTraceClass `Elab.syntax @@ -602,8 +595,8 @@ def expandElab (currNamespace : Name) (stx : Syntax) : CommandElabM Syntax := do -- name let name ← match name? with | some name => pure name - | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - -- build pattern for `martch_syntax + | none => liftMacroM <| mkNameFromParserSyntax cat.getId (mkNullNode stxParts) + -- build pattern for syntax `match` let patHead ← liftMacroM <| expandMacroArgIntoPattern head let patArgs ← liftMacroM <| args.mapM expandMacroArgIntoPattern let pat := Syntax.node (currNamespace ++ name) (#[patHead] ++ patArgs) diff --git a/stage0/src/Lean/Elab/Util.lean b/stage0/src/Lean/Elab/Util.lean index 963ee5759a..c467766686 100644 --- a/stage0/src/Lean/Elab/Util.lean +++ b/stage0/src/Lean/Elab/Util.lean @@ -182,17 +182,16 @@ private def expandMacro? (env : Environment) (stx : Syntax) : MacroM (Option Syn @[inline] def adaptMacro {m : Type → Type} [Monad m] [MonadMacroAdapter m] [MonadEnv m] [MonadRecDepth m] [MonadError m] [MonadResolveName m] [MonadTrace m] [MonadOptions m] [AddMessageContext m] (x : Macro) (stx : Syntax) : m Syntax := liftMacroM (x stx) -partial def mkUnusedBaseName [Monad m] [MonadEnv m] [MonadResolveName m] (baseName : Name) : m Name := do - let currNamespace ← getCurrNamespace - let env ← getEnv - if env.contains (currNamespace ++ baseName) then - let rec loop (idx : Nat) := +partial def mkUnusedBaseName (baseName : Name) : MacroM Name := do + let currNamespace ← Macro.getCurrNamespace + if ← Macro.hasDecl (currNamespace ++ baseName) then + let rec loop (idx : Nat) := do let name := baseName.appendIndexAfter idx - if env.contains (currNamespace ++ name) then + if ← Macro.hasDecl (currNamespace ++ name) then loop (idx+1) else name - return loop 1 + loop 1 else return baseName diff --git a/stage0/src/Lean/Parser/Basic.lean b/stage0/src/Lean/Parser/Basic.lean index b7367412f9..26cfbe6570 100644 --- a/stage0/src/Lean/Parser/Basic.lean +++ b/stage0/src/Lean/Parser/Basic.lean @@ -244,6 +244,10 @@ def mkTrailingNode (s : ParserState) (k : SyntaxNodeKind) (iniStackSz : Nat) : P let stack := stack.push newNode ⟨stack, lhsPrec, pos, cache, err⟩ +def setError (s : ParserState) (msg : String) : ParserState := + match s with + | ⟨stack, lhsPrec, pos, cache, _⟩ => ⟨stack, lhsPrec, pos, cache, some { expected := [ msg ] }⟩ + def mkError (s : ParserState) (msg : String) : ParserState := match s with | ⟨stack, lhsPrec, pos, cache, _⟩ => ⟨stack.push Syntax.missing, lhsPrec, pos, cache, some { expected := [ msg ] }⟩ diff --git a/stage0/src/Lean/Parser/StrInterpolation.lean b/stage0/src/Lean/Parser/StrInterpolation.lean index 7ea6a3e907..cddf78ce0e 100644 --- a/stage0/src/Lean/Parser/StrInterpolation.lean +++ b/stage0/src/Lean/Parser/StrInterpolation.lean @@ -15,7 +15,9 @@ partial def interpolatedStrFn (p : ParserFn) : ParserFn := fun c s => let rec parse (startPos : Nat) (c : ParserContext) (s : ParserState) : ParserState := let i := s.pos if input.atEnd i then - s.mkUnexpectedErrorAt "unterminated string literal" startPos + let s := s.pushSyntax Syntax.missing + let s := s.mkNode interpolatedStrKind stackSize + s.setError "unterminated string literal" else let curr := input.get i let s := s.setPos (input.next i) @@ -29,8 +31,15 @@ partial def interpolatedStrFn (p : ParserFn) : ParserFn := fun c s => let s := p c s if s.hasError then s else - let pos := s.pos - andthenFn (satisfyFn (· == '}') "expected '}'") (parse pos) c s + let i := s.pos + let curr := input.get i + if curr == '}' then + let s := s.setPos (input.next i) + parse i c s + else + let s := s.pushSyntax Syntax.missing + let s := s.mkNode interpolatedStrKind stackSize + s.setError "'}'" else parse startPos c s let startPos := s.pos diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index a209f73599..9dd9a4757c 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -179,7 +179,6 @@ lean_object* l_Lean_instInhabitedParserDescr; lean_object* l_instLTFin(lean_object*); lean_object* l_EStateM_dummySave(lean_object*, lean_object*); lean_object* l_instInhabitedOption(lean_object*); -lean_object* l_Lean_Macro_MethodsRefPointed; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Substring_bsize_match__1(lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -790,6 +789,7 @@ lean_object* l___private_Init_Prelude_0__Lean_assembleParts___closed__1; lean_object* l_Lean_Syntax_getOp___boxed(lean_object*, lean_object*); lean_object* l_Lean_Macro_instInhabitedMethods; lean_object* l_instHOrElse___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Prelude_0__Lean_Macro_MethodsRefPointed; lean_object* l_dite___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_String_utf8ByteSize___boxed(lean_object*); lean_object* l_id___rarg(lean_object*); @@ -797,6 +797,7 @@ lean_object* l_Lean_interpolatedStrKind___closed__1; lean_object* l_Monad_seqLeft___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_arbitrary(lean_object*); lean_object* l___private_Init_Prelude_0__Lean_simpMacroScopesAux_match__1(lean_object*); +lean_object* l_Lean_Macro_instInhabitedMethodsRef___closed__1; lean_object* l_Eq_ndrec___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); lean_object* lean_simp_macro_scopes(lean_object*); @@ -11140,15 +11141,7 @@ x_1 = l_Lean_maxRecDepthErrorMessage___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Macro_MethodsRefPointed() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -static lean_object* _init_l_Lean_Macro_instInhabitedMethodsRef() { +static lean_object* _init_l___private_Init_Prelude_0__Lean_Macro_MethodsRefPointed() { _start: { lean_object* x_1; @@ -12090,6 +12083,23 @@ lean_dec(x_1); return x_2; } } +static lean_object* _init_l_Lean_Macro_instInhabitedMethodsRef___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Macro_instInhabitedMethods___closed__5; +x_2 = x_1; +return x_2; +} +} +static lean_object* _init_l_Lean_Macro_instInhabitedMethodsRef() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Macro_instInhabitedMethodsRef___closed__1; +return x_1; +} +} lean_object* l_Lean_Macro_getMethodsImp(lean_object* x_1, lean_object* x_2) { _start: { @@ -12655,10 +12665,8 @@ l_Lean_maxRecDepthErrorMessage___closed__1 = _init_l_Lean_maxRecDepthErrorMessag lean_mark_persistent(l_Lean_maxRecDepthErrorMessage___closed__1); l_Lean_maxRecDepthErrorMessage = _init_l_Lean_maxRecDepthErrorMessage(); lean_mark_persistent(l_Lean_maxRecDepthErrorMessage); -l_Lean_Macro_MethodsRefPointed = _init_l_Lean_Macro_MethodsRefPointed(); -lean_mark_persistent(l_Lean_Macro_MethodsRefPointed); -l_Lean_Macro_instInhabitedMethodsRef = _init_l_Lean_Macro_instInhabitedMethodsRef(); -lean_mark_persistent(l_Lean_Macro_instInhabitedMethodsRef); +l___private_Init_Prelude_0__Lean_Macro_MethodsRefPointed = _init_l___private_Init_Prelude_0__Lean_Macro_MethodsRefPointed(); +lean_mark_persistent(l___private_Init_Prelude_0__Lean_Macro_MethodsRefPointed); l_Lean_Macro_Context_currRecDepth___default = _init_l_Lean_Macro_Context_currRecDepth___default(); lean_mark_persistent(l_Lean_Macro_Context_currRecDepth___default); l_Lean_Macro_Context_maxRecDepth___default = _init_l_Lean_Macro_Context_maxRecDepth___default(); @@ -12703,6 +12711,10 @@ l_Lean_Macro_instInhabitedMethods___closed__5 = _init_l_Lean_Macro_instInhabited lean_mark_persistent(l_Lean_Macro_instInhabitedMethods___closed__5); l_Lean_Macro_instInhabitedMethods = _init_l_Lean_Macro_instInhabitedMethods(); lean_mark_persistent(l_Lean_Macro_instInhabitedMethods); +l_Lean_Macro_instInhabitedMethodsRef___closed__1 = _init_l_Lean_Macro_instInhabitedMethodsRef___closed__1(); +lean_mark_persistent(l_Lean_Macro_instInhabitedMethodsRef___closed__1); +l_Lean_Macro_instInhabitedMethodsRef = _init_l_Lean_Macro_instInhabitedMethodsRef(); +lean_mark_persistent(l_Lean_Macro_instInhabitedMethodsRef); l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__1); l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__2 = _init_l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 11ed38687f..239cbc5d08 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -434,6 +434,7 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___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_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,7 +468,6 @@ extern lean_object* l_Lean_Elab_postponeExceptionId; lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures_match__1(lean_object*); extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_Term_expandArgs_match__2(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandApp_match__1___rarg(lean_object*, lean_object*); @@ -5206,7 +5206,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArg _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_myMacro____x40_Init_Notation___hyg_2278____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Attributes.c b/stage0/stdlib/Lean/Elab/Attributes.c index 56644067df..60e7f779b9 100644 --- a/stage0/stdlib/Lean/Elab/Attributes.c +++ b/stage0/stdlib/Lean/Elab/Attributes.c @@ -19,7 +19,8 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg_ size_t l_USize_add(size_t, size_t); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); extern lean_object* l_term_x5b___x5d___closed__9; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); @@ -30,35 +31,43 @@ extern lean_object* l_Std_Format_join___closed__1; lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedAttribute; extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_Elab_toAttributeKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute(lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_sbracket___closed__4; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__4; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_enableTracing___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Attribute_kind___default; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute_match__1(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -69,20 +78,17 @@ extern lean_object* l_Lean_Parser_Term_local___elambda__1___closed__4; lean_object* l_Lean_Elab_elabAttr(lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedAttribute___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr_match__1(lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); @@ -90,49 +96,57 @@ uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___rarg___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; lean_object* l_Lean_Syntax_getKind(lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1; +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute___closed__2; lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1(lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute___closed__1; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___closed__1; lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__2; lean_object* l_Lean_Elab_instToFormatAttribute___closed__3; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2(lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_toAttributeKind___closed__2; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; lean_object* l_Lean_Elab_mkAttrKindGlobal; lean_object* lean_string_length(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_Lean_Elab_toAttributeKind(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__1; lean_object* l_Lean_Elab_instToFormatAttribute_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; static uint8_t _init_l_Lean_Elab_Attribute_kind___default() { _start: { @@ -337,23 +351,27 @@ x_1 = l_Lean_Elab_instInhabitedAttribute___closed__1; return x_1; } } -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_toAttributeKind___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -lean_dec(x_3); -x_5 = 2; -x_6 = lean_box(x_5); -x_7 = lean_apply_2(x_4, lean_box(0), x_6); -return x_7; +uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_4 = 2; +x_5 = lean_box(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; } } -static lean_object* _init_l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_toAttributeKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___lambda__1___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_toAttributeKind___closed__2() { _start: { lean_object* x_1; @@ -361,149 +379,164 @@ x_1 = lean_mk_string("scoped attributes must be used inside namespaces"); return x_1; } } -static lean_object* _init_l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2() { +lean_object* l_Lean_Elab_toAttributeKind(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2(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; -lean_inc(x_1); -x_5 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___rarg___lambda__1___boxed), 2, 1); -lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Name_isAnonymous(x_4); +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = l_Lean_Syntax_isNone(x_5); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_3); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_box(0); -x_10 = lean_apply_2(x_8, lean_box(0), x_9); -x_11 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_10, x_5); -return x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = l_Lean_Syntax_getArg(x_5, x_4); +lean_dec(x_5); +x_8 = l_Lean_Syntax_getKind(x_7); +x_9 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; +x_10 = lean_name_eq(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_11 = 1; +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -x_13 = l_Lean_throwError___rarg(x_1, x_3, x_12); -x_14 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_13, x_5); +lean_object* x_14; +lean_inc(x_2); +x_14 = l_Lean_Macro_getCurrNamespace(x_2, x_3); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l_Lean_Elab_toAttributeKind___closed__1; +x_19 = l_Lean_Name_isAnonymous(x_16); +lean_dec(x_16); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_free_object(x_14); +x_20 = lean_box(0); +x_21 = lean_apply_3(x_18, x_20, x_2, x_17); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_2, 5); +lean_inc(x_22); +lean_dec(x_2); +x_23 = l_Lean_Elab_toAttributeKind___closed__2; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_24); return x_14; } } -} -lean_object* l_Lean_Elab_toAttributeKind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_4, x_5); -x_7 = l_Lean_Syntax_isNone(x_6); -if (x_7 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +x_27 = l_Lean_Elab_toAttributeKind___closed__1; +x_28 = l_Lean_Name_isAnonymous(x_25); +lean_dec(x_25); +if (x_28 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Syntax_getArg(x_6, x_5); -lean_dec(x_6); -x_9 = l_Lean_Syntax_getKind(x_8); -x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; -x_11 = lean_name_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_3); -lean_dec(x_2); -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -lean_dec(x_1); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = 1; -x_15 = lean_box(x_14); -x_16 = lean_apply_2(x_13, lean_box(0), x_15); -return x_16; +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = lean_apply_3(x_27, x_29, x_2, x_26); +return x_30; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 0); -lean_inc(x_18); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_2, 5); +lean_inc(x_31); lean_dec(x_2); -lean_inc(x_17); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___rarg___lambda__2___boxed), 4, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_17); -lean_closure_set(x_19, 2, x_3); -x_20 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_18, x_19); -return x_20; +x_32 = l_Lean_Elab_toAttributeKind___closed__2; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_26); +return x_34; +} } } else { -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_6); -lean_dec(x_3); +uint8_t x_35; +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_14); +if (x_35 == 0) +{ +return x_14; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_14, 0); +x_37 = lean_ctor_get(x_14, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_14); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +else +{ +uint8_t x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_5); +lean_dec(x_2); +x_39 = 0; +x_40 = lean_box(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +lean_object* l_Lean_Elab_toAttributeKind___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_toAttributeKind___lambda__1(x_1, x_2, x_3); lean_dec(x_2); -x_21 = lean_ctor_get(x_1, 0); -lean_inc(x_21); lean_dec(x_1); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = 0; -x_24 = lean_box(x_23); -x_25 = lean_apply_2(x_22, lean_box(0), x_24); -return x_25; +return x_4; } } -} -lean_object* l_Lean_Elab_toAttributeKind(lean_object* x_1) { +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_toAttributeKind___rarg___lambda__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_toAttributeKind___rarg___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_toAttributeKind___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_toAttributeKind___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_4); -return x_5; +lean_object* x_4; +x_4 = l_Lean_Elab_toAttributeKind(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; } } static lean_object* _init_l_Lean_Elab_mkAttrKindGlobal___closed__1() { @@ -659,10 +692,99 @@ x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1__ return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_9; +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_box(0); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +return x_11; +} +else +{ +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; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_4); +lean_closure_set(x_15, 4, x_5); +lean_closure_set(x_15, 5, x_6); +lean_closure_set(x_15, 6, x_13); +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_16); +lean_inc(x_1); +x_19 = lean_alloc_closure((void*)(l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_3); +lean_closure_set(x_19, 2, x_16); +lean_inc(x_5); +x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_18, x_19); +x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2___boxed), 7, 6); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_17); +lean_closure_set(x_21, 2, x_2); +lean_closure_set(x_21, 3, x_6); +lean_closure_set(x_21, 4, x_4); +lean_closure_set(x_21, 5, x_16); +x_22 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_21); +x_23 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_22, x_15); +return x_23; +} +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); lean_dec(x_1); @@ -670,11 +792,12 @@ x_11 = l_List_reverse___rarg(x_10); lean_inc(x_6); lean_inc(x_2); x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); -x_13 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_8); -x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_13); -return x_14; +x_13 = lean_box(x_8); +x_14 = lean_alloc_closure((void*)(l_Lean_enableTracing___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_14, 0, x_2); +lean_closure_set(x_14, 1, x_13); +x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_14); +return x_15; } } lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_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) { @@ -693,7 +816,7 @@ x_19 = lean_box(0); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_expandMacros(x_7, x_18, x_20); +x_21 = l_Lean_Elab_toAttributeKind(x_7, x_18, x_20); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -769,7 +892,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_1, 1); lean_inc(x_16); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2), 16, 15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2___boxed), 16, 15); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -968,7 +1091,316 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = l_List_reverse___rarg(x_10); +lean_inc(x_6); +lean_inc(x_2); +x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_13 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_8); +x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, 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; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_environment_main_module(x_1); +x_18 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_3); +lean_ctor_set(x_18, 3, x_4); +lean_ctor_set(x_18, 4, x_5); +lean_ctor_set(x_18, 5, x_6); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_expandMacros(x_7, x_18, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_15); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_8, 2); +lean_inc(x_24); +lean_dec(x_8); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_apply_1(x_24, x_25); +lean_inc(x_13); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__10___boxed), 9, 8); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_9); +lean_closure_set(x_27, 2, x_10); +lean_closure_set(x_27, 3, x_11); +lean_closure_set(x_27, 4, x_12); +lean_closure_set(x_27, 5, x_13); +lean_closure_set(x_27, 6, x_14); +lean_closure_set(x_27, 7, x_22); +x_28 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_26, x_27); +return x_28; +} +else +{ +lean_object* x_29; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_throwErrorAt___rarg(x_9, x_15, x_30, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_9); +x_35 = lean_ctor_get(x_15, 0); +lean_inc(x_35); +lean_dec(x_15); +x_36 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_35); +return x_36; +} +} +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__11), 16, 15); +lean_closure_set(x_17, 0, x_2); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_4); +lean_closure_set(x_17, 3, x_5); +lean_closure_set(x_17, 4, x_15); +lean_closure_set(x_17, 5, x_6); +lean_closure_set(x_17, 6, x_7); +lean_closure_set(x_17, 7, x_1); +lean_closure_set(x_17, 8, x_8); +lean_closure_set(x_17, 9, x_9); +lean_closure_set(x_17, 10, x_10); +lean_closure_set(x_17, 11, x_11); +lean_closure_set(x_17, 12, x_12); +lean_closure_set(x_17, 13, x_13); +lean_closure_set(x_17, 14, x_14); +x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_1, 2); +lean_inc(x_16); +lean_dec(x_1); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__12), 15, 14); +lean_closure_set(x_17, 0, x_2); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_4); +lean_closure_set(x_17, 3, x_5); +lean_closure_set(x_17, 4, x_15); +lean_closure_set(x_17, 5, x_6); +lean_closure_set(x_17, 6, x_7); +lean_closure_set(x_17, 7, x_8); +lean_closure_set(x_17, 8, x_9); +lean_closure_set(x_17, 9, x_10); +lean_closure_set(x_17, 10, x_11); +lean_closure_set(x_17, 11, x_12); +lean_closure_set(x_17, 12, x_13); +lean_closure_set(x_17, 13, x_14); +x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_11); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__13), 15, 14); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_14); +lean_closure_set(x_16, 5, x_5); +lean_closure_set(x_16, 6, x_6); +lean_closure_set(x_16, 7, x_7); +lean_closure_set(x_16, 8, x_8); +lean_closure_set(x_16, 9, x_9); +lean_closure_set(x_16, 10, x_10); +lean_closure_set(x_16, 11, x_11); +lean_closure_set(x_16, 12, x_12); +lean_closure_set(x_16, 13, x_13); +x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); +return x_17; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +lean_inc(x_10); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__14), 14, 13); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_4); +lean_closure_set(x_15, 4, x_13); +lean_closure_set(x_15, 5, x_5); +lean_closure_set(x_15, 6, x_6); +lean_closure_set(x_15, 7, x_7); +lean_closure_set(x_15, 8, x_8); +lean_closure_set(x_15, 9, x_9); +lean_closure_set(x_15, 10, x_10); +lean_closure_set(x_15, 11, x_11); +lean_closure_set(x_15, 12, x_12); +x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_14, x_15); +return x_16; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_13, 0, x_1); +lean_inc(x_2); +x_14 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_14, 0, x_2); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_1); +lean_inc(x_12); +lean_inc(x_2); +lean_inc(x_1); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_12); +lean_inc(x_1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_12); +x_18 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_18, 0, x_13); +lean_ctor_set(x_18, 1, x_14); +lean_ctor_set(x_18, 2, x_15); +lean_ctor_set(x_18, 3, x_16); +lean_ctor_set(x_18, 4, x_17); +x_19 = x_18; +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_inc(x_11); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__15), 13, 12); +lean_closure_set(x_22, 0, x_4); +lean_closure_set(x_22, 1, x_5); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_19); +lean_closure_set(x_22, 4, x_6); +lean_closure_set(x_22, 5, x_7); +lean_closure_set(x_22, 6, x_8); +lean_closure_set(x_22, 7, x_9); +lean_closure_set(x_22, 8, x_10); +lean_closure_set(x_22, 9, x_11); +lean_closure_set(x_22, 10, x_20); +lean_closure_set(x_22, 11, x_3); +x_23 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_21, x_22); +return x_23; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_dec(x_1); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__16), 12, 11); +lean_closure_set(x_14, 0, x_2); +lean_closure_set(x_14, 1, x_12); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +lean_closure_set(x_14, 4, x_5); +lean_closure_set(x_14, 5, x_6); +lean_closure_set(x_14, 6, x_7); +lean_closure_set(x_14, 7, x_8); +lean_closure_set(x_14, 8, x_9); +lean_closure_set(x_14, 9, x_10); +lean_closure_set(x_14, 10, x_11); +x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_inc(x_10); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__17), 12, 11); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_3); +lean_closure_set(x_13, 4, x_4); +lean_closure_set(x_13, 5, x_5); +lean_closure_set(x_13, 6, x_6); +lean_closure_set(x_13, 7, x_7); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_9); +lean_closure_set(x_13, 10, x_10); +x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -986,7 +1418,7 @@ x_9 = lean_apply_2(x_7, lean_box(0), x_8); return x_9; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1() { _start: { lean_object* x_1; @@ -994,16 +1426,16 @@ x_1 = lean_mk_string("unknown attribute ["); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1; +x_1 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -1012,14 +1444,14 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = lean_box(x_2); lean_inc(x_3); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__10___boxed), 5, 4); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__19___boxed), 5, 4); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_8); lean_closure_set(x_9, 2, x_3); @@ -1030,11 +1462,11 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_3); -x_12 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_12 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; +x_14 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -1060,13 +1492,13 @@ return x_22; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = lean_box(x_2); lean_inc(x_5); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__11___boxed), 7, 6); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__20___boxed), 7, 6); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_8); lean_closure_set(x_9, 2, x_7); @@ -1077,7 +1509,7 @@ x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_9); return x_10; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1() { _start: { lean_object* x_1; @@ -1085,16 +1517,16 @@ x_1 = lean_mk_string("unknown attribute"); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1; +x_1 = l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -1103,7 +1535,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_6); lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__12___boxed), 7, 6); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__21___boxed), 7, 6); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_7); lean_closure_set(x_8, 2, x_6); @@ -1140,7 +1572,7 @@ else { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_9); -x_19 = l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; +x_19 = l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; x_20 = l_Lean_throwErrorAt___rarg(x_1, x_3, x_6, x_19); x_21 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_20, x_8); return x_21; @@ -1169,72 +1601,90 @@ return x_29; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_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; x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -lean_dec(x_2); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__18), 11, 10); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_3); +lean_closure_set(x_15, 2, x_4); +lean_closure_set(x_15, 3, x_5); +lean_closure_set(x_15, 4, x_14); +lean_closure_set(x_15, 5, x_6); +lean_closure_set(x_15, 6, x_7); +lean_closure_set(x_15, 7, x_8); +lean_closure_set(x_15, 8, x_9); +lean_closure_set(x_15, 9, x_10); +lean_inc(x_10); lean_inc(x_11); -lean_inc(x_7); -lean_inc(x_4); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__9), 11, 10); -lean_closure_set(x_16, 0, x_3); -lean_closure_set(x_16, 1, x_4); -lean_closure_set(x_16, 2, x_5); -lean_closure_set(x_16, 3, x_6); -lean_closure_set(x_16, 4, x_14); -lean_closure_set(x_16, 5, x_7); -lean_closure_set(x_16, 6, x_8); -lean_closure_set(x_16, 7, x_9); -lean_closure_set(x_16, 8, x_10); -lean_closure_set(x_16, 9, x_11); -lean_inc(x_11); -lean_inc(x_15); -x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); -x_18 = lean_box(x_12); -lean_inc(x_11); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__13___boxed), 6, 5); -lean_closure_set(x_19, 0, x_7); -lean_closure_set(x_19, 1, x_18); -lean_closure_set(x_19, 2, x_4); -lean_closure_set(x_19, 3, x_11); -lean_closure_set(x_19, 4, x_15); -x_20 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_17, x_19); -return x_20; +x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_15); +x_17 = lean_box(x_12); +lean_inc(x_10); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__22___boxed), 6, 5); +lean_closure_set(x_18, 0, x_6); +lean_closure_set(x_18, 1, x_17); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_10); +lean_closure_set(x_18, 4, x_11); +x_19 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_16, x_18); +return x_19; } } lean_object* l_Lean_Elab_elabAttr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_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; x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_Syntax_getArg(x_10, x_12); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +lean_dec(x_2); +lean_inc(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_1); -x_14 = l_Lean_Elab_toAttributeKind___rarg(x_1, x_3, x_4, x_13); -lean_dec(x_13); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__9), 11, 10); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_4); +lean_closure_set(x_15, 2, x_5); +lean_closure_set(x_15, 3, x_6); +lean_closure_set(x_15, 4, x_13); +lean_closure_set(x_15, 5, x_1); +lean_closure_set(x_15, 6, x_7); +lean_closure_set(x_15, 7, x_8); +lean_closure_set(x_15, 8, x_9); +lean_closure_set(x_15, 9, x_11); lean_inc(x_11); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__14___boxed), 12, 11); -lean_closure_set(x_15, 0, x_10); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_5); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_1); -lean_closure_set(x_15, 7, x_7); -lean_closure_set(x_15, 8, x_8); -lean_closure_set(x_15, 9, x_9); -lean_closure_set(x_15, 10, x_11); +lean_inc(x_14); x_16 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_14, x_15); -return x_16; +lean_inc(x_11); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__23___boxed), 12, 11); +lean_closure_set(x_17, 0, x_10); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_4); +lean_closure_set(x_17, 3, x_5); +lean_closure_set(x_17, 4, x_6); +lean_closure_set(x_17, 5, x_1); +lean_closure_set(x_17, 6, x_7); +lean_closure_set(x_17, 7, x_8); +lean_closure_set(x_17, 8, x_9); +lean_closure_set(x_17, 9, x_11); +lean_closure_set(x_17, 10, x_14); +x_18 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_17); +return x_18; } } lean_object* l_Lean_Elab_elabAttr(lean_object* x_1) { @@ -1254,64 +1704,93 @@ lean_dec(x_8); return x_9; } } +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +return x_9; +} +} lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_8); +lean_dec(x_8); +x_11 = l_Lean_Elab_elabAttr___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); +lean_dec(x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Lean_Elab_elabAttr___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_7); +return x_17; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ lean_object* x_10; -x_10 = l_Lean_Elab_elabAttr___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_elabAttr___rarg___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_9); return x_10; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Lean_Elab_elabAttr___rarg___lambda__10(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Lean_Elab_elabAttr___rarg___lambda__19(x_1, x_6, x_3, x_4, x_5); lean_dec(x_5); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l_Lean_Elab_elabAttr___rarg___lambda__11(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_elabAttr___rarg___lambda__20(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l_Lean_Elab_elabAttr___rarg___lambda__12(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_elabAttr___rarg___lambda__21(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = l_Lean_Elab_elabAttr___rarg___lambda__13(x_1, x_7, x_3, x_4, x_5, x_6); +x_8 = l_Lean_Elab_elabAttr___rarg___lambda__22(x_1, x_7, x_3, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_12); lean_dec(x_12); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_13); +x_14 = l_Lean_Elab_elabAttr___rarg___lambda__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_13); lean_dec(x_1); return x_14; } @@ -1591,26 +2070,26 @@ l_Lean_Elab_instInhabitedAttribute___closed__1 = _init_l_Lean_Elab_instInhabited lean_mark_persistent(l_Lean_Elab_instInhabitedAttribute___closed__1); l_Lean_Elab_instInhabitedAttribute = _init_l_Lean_Elab_instInhabitedAttribute(); lean_mark_persistent(l_Lean_Elab_instInhabitedAttribute); -l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1); -l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2); +l_Lean_Elab_toAttributeKind___closed__1 = _init_l_Lean_Elab_toAttributeKind___closed__1(); +lean_mark_persistent(l_Lean_Elab_toAttributeKind___closed__1); +l_Lean_Elab_toAttributeKind___closed__2 = _init_l_Lean_Elab_toAttributeKind___closed__2(); +lean_mark_persistent(l_Lean_Elab_toAttributeKind___closed__2); l_Lean_Elab_mkAttrKindGlobal___closed__1 = _init_l_Lean_Elab_mkAttrKindGlobal___closed__1(); lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal___closed__1); l_Lean_Elab_mkAttrKindGlobal___closed__2 = _init_l_Lean_Elab_mkAttrKindGlobal___closed__2(); lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal___closed__2); l_Lean_Elab_mkAttrKindGlobal = _init_l_Lean_Elab_mkAttrKindGlobal(); lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal); -l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__11___closed__1); -l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2); -l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3); -l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__13___closed__1); -l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2); +l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__20___closed__1); +l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2); +l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3); +l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__22___closed__1); +l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index a4518cf3eb..103a946537 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -333,6 +333,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948___ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__3; extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM; @@ -363,7 +364,6 @@ lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; @@ -2554,7 +2554,7 @@ static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Expr_getAutoParamTactic_x3f___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22118,7 +22118,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 9fcdc661c4..b79c26fab2 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -667,6 +667,7 @@ lean_object* l_Lean_Elab_Command_addUnivLevel(lean_object*, lean_object*, lean_o uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedNameGenerator___closed__1; extern lean_object* l_Lean_instInhabitedTraceState___closed__1; +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_List_drop___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4; lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -715,7 +716,6 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6(lean_object*, lean_o extern lean_object* l_Lean_Parser_Command_end___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1501____closed__1; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabEnd___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_Command_elabExport___closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce(lean_object*); @@ -9624,7 +9624,7 @@ static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4162____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -13321,7 +13321,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Elab_Command_elabCommand___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index c04ff4ec5a..c6248af2a6 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -315,7 +315,6 @@ lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Comm lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___boxed__const__1; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2278____closed__4; @@ -378,6 +377,7 @@ lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__2___rarg(lean_obje lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr(lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_Elab_Command_elabMutual___closed__1; +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement___closed__1; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -4030,7 +4030,6 @@ x_9 = x_4 < x_3; if (x_9 == 0) { lean_object* x_10; lean_object* x_11; -lean_dec(x_7); x_10 = x_5; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); @@ -4074,7 +4073,6 @@ lean_ctor_set(x_36, 3, x_33); lean_ctor_set(x_36, 4, x_34); lean_ctor_set(x_36, 5, x_35); lean_ctor_set(x_36, 6, x_29); -lean_inc(x_7); lean_inc(x_36); x_37 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(x_25, x_36, x_7, x_28); lean_dec(x_25); @@ -4108,7 +4106,6 @@ else { uint8_t x_45; lean_dec(x_14); -lean_dec(x_7); x_45 = !lean_is_exclusive(x_42); if (x_45 == 0) { @@ -4154,7 +4151,6 @@ else { uint8_t x_54; lean_dec(x_14); -lean_dec(x_7); x_54 = !lean_is_exclusive(x_51); if (x_54 == 0) { @@ -4183,7 +4179,6 @@ lean_dec(x_23); lean_dec(x_14); x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__8___closed__2; x_59 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(x_58, x_36, x_7, x_39); -lean_dec(x_7); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { @@ -4211,7 +4206,6 @@ uint8_t x_64; lean_dec(x_36); lean_dec(x_23); lean_dec(x_14); -lean_dec(x_7); x_64 = !lean_is_exclusive(x_37); if (x_64 == 0) { @@ -4659,6 +4653,7 @@ lean_dec(x_3); x_10 = lean_unbox_usize(x_4); lean_dec(x_4); x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__8(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); @@ -4805,7 +4800,6 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_unsigned_to_nat(0u); x_7 = l_Lean_Syntax_getArg(x_1, x_6); -lean_inc(x_3); lean_inc(x_2); x_8 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(x_7, x_2, x_3, x_4); lean_dec(x_7); @@ -5202,7 +5196,6 @@ x_11 = lean_unsigned_to_nat(0u); x_12 = lean_array_uset(x_3, x_2, x_11); x_13 = x_10; x_14 = l_Lean_Syntax_getArg(x_13, x_11); -lean_inc(x_5); lean_inc(x_4); x_15 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(x_14, x_4, x_5, x_6); lean_dec(x_14); @@ -7164,7 +7157,7 @@ lean_dec(x_13); lean_dec(x_12); x_30 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_30, 0, x_24); -x_31 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_31 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -7267,7 +7260,7 @@ lean_dec(x_49); lean_dec(x_48); x_67 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_67, 0, x_61); -x_68 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_68 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); @@ -7621,7 +7614,6 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); -lean_inc(x_3); lean_inc(x_2); x_17 = l_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(x_16, x_2, x_3, x_14); lean_dec(x_16); @@ -7642,7 +7634,6 @@ x_24 = lean_usize_of_nat(x_23); lean_dec(x_23); x_25 = lean_box(0); x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__3(x_10, x_15, x_18, x_22, x_24, x_10, x_25, x_2, x_3, x_19); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_22); if (lean_obj_tag(x_26) == 0) @@ -7696,7 +7687,6 @@ else { uint8_t x_35; lean_dec(x_15); -lean_dec(x_3); lean_dec(x_2); x_35 = !lean_is_exclusive(x_17); if (x_35 == 0) @@ -7721,7 +7711,6 @@ return x_38; else { uint8_t x_39; -lean_dec(x_3); lean_dec(x_2); x_39 = !lean_is_exclusive(x_12); if (x_39 == 0) @@ -7823,6 +7812,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_Command_elabAttr(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_1); return x_5; } diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 086671e4a4..de4e83c3a0 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -18,21 +18,23 @@ lean_object* l_Lean_Elab_Command_MkInstanceName_collect___boxed(lean_object*, le lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__7; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); +lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__9; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__2; lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__4; +lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__8; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2; @@ -44,28 +46,29 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___boxed(lean_object*, lean_ extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__26; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_MkInstanceName_collect___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__13; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__1; extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__16; lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__1; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1; lean_object* l_Lean_Elab_Command_MkInstanceName_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__3(lean_object*); @@ -79,10 +82,11 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfDef(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2; lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev_match__1(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main_match__1(lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__12; lean_object* l_Lean_Elab_Command_mkDefViewOfExample(lean_object*, lean_object*); @@ -90,18 +94,18 @@ lean_object* l_Lean_Elab_Command_mkDefView___closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_append(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__3; +extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); lean_object* l_Lean_Elab_mkFreshInstanceName(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1; extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___rarg(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); @@ -110,79 +114,89 @@ lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lea lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__22; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; uint8_t l_Char_isLower(uint32_t); lean_object* l_Lean_Elab_Command_isDefLike___boxed(lean_object*); lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_ofList___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__1(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; lean_object* l_Std_RBNode_find___at_Lean_findDocString_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_instInhabitedDefKind; lean_object* l_Lean_Elab_DefKind_isTheorem___boxed(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); extern lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_59____closed__4; -lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque___boxed(lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__11; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16; lean_object* l_Lean_Elab_instInhabitedDefView; lean_object* l_Lean_Elab_Command_MkInstanceName_append___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__21; lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_KernelException_toMessageData___closed__15; uint8_t l_Lean_Elab_Command_isDefLike(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1(lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; +lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_238____closed__1; uint8_t l_String_isEmpty(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object*); lean_object* lean_environment_main_module(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); extern lean_object* l_Lean_Elab_instInhabitedModifiers___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200_(lean_object*); -uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204_(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15449____closed__11; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__2; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main_match__1___rarg(lean_object*, lean_object*); @@ -191,14 +205,13 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev_match__1___rarg(lean_object*, lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_MkInstanceName_collect___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkArbitrary___closed__2; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__27; lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object*, lean_object*); @@ -207,6 +220,7 @@ lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName(lean_object* lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); extern lean_object* l_Lean_Parser_Attr_instance___elambda__1___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView___closed__1; @@ -214,13 +228,12 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__5; -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__3; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____closed__4; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__15; lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___boxed(lean_object*); lean_object* l_Std_RBNode_ins___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__3(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_instInhabitedDefView___closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkArbitrary___closed__1; @@ -229,10 +242,12 @@ extern lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__2; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14; +lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__1; +lean_object* l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t _init_l_Lean_Elab_instInhabitedDefKind() { _start: { @@ -4216,345 +4231,764 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main_match__ return x_2; } } -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_7, 2); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); +lean_dec(x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Lean_checkTraceOption(x_10, x_1); +lean_dec(x_10); +x_12 = lean_box(x_11); +lean_ctor_set(x_5, 0, x_12); +return x_5; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_5, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_5); +x_15 = lean_ctor_get(x_13, 2); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_checkTraceOption(x_17, x_1); +lean_dec(x_17); +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_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; uint8_t x_16; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_take(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 8); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_13, 8); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_1); +x_20 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_20, 0, x_1); +x_21 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +x_26 = l_Lean_KernelException_toMessageData___closed__15; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); +lean_ctor_set(x_14, 0, x_30); +x_31 = lean_st_ref_set(x_4, x_13, x_15); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_39 = lean_ctor_get(x_14, 0); +lean_inc(x_39); +lean_dec(x_14); +lean_inc(x_1); +x_40 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_40, 0, x_1); +x_41 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_10); +x_46 = l_Lean_KernelException_toMessageData___closed__15; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_7); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); +x_51 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); +lean_ctor_set(x_13, 8, x_51); +x_52 = lean_st_ref_set(x_4, x_13, x_15); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +} +else +{ +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; uint8_t 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; +x_57 = lean_ctor_get(x_13, 0); +x_58 = lean_ctor_get(x_13, 1); +x_59 = lean_ctor_get(x_13, 2); +x_60 = lean_ctor_get(x_13, 3); +x_61 = lean_ctor_get(x_13, 4); +x_62 = lean_ctor_get(x_13, 5); +x_63 = lean_ctor_get(x_13, 6); +x_64 = lean_ctor_get(x_13, 7); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_13); +x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_66 = lean_ctor_get(x_14, 0); +lean_inc(x_66); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_67 = x_14; +} else { + lean_dec_ref(x_14); + x_67 = lean_box(0); +} +lean_inc(x_1); +x_68 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_68, 0, x_1); +x_69 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_10); +x_74 = l_Lean_KernelException_toMessageData___closed__15; +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_76, 0, x_1); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_7); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); +if (lean_is_scalar(x_67)) { + x_79 = lean_alloc_ctor(0, 1, 1); +} else { + x_79 = x_67; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); +x_80 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_80, 0, x_57); +lean_ctor_set(x_80, 1, x_58); +lean_ctor_set(x_80, 2, x_59); +lean_ctor_set(x_80, 3, x_60); +lean_ctor_set(x_80, 4, x_61); +lean_ctor_set(x_80, 5, x_62); +lean_ctor_set(x_80, 6, x_63); +lean_ctor_set(x_80, 7, x_64); +lean_ctor_set(x_80, 8, x_79); +x_81 = lean_st_ref_set(x_4, x_80, x_15); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +x_84 = lean_box(0); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; +} +} +} +lean_object* l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_st_ref_get(x_3, x_4); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 8); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_1 = x_8; +x_4 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +lean_inc(x_9); +x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_9, x_2, x_3, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_10); +lean_dec(x_9); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_1 = x_8; +x_4 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_10); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2(x_9, x_25, x_2, x_3, x_23); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_1 = x_8; +x_4 = x_27; +goto _start; +} +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 2); +x_8 = lean_ctor_get(x_2, 4); lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); lean_dec(x_6); -x_9 = lean_st_ref_get(x_3, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -lean_dec(x_11); -lean_inc(x_1); -x_13 = l_Lean_Name_append(x_8, x_1); -lean_inc(x_12); -x_14 = l_Lean_Environment_contains(x_12, x_13); -lean_dec(x_13); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { -lean_dec(x_12); -lean_dec(x_8); -lean_ctor_set(x_9, 0, x_1); -return x_9; -} -else -{ lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_8, x_12, x_15); -lean_dec(x_8); -lean_ctor_set(x_9, 0, x_16); -return x_9; -} +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); lean_inc(x_18); lean_inc(x_17); -lean_dec(x_9); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_1); -x_20 = l_Lean_Name_append(x_8, x_1); -lean_inc(x_19); -x_21 = l_Lean_Environment_contains(x_19, x_20); -lean_dec(x_20); -if (x_21 == 0) +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_22; -lean_dec(x_19); -lean_dec(x_8); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_18); -return x_22; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5(x_2, x_3, x_4, x_8); +return x_12; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_unsigned_to_nat(1u); -x_24 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_8, x_19, x_23); -lean_dec(x_8); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_18); -return x_25; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5(x_2, x_19, x_4, x_8); +return x_20; } } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6(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_MkInstanceName_main___spec__6___rarg), 1, 0); +return x_3; +} } lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_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; -x_24 = lean_st_ref_get(x_3, x_4); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Elab_Command_getScope___rarg(x_3, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_29, 2); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Elab_Command_getScope___rarg(x_3, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 3); -lean_inc(x_35); -lean_dec(x_33); -lean_inc(x_27); -x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_36, 0, x_27); -lean_inc(x_31); -x_37 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_37, 0, x_31); -lean_inc(x_27); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_38, 0, x_27); -lean_inc(x_35); -lean_inc(x_31); -lean_inc(x_27); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_39, 0, x_27); -lean_closure_set(x_39, 1, x_31); -lean_closure_set(x_39, 2, x_35); -lean_inc(x_27); -x_40 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_40, 0, x_27); -lean_closure_set(x_40, 1, x_31); -lean_closure_set(x_40, 2, x_35); -x_41 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_37); -lean_ctor_set(x_41, 2, x_38); -lean_ctor_set(x_41, 3, x_39); -lean_ctor_set(x_41, 4, x_40); -x_42 = x_41; -x_43 = l_Lean_Elab_Command_getRef(x_2, x_3, x_34); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_45); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_2, 2); -lean_inc(x_49); -x_50 = lean_st_ref_get(x_3, x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 4); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_st_ref_get(x_3, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 3); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_environment_main_module(x_27); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_42); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_47); -lean_ctor_set(x_59, 3, x_49); -lean_ctor_set(x_59, 4, x_53); -lean_ctor_set(x_59, 5, x_44); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_expandMacros(x_1, x_59, x_61); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_st_ref_take(x_3, x_56); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_70 = lean_ctor_get(x_67, 3); -lean_dec(x_70); -lean_ctor_set(x_67, 3, x_65); -x_71 = lean_st_ref_set(x_3, x_67, x_68); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get(x_64, 1); -lean_inc(x_73); -lean_dec(x_64); -x_74 = l_List_reverse___rarg(x_73); -x_75 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_74, x_2, x_3, x_72); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_5 = x_63; -x_6 = x_76; -goto block_23; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_77 = lean_ctor_get(x_67, 0); -x_78 = lean_ctor_get(x_67, 1); -x_79 = lean_ctor_get(x_67, 2); -x_80 = lean_ctor_get(x_67, 4); -x_81 = lean_ctor_get(x_67, 5); -x_82 = lean_ctor_get(x_67, 6); -x_83 = lean_ctor_get(x_67, 7); -x_84 = lean_ctor_get(x_67, 8); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_67); -x_85 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_85, 0, x_77); -lean_ctor_set(x_85, 1, x_78); -lean_ctor_set(x_85, 2, x_79); -lean_ctor_set(x_85, 3, x_65); -lean_ctor_set(x_85, 4, x_80); -lean_ctor_set(x_85, 5, x_81); -lean_ctor_set(x_85, 6, x_82); -lean_ctor_set(x_85, 7, x_83); -lean_ctor_set(x_85, 8, x_84); -x_86 = lean_st_ref_set(x_3, x_85, x_68); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get(x_64, 1); -lean_inc(x_88); -lean_dec(x_64); -x_89 = l_List_reverse___rarg(x_88); -x_90 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_89, x_2, x_3, x_87); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_5 = x_63; -x_6 = x_91; -goto block_23; -} -} -else -{ -lean_object* x_92; -x_92 = lean_ctor_get(x_62, 0); -lean_inc(x_92); -lean_dec(x_62); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_93, x_96, x_2, x_3, x_56); -lean_dec(x_93); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -return x_97; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -else -{ -lean_object* x_102; uint8_t x_103; -lean_dec(x_2); -x_102 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_56); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -return x_102; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); +lean_object* x_5; lean_object* x_6; 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; +x_103 = lean_st_ref_get(x_3, x_4); +x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +lean_dec(x_104); +x_107 = l_Lean_Elab_Command_getScope___rarg(x_3, x_105); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_ctor_get(x_108, 2); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Elab_Command_getScope___rarg(x_3, x_109); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_ctor_get(x_112, 3); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_106); +x_115 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_115, 0, x_106); +lean_inc(x_110); +x_116 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_116, 0, x_110); +lean_inc(x_106); +x_117 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_117, 0, x_106); +lean_inc(x_114); +lean_inc(x_110); +lean_inc(x_106); +x_118 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_118, 0, x_106); +lean_closure_set(x_118, 1, x_110); +lean_closure_set(x_118, 2, x_114); +lean_inc(x_106); +x_119 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_119, 0, x_106); +lean_closure_set(x_119, 1, x_110); +lean_closure_set(x_119, 2, x_114); +x_120 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_116); +lean_ctor_set(x_120, 2, x_117); +lean_ctor_set(x_120, 3, x_118); +lean_ctor_set(x_120, 4, x_119); +x_121 = x_120; +x_122 = l_Lean_Elab_Command_getRef(x_2, x_3, x_113); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_125 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_124); +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); +x_128 = lean_ctor_get(x_2, 2); +lean_inc(x_128); +x_129 = lean_st_ref_get(x_3, x_127); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_ctor_get(x_130, 4); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_st_ref_get(x_3, x_131); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_ctor_get(x_134, 3); +lean_inc(x_136); +lean_dec(x_134); +x_137 = lean_environment_main_module(x_106); +x_138 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_138, 0, x_121); +lean_ctor_set(x_138, 1, x_137); +lean_ctor_set(x_138, 2, x_126); +lean_ctor_set(x_138, 3, x_128); +lean_ctor_set(x_138, 4, x_132); +lean_ctor_set(x_138, 5, x_123); +x_139 = lean_box(0); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_136); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_expandMacros(x_1, x_138, x_140); +if (lean_obj_tag(x_141) == 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; uint8_t x_148; +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_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_st_ref_take(x_3, x_135); +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_is_exclusive(x_146); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_149 = lean_ctor_get(x_146, 3); +lean_dec(x_149); +lean_ctor_set(x_146, 3, x_144); +x_150 = lean_st_ref_set(x_3, x_146, x_147); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_ctor_get(x_143, 1); +lean_inc(x_152); +lean_dec(x_143); +x_153 = l_List_reverse___rarg(x_152); +x_154 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_153, x_2, x_3, x_151); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec(x_154); +x_5 = x_142; +x_6 = x_155; +goto block_102; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_156 = lean_ctor_get(x_146, 0); +x_157 = lean_ctor_get(x_146, 1); +x_158 = lean_ctor_get(x_146, 2); +x_159 = lean_ctor_get(x_146, 4); +x_160 = lean_ctor_get(x_146, 5); +x_161 = lean_ctor_get(x_146, 6); +x_162 = lean_ctor_get(x_146, 7); +x_163 = lean_ctor_get(x_146, 8); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_146); +x_164 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_164, 0, x_156); +lean_ctor_set(x_164, 1, x_157); +lean_ctor_set(x_164, 2, x_158); +lean_ctor_set(x_164, 3, x_144); +lean_ctor_set(x_164, 4, x_159); +lean_ctor_set(x_164, 5, x_160); +lean_ctor_set(x_164, 6, x_161); +lean_ctor_set(x_164, 7, x_162); +lean_ctor_set(x_164, 8, x_163); +x_165 = lean_st_ref_set(x_3, x_164, x_147); +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = lean_ctor_get(x_143, 1); +lean_inc(x_167); +lean_dec(x_143); +x_168 = l_List_reverse___rarg(x_167); +x_169 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_168, x_2, x_3, x_166); +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +lean_dec(x_169); +x_5 = x_142; +x_6 = x_170; +goto block_102; +} +} +else +{ +lean_object* x_171; +x_171 = lean_ctor_get(x_141, 0); +lean_inc(x_171); +lean_dec(x_141); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_174, 0, x_173); +x_175 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_175, 0, x_174); +x_176 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_172, x_175, x_2, x_3, x_135); +lean_dec(x_172); +x_177 = !lean_is_exclusive(x_176); +if (x_177 == 0) +{ +return x_176; +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_178 = lean_ctor_get(x_176, 0); +x_179 = lean_ctor_get(x_176, 1); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_176); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +return x_180; +} +} +else +{ +lean_object* x_181; uint8_t x_182; +lean_dec(x_2); +x_181 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_135); +x_182 = !lean_is_exclusive(x_181); +if (x_182 == 0) +{ +return x_181; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_181, 0); +x_184 = lean_ctor_get(x_181, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_181); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; } } } -block_23: +block_102: { 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; uint8_t x_16; x_7 = l_Lean_instInhabitedParserDescr___closed__1; @@ -4579,37 +5013,327 @@ lean_dec(x_13); x_16 = l_String_isEmpty(x_14); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; x_17 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; x_18 = lean_string_append(x_17, x_14); lean_dec(x_14); x_19 = lean_box(0); x_20 = lean_name_mk_string(x_19, x_18); -x_21 = l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_20, x_2, x_3, x_15); +x_21 = lean_st_ref_get(x_3, x_15); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Command_getScope___rarg(x_3, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 2); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_Command_getScope___rarg(x_3, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 3); +lean_inc(x_32); +lean_dec(x_30); +lean_inc(x_24); +x_33 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_33, 0, x_24); +lean_inc(x_28); +x_34 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_34, 0, x_28); +lean_inc(x_24); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_35, 0, x_24); +lean_inc(x_32); +lean_inc(x_28); +lean_inc(x_24); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_36, 0, x_24); +lean_closure_set(x_36, 1, x_28); +lean_closure_set(x_36, 2, x_32); +lean_inc(x_24); +x_37 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_37, 0, x_24); +lean_closure_set(x_37, 1, x_28); +lean_closure_set(x_37, 2, x_32); +x_38 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_38, 0, x_33); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 4, x_37); +x_39 = x_38; +x_40 = l_Lean_Elab_Command_getRef(x_2, x_3, x_31); +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_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_2, 2); +lean_inc(x_46); +x_47 = lean_st_ref_get(x_3, x_45); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_ctor_get(x_48, 4); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_st_ref_get(x_3, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_ctor_get(x_52, 3); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_environment_main_module(x_24); +x_56 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_56, 0, x_39); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_44); +lean_ctor_set(x_56, 3, x_46); +lean_ctor_set(x_56, 4, x_50); +lean_ctor_set(x_56, 5, x_41); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_mkUnusedBaseName(x_20, x_56, x_58); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_st_ref_take(x_3, x_53); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = !lean_is_exclusive(x_64); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_67 = lean_ctor_get(x_64, 3); +lean_dec(x_67); +lean_ctor_set(x_64, 3, x_62); +x_68 = lean_st_ref_set(x_3, x_64, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_ctor_get(x_61, 1); +lean_inc(x_70); +lean_dec(x_61); +x_71 = l_List_reverse___rarg(x_70); +x_72 = l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_71, x_2, x_3, x_69); lean_dec(x_2); -return x_21; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +lean_ctor_set(x_72, 0, x_60); +return x_72; } else { -lean_object* x_22; +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_60); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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; +x_77 = lean_ctor_get(x_64, 0); +x_78 = lean_ctor_get(x_64, 1); +x_79 = lean_ctor_get(x_64, 2); +x_80 = lean_ctor_get(x_64, 4); +x_81 = lean_ctor_get(x_64, 5); +x_82 = lean_ctor_get(x_64, 6); +x_83 = lean_ctor_get(x_64, 7); +x_84 = lean_ctor_get(x_64, 8); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_64); +x_85 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_85, 0, x_77); +lean_ctor_set(x_85, 1, x_78); +lean_ctor_set(x_85, 2, x_79); +lean_ctor_set(x_85, 3, x_62); +lean_ctor_set(x_85, 4, x_80); +lean_ctor_set(x_85, 5, x_81); +lean_ctor_set(x_85, 6, x_82); +lean_ctor_set(x_85, 7, x_83); +lean_ctor_set(x_85, 8, x_84); +x_86 = lean_st_ref_set(x_3, x_85, x_65); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_ctor_get(x_61, 1); +lean_inc(x_88); +lean_dec(x_61); +x_89 = l_List_reverse___rarg(x_88); +x_90 = l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_89, x_2, x_3, x_87); +lean_dec(x_2); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; +} else { + lean_dec_ref(x_90); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_60); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +else +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_59, 0); +lean_inc(x_94); +lean_dec(x_59); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_98, 0, x_97); +x_99 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4(x_95, x_98, x_2, x_3, x_53); +lean_dec(x_95); +return x_99; +} +else +{ +lean_object* x_100; +lean_dec(x_2); +x_100 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___rarg(x_53); +return x_100; +} +} +} +else +{ +lean_object* x_101; lean_dec(x_14); lean_dec(x_2); -x_22 = l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(x_3, x_15); -return x_22; +x_101 = l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(x_3, x_15); +return x_101; } } } } -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } +lean_object* l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_addTrace___at_Lean_Elab_Command_MkInstanceName_main___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_forM___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4810,119 +5534,7 @@ lean_dec(x_3); return x_6; } } -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1(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; lean_object* x_7; -x_5 = 2; -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -static lean_object* _init_l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1___boxed), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_isNone(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Syntax_getArg(x_6, x_5); -lean_dec(x_6); -x_9 = l_Lean_Syntax_getKind(x_8); -x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; -x_11 = lean_name_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -uint8_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -lean_dec(x_2); -x_12 = 1; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_4); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_15 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 2); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1; -x_20 = l_Lean_Name_isAnonymous(x_18); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = lean_apply_4(x_19, x_21, x_2, x_3, x_17); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -x_24 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(x_23, x_2, x_3, x_17); -lean_dec(x_3); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -return x_24; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_24); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -else -{ -uint8_t x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_29 = 0; -x_30 = lean_box(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_4); -return x_31; -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -4976,7 +5588,7 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -4995,7 +5607,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_2, x_3, x_4, x_8); return x_12; } else @@ -5022,12 +5634,12 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_2, x_19, x_4, x_8); return x_20; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -5038,11 +5650,135 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(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_mkDefViewOfInstance___spec__4___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(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_mkDefViewOfInstance___spec__6___rarg), 1, 0); return x_3; } } @@ -5072,30 +5808,287 @@ return x_14; lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_getArg(x_2, x_6); -lean_inc(x_4); -lean_inc(x_3); -x_8 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_7, x_3, x_4, x_5); -lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) +uint8_t x_6; lean_object* x_7; 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; +x_146 = lean_unsigned_to_nat(0u); +x_147 = l_Lean_Syntax_getArg(x_2, x_146); +x_148 = lean_st_ref_get(x_4, x_5); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = lean_ctor_get(x_149, 0); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Lean_Elab_Command_getScope___rarg(x_4, x_150); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_ctor_get(x_153, 2); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_Elab_Command_getScope___rarg(x_4, x_154); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = lean_ctor_get(x_157, 3); +lean_inc(x_159); +lean_dec(x_157); +lean_inc(x_151); +x_160 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_160, 0, x_151); +lean_inc(x_155); +x_161 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_161, 0, x_155); +lean_inc(x_151); +x_162 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_162, 0, x_151); +lean_inc(x_159); +lean_inc(x_155); +lean_inc(x_151); +x_163 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_163, 0, x_151); +lean_closure_set(x_163, 1, x_155); +lean_closure_set(x_163, 2, x_159); +lean_inc(x_151); +x_164 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_164, 0, x_151); +lean_closure_set(x_164, 1, x_155); +lean_closure_set(x_164, 2, x_159); +x_165 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_165, 0, x_160); +lean_ctor_set(x_165, 1, x_161); +lean_ctor_set(x_165, 2, x_162); +lean_ctor_set(x_165, 3, x_163); +lean_ctor_set(x_165, 4, x_164); +x_166 = x_165; +x_167 = l_Lean_Elab_Command_getRef(x_3, x_4, x_158); +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); +lean_dec(x_167); +x_170 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_169); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = lean_ctor_get(x_3, 2); +lean_inc(x_173); +x_174 = lean_st_ref_get(x_4, x_172); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_177 = lean_ctor_get(x_175, 4); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_st_ref_get(x_4, x_176); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_181 = lean_ctor_get(x_179, 3); +lean_inc(x_181); +lean_dec(x_179); +x_182 = lean_environment_main_module(x_151); +x_183 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_183, 0, x_166); +lean_ctor_set(x_183, 1, x_182); +lean_ctor_set(x_183, 2, x_171); +lean_ctor_set(x_183, 3, x_173); +lean_ctor_set(x_183, 4, x_177); +lean_ctor_set(x_183, 5, x_168); +x_184 = lean_box(0); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_181); +lean_ctor_set(x_185, 1, x_184); +x_186 = l_Lean_Elab_toAttributeKind(x_147, x_183, x_185); +lean_dec(x_147); +if (lean_obj_tag(x_186) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_64 = lean_unsigned_to_nat(2u); -x_65 = l_Lean_Syntax_getArg(x_2, x_64); -x_66 = lean_st_ref_get(x_4, x_10); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +x_190 = lean_st_ref_take(x_4, x_180); +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_is_exclusive(x_191); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_194 = lean_ctor_get(x_191, 3); +lean_dec(x_194); +lean_ctor_set(x_191, 3, x_189); +x_195 = lean_st_ref_set(x_4, x_191, x_192); +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +lean_dec(x_195); +x_197 = lean_ctor_get(x_188, 1); +lean_inc(x_197); +lean_dec(x_188); +x_198 = l_List_reverse___rarg(x_197); +x_199 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_198, x_3, x_4, x_196); +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +lean_dec(x_199); +x_201 = lean_unbox(x_187); +lean_dec(x_187); +x_6 = x_201; +x_7 = x_200; +goto block_145; +} +else +{ +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; uint8_t x_217; +x_202 = lean_ctor_get(x_191, 0); +x_203 = lean_ctor_get(x_191, 1); +x_204 = lean_ctor_get(x_191, 2); +x_205 = lean_ctor_get(x_191, 4); +x_206 = lean_ctor_get(x_191, 5); +x_207 = lean_ctor_get(x_191, 6); +x_208 = lean_ctor_get(x_191, 7); +x_209 = lean_ctor_get(x_191, 8); +lean_inc(x_209); +lean_inc(x_208); +lean_inc(x_207); +lean_inc(x_206); +lean_inc(x_205); +lean_inc(x_204); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_191); +x_210 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_210, 0, x_202); +lean_ctor_set(x_210, 1, x_203); +lean_ctor_set(x_210, 2, x_204); +lean_ctor_set(x_210, 3, x_189); +lean_ctor_set(x_210, 4, x_205); +lean_ctor_set(x_210, 5, x_206); +lean_ctor_set(x_210, 6, x_207); +lean_ctor_set(x_210, 7, x_208); +lean_ctor_set(x_210, 8, x_209); +x_211 = lean_st_ref_set(x_4, x_210, x_192); +x_212 = lean_ctor_get(x_211, 1); +lean_inc(x_212); +lean_dec(x_211); +x_213 = lean_ctor_get(x_188, 1); +lean_inc(x_213); +lean_dec(x_188); +x_214 = l_List_reverse___rarg(x_213); +x_215 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_214, x_3, x_4, x_212); +x_216 = lean_ctor_get(x_215, 1); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_unbox(x_187); +lean_dec(x_187); +x_6 = x_217; +x_7 = x_216; +goto block_145; +} +} +else +{ +lean_object* x_218; +lean_dec(x_2); +lean_dec(x_1); +x_218 = lean_ctor_get(x_186, 0); +lean_inc(x_218); +lean_dec(x_186); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_221, 0, x_220); +x_222 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_219, x_222, x_3, x_4, x_180); +lean_dec(x_219); +x_224 = !lean_is_exclusive(x_223); +if (x_224 == 0) +{ +return x_223; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_223, 0); +x_226 = lean_ctor_get(x_223, 1); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(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; +} +} +else +{ +lean_object* x_228; uint8_t x_229; +lean_dec(x_3); +x_228 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(x_180); +x_229 = !lean_is_exclusive(x_228); +if (x_229 == 0) +{ +return x_228; +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_228, 0); +x_231 = lean_ctor_get(x_228, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_228); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; +} +} +} +block_145: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_60 = lean_unsigned_to_nat(2u); +x_61 = l_Lean_Syntax_getArg(x_2, x_60); +x_62 = lean_st_ref_get(x_4, x_7); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_ctor_get(x_63, 0); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_Lean_Elab_Command_getScope___rarg(x_4, x_64); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 0); +x_69 = lean_ctor_get(x_67, 2); lean_inc(x_69); lean_dec(x_67); x_70 = l_Lean_Elab_Command_getScope___rarg(x_4, x_68); @@ -5104,447 +6097,413 @@ lean_inc(x_71); x_72 = lean_ctor_get(x_70, 1); lean_inc(x_72); lean_dec(x_70); -x_73 = lean_ctor_get(x_71, 2); +x_73 = lean_ctor_get(x_71, 3); lean_inc(x_73); lean_dec(x_71); -x_74 = l_Lean_Elab_Command_getScope___rarg(x_4, x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 3); -lean_inc(x_77); -lean_dec(x_75); +lean_inc(x_65); +x_74 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_74, 0, x_65); lean_inc(x_69); -x_78 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_78, 0, x_69); -lean_inc(x_73); -x_79 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_79, 0, x_73); -lean_inc(x_69); -x_80 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_80, 0, x_69); -lean_inc(x_77); +x_75 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_75, 0, x_69); +lean_inc(x_65); +x_76 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_76, 0, x_65); lean_inc(x_73); lean_inc(x_69); -x_81 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_81, 0, x_69); -lean_closure_set(x_81, 1, x_73); -lean_closure_set(x_81, 2, x_77); -lean_inc(x_69); -x_82 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_82, 0, x_69); -lean_closure_set(x_82, 1, x_73); -lean_closure_set(x_82, 2, x_77); -x_83 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_83, 0, x_78); -lean_ctor_set(x_83, 1, x_79); -lean_ctor_set(x_83, 2, x_80); -lean_ctor_set(x_83, 3, x_81); -lean_ctor_set(x_83, 4, x_82); -x_84 = x_83; -x_85 = l_Lean_Elab_Command_getRef(x_3, x_4, x_76); -x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_65); +x_77 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_77, 0, x_65); +lean_closure_set(x_77, 1, x_69); +lean_closure_set(x_77, 2, x_73); +lean_inc(x_65); +x_78 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_78, 0, x_65); +lean_closure_set(x_78, 1, x_69); +lean_closure_set(x_78, 2, x_73); +x_79 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_79, 0, x_74); +lean_ctor_set(x_79, 1, x_75); +lean_ctor_set(x_79, 2, x_76); +lean_ctor_set(x_79, 3, x_77); +lean_ctor_set(x_79, 4, x_78); +x_80 = x_79; +x_81 = l_Lean_Elab_Command_getRef(x_3, x_4, x_72); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); +lean_dec(x_84); +x_87 = lean_ctor_get(x_3, 2); lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_87); +x_88 = lean_st_ref_get(x_4, x_86); 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 = lean_ctor_get(x_3, 2); +x_91 = lean_ctor_get(x_89, 4); lean_inc(x_91); +lean_dec(x_89); x_92 = lean_st_ref_get(x_4, x_90); x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); x_94 = lean_ctor_get(x_92, 1); lean_inc(x_94); lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 4); +x_95 = lean_ctor_get(x_93, 3); lean_inc(x_95); lean_dec(x_93); -x_96 = lean_st_ref_get(x_4, x_94); -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, 3); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_environment_main_module(x_69); -x_101 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_101, 0, x_84); -lean_ctor_set(x_101, 1, x_100); -lean_ctor_set(x_101, 2, x_89); -lean_ctor_set(x_101, 3, x_91); -lean_ctor_set(x_101, 4, x_95); -lean_ctor_set(x_101, 5, x_86); -x_102 = lean_box(0); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_99); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_expandOptNamedPrio(x_65, x_101, x_103); -lean_dec(x_65); -if (lean_obj_tag(x_104) == 0) +x_96 = lean_environment_main_module(x_65); +x_97 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_97, 0, x_80); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_85); +lean_ctor_set(x_97, 3, x_87); +lean_ctor_set(x_97, 4, x_91); +lean_ctor_set(x_97, 5, x_82); +x_98 = lean_box(0); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_expandOptNamedPrio(x_61, x_97, x_99); +lean_dec(x_61); +if (lean_obj_tag(x_100) == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +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_102, 0); +lean_inc(x_103); +x_104 = lean_st_ref_take(x_4, x_94); x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); lean_dec(x_104); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_st_ref_take(x_4, x_98); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = !lean_is_exclusive(x_109); -if (x_111 == 0) +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) { -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_112 = lean_ctor_get(x_109, 3); -lean_dec(x_112); -lean_ctor_set(x_109, 3, x_107); -x_113 = lean_st_ref_set(x_4, x_109, x_110); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_108 = lean_ctor_get(x_105, 3); +lean_dec(x_108); +lean_ctor_set(x_105, 3, x_103); +x_109 = lean_st_ref_set(x_4, x_105, x_106); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_111 = lean_ctor_get(x_102, 1); +lean_inc(x_111); +lean_dec(x_102); +x_112 = l_List_reverse___rarg(x_111); +x_113 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_112, x_3, x_4, x_110); x_114 = lean_ctor_get(x_113, 1); lean_inc(x_114); lean_dec(x_113); -x_115 = lean_ctor_get(x_106, 1); -lean_inc(x_115); -lean_dec(x_106); -x_116 = l_List_reverse___rarg(x_115); -x_117 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_116, x_3, x_4, x_114); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_11 = x_105; -x_12 = x_118; -goto block_63; +x_8 = x_101; +x_9 = x_114; +goto block_59; } else { -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; -x_119 = lean_ctor_get(x_109, 0); -x_120 = lean_ctor_get(x_109, 1); -x_121 = lean_ctor_get(x_109, 2); -x_122 = lean_ctor_get(x_109, 4); -x_123 = lean_ctor_get(x_109, 5); -x_124 = lean_ctor_get(x_109, 6); -x_125 = lean_ctor_get(x_109, 7); -x_126 = lean_ctor_get(x_109, 8); -lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); +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; +x_115 = lean_ctor_get(x_105, 0); +x_116 = lean_ctor_get(x_105, 1); +x_117 = lean_ctor_get(x_105, 2); +x_118 = lean_ctor_get(x_105, 4); +x_119 = lean_ctor_get(x_105, 5); +x_120 = lean_ctor_get(x_105, 6); +x_121 = lean_ctor_get(x_105, 7); +x_122 = lean_ctor_get(x_105, 8); lean_inc(x_122); lean_inc(x_121); lean_inc(x_120); lean_inc(x_119); -lean_dec(x_109); -x_127 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_127, 0, x_119); -lean_ctor_set(x_127, 1, x_120); -lean_ctor_set(x_127, 2, x_121); -lean_ctor_set(x_127, 3, x_107); -lean_ctor_set(x_127, 4, x_122); -lean_ctor_set(x_127, 5, x_123); -lean_ctor_set(x_127, 6, x_124); -lean_ctor_set(x_127, 7, x_125); -lean_ctor_set(x_127, 8, x_126); -x_128 = lean_st_ref_set(x_4, x_127, x_110); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_105); +x_123 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_123, 0, x_115); +lean_ctor_set(x_123, 1, x_116); +lean_ctor_set(x_123, 2, x_117); +lean_ctor_set(x_123, 3, x_103); +lean_ctor_set(x_123, 4, x_118); +lean_ctor_set(x_123, 5, x_119); +lean_ctor_set(x_123, 6, x_120); +lean_ctor_set(x_123, 7, x_121); +lean_ctor_set(x_123, 8, x_122); +x_124 = lean_st_ref_set(x_4, x_123, x_106); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_ctor_get(x_102, 1); +lean_inc(x_126); +lean_dec(x_102); +x_127 = l_List_reverse___rarg(x_126); +x_128 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_127, x_3, x_4, x_125); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); lean_dec(x_128); -x_130 = lean_ctor_get(x_106, 1); -lean_inc(x_130); -lean_dec(x_106); -x_131 = l_List_reverse___rarg(x_130); -x_132 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_131, x_3, x_4, x_129); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_11 = x_105; -x_12 = x_133; -goto block_63; +x_8 = x_101; +x_9 = x_129; +goto block_59; } } else { -lean_object* x_134; -lean_dec(x_9); +lean_object* x_130; lean_dec(x_2); lean_dec(x_1); -x_134 = lean_ctor_get(x_104, 0); -lean_inc(x_134); -lean_dec(x_104); -if (lean_obj_tag(x_134) == 0) +x_130 = lean_ctor_get(x_100, 0); +lean_inc(x_130); +lean_dec(x_100); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_137, 0, x_136); -x_138 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_139 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_135, x_138, x_3, x_4, x_98); -lean_dec(x_4); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_131, x_134, x_3, x_4, x_94); +lean_dec(x_131); +x_136 = !lean_is_exclusive(x_135); +if (x_136 == 0) +{ +return x_135; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_135, 0); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_inc(x_137); lean_dec(x_135); -x_140 = !lean_is_exclusive(x_139); -if (x_140 == 0) -{ +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); return x_139; } -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_139, 0); -x_142 = lean_ctor_get(x_139, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_139); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; -} } else { -lean_object* x_144; uint8_t x_145; -lean_dec(x_4); +lean_object* x_140; uint8_t x_141; lean_dec(x_3); -x_144 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(x_98); -x_145 = !lean_is_exclusive(x_144); -if (x_145 == 0) +x_140 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(x_94); +x_141 = !lean_is_exclusive(x_140); +if (x_141 == 0) { +return x_140; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_140, 0); +x_143 = lean_ctor_get(x_140, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_140); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); return x_144; } -else +} +} +block_59: { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_144, 0); -x_147 = lean_ctor_get(x_144, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_144); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; -} -} -} -block_63: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_3, x_4, x_12); -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_3, x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_12); +x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_17); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__21; -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Array_empty___closed__1; -x_23 = lean_array_push(x_22, x_21); -x_24 = l_Nat_repr(x_11); -x_25 = l_Lean_numLitKind; -x_26 = lean_box(2); -x_27 = l_Lean_Syntax_mkLit(x_25, x_24, x_26); -x_28 = lean_array_push(x_22, x_27); -x_29 = l_Lean_nullKind___closed__2; +x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__21; +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Array_empty___closed__1; +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Nat_repr(x_8); +x_22 = l_Lean_numLitKind; +x_23 = lean_box(2); +x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); +x_25 = lean_array_push(x_19, x_24); +x_26 = l_Lean_nullKind___closed__2; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_array_push(x_20, x_27); +x_29 = l_Lean_Parser_Attr_instance___elambda__1___closed__1; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = lean_array_push(x_23, x_30); -x_32 = l_Lean_Parser_Attr_instance___elambda__1___closed__1; -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = lean_unsigned_to_nat(4u); -x_35 = l_Lean_Syntax_getArg(x_2, x_34); -x_36 = l_Lean_Elab_expandDeclSig(x_35); -lean_dec(x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_238____closed__1; -x_40 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_33); -x_41 = lean_unbox(x_9); -lean_dec(x_9); -lean_ctor_set_uint8(x_40, sizeof(void*)*2, x_41); -x_42 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_40); -x_43 = lean_unsigned_to_nat(3u); -x_44 = l_Lean_Syntax_getArg(x_2, x_43); -x_45 = l_Lean_Syntax_getOptional_x3f(x_44); -lean_dec(x_44); -if (lean_obj_tag(x_45) == 0) +x_31 = lean_unsigned_to_nat(4u); +x_32 = l_Lean_Syntax_getArg(x_2, x_31); +x_33 = l_Lean_Elab_expandDeclSig(x_32); +lean_dec(x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_238____closed__1; +x_37 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_30); +lean_ctor_set_uint8(x_37, sizeof(void*)*2, x_6); +x_38 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_37); +x_39 = lean_unsigned_to_nat(3u); +x_40 = l_Lean_Syntax_getArg(x_2, x_39); +x_41 = l_Lean_Syntax_getOptional_x3f(x_40); +lean_dec(x_40); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_46; +lean_object* x_42; lean_inc(x_3); -lean_inc(x_38); -x_46 = l_Lean_Elab_Command_MkInstanceName_main(x_38, x_3, x_4, x_19); -if (lean_obj_tag(x_46) == 0) +lean_inc(x_35); +x_42 = l_Lean_Elab_Command_MkInstanceName_main(x_35, x_3, x_4, x_16); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_mkIdentFrom(x_2, x_47); -x_50 = l_Lean_Syntax_mkApp___closed__1; -x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_mkOptionalNode___closed__1; -x_53 = lean_array_push(x_51, x_52); -x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_42, x_37, x_55, x_3, x_4, x_48); -lean_dec(x_4); +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; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_mkIdentFrom(x_2, x_43); +x_46 = l_Lean_Syntax_mkApp___closed__1; +x_47 = lean_array_push(x_46, x_45); +x_48 = l_Lean_mkOptionalNode___closed__1; +x_49 = lean_array_push(x_47, x_48); +x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_35, x_2, x_38, x_34, x_51, x_3, x_4, x_44); lean_dec(x_3); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_38); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_3); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_42); +if (x_53 == 0) +{ +return x_42; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_42, 0); +x_55 = lean_ctor_get(x_42, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_42); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); return x_56; } +} +} else { -uint8_t x_57; -lean_dec(x_42); -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_4); +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_41, 0); +lean_inc(x_57); +lean_dec(x_41); +x_58 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_35, x_2, x_38, x_34, x_57, x_3, x_4, x_16); lean_dec(x_3); -lean_dec(x_2); -x_57 = !lean_is_exclusive(x_46); -if (x_57 == 0) -{ -return x_46; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_46, 0); -x_59 = lean_ctor_get(x_46, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_46); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_45, 0); -lean_inc(x_61); -lean_dec(x_45); -x_62 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_42, x_37, x_61, x_3, x_4, x_19); -lean_dec(x_4); -lean_dec(x_3); -return x_62; -} -} -} -else -{ -uint8_t x_149; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_149 = !lean_is_exclusive(x_8); -if (x_149 == 0) -{ -return x_8; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_8, 0); -x_151 = lean_ctor_get(x_8, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_8); -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; +return x_58; } } } } -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___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* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -5560,6 +6519,15 @@ lean_dec(x_6); return x_9; } } +lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Command_mkDefViewOfInstance(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfExample___closed__1() { _start: { @@ -5814,13 +6782,11 @@ lean_dec(x_2); lean_dec(x_1); x_19 = l_Lean_Elab_Command_mkDefView___closed__2; x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1(x_19, x_3, x_4, x_5); -lean_dec(x_4); return x_20; } else { lean_object* x_21; lean_object* x_22; -lean_dec(x_4); lean_dec(x_3); x_21 = l_Lean_Elab_Command_mkDefViewOfExample(x_1, x_2); x_22 = lean_alloc_ctor(0, 2, 0); @@ -5842,7 +6808,6 @@ else lean_object* x_24; lean_dec(x_6); x_24 = l_Lean_Elab_Command_mkDefViewOfConstant(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); lean_dec(x_3); return x_24; } @@ -5851,7 +6816,6 @@ else { lean_object* x_25; lean_object* x_26; lean_dec(x_6); -lean_dec(x_4); lean_dec(x_3); x_25 = l_Lean_Elab_Command_mkDefViewOfTheorem(x_1, x_2); x_26 = lean_alloc_ctor(0, 2, 0); @@ -5864,7 +6828,6 @@ else { lean_object* x_27; lean_object* x_28; lean_dec(x_6); -lean_dec(x_4); lean_dec(x_3); x_27 = l_Lean_Elab_Command_mkDefViewOfDef(x_1, x_2); x_28 = lean_alloc_ctor(0, 2, 0); @@ -5877,7 +6840,6 @@ else { lean_object* x_29; lean_object* x_30; lean_dec(x_6); -lean_dec(x_4); lean_dec(x_3); x_29 = l_Lean_Elab_Command_mkDefViewOfAbbrev(x_1, x_2); x_30 = lean_alloc_ctor(0, 2, 0); @@ -5896,7 +6858,16 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1() { +lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Command_mkDefView(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1() { _start: { lean_object* x_1; @@ -5904,21 +6875,21 @@ x_1 = lean_mk_string("definition"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -6019,8 +6990,6 @@ l_Lean_Elab_Command_mkDefViewOfConstant___closed__3 = _init_l_Lean_Elab_Command_ lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__3); l_Lean_Elab_Command_mkDefViewOfConstant___closed__4 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__4(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfConstant___closed__4); -l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1 = _init_l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___closed__1); l_Lean_Elab_Command_mkDefViewOfExample___closed__1 = _init_l_Lean_Elab_Command_mkDefViewOfExample___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfExample___closed__1); l_Lean_Elab_Command_mkDefViewOfExample___closed__2 = _init_l_Lean_Elab_Command_mkDefViewOfExample___closed__2(); @@ -6029,11 +6998,11 @@ l_Lean_Elab_Command_mkDefView___closed__1 = _init_l_Lean_Elab_Command_mkDefView_ lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__1); l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index e8967e44d0..52a11d79f5 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -94,6 +94,7 @@ size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_elabDeriving___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Elab_applyDerivingHandlers___spec__1___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__1; @@ -102,7 +103,6 @@ lean_object* l_Lean_Syntax_getSepArgs(lean_object*); extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_elabDeriving___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -2215,7 +2215,7 @@ static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___h _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_595____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Deriving/Util.c b/stage0/stdlib/Lean/Elab/Deriving/Util.c index 46edc8e668..dad470e777 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Util.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Util.c @@ -136,6 +136,7 @@ lean_object* l_Lean_Elab_Deriving_mkImplicitBinders___boxed__const__1; extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Deriving_mkInstanceCmds___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_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_Deriving_mkHeader(lean_object*); lean_object* l_Lean_Elab_Deriving_mkContext_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -146,7 +147,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkDiscrs___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_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1(size_t, size_t, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1; lean_object* l_Lean_Elab_Deriving_explicitBinderF; @@ -1540,7 +1540,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_mkContext___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Elab_Deriving_mkContext___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index b7841f2a0f..7b1dda5bc1 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -192,6 +192,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__1; size_t l_USize_sub(size_t, size_t); extern lean_object* l_Lean_Parser_Term_doIfLetBind___elambda__1___closed__1; extern lean_object* l_Array_empty___closed__1; +uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19973____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView___boxed(lean_object*, lean_object*, lean_object*); @@ -272,6 +273,7 @@ extern lean_object* l_termDepIfThenElse___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__3(lean_object*); lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__13; lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___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* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1(lean_object*); @@ -425,11 +427,11 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__10; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__4; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__4; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; lean_object* l_Lean_Elab_Term_Do_getDoLetVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; @@ -765,6 +767,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars(lean_object*); extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19003____closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__2; +uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__1; @@ -797,6 +800,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__ uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(size_t, size_t, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13376____closed__3; +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__1; lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -807,7 +811,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object*, l lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__15; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28839_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28926_(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; @@ -846,6 +850,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageDa lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__10; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__2; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetRecVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular(uint8_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -866,7 +871,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkPureUnitAction(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__31; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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*); @@ -983,6 +987,7 @@ lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_Do_mkIte_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_attachJP___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__3; +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_match__1(lean_object*); extern lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__5; @@ -1510,24 +1515,208 @@ x_3 = lean_box(x_2); return x_3; } } -uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(lean_object* x_1) { _start: { -lean_object* x_2; uint8_t x_3; -x_2 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_3 = lean_name_eq(x_1, x_2); -if (x_3 == 0) +lean_object* x_2; lean_object* x_3; uint8_t x_4; +lean_inc(x_1); +x_2 = l_Lean_Syntax_getKind(x_1); +x_3 = l_Lean_Parser_Term_letPatDecl___closed__2; +x_4 = lean_name_eq(x_2, x_3); +if (x_4 == 0) { -lean_object* x_4; uint8_t x_5; -x_4 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_5 = lean_name_eq(x_1, x_4); -return x_5; +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Parser_Term_letEqnsDecl___closed__2; +x_6 = lean_name_eq(x_2, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_8 = lean_name_eq(x_2, x_7); +lean_dec(x_2); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_1); +x_9 = 0; +return x_9; } else { -uint8_t x_6; -x_6 = 1; -return x_6; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_Syntax_getNumArgs(x_11); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +lean_dec(x_12); +return x_14; +} +} +else +{ +uint8_t x_15; +lean_dec(x_2); +lean_dec(x_1); +x_15 = 1; +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_2); +lean_dec(x_1); +x_16 = 0; +return x_16; +} +} +} +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Syntax_getArg(x_1, x_2); +x_4 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +lean_inc(x_1); +x_2 = l_Lean_Syntax_getKind(x_1); +x_3 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_4 = lean_name_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_6 = lean_name_eq(x_2, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_Parser_Term_doLetRec___elambda__1___closed__2; +x_8 = lean_name_eq(x_2, x_7); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19973____closed__2; +x_10 = lean_name_eq(x_2, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; +x_12 = lean_name_eq(x_2, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; +x_14 = lean_name_eq(x_2, x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_16 = lean_name_eq(x_2, x_15); +lean_dec(x_2); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_1); +x_17 = 0; +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +lean_dec(x_1); +x_20 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_2); +x_21 = lean_unsigned_to_nat(2u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +lean_dec(x_1); +x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(x_22); +lean_dec(x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_2); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +lean_dec(x_1); +x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders(x_25); +lean_dec(x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_2); +lean_dec(x_1); +x_27 = 1; +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_2); +lean_dec(x_1); +x_28 = 1; +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_2); +lean_dec(x_1); +x_29 = 1; +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_2); +lean_dec(x_1); +x_30 = 1; +return x_30; } } } @@ -1536,7 +1725,6 @@ _start: { uint8_t x_2; lean_object* x_3; x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(x_1); -lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } @@ -22584,7 +22772,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; -x_3 = lean_unsigned_to_nat(724u); +x_3 = lean_unsigned_to_nat(754u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25134,7 +25322,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__17; -x_3 = lean_unsigned_to_nat(843u); +x_3 = lean_unsigned_to_nat(873u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26746,7 +26934,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; -x_3 = lean_unsigned_to_nat(852u); +x_3 = lean_unsigned_to_nat(882u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26972,7 +27160,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; -x_3 = lean_unsigned_to_nat(856u); +x_3 = lean_unsigned_to_nat(886u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28139,7 +28327,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; -x_3 = lean_unsigned_to_nat(864u); +x_3 = lean_unsigned_to_nat(894u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28217,7 +28405,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; -x_3 = lean_unsigned_to_nat(868u); +x_3 = lean_unsigned_to_nat(898u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29432,7 +29620,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_3 = lean_unsigned_to_nat(879u); +x_3 = lean_unsigned_to_nat(909u); x_4 = lean_unsigned_to_nat(28u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -40603,7 +40791,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; -x_3 = lean_unsigned_to_nat(1026u); +x_3 = lean_unsigned_to_nat(1056u); x_4 = lean_unsigned_to_nat(27u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -40796,7 +40984,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__3; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__3; -x_3 = lean_unsigned_to_nat(1082u); +x_3 = lean_unsigned_to_nat(1112u); x_4 = lean_unsigned_to_nat(27u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -47329,80 +47517,83 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_T return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_9; uint8_t x_10; uint8_t x_11; -x_9 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(x_2); -x_10 = l_Lean_Syntax_isQuot(x_1); -x_11 = x_4 < x_3; -if (x_11 == 0) +uint8_t x_8; uint8_t x_9; uint8_t x_10; +lean_inc(x_1); +x_8 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(x_1); +x_9 = l_Lean_Syntax_isQuot(x_1); +x_10 = x_3 < x_2; +if (x_10 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -x_12 = x_5; +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_1); +x_11 = x_4; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_5); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_8); -return x_14; +lean_ctor_set(x_13, 1, x_7); +return x_13; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_array_uget(x_5, x_4); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_uset(x_5, x_4, x_16); -x_18 = x_15; -lean_inc(x_7); -x_19 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(x_10, x_9, x_18, x_6, x_7, x_8); -if (lean_obj_tag(x_19) == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_array_uget(x_4, x_3); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_4, x_3, x_15); +x_17 = x_14; +lean_inc(x_6); +x_18 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(x_9, x_8, x_17, x_5, x_6, x_7); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_21 = lean_ctor_get(x_19, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 0); +x_22 = lean_ctor_get(x_19, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = 1; -x_25 = x_4 + x_24; -x_26 = x_22; -x_27 = lean_array_uset(x_17, x_4, x_26); -x_4 = x_25; -x_5 = x_27; -x_6 = x_23; -x_8 = x_21; +lean_dec(x_19); +x_23 = 1; +x_24 = x_3 + x_23; +x_25 = x_21; +x_26 = lean_array_uset(x_16, x_3, x_25); +x_3 = x_24; +x_4 = x_26; +x_5 = x_22; +x_7 = x_20; goto _start; } else { -uint8_t x_29; -lean_dec(x_17); -lean_dec(x_7); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) +uint8_t x_28; +lean_dec(x_16); +lean_dec(x_6); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) { -return x_19; +return x_18; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_19, 0); -x_31 = lean_ctor_get(x_19, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); lean_inc(x_30); -lean_dec(x_19); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_18); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -48013,7 +48204,7 @@ static lean_object* _init_l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBl _start: { lean_object* x_1; -x_1 = lean_mk_string("cannot lift `(<- ...)` over a binder, this error usually happens when you are trying to lift a method nested in a `fun` or `match`-alternative, and it can often be fixed by adding a missing `do`"); +x_1 = lean_mk_string("cannot lift `(<- ...)` over a binder, this error usually happens when you are trying to lift a method nested in a `fun`, `let`, or `match`-alternative, and it can often be fixed by adding a missing `do`"); return x_1; } } @@ -48415,14 +48606,12 @@ if (x_1 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_box_usize(x_12); x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -lean_inc(x_7); lean_inc(x_3); -x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed), 8, 5); +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed), 7, 4); lean_closure_set(x_17, 0, x_3); -lean_closure_set(x_17, 1, x_7); -lean_closure_set(x_17, 2, x_15); -lean_closure_set(x_17, 3, x_16); -lean_closure_set(x_17, 4, x_13); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_13); x_18 = !lean_is_exclusive(x_3); if (x_18 == 0) { @@ -49598,18 +49787,16 @@ return x_361; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___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) { _start: { -size_t x_9; size_t x_10; lean_object* x_11; +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); -x_10 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); -lean_dec(x_2); -lean_dec(x_1); -return x_11; +x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +return x_10; } } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___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) { @@ -69964,7 +70151,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_elabDo___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -70483,7 +70670,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28839_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28926_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -71474,7 +71661,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28839_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_28926_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index f4dbca0c11..62fa7e8347 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -371,6 +371,7 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elab lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__3; +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -408,7 +409,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Cons lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__3; lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__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*); extern lean_object* l_Lean_Meta_expandCoe___closed__2; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -592,7 +592,7 @@ static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_Command_inductive___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 610fac4880..043f85aa59 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -16,19 +16,18 @@ extern "C" { lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabLetRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___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_Expr_mvarId_x21(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; 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_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); @@ -41,7 +40,6 @@ extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_letPatDecl___closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -54,60 +52,64 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_T lean_object* l_List_append___rarg(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; extern lean_object* l_Lean_declRangeExt; -extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3; extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1; -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop(lean_object*); lean_object* l_Lean_Elab_Term_elabLetRec___lambda__1(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_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___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_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_15449____closed__6; lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1; lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -120,11 +122,13 @@ lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___c lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_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*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_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* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___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* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,24 +146,19 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Te lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__const__1; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__5(size_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -177,12 +176,11 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3; -uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1(lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,7 +189,6 @@ uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_expandOptDocComment_x3f___rarg___closed__2; lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -200,32 +197,35 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; lean_object* l_Lean_indentD(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__5(size_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -1130,124 +1130,7 @@ return x_24; } } } -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_9 = 2; -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -} -static lean_object* _init_l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1___boxed), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_isNone(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Syntax_getArg(x_10, x_9); -lean_dec(x_10); -x_13 = l_Lean_Syntax_getKind(x_12); -x_14 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; -x_15 = lean_name_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = 1; -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_6, 4); -lean_inc(x_19); -x_20 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1; -x_21 = l_Lean_Name_isAnonymous(x_19); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_box(0); -x_23 = lean_apply_8(x_20, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -x_25 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -return x_25; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -} -else -{ -uint8_t x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_30 = 0; -x_31 = lean_box(x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_8); -return x_32; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -1300,6 +1183,126 @@ return x_24; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg), 1, 0); +return x_7; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -1335,11 +1338,11 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean lean_dec(x_2); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_3); -x_17 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_17 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; +x_19 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -1376,357 +1379,507 @@ return x_27; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_11 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) +uint8_t x_9; lean_object* x_10; 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; +x_102 = lean_unsigned_to_nat(0u); +x_103 = l_Lean_Syntax_getArg(x_1, x_102); +x_104 = lean_st_ref_get(x_7, x_8); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_6, 4); +lean_inc(x_108); +x_109 = lean_ctor_get(x_6, 5); +lean_inc(x_109); +lean_inc(x_107); +x_110 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_110, 0, x_107); +lean_inc(x_108); +x_111 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_111, 0, x_108); +lean_inc(x_107); +x_112 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +x_113 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_113, 0, x_107); +lean_closure_set(x_113, 1, x_108); +lean_closure_set(x_113, 2, x_109); +lean_inc(x_107); +x_114 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_114, 0, x_107); +lean_closure_set(x_114, 1, x_108); +lean_closure_set(x_114, 2, x_109); +x_115 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_115, 0, x_110); +lean_ctor_set(x_115, 1, x_111); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_113); +lean_ctor_set(x_115, 4, x_114); +x_116 = x_115; +x_117 = lean_ctor_get(x_6, 3); +lean_inc(x_117); +x_118 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_106); +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_ctor_get(x_6, 1); +lean_inc(x_121); +x_122 = lean_ctor_get(x_6, 2); +lean_inc(x_122); +x_123 = lean_st_ref_get(x_7, x_120); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_environment_main_module(x_107); +x_128 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_128, 0, x_116); +lean_ctor_set(x_128, 1, x_127); +lean_ctor_set(x_128, 2, x_119); +lean_ctor_set(x_128, 3, x_121); +lean_ctor_set(x_128, 4, x_122); +lean_ctor_set(x_128, 5, x_117); +x_129 = lean_box(0); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_126); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_toAttributeKind(x_103, x_128, x_130); +lean_dec(x_103); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_36 = lean_unsigned_to_nat(1u); -x_37 = l_Lean_Syntax_getArg(x_1, x_36); -x_38 = lean_st_ref_get(x_7, x_13); -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_st_ref_take(x_7, x_125); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = !lean_is_exclusive(x_136); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_139 = lean_ctor_get(x_136, 1); +lean_dec(x_139); +lean_ctor_set(x_136, 1, x_134); +x_140 = lean_st_ref_set(x_7, x_136, x_137); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_ctor_get(x_133, 1); +lean_inc(x_142); +lean_dec(x_133); +x_143 = l_List_reverse___rarg(x_142); +x_144 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_143, x_2, x_3, x_4, x_5, x_6, x_7, x_141); +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_unbox(x_132); +lean_dec(x_132); +x_9 = x_146; +x_10 = x_145; +goto block_101; +} +else +{ +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; uint8_t x_157; +x_147 = lean_ctor_get(x_136, 0); +x_148 = lean_ctor_get(x_136, 2); +x_149 = lean_ctor_get(x_136, 3); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_136); +x_150 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_134); +lean_ctor_set(x_150, 2, x_148); +lean_ctor_set(x_150, 3, x_149); +x_151 = lean_st_ref_set(x_7, x_150, x_137); +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +lean_dec(x_151); +x_153 = lean_ctor_get(x_133, 1); +lean_inc(x_153); +lean_dec(x_133); +x_154 = l_List_reverse___rarg(x_153); +x_155 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_154, x_2, x_3, x_4, x_5, x_6, x_7, x_152); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_unbox(x_132); +lean_dec(x_132); +x_9 = x_157; +x_10 = x_156; +goto block_101; +} +} +else +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_131, 0); +lean_inc(x_158); +lean_dec(x_131); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_161, 0, x_160); +x_162 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(x_159, x_162, x_2, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_159); +x_164 = !lean_is_exclusive(x_163); +if (x_164 == 0) +{ +return x_163; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_163, 0); +x_166 = lean_ctor_get(x_163, 1); +lean_inc(x_166); +lean_inc(x_165); +lean_dec(x_163); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; +} +} +else +{ +lean_object* x_168; uint8_t x_169; +lean_dec(x_6); +lean_dec(x_2); +x_168 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(x_125); +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) +{ +return x_168; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_168, 0); +x_171 = lean_ctor_get(x_168, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_168); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; +} +} +} +block_101: +{ +lean_object* x_11; lean_object* x_12; 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; +x_32 = lean_unsigned_to_nat(1u); +x_33 = l_Lean_Syntax_getArg(x_1, x_32); +x_34 = lean_st_ref_get(x_7, x_10); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_6, 4); +lean_inc(x_38); +x_39 = lean_ctor_get(x_6, 5); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_6, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 5); -lean_inc(x_43); -lean_inc(x_41); -x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_44, 0, x_41); -lean_inc(x_42); -x_45 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_45, 0, x_42); -lean_inc(x_41); -x_46 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_46, 0, x_41); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -x_47 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_47, 0, x_41); -lean_closure_set(x_47, 1, x_42); -lean_closure_set(x_47, 2, x_43); -lean_inc(x_41); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_48, 0, x_41); -lean_closure_set(x_48, 1, x_42); -lean_closure_set(x_48, 2, x_43); -x_49 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_45); -lean_ctor_set(x_49, 2, x_46); -lean_ctor_set(x_49, 3, x_47); -lean_ctor_set(x_49, 4, x_48); -x_50 = x_49; -x_51 = lean_ctor_get(x_6, 3); +lean_inc(x_37); +x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_40, 0, x_37); +lean_inc(x_38); +x_41 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_41, 0, x_38); +lean_inc(x_37); +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_42, 0, x_37); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +x_43 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_43, 0, x_37); +lean_closure_set(x_43, 1, x_38); +lean_closure_set(x_43, 2, x_39); +lean_inc(x_37); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_44, 0, x_37); +lean_closure_set(x_44, 1, x_38); +lean_closure_set(x_44, 2, x_39); +x_45 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_41); +lean_ctor_set(x_45, 2, x_42); +lean_ctor_set(x_45, 3, x_43); +lean_ctor_set(x_45, 4, x_44); +x_46 = x_45; +x_47 = lean_ctor_get(x_6, 3); +lean_inc(x_47); +x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_36); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ctor_get(x_6, 1); lean_inc(x_51); -x_52 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +x_52 = lean_ctor_get(x_6, 2); +lean_inc(x_52); +x_53 = lean_st_ref_get(x_7, x_50); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_6, 1); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_6, 2); +lean_dec(x_53); +x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); -x_57 = lean_st_ref_get(x_7, x_54); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_environment_main_module(x_41); -x_62 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_62, 0, x_50); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_53); -lean_ctor_set(x_62, 3, x_55); -lean_ctor_set(x_62, 4, x_56); -lean_ctor_set(x_62, 5, x_51); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_60); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_expandMacros(x_37, x_62, x_64); -if (lean_obj_tag(x_65) == 0) +lean_dec(x_54); +x_57 = lean_environment_main_module(x_37); +x_58 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_58, 0, x_46); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_49); +lean_ctor_set(x_58, 3, x_51); +lean_ctor_set(x_58, 4, x_52); +lean_ctor_set(x_58, 5, x_47); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_expandMacros(x_33, x_58, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_st_ref_take(x_7, x_55); x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_st_ref_take(x_7, x_59); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = !lean_is_exclusive(x_70); -if (x_72 == 0) +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) { -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; -x_73 = lean_ctor_get(x_70, 1); -lean_dec(x_73); -lean_ctor_set(x_70, 1, x_68); -x_74 = lean_st_ref_set(x_7, x_70, x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_69 = lean_ctor_get(x_66, 1); +lean_dec(x_69); +lean_ctor_set(x_66, 1, x_64); +x_70 = lean_st_ref_set(x_7, x_66, x_67); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_63, 1); +lean_inc(x_72); +lean_dec(x_63); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_71); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); lean_dec(x_74); -x_76 = lean_ctor_get(x_67, 1); -lean_inc(x_76); -lean_dec(x_67); -x_77 = l_List_reverse___rarg(x_76); -x_78 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_75); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_14 = x_66; -x_15 = x_79; -goto block_35; +x_11 = x_62; +x_12 = x_75; +goto block_31; } else { -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; -x_80 = lean_ctor_get(x_70, 0); -x_81 = lean_ctor_get(x_70, 2); -x_82 = lean_ctor_get(x_70, 3); -lean_inc(x_82); +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; +x_76 = lean_ctor_get(x_66, 0); +x_77 = lean_ctor_get(x_66, 2); +x_78 = lean_ctor_get(x_66, 3); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_66); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_64); +lean_ctor_set(x_79, 2, x_77); +lean_ctor_set(x_79, 3, x_78); +x_80 = lean_st_ref_set(x_7, x_79, x_67); +x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_70); -x_83 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_68); -lean_ctor_set(x_83, 2, x_81); -lean_ctor_set(x_83, 3, x_82); -x_84 = lean_st_ref_set(x_7, x_83, x_71); +lean_dec(x_80); +x_82 = lean_ctor_get(x_63, 1); +lean_inc(x_82); +lean_dec(x_63); +x_83 = l_List_reverse___rarg(x_82); +x_84 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_81); x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); lean_dec(x_84); -x_86 = lean_ctor_get(x_67, 1); -lean_inc(x_86); -lean_dec(x_67); -x_87 = l_List_reverse___rarg(x_86); -x_88 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_85); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_14 = x_66; -x_15 = x_89; -goto block_35; +x_11 = x_62; +x_12 = x_85; +goto block_31; } } else { -lean_object* x_90; -lean_dec(x_12); -x_90 = lean_ctor_get(x_65, 0); -lean_inc(x_90); -lean_dec(x_65); -if (lean_obj_tag(x_90) == 0) +lean_object* x_86; +x_86 = lean_ctor_get(x_61, 0); +lean_inc(x_86); +lean_dec(x_61); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_91, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_59); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_87, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_55); +lean_dec(x_87); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +return x_91; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_inc(x_93); lean_dec(x_91); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); return x_95; } -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} } else { -lean_object* x_100; uint8_t x_101; -lean_dec(x_7); +lean_object* x_96; uint8_t x_97; lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_59); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_96 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_55); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) { +return x_96; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); return x_100; } -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; } } -} -block_35: +block_31: { -lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_inc(x_14); -x_16 = l_Lean_Syntax_getKind(x_14); -x_17 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_18 = lean_name_eq(x_16, x_17); -if (x_18 == 0) +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_inc(x_11); +x_13 = l_Lean_Syntax_getKind(x_11); +x_14 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_15 = lean_name_eq(x_13, x_14); +if (x_15 == 0) { -if (lean_obj_tag(x_16) == 1) +if (lean_obj_tag(x_13) == 1) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_box(0); -x_21 = lean_name_mk_string(x_20, x_19); -x_22 = lean_unbox(x_12); -lean_dec(x_12); -x_23 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_22, x_14, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = lean_name_mk_string(x_17, x_16); +x_19 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_9, x_11, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_12); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_23; +return x_19; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_16); -lean_dec(x_12); -x_24 = l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; -x_25 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(x_14, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_14); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_13); +x_20 = l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; +x_21 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_11, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_12); +lean_dec(x_11); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); return x_25; } -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -lean_dec(x_16); -x_30 = l_Lean_Syntax_getArg(x_14, x_9); -x_31 = l_Lean_Syntax_getId(x_30); -lean_dec(x_30); -x_32 = lean_erase_macro_scopes(x_31); -x_33 = lean_unbox(x_12); -lean_dec(x_12); -x_34 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_33, x_14, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_13); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Syntax_getArg(x_11, x_26); +x_28 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +x_29 = lean_erase_macro_scopes(x_28); +x_30 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_9, x_11, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_12); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_34; -} -} -} -else -{ -uint8_t x_105; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_105 = !lean_is_exclusive(x_11); -if (x_105 == 0) -{ -return x_11; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_11, 0); -x_107 = lean_ctor_get(x_11, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_11); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +return x_30; } } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -1734,11 +1887,7 @@ x_12 = x_3 < x_2; if (x_12 == 0) { lean_object* x_13; -lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); @@ -1749,11 +1898,7 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_array_uget(x_1, x_3); -lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); x_15 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_14); @@ -1776,11 +1921,7 @@ goto _start; else { uint8_t x_22; -lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_22 = !lean_is_exclusive(x_15); @@ -1814,7 +1955,7 @@ x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; x_12 = l_Array_empty___closed__1; -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -1874,7 +2015,7 @@ lean_dec(x_11); return x_12; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1882,27 +2023,27 @@ x_1 = lean_mk_string("failed to infer 'let rec' declaration type"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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; @@ -1922,7 +2063,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3; x_14 = l_Lean_Elab_Term_registerCustomErrorIfMVar(x_11, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_4); lean_dec(x_3); @@ -2027,7 +2168,7 @@ return x_35; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; @@ -2046,7 +2187,7 @@ lean_ctor_set(x_17, 1, x_15); return x_17; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2054,16 +2195,16 @@ x_1 = lean_mk_string("patterns are not allowed in 'let rec' expressions"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -2190,7 +2331,7 @@ lean_dec(x_37); x_39 = l_Lean_Syntax_getArg(x_14, x_11); x_40 = l_Lean_Elab_Term_expandOptType(x_14, x_39); lean_dec(x_39); -x_41 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1), 9, 1); +x_41 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1), 9, 1); lean_closure_set(x_41, 0, x_40); lean_inc(x_9); lean_inc(x_8); @@ -2337,7 +2478,7 @@ x_96 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux__ x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); -x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_97); +x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_97); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2373,7 +2514,7 @@ x_107 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_ x_108 = lean_ctor_get(x_107, 1); lean_inc(x_108); lean_dec(x_107); -x_109 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_108); +x_109 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_108); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2393,7 +2534,7 @@ lean_inc(x_111); lean_dec(x_50); x_112 = lean_unsigned_to_nat(4u); x_113 = l_Lean_Syntax_getArg(x_14, x_112); -x_114 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_110, x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_111); +x_114 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_110, x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_111); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2513,7 +2654,7 @@ else lean_object* x_136; lean_object* x_137; lean_dec(x_3); lean_dec(x_2); -x_136 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2; +x_136 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; x_137 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11(x_14, x_136, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); @@ -2524,7 +2665,7 @@ return x_137; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -2550,11 +2691,7 @@ if (x_16 == 0) lean_object* x_17; lean_object* x_18; x_17 = l_Lean_Syntax_getArg(x_15, x_9); lean_dec(x_15); -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); lean_inc(x_2); x_18 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_13); lean_dec(x_17); @@ -2566,7 +2703,7 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3(x_1, x_12, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_1, x_12, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_20); return x_21; } else @@ -2604,7 +2741,7 @@ else lean_object* x_26; lean_object* x_27; lean_dec(x_15); x_26 = l_Array_empty___closed__1; -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3(x_1, x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_1, x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_13); return x_27; } } @@ -2638,7 +2775,7 @@ return x_31; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__5(size_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__5(size_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -2646,11 +2783,11 @@ x_13 = 1; x_14 = x_1 + x_13; x_15 = x_5; x_16 = lean_array_uset(x_2, x_1, x_15); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(x_3, x_4, x_14, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(x_3, x_4, x_14, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_17; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2677,11 +2814,11 @@ x_19 = lean_array_uset(x_4, x_3, x_18); x_20 = lean_ctor_get(x_1, 1); lean_inc(x_20); x_21 = x_17; -x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4___boxed), 8, 1); +x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__4___boxed), 8, 1); lean_closure_set(x_22, 0, x_21); x_23 = lean_box_usize(x_3); x_24 = lean_box_usize(x_2); -x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__5___boxed), 12, 4); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__5___boxed), 12, 4); lean_closure_set(x_25, 0, x_23); lean_closure_set(x_25, 1, x_19); lean_closure_set(x_25, 2, x_1); @@ -2736,7 +2873,7 @@ x_16 = x_13; x_17 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__2; x_18 = lean_box_usize(x_15); x_19 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed), 11, 4); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed), 11, 4); lean_closure_set(x_20, 0, x_17); lean_closure_set(x_20, 1, x_18); lean_closure_set(x_20, 2, x_19); @@ -2995,27 +3132,29 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___boxed(lean_object* x_1, lean_object* x_2, 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_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); return x_9; } } @@ -3032,6 +3171,20 @@ lean_dec(x_1); return x_10; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -3069,11 +3222,15 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -3081,7 +3238,11 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); return x_14; } @@ -3091,6 +3252,10 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } @@ -3100,15 +3265,19 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3118,25 +3287,25 @@ lean_dec(x_9); return x_16; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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) { _start: { lean_object* x_9; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); return x_9; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___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) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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: { size_t x_13; size_t x_14; lean_object* x_15; @@ -3144,11 +3313,11 @@ x_13 = lean_unbox_usize(x_1); lean_dec(x_1); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__5(x_13, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__5(x_13, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_15; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -3156,7 +3325,7 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } } @@ -4319,18 +4488,16 @@ lean_dec_ref(res); res = initialize_Lean_Elab_DeclarationRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1 = _init_l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__1___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__1 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__1(); lean_mark_persistent(l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__1); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__2 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Log.c b/stage0/stdlib/Lean/Elab/Log.c index 6ef26141bc..077c11de23 100644 --- a/stage0/stdlib/Lean/Elab/Log.c +++ b/stage0/stdlib/Lean/Elab/Log.c @@ -78,13 +78,13 @@ lean_object* l_Lean_Elab_log___rarg(lean_object*, lean_object*, lean_object*, le lean_object* l_Lean_Elab_logWarning___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___rarg___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_logDbgTrace(lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_logAt___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_logAt___rarg___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_logException_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getRefPos(lean_object*); @@ -1269,7 +1269,7 @@ static lean_object* _init_l_Lean_Elab_logDbgTrace___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_742____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index e111c17748..54ba0b8862 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -616,6 +616,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(lean lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2; @@ -681,7 +682,6 @@ extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda_ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___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*); @@ -1234,7 +1234,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Matc _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 9bf42f33cc..4648521fc0 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -185,6 +185,7 @@ lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7___closed__1; +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); lean_object* l_List_forM___at_Lean_Elab_Term_MutualClosure_main___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -225,7 +226,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkC lean_object* l_List_forM___at_Lean_Elab_Term_MutualClosure_main___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -309,6 +309,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14___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*); +extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -318,7 +319,6 @@ lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_ lean_object* l_Lean_Elab_Command_elabMutualDef___boxed__const__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__6; -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -392,7 +392,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___spec__1(lean_object*, size_t, size_t); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor_match__1(lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -490,6 +489,7 @@ lean_object* l_Lean_mkHole(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); @@ -606,7 +606,6 @@ lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___rarg(lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__7; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_modifyUsedFVars(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Elab_instantiateMVarsAtPreDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,6 +628,7 @@ extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2; lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___spec__1(lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_CollectFVars_instInhabitedState___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; @@ -665,6 +665,7 @@ lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___boxed__const__1; uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -717,6 +718,7 @@ lean_object* l_Lean_Meta_findLocalDecl_x3f(lean_object*, lean_object*, lean_obje uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; static lean_object* _init_l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1() { _start: { @@ -11316,7 +11318,7 @@ static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -19152,7 +19154,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean lean_dec(x_2); x_12 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_12, 0, x_3); -x_13 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_13 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); @@ -19193,30 +19195,285 @@ return x_23; lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -lean_inc(x_3); -lean_inc(x_2); -x_7 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_6, x_2, x_3, x_4); -lean_dec(x_6); -if (lean_obj_tag(x_7) == 0) +uint8_t x_5; lean_object* x_6; 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; +x_114 = lean_unsigned_to_nat(0u); +x_115 = l_Lean_Syntax_getArg(x_1, x_114); +x_116 = lean_st_ref_get(x_3, x_4); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_ctor_get(x_117, 0); +lean_inc(x_119); +lean_dec(x_117); +x_120 = l_Lean_Elab_Command_getScope___rarg(x_3, x_118); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_ctor_get(x_121, 2); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Lean_Elab_Command_getScope___rarg(x_3, x_122); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_ctor_get(x_125, 3); +lean_inc(x_127); +lean_dec(x_125); +lean_inc(x_119); +x_128 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_128, 0, x_119); +lean_inc(x_123); +x_129 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_129, 0, x_123); +lean_inc(x_119); +x_130 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_130, 0, x_119); +lean_inc(x_127); +lean_inc(x_123); +lean_inc(x_119); +x_131 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_131, 0, x_119); +lean_closure_set(x_131, 1, x_123); +lean_closure_set(x_131, 2, x_127); +lean_inc(x_119); +x_132 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_132, 0, x_119); +lean_closure_set(x_132, 1, x_123); +lean_closure_set(x_132, 2, x_127); +x_133 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_133, 0, x_128); +lean_ctor_set(x_133, 1, x_129); +lean_ctor_set(x_133, 2, x_130); +lean_ctor_set(x_133, 3, x_131); +lean_ctor_set(x_133, 4, x_132); +x_134 = x_133; +x_135 = l_Lean_Elab_Command_getRef(x_2, x_3, x_126); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_137); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = lean_ctor_get(x_2, 2); +lean_inc(x_141); +x_142 = lean_st_ref_get(x_3, x_140); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_ctor_get(x_143, 4); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_st_ref_get(x_3, x_144); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = lean_ctor_get(x_147, 3); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_environment_main_module(x_119); +x_151 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_151, 0, x_134); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_139); +lean_ctor_set(x_151, 3, x_141); +lean_ctor_set(x_151, 4, x_145); +lean_ctor_set(x_151, 5, x_136); +x_152 = lean_box(0); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_152); +x_154 = l_Lean_Elab_toAttributeKind(x_115, x_151, x_153); +lean_dec(x_115); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_32 = lean_unsigned_to_nat(1u); -x_33 = l_Lean_Syntax_getArg(x_1, x_32); -x_34 = lean_st_ref_get(x_3, x_9); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +lean_dec(x_154); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_st_ref_take(x_3, x_148); +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = !lean_is_exclusive(x_159); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_162 = lean_ctor_get(x_159, 3); +lean_dec(x_162); +lean_ctor_set(x_159, 3, x_157); +x_163 = lean_st_ref_set(x_3, x_159, x_160); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +lean_dec(x_163); +x_165 = lean_ctor_get(x_156, 1); +lean_inc(x_165); +lean_dec(x_156); +x_166 = l_List_reverse___rarg(x_165); +x_167 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_166, x_2, x_3, x_164); +x_168 = lean_ctor_get(x_167, 1); +lean_inc(x_168); +lean_dec(x_167); +x_169 = lean_unbox(x_155); +lean_dec(x_155); +x_5 = x_169; +x_6 = x_168; +goto block_113; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; 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; uint8_t x_185; +x_170 = lean_ctor_get(x_159, 0); +x_171 = lean_ctor_get(x_159, 1); +x_172 = lean_ctor_get(x_159, 2); +x_173 = lean_ctor_get(x_159, 4); +x_174 = lean_ctor_get(x_159, 5); +x_175 = lean_ctor_get(x_159, 6); +x_176 = lean_ctor_get(x_159, 7); +x_177 = lean_ctor_get(x_159, 8); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_159); +x_178 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_178, 0, x_170); +lean_ctor_set(x_178, 1, x_171); +lean_ctor_set(x_178, 2, x_172); +lean_ctor_set(x_178, 3, x_157); +lean_ctor_set(x_178, 4, x_173); +lean_ctor_set(x_178, 5, x_174); +lean_ctor_set(x_178, 6, x_175); +lean_ctor_set(x_178, 7, x_176); +lean_ctor_set(x_178, 8, x_177); +x_179 = lean_st_ref_set(x_3, x_178, x_160); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec(x_179); +x_181 = lean_ctor_get(x_156, 1); +lean_inc(x_181); +lean_dec(x_156); +x_182 = l_List_reverse___rarg(x_181); +x_183 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_182, x_2, x_3, x_180); +x_184 = lean_ctor_get(x_183, 1); +lean_inc(x_184); +lean_dec(x_183); +x_185 = lean_unbox(x_155); +lean_dec(x_155); +x_5 = x_185; +x_6 = x_184; +goto block_113; +} +} +else +{ +lean_object* x_186; +x_186 = lean_ctor_get(x_154, 0); +lean_inc(x_186); +lean_dec(x_154); +if (lean_obj_tag(x_186) == 0) +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_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_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_187, x_190, x_2, x_3, x_148); +lean_dec(x_187); +x_192 = !lean_is_exclusive(x_191); +if (x_192 == 0) +{ +return x_191; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_193 = lean_ctor_get(x_191, 0); +x_194 = lean_ctor_get(x_191, 1); +lean_inc(x_194); +lean_inc(x_193); +lean_dec(x_191); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +} +else +{ +lean_object* x_196; uint8_t x_197; +lean_dec(x_2); +x_196 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(x_148); +x_197 = !lean_is_exclusive(x_196); +if (x_197 == 0) +{ +return x_196; +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_196, 0); +x_199 = lean_ctor_get(x_196, 1); +lean_inc(x_199); +lean_inc(x_198); +lean_dec(x_196); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +block_113: +{ +lean_object* x_7; lean_object* x_8; 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; +x_28 = lean_unsigned_to_nat(1u); +x_29 = l_Lean_Syntax_getArg(x_1, x_28); +x_30 = lean_st_ref_get(x_3, x_6); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Command_getScope___rarg(x_3, x_32); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); +x_37 = lean_ctor_get(x_35, 2); lean_inc(x_37); lean_dec(x_35); x_38 = l_Lean_Elab_Command_getScope___rarg(x_3, x_36); @@ -19225,336 +19482,293 @@ lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); -x_41 = lean_ctor_get(x_39, 2); +x_41 = lean_ctor_get(x_39, 3); lean_inc(x_41); lean_dec(x_39); -x_42 = l_Lean_Elab_Command_getScope___rarg(x_3, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 3); -lean_inc(x_45); -lean_dec(x_43); +lean_inc(x_33); +x_42 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_42, 0, x_33); lean_inc(x_37); -x_46 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_46, 0, x_37); -lean_inc(x_41); -x_47 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_47, 0, x_41); -lean_inc(x_37); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_48, 0, x_37); -lean_inc(x_45); +x_43 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_43, 0, x_37); +lean_inc(x_33); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_44, 0, x_33); lean_inc(x_41); lean_inc(x_37); -x_49 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_49, 0, x_37); -lean_closure_set(x_49, 1, x_41); -lean_closure_set(x_49, 2, x_45); -lean_inc(x_37); -x_50 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_50, 0, x_37); -lean_closure_set(x_50, 1, x_41); -lean_closure_set(x_50, 2, x_45); -x_51 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_51, 0, x_46); -lean_ctor_set(x_51, 1, x_47); -lean_ctor_set(x_51, 2, x_48); -lean_ctor_set(x_51, 3, x_49); -lean_ctor_set(x_51, 4, x_50); -x_52 = x_51; -x_53 = l_Lean_Elab_Command_getRef(x_2, x_3, x_44); -x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_33); +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_45, 0, x_33); +lean_closure_set(x_45, 1, x_37); +lean_closure_set(x_45, 2, x_41); +lean_inc(x_33); +x_46 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_46, 0, x_33); +lean_closure_set(x_46, 1, x_37); +lean_closure_set(x_46, 2, x_41); +x_47 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_43); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_45); +lean_ctor_set(x_47, 4, x_46); +x_48 = x_47; +x_49 = l_Lean_Elab_Command_getRef(x_2, x_3, x_40); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +lean_dec(x_52); +x_55 = lean_ctor_get(x_2, 2); lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_55); +x_56 = lean_st_ref_get(x_3, x_54); x_57 = lean_ctor_get(x_56, 0); lean_inc(x_57); x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); lean_dec(x_56); -x_59 = lean_ctor_get(x_2, 2); +x_59 = lean_ctor_get(x_57, 4); lean_inc(x_59); +lean_dec(x_57); x_60 = lean_st_ref_get(x_3, x_58); x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 4); +x_63 = lean_ctor_get(x_61, 3); lean_inc(x_63); lean_dec(x_61); -x_64 = lean_st_ref_get(x_3, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 3); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_environment_main_module(x_37); -x_69 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_69, 0, x_52); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_57); -lean_ctor_set(x_69, 3, x_59); -lean_ctor_set(x_69, 4, x_63); -lean_ctor_set(x_69, 5, x_54); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_expandMacros(x_33, x_69, x_71); -if (lean_obj_tag(x_72) == 0) +x_64 = lean_environment_main_module(x_33); +x_65 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_65, 0, x_48); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_53); +lean_ctor_set(x_65, 3, x_55); +lean_ctor_set(x_65, 4, x_59); +lean_ctor_set(x_65, 5, x_50); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_expandMacros(x_29, x_65, x_67); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_st_ref_take(x_3, x_62); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); lean_dec(x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_st_ref_take(x_3, x_66); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = !lean_is_exclusive(x_77); -if (x_79 == 0) +x_75 = !lean_is_exclusive(x_73); +if (x_75 == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_80 = lean_ctor_get(x_77, 3); -lean_dec(x_80); -lean_ctor_set(x_77, 3, x_75); -x_81 = lean_st_ref_set(x_3, x_77, x_78); +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; +x_76 = lean_ctor_get(x_73, 3); +lean_dec(x_76); +lean_ctor_set(x_73, 3, x_71); +x_77 = lean_st_ref_set(x_3, x_73, x_74); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_ctor_get(x_70, 1); +lean_inc(x_79); +lean_dec(x_70); +x_80 = l_List_reverse___rarg(x_79); +x_81 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_80, x_2, x_3, x_78); x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -lean_dec(x_74); -x_84 = l_List_reverse___rarg(x_83); -x_85 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_84, x_2, x_3, x_82); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_10 = x_73; -x_11 = x_86; -goto block_31; +x_7 = x_69; +x_8 = x_82; +goto block_27; } else { -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; -x_87 = lean_ctor_get(x_77, 0); -x_88 = lean_ctor_get(x_77, 1); -x_89 = lean_ctor_get(x_77, 2); -x_90 = lean_ctor_get(x_77, 4); -x_91 = lean_ctor_get(x_77, 5); -x_92 = lean_ctor_get(x_77, 6); -x_93 = lean_ctor_get(x_77, 7); -x_94 = lean_ctor_get(x_77, 8); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); +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; +x_83 = lean_ctor_get(x_73, 0); +x_84 = lean_ctor_get(x_73, 1); +x_85 = lean_ctor_get(x_73, 2); +x_86 = lean_ctor_get(x_73, 4); +x_87 = lean_ctor_get(x_73, 5); +x_88 = lean_ctor_get(x_73, 6); +x_89 = lean_ctor_get(x_73, 7); +x_90 = lean_ctor_get(x_73, 8); lean_inc(x_90); lean_inc(x_89); lean_inc(x_88); lean_inc(x_87); -lean_dec(x_77); -x_95 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_95, 0, x_87); -lean_ctor_set(x_95, 1, x_88); -lean_ctor_set(x_95, 2, x_89); -lean_ctor_set(x_95, 3, x_75); -lean_ctor_set(x_95, 4, x_90); -lean_ctor_set(x_95, 5, x_91); -lean_ctor_set(x_95, 6, x_92); -lean_ctor_set(x_95, 7, x_93); -lean_ctor_set(x_95, 8, x_94); -x_96 = lean_st_ref_set(x_3, x_95, x_78); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_73); +x_91 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_91, 0, x_83); +lean_ctor_set(x_91, 1, x_84); +lean_ctor_set(x_91, 2, x_85); +lean_ctor_set(x_91, 3, x_71); +lean_ctor_set(x_91, 4, x_86); +lean_ctor_set(x_91, 5, x_87); +lean_ctor_set(x_91, 6, x_88); +lean_ctor_set(x_91, 7, x_89); +lean_ctor_set(x_91, 8, x_90); +x_92 = lean_st_ref_set(x_3, x_91, x_74); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_ctor_get(x_70, 1); +lean_inc(x_94); +lean_dec(x_70); +x_95 = l_List_reverse___rarg(x_94); +x_96 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_95, x_2, x_3, x_93); x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); -x_98 = lean_ctor_get(x_74, 1); -lean_inc(x_98); -lean_dec(x_74); -x_99 = l_List_reverse___rarg(x_98); -x_100 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_99, x_2, x_3, x_97); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_10 = x_73; -x_11 = x_101; -goto block_31; +x_7 = x_69; +x_8 = x_97; +goto block_27; } } else { -lean_object* x_102; -lean_dec(x_8); -x_102 = lean_ctor_get(x_72, 0); -lean_inc(x_102); -lean_dec(x_72); -if (lean_obj_tag(x_102) == 0) +lean_object* x_98; +x_98 = lean_ctor_get(x_68, 0); +lean_inc(x_98); +lean_dec(x_68); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_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_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_103, x_106, x_2, x_3, x_66); -lean_dec(x_3); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +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_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_99, x_102, x_2, x_3, x_62); +lean_dec(x_99); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +return x_103; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_103, 0); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_inc(x_105); lean_dec(x_103); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); return x_107; } -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} } else { -lean_object* x_112; uint8_t x_113; -lean_dec(x_3); +lean_object* x_108; uint8_t x_109; lean_dec(x_2); -x_112 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_66); -x_113 = !lean_is_exclusive(x_112); -if (x_113 == 0) +x_108 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_62); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { +return x_108; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_108, 0); +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_108); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); return x_112; } -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_112, 0); -x_115 = lean_ctor_get(x_112, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_112); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; } } -} -block_31: +block_27: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -lean_inc(x_10); -x_12 = l_Lean_Syntax_getKind(x_10); -x_13 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_14 = lean_name_eq(x_12, x_13); -if (x_14 == 0) +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_inc(x_7); +x_9 = l_Lean_Syntax_getKind(x_7); +x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_11 = lean_name_eq(x_9, x_10); +if (x_11 == 0) { -if (lean_obj_tag(x_12) == 1) +if (lean_obj_tag(x_9) == 1) { -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_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_box(0); -x_17 = lean_name_mk_string(x_16, x_15); -x_18 = lean_unbox(x_8); -lean_dec(x_8); -x_19 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_18, x_10, x_17, x_2, x_3, x_11); -lean_dec(x_3); -return x_19; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_box(0); +x_14 = lean_name_mk_string(x_13, x_12); +x_15 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_5, x_7, x_14, x_2, x_3, x_8); +return x_15; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_22; -lean_dec(x_12); -lean_dec(x_8); -x_20 = l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; -x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__5(x_10, x_20, x_2, x_3, x_11); -lean_dec(x_3); -lean_dec(x_10); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_9); +x_16 = l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; +x_17 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__5(x_7, x_16, x_2, x_3, x_8); +lean_dec(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); return x_21; } -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; -lean_dec(x_12); -x_26 = l_Lean_Syntax_getArg(x_10, x_5); -x_27 = l_Lean_Syntax_getId(x_26); -lean_dec(x_26); -x_28 = lean_erase_macro_scopes(x_27); -x_29 = lean_unbox(x_8); -lean_dec(x_8); -x_30 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_29, x_10, x_28, x_2, x_3, x_11); -lean_dec(x_3); -return x_30; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_7, x_22); +x_24 = l_Lean_Syntax_getId(x_23); +lean_dec(x_23); +x_25 = lean_erase_macro_scopes(x_24); +x_26 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_5, x_7, x_25, x_2, x_3, x_8); +return x_26; } } } -else -{ -uint8_t x_117; -lean_dec(x_3); -lean_dec(x_2); -x_117 = !lean_is_exclusive(x_7); -if (x_117 == 0) -{ -return x_7; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_7, 0); -x_119 = lean_ctor_get(x_7, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_7); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -19565,7 +19779,6 @@ x_8 = x_3 < x_2; if (x_8 == 0) { lean_object* x_9; -lean_dec(x_6); lean_dec(x_5); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_4); @@ -19576,7 +19789,6 @@ else { lean_object* x_10; lean_object* x_11; x_10 = lean_array_uget(x_1, x_3); -lean_inc(x_6); lean_inc(x_5); x_11 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4(x_10, x_5, x_6, x_7); lean_dec(x_10); @@ -19599,7 +19811,6 @@ goto _start; else { uint8_t x_18; -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_18 = !lean_is_exclusive(x_11); @@ -20074,7 +20285,6 @@ if (lean_obj_tag(x_10) == 0) lean_object* x_11; lean_object* x_12; x_11 = l_Array_empty___closed__1; x_12 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_11, x_7, x_8, x_9); -lean_dec(x_8); lean_dec(x_7); return x_12; } @@ -20084,7 +20294,6 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_10, 0); lean_inc(x_13); lean_dec(x_10); -lean_inc(x_8); lean_inc(x_7); x_14 = l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2(x_13, x_7, x_8, x_9); lean_dec(x_13); @@ -20097,14 +20306,12 @@ x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); x_17 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_16); -lean_dec(x_8); lean_dec(x_7); return x_17; } else { uint8_t x_18; -lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); x_18 = !lean_is_exclusive(x_14); @@ -20163,7 +20370,6 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_6); x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(x_13, x_19, x_7, x_8, x_9); -lean_dec(x_8); lean_dec(x_13); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) @@ -20287,7 +20493,6 @@ x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__9(x_21, x_33, x_2, x_3, x_4); -lean_dec(x_3); lean_dec(x_21); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) @@ -20359,7 +20564,6 @@ x_52 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); x_53 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__9(x_39, x_52, x_2, x_3, x_4); -lean_dec(x_3); lean_dec(x_39); x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); @@ -20394,7 +20598,6 @@ x_7 = x_2 < x_1; if (x_7 == 0) { lean_object* x_8; lean_object* x_9; -lean_dec(x_5); lean_dec(x_4); x_8 = x_3; x_9 = lean_alloc_ctor(0, 2, 0); @@ -20410,7 +20613,6 @@ x_11 = lean_unsigned_to_nat(0u); x_12 = lean_array_uset(x_3, x_2, x_11); x_13 = x_10; x_14 = l_Lean_Syntax_getArg(x_13, x_11); -lean_inc(x_5); lean_inc(x_4); x_15 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(x_14, x_4, x_5, x_6); lean_dec(x_14); @@ -20425,7 +20627,6 @@ lean_dec(x_15); x_18 = lean_unsigned_to_nat(1u); x_19 = l_Lean_Syntax_getArg(x_13, x_18); lean_dec(x_13); -lean_inc(x_5); lean_inc(x_4); x_20 = l_Lean_Elab_Command_mkDefView(x_16, x_19, x_4, x_5, x_17); if (lean_obj_tag(x_20) == 0) @@ -20449,7 +20650,6 @@ else { uint8_t x_28; lean_dec(x_12); -lean_dec(x_5); lean_dec(x_4); x_28 = !lean_is_exclusive(x_20); if (x_28 == 0) @@ -20476,7 +20676,6 @@ else uint8_t x_32; lean_dec(x_13); lean_dec(x_12); -lean_dec(x_5); lean_dec(x_4); x_32 = !lean_is_exclusive(x_15); if (x_32 == 0) @@ -20844,6 +21043,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_1); return x_5; } @@ -20857,6 +21057,7 @@ lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_1); return x_10; } @@ -20866,6 +21067,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_1); return x_5; } @@ -20875,6 +21077,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_1); return x_5; } @@ -20939,6 +21142,7 @@ uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_6); lean_dec(x_6); x_11 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20951,6 +21155,7 @@ _start: { lean_object* x_10; x_10 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -20964,6 +21169,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_1); return x_5; } @@ -20977,6 +21183,7 @@ lean_dec(x_1); x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11(x_7, x_8, x_3, x_4, x_5, x_6); +lean_dec(x_5); return x_9; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 18473ee302..fad669ffe6 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -94,8 +94,8 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___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_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; size_t l_Lean_Name_hash(lean_object*); -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__16(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_collectMVarsAtPreDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -473,7 +473,7 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_37, 1); lean_inc(x_43); lean_dec(x_37); -x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_43); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -491,7 +491,7 @@ block_24: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_1, 4); lean_inc(x_10); -x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; lean_inc(x_10); x_12 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__2___lambda__1___boxed), 12, 3); lean_closure_set(x_12, 0, x_1); @@ -569,7 +569,7 @@ x_31 = l_Lean_KernelException_toMessageData___closed__15; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_34 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_33, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_26); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); @@ -2845,7 +2845,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3527,7 +3527,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index 94930b638a..f21609cf65 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -225,6 +225,7 @@ uint8_t l_Lean_Expr_isHeadBetaTarget(lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_ensureNoRecFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___closed__10; +extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwStructuralFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__4(lean_object*); @@ -233,7 +234,6 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu extern lean_object* l_Lean_Core_betaReduce___closed__2; lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Structural_State_matcherBelowDep___default; @@ -5884,7 +5884,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1200____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1204____closed__2; x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 1896962fbe..56b9343320 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -615,6 +615,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__11; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3801____closed__10; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4261____closed__1; @@ -688,7 +689,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__21; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__10; @@ -31563,7 +31563,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 150554fb3c..5099c51378 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -438,6 +438,7 @@ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3(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_groupKind; uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___lambda__1(lean_object*); @@ -477,7 +478,6 @@ lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_St lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__4; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__4; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); extern lean_object* l_Id_instMonadId; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -2865,7 +2865,7 @@ static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Str _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 47db5cf10a..b52c7842ba 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -19,19 +19,17 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelPa lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__2; lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object**); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__1(lean_object*); size_t l_USize_add(size_t, size_t); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_getString_x21___closed__3; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__2___rarg(lean_object*, lean_object*); @@ -53,9 +51,10 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused__ lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2(lean_object*, lean_object*, lean_object*, 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_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -68,7 +67,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13376____closed__9; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__1; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_collectUsedFVarsAtFVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,6 +78,7 @@ lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); 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*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__11; @@ -91,7 +90,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureV lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedAttribute; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__5(lean_object*); @@ -102,6 +100,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__1; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -113,18 +112,18 @@ lean_object* lean_mk_projections(lean_object*, lean_object*, lean_object*, uint8 uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__2; lean_object* lean_private_to_user_name(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7859____closed__4; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1; extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__9; -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; extern lean_object* l_Lean_declRangeExt; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object**); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,7 +139,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_E lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5___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*); extern lean_object* l_Array_getEvenElems___rarg___closed__1; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,6 +152,7 @@ lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,6 +164,8 @@ extern lean_object* l_Lean_Parser_Command_example___elambda__1___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed_match__1(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*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; extern lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -174,6 +175,7 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,20 +204,21 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__2; uint8_t l_Lean_Elab_Command_StructFieldInfo_inferMod___default; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_setBinderInfo(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__8; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__4; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop(lean_object*); +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -231,7 +234,6 @@ lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_mkDeclName___rarg___closed__2; @@ -243,9 +245,11 @@ lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___closed__1; lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_StructFieldInfo_isSubobject(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__3; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -258,7 +262,6 @@ lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructu lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__1; lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object**); @@ -286,12 +289,11 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3(lean_object*); -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13376____closed__12; -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed__const__1; lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2___rarg(lean_object*, lean_object*); @@ -304,11 +306,15 @@ lean_object* l_Lean_Elab_Command_elabStructure___lambda__3(lean_object*, lean_ob lean_object* l_Lean_Elab_Command_StructFieldInfo_value_x3f___default; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_elabDeriving___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___closed__2; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_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*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(lean_object*, size_t, size_t, lean_object*); @@ -329,14 +335,13 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object**); lean_object* l_Lean_Elab_Command_elabStructure___lambda__2___boxed(lean_object**); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject___boxed(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___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_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; lean_object* l_Lean_Elab_Command_elabStructure___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -345,6 +350,7 @@ lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__1; @@ -365,29 +371,26 @@ lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__1; -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___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* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1(lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields(lean_object*); extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); @@ -395,6 +398,7 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -404,10 +408,8 @@ uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName(l lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___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* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields(lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,6 +420,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeV lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__1; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___boxed__const__1; +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___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*); @@ -426,19 +429,16 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToPar lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); extern lean_object* l_Option_get_x21___rarg___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__2(lean_object*); lean_object* l_Lean_Name_getString_x21(lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__2; -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -451,10 +451,10 @@ extern lean_object* l_Lean_CollectLevelParams_instInhabitedState___closed__1; extern lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___boxed__const__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__30; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2___closed__2; @@ -465,7 +465,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelPa lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedModifiers___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -474,14 +474,11 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____close lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -499,7 +496,9 @@ extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lam lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; @@ -512,21 +511,22 @@ lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg___ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__2; extern lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1(lean_object*); lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__2; +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg(uint8_t, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__11; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); @@ -537,6 +537,7 @@ uint8_t l_Lean_Elab_Command_StructFieldInfo_isFromParent(lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_set_reducibility_status(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg(uint8_t, lean_object*, lean_object*); @@ -547,6 +548,7 @@ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__10; extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__27; lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4836_(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -555,7 +557,6 @@ uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_221_( lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); lean_object* l_Lean_setReducibilityStatus___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -564,11 +565,11 @@ lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Comm lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections_match__1(lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__7; lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*); -extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2; lean_object* l_Lean_indentD(lean_object*); @@ -579,9 +580,8 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0_ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__1; uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__3; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -594,6 +594,7 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2; +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_CollectFVars_instInhabitedState___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__1; @@ -604,7 +605,6 @@ lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -625,14 +625,16 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -645,13 +647,12 @@ lean_object* l_Lean_Elab_Command_elabStructure___lambda__4(lean_object*, lean_ob lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_is_class(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__5(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,7 +660,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeV lean_object* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object**); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -671,6 +671,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_mat uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t _init_l_Lean_Elab_Command_instInhabitedStructFieldKind() { _start: @@ -877,124 +878,7 @@ x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__3; return x_1; } } -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_9 = 2; -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -} -static lean_object* _init_l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1___boxed), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_isNone(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = l_Lean_Syntax_getArg(x_10, x_9); -lean_dec(x_10); -x_13 = l_Lean_Syntax_getKind(x_12); -x_14 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; -x_15 = lean_name_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = 1; -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_6, 4); -lean_inc(x_19); -x_20 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1; -x_21 = l_Lean_Name_isAnonymous(x_19); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_box(0); -x_23 = lean_apply_8(x_20, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -x_25 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -return x_25; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -} -else -{ -uint8_t x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_30 = 0; -x_31 = lean_box(x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_8); -return x_32; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -1047,6 +931,126 @@ return x_24; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg), 1, 0); +return x_7; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -1082,11 +1086,11 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean lean_dec(x_2); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_3); -x_17 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__2; +x_17 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Elab_elabAttr___rarg___lambda__11___closed__3; +x_19 = l_Lean_Elab_elabAttr___rarg___lambda__20___closed__3; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -1123,357 +1127,507 @@ return x_27; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_11 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) +uint8_t x_9; lean_object* x_10; 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; +x_102 = lean_unsigned_to_nat(0u); +x_103 = l_Lean_Syntax_getArg(x_1, x_102); +x_104 = lean_st_ref_get(x_7, x_8); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_6, 4); +lean_inc(x_108); +x_109 = lean_ctor_get(x_6, 5); +lean_inc(x_109); +lean_inc(x_107); +x_110 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_110, 0, x_107); +lean_inc(x_108); +x_111 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_111, 0, x_108); +lean_inc(x_107); +x_112 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +x_113 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_113, 0, x_107); +lean_closure_set(x_113, 1, x_108); +lean_closure_set(x_113, 2, x_109); +lean_inc(x_107); +x_114 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_114, 0, x_107); +lean_closure_set(x_114, 1, x_108); +lean_closure_set(x_114, 2, x_109); +x_115 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_115, 0, x_110); +lean_ctor_set(x_115, 1, x_111); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_113); +lean_ctor_set(x_115, 4, x_114); +x_116 = x_115; +x_117 = lean_ctor_get(x_6, 3); +lean_inc(x_117); +x_118 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_106); +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_ctor_get(x_6, 1); +lean_inc(x_121); +x_122 = lean_ctor_get(x_6, 2); +lean_inc(x_122); +x_123 = lean_st_ref_get(x_7, x_120); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_environment_main_module(x_107); +x_128 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_128, 0, x_116); +lean_ctor_set(x_128, 1, x_127); +lean_ctor_set(x_128, 2, x_119); +lean_ctor_set(x_128, 3, x_121); +lean_ctor_set(x_128, 4, x_122); +lean_ctor_set(x_128, 5, x_117); +x_129 = lean_box(0); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_126); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_toAttributeKind(x_103, x_128, x_130); +lean_dec(x_103); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_36 = lean_unsigned_to_nat(1u); -x_37 = l_Lean_Syntax_getArg(x_1, x_36); -x_38 = lean_st_ref_get(x_7, x_13); -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_st_ref_take(x_7, x_125); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = !lean_is_exclusive(x_136); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_139 = lean_ctor_get(x_136, 1); +lean_dec(x_139); +lean_ctor_set(x_136, 1, x_134); +x_140 = lean_st_ref_set(x_7, x_136, x_137); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_ctor_get(x_133, 1); +lean_inc(x_142); +lean_dec(x_133); +x_143 = l_List_reverse___rarg(x_142); +x_144 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_143, x_2, x_3, x_4, x_5, x_6, x_7, x_141); +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_unbox(x_132); +lean_dec(x_132); +x_9 = x_146; +x_10 = x_145; +goto block_101; +} +else +{ +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; uint8_t x_157; +x_147 = lean_ctor_get(x_136, 0); +x_148 = lean_ctor_get(x_136, 2); +x_149 = lean_ctor_get(x_136, 3); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_136); +x_150 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_134); +lean_ctor_set(x_150, 2, x_148); +lean_ctor_set(x_150, 3, x_149); +x_151 = lean_st_ref_set(x_7, x_150, x_137); +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +lean_dec(x_151); +x_153 = lean_ctor_get(x_133, 1); +lean_inc(x_153); +lean_dec(x_133); +x_154 = l_List_reverse___rarg(x_153); +x_155 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_154, x_2, x_3, x_4, x_5, x_6, x_7, x_152); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_unbox(x_132); +lean_dec(x_132); +x_9 = x_157; +x_10 = x_156; +goto block_101; +} +} +else +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_131, 0); +lean_inc(x_158); +lean_dec(x_131); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_161, 0, x_160); +x_162 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_159, x_162, x_2, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_159); +x_164 = !lean_is_exclusive(x_163); +if (x_164 == 0) +{ +return x_163; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_163, 0); +x_166 = lean_ctor_get(x_163, 1); +lean_inc(x_166); +lean_inc(x_165); +lean_dec(x_163); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; +} +} +else +{ +lean_object* x_168; uint8_t x_169; +lean_dec(x_6); +lean_dec(x_2); +x_168 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(x_125); +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) +{ +return x_168; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_168, 0); +x_171 = lean_ctor_get(x_168, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_168); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; +} +} +} +block_101: +{ +lean_object* x_11; lean_object* x_12; 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; +x_32 = lean_unsigned_to_nat(1u); +x_33 = l_Lean_Syntax_getArg(x_1, x_32); +x_34 = lean_st_ref_get(x_7, x_10); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_6, 4); +lean_inc(x_38); +x_39 = lean_ctor_get(x_6, 5); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_6, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 5); -lean_inc(x_43); -lean_inc(x_41); -x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_44, 0, x_41); -lean_inc(x_42); -x_45 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_45, 0, x_42); -lean_inc(x_41); -x_46 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_46, 0, x_41); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -x_47 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_47, 0, x_41); -lean_closure_set(x_47, 1, x_42); -lean_closure_set(x_47, 2, x_43); -lean_inc(x_41); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_48, 0, x_41); -lean_closure_set(x_48, 1, x_42); -lean_closure_set(x_48, 2, x_43); -x_49 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_45); -lean_ctor_set(x_49, 2, x_46); -lean_ctor_set(x_49, 3, x_47); -lean_ctor_set(x_49, 4, x_48); -x_50 = x_49; -x_51 = lean_ctor_get(x_6, 3); +lean_inc(x_37); +x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_40, 0, x_37); +lean_inc(x_38); +x_41 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_41, 0, x_38); +lean_inc(x_37); +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_42, 0, x_37); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +x_43 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_43, 0, x_37); +lean_closure_set(x_43, 1, x_38); +lean_closure_set(x_43, 2, x_39); +lean_inc(x_37); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_44, 0, x_37); +lean_closure_set(x_44, 1, x_38); +lean_closure_set(x_44, 2, x_39); +x_45 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_41); +lean_ctor_set(x_45, 2, x_42); +lean_ctor_set(x_45, 3, x_43); +lean_ctor_set(x_45, 4, x_44); +x_46 = x_45; +x_47 = lean_ctor_get(x_6, 3); +lean_inc(x_47); +x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_36); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ctor_get(x_6, 1); lean_inc(x_51); -x_52 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +x_52 = lean_ctor_get(x_6, 2); +lean_inc(x_52); +x_53 = lean_st_ref_get(x_7, x_50); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_6, 1); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_6, 2); +lean_dec(x_53); +x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); -x_57 = lean_st_ref_get(x_7, x_54); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_environment_main_module(x_41); -x_62 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_62, 0, x_50); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_53); -lean_ctor_set(x_62, 3, x_55); -lean_ctor_set(x_62, 4, x_56); -lean_ctor_set(x_62, 5, x_51); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_60); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_expandMacros(x_37, x_62, x_64); -if (lean_obj_tag(x_65) == 0) +lean_dec(x_54); +x_57 = lean_environment_main_module(x_37); +x_58 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_58, 0, x_46); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_49); +lean_ctor_set(x_58, 3, x_51); +lean_ctor_set(x_58, 4, x_52); +lean_ctor_set(x_58, 5, x_47); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_expandMacros(x_33, x_58, x_60); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_st_ref_take(x_7, x_55); x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_st_ref_take(x_7, x_59); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = !lean_is_exclusive(x_70); -if (x_72 == 0) +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) { -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; -x_73 = lean_ctor_get(x_70, 1); -lean_dec(x_73); -lean_ctor_set(x_70, 1, x_68); -x_74 = lean_st_ref_set(x_7, x_70, x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_69 = lean_ctor_get(x_66, 1); +lean_dec(x_69); +lean_ctor_set(x_66, 1, x_64); +x_70 = lean_st_ref_set(x_7, x_66, x_67); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_63, 1); +lean_inc(x_72); +lean_dec(x_63); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_71); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); lean_dec(x_74); -x_76 = lean_ctor_get(x_67, 1); -lean_inc(x_76); -lean_dec(x_67); -x_77 = l_List_reverse___rarg(x_76); -x_78 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_75); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_14 = x_66; -x_15 = x_79; -goto block_35; +x_11 = x_62; +x_12 = x_75; +goto block_31; } else { -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; -x_80 = lean_ctor_get(x_70, 0); -x_81 = lean_ctor_get(x_70, 2); -x_82 = lean_ctor_get(x_70, 3); -lean_inc(x_82); +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; +x_76 = lean_ctor_get(x_66, 0); +x_77 = lean_ctor_get(x_66, 2); +x_78 = lean_ctor_get(x_66, 3); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_66); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_64); +lean_ctor_set(x_79, 2, x_77); +lean_ctor_set(x_79, 3, x_78); +x_80 = lean_st_ref_set(x_7, x_79, x_67); +x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_70); -x_83 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_68); -lean_ctor_set(x_83, 2, x_81); -lean_ctor_set(x_83, 3, x_82); -x_84 = lean_st_ref_set(x_7, x_83, x_71); +lean_dec(x_80); +x_82 = lean_ctor_get(x_63, 1); +lean_inc(x_82); +lean_dec(x_63); +x_83 = l_List_reverse___rarg(x_82); +x_84 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_81); x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); lean_dec(x_84); -x_86 = lean_ctor_get(x_67, 1); -lean_inc(x_86); -lean_dec(x_67); -x_87 = l_List_reverse___rarg(x_86); -x_88 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_85); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_14 = x_66; -x_15 = x_89; -goto block_35; +x_11 = x_62; +x_12 = x_85; +goto block_31; } } else { -lean_object* x_90; -lean_dec(x_12); -x_90 = lean_ctor_get(x_65, 0); -lean_inc(x_90); -lean_dec(x_65); -if (lean_obj_tag(x_90) == 0) +lean_object* x_86; +x_86 = lean_ctor_get(x_61, 0); +lean_inc(x_86); +lean_dec(x_61); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_91, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_59); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_87, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_55); +lean_dec(x_87); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +return x_91; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_inc(x_93); lean_dec(x_91); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); return x_95; } -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} } else { -lean_object* x_100; uint8_t x_101; -lean_dec(x_7); +lean_object* x_96; uint8_t x_97; lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_59); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_96 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_55); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) { +return x_96; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); return x_100; } -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; } } -} -block_35: +block_31: { -lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_inc(x_14); -x_16 = l_Lean_Syntax_getKind(x_14); -x_17 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_18 = lean_name_eq(x_16, x_17); -if (x_18 == 0) +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_inc(x_11); +x_13 = l_Lean_Syntax_getKind(x_11); +x_14 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_15 = lean_name_eq(x_13, x_14); +if (x_15 == 0) { -if (lean_obj_tag(x_16) == 1) +if (lean_obj_tag(x_13) == 1) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_box(0); -x_21 = lean_name_mk_string(x_20, x_19); -x_22 = lean_unbox(x_12); -lean_dec(x_12); -x_23 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_22, x_14, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = lean_name_mk_string(x_17, x_16); +x_19 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_9, x_11, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_12); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_23; +return x_19; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_16); -lean_dec(x_12); -x_24 = l_Lean_Elab_elabAttr___rarg___lambda__13___closed__2; -x_25 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_14, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_14); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_13); +x_20 = l_Lean_Elab_elabAttr___rarg___lambda__22___closed__2; +x_21 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_11, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_12); +lean_dec(x_11); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); return x_25; } -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -lean_dec(x_16); -x_30 = l_Lean_Syntax_getArg(x_14, x_9); -x_31 = l_Lean_Syntax_getId(x_30); -lean_dec(x_30); -x_32 = lean_erase_macro_scopes(x_31); -x_33 = lean_unbox(x_12); -lean_dec(x_12); -x_34 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_33, x_14, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -lean_dec(x_7); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_13); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Syntax_getArg(x_11, x_26); +x_28 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +x_29 = lean_erase_macro_scopes(x_28); +x_30 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_9, x_11, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_12); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_34; -} -} -} -else -{ -uint8_t x_105; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_105 = !lean_is_exclusive(x_11); -if (x_105 == 0) -{ -return x_11; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_11, 0); -x_107 = lean_ctor_get(x_11, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_11); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +return x_30; } } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -1481,11 +1635,7 @@ x_12 = x_3 < x_2; if (x_12 == 0) { lean_object* x_13; -lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); @@ -1496,11 +1646,7 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_array_uget(x_1, x_3); -lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); x_15 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_14); @@ -1523,11 +1669,7 @@ goto _start; else { uint8_t x_22; -lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_22 = !lean_is_exclusive(x_15); @@ -1561,7 +1703,7 @@ x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; x_12 = l_Array_empty___closed__1; -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -1621,107 +1763,6 @@ lean_dec(x_11); return x_12; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -1823,6 +1864,107 @@ return x_24; } } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -1994,11 +2136,7 @@ if (lean_obj_tag(x_14) == 0) lean_object* x_15; lean_object* x_16; x_15 = l_Array_empty___closed__1; x_16 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); return x_16; } @@ -2008,11 +2146,7 @@ lean_object* x_17; lean_object* x_18; x_17 = lean_ctor_get(x_14, 0); lean_inc(x_17); lean_dec(x_14); -lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); lean_inc(x_7); x_18 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_17); @@ -2025,22 +2159,14 @@ x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); x_21 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); return x_21; } else { uint8_t x_22; -lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); x_22 = !lean_is_exclusive(x_18); @@ -2098,11 +2224,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_6); x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; -x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_17); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) @@ -2225,11 +2347,7 @@ x_36 = l_Lean_KernelException_toMessageData___closed__15; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_25, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +x_38 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_25, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_25); x_39 = !lean_is_exclusive(x_38); if (x_39 == 0) @@ -2300,11 +2418,7 @@ x_55 = l_Lean_KernelException_toMessageData___closed__15; x_56 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_43, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_43, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_43); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); @@ -2331,7 +2445,7 @@ return x_61; } } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2359,7 +2473,7 @@ return x_17; } } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2368,7 +2482,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } else @@ -2397,7 +2511,7 @@ return x_18; } } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2406,7 +2520,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } else @@ -2435,7 +2549,7 @@ return x_18; } } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -2444,7 +2558,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_box(0); -x_11 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } else @@ -2473,7 +2587,7 @@ return x_17; } } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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; @@ -2526,7 +2640,7 @@ return x_23; } } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -2540,7 +2654,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_14; } else @@ -2579,7 +2693,7 @@ return x_24; } } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2598,7 +2712,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_15; } else @@ -2680,7 +2794,7 @@ return x_37; } } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (x_1) { @@ -2688,7 +2802,7 @@ case 0: { lean_object* x_10; lean_inc(x_2); -x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -2742,7 +2856,7 @@ case 1: lean_object* x_19; lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -2823,7 +2937,7 @@ lean_inc(x_39); lean_dec(x_37); x_40 = l_Lean_mkPrivateName(x_39, x_2); lean_inc(x_40); -x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); if (lean_obj_tag(x_41) == 0) { uint8_t x_42; @@ -2875,7 +2989,7 @@ return x_49; } } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2959,7 +3073,7 @@ return x_35; } } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2978,12 +3092,12 @@ lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); lean_dec(x_2); -x_13 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; @@ -3100,7 +3214,7 @@ return x_38; } } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3184,17 +3298,17 @@ return x_35; } } } -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -3203,7 +3317,7 @@ lean_dec(x_14); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_12); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_18; } } @@ -3222,7 +3336,7 @@ lean_inc(x_17); x_18 = l_Lean_Name_append(x_2, x_17); x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_5); -x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (x_14 == 0) { if (lean_obj_tag(x_20) == 0) @@ -3236,12 +3350,12 @@ lean_dec(x_20); x_23 = lean_ctor_get(x_3, 0); lean_inc(x_23); lean_inc(x_21); -x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); lean_inc(x_21); -x_26 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_21, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +x_26 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_21, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_25); lean_dec(x_5); lean_dec(x_16); x_27 = !lean_is_exclusive(x_26); @@ -3320,12 +3434,12 @@ lean_dec(x_20); x_41 = lean_ctor_get(x_3, 0); lean_inc(x_41); lean_inc(x_39); -x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); lean_inc(x_39); -x_44 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_39, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +x_44 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_39, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_43); lean_dec(x_5); lean_dec(x_16); x_45 = !lean_is_exclusive(x_44); @@ -3515,11 +3629,7 @@ x_25 = lean_ctor_get(x_8, 3); x_26 = l_Lean_replaceRef(x_22, x_25); lean_dec(x_25); lean_ctor_set(x_8, 3, x_26); -lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); lean_inc(x_4); x_27 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_23); @@ -3532,7 +3642,7 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); lean_inc(x_4); -x_30 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_30 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; uint8_t x_32; @@ -3545,11 +3655,7 @@ if (x_32 == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); x_34 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_22, x_3, x_28, x_2, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); return x_34; } else @@ -3561,11 +3667,7 @@ if (x_35 == 0) lean_object* x_36; lean_object* x_37; x_36 = lean_box(0); x_37 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_22, x_3, x_28, x_2, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); return x_37; } else @@ -3575,11 +3677,7 @@ lean_dec(x_28); lean_dec(x_22); x_38 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__2; x_39 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_31); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -3607,10 +3705,6 @@ uint8_t x_44; lean_dec(x_28); lean_dec(x_8); lean_dec(x_22); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_44 = !lean_is_exclusive(x_30); if (x_44 == 0) @@ -3637,10 +3731,6 @@ else uint8_t x_48; lean_dec(x_8); lean_dec(x_22); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_48 = !lean_is_exclusive(x_27); if (x_48 == 0) @@ -3693,11 +3783,7 @@ lean_ctor_set(x_61, 4, x_56); lean_ctor_set(x_61, 5, x_57); lean_ctor_set(x_61, 6, x_58); lean_ctor_set(x_61, 7, x_59); -lean_inc(x_9); lean_inc(x_61); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); lean_inc(x_4); x_62 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_23, x_4, x_5, x_6, x_7, x_61, x_9, x_10); lean_dec(x_23); @@ -3710,7 +3796,7 @@ x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); lean_dec(x_62); lean_inc(x_4); -x_65 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_63, x_4, x_5, x_6, x_7, x_61, x_9, x_64); +x_65 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_63, x_4, x_5, x_6, x_7, x_61, x_9, x_64); if (lean_obj_tag(x_65) == 0) { lean_object* x_66; uint8_t x_67; @@ -3723,11 +3809,7 @@ if (x_67 == 0) lean_object* x_68; lean_object* x_69; x_68 = lean_box(0); x_69 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_22, x_3, x_63, x_2, x_68, x_4, x_5, x_6, x_7, x_61, x_9, x_66); -lean_dec(x_9); lean_dec(x_61); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); return x_69; } else @@ -3739,11 +3821,7 @@ if (x_70 == 0) lean_object* x_71; lean_object* x_72; x_71 = lean_box(0); x_72 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_22, x_3, x_63, x_2, x_71, x_4, x_5, x_6, x_7, x_61, x_9, x_66); -lean_dec(x_9); lean_dec(x_61); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); return x_72; } else @@ -3753,11 +3831,7 @@ lean_dec(x_63); lean_dec(x_22); x_73 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__2; x_74 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_73, x_4, x_5, x_6, x_7, x_61, x_9, x_66); -lean_dec(x_9); lean_dec(x_61); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); @@ -3787,10 +3861,6 @@ lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_dec(x_63); lean_dec(x_61); lean_dec(x_22); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_79 = lean_ctor_get(x_65, 0); lean_inc(x_79); @@ -3819,10 +3889,6 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec(x_61); lean_dec(x_22); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_83 = lean_ctor_get(x_62, 0); lean_inc(x_83); @@ -3852,12 +3918,8 @@ else lean_object* x_87; uint8_t x_88; lean_dec(x_19); lean_inc(x_12); -x_87 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); +x_87 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_14); x_88 = !lean_is_exclusive(x_87); @@ -3903,12 +3965,8 @@ else lean_object* x_98; uint8_t x_99; lean_dec(x_16); lean_inc(x_12); -x_98 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); +x_98 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_14); x_99 = !lean_is_exclusive(x_98); @@ -3950,27 +4008,29 @@ return x_108; } } } -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); return x_9; } } @@ -3987,6 +4047,20 @@ lean_dec(x_1); return x_10; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -4024,11 +4098,15 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -4036,7 +4114,11 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); return x_14; } @@ -4046,6 +4128,10 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } @@ -4055,34 +4141,12 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_1); -return x_10; +return x_9; } } lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -4111,6 +4175,32 @@ lean_dec(x_1); return x_10; } } +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -4137,6 +4227,10 @@ uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_6); lean_dec(x_6); x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -4149,6 +4243,10 @@ _start: { lean_object* x_14; x_14 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4162,15 +4260,19 @@ _start: { lean_object* x_9; x_9 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4181,11 +4283,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4196,11 +4298,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4211,11 +4313,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4225,11 +4327,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4239,11 +4341,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4253,11 +4355,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4266,13 +4368,13 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4281,11 +4383,11 @@ lean_dec(x_4); return x_11; } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4295,11 +4397,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4309,11 +4411,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___boxed(lean_object* x_1, lean_object* x_2, 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_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4324,11 +4426,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4338,11 +4440,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4390,6 +4492,10 @@ _start: { lean_object* x_11; x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); return x_11; @@ -4784,7 +4890,7 @@ lean_inc(x_2); x_19 = l_Lean_Name_append(x_1, x_2); x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_12); -x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -4796,7 +4902,7 @@ lean_dec(x_21); x_24 = lean_ctor_get(x_3, 0); lean_inc(x_24); lean_inc(x_22); -x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); +x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); lean_dec(x_12); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) @@ -5359,11 +5465,7 @@ _start: lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); lean_inc(x_6); x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_14); @@ -5389,11 +5491,7 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); x_22 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2(x_1, x_5, x_2, x_3, x_16, x_4, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); return x_22; } else @@ -5405,11 +5503,7 @@ if (x_23 == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_box(0); x_25 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2(x_1, x_5, x_2, x_3, x_16, x_4, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); return x_25; } else @@ -5419,11 +5513,7 @@ lean_dec(x_16); lean_dec(x_2); x_26 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__2; x_27 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -5449,11 +5539,7 @@ else { uint8_t x_32; lean_dec(x_16); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); x_32 = !lean_is_exclusive(x_18); @@ -5479,11 +5565,7 @@ return x_35; else { uint8_t x_36; -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); x_36 = !lean_is_exclusive(x_15); @@ -5550,11 +5632,7 @@ lean_dec(x_4); lean_dec(x_1); x_20 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__2; x_21 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -5656,10 +5734,6 @@ if (x_18 == 0) { lean_object* x_29; lean_object* x_30; x_29 = lean_box(0); -lean_inc(x_12); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); lean_inc(x_7); x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(x_6, x_2, x_1, x_15, x_29, x_7, x_8, x_9, x_10, x_28, x_12, x_13); if (lean_obj_tag(x_30) == 0) @@ -5680,10 +5754,6 @@ goto _start; else { uint8_t x_36; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_36 = !lean_is_exclusive(x_30); if (x_36 == 0) @@ -5742,10 +5812,6 @@ x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); x_68 = lean_box(0); -lean_inc(x_12); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); lean_inc(x_7); x_69 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(x_6, x_2, x_1, x_67, x_68, x_7, x_8, x_9, x_10, x_28, x_12, x_13); if (lean_obj_tag(x_69) == 0) @@ -5766,10 +5832,6 @@ goto _start; else { uint8_t x_75; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_75 = !lean_is_exclusive(x_69); if (x_75 == 0) @@ -5795,10 +5857,6 @@ return x_78; else { lean_object* x_79; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_79 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_79, 0, x_6); @@ -5850,10 +5908,6 @@ if (x_18 == 0) { lean_object* x_29; lean_object* x_30; x_29 = lean_box(0); -lean_inc(x_12); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); lean_inc(x_7); x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(x_6, x_2, x_1, x_15, x_29, x_7, x_8, x_9, x_10, x_28, x_12, x_13); if (lean_obj_tag(x_30) == 0) @@ -5874,10 +5928,6 @@ goto _start; else { uint8_t x_36; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_36 = !lean_is_exclusive(x_30); if (x_36 == 0) @@ -5936,10 +5986,6 @@ x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); x_68 = lean_box(0); -lean_inc(x_12); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); lean_inc(x_7); x_69 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(x_6, x_2, x_1, x_67, x_68, x_7, x_8, x_9, x_10, x_28, x_12, x_13); if (lean_obj_tag(x_69) == 0) @@ -5960,10 +6006,6 @@ goto _start; else { uint8_t x_75; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_75 = !lean_is_exclusive(x_69); if (x_75 == 0) @@ -5989,10 +6031,6 @@ return x_78; else { lean_object* x_79; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); x_79 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_79, 0, x_6); @@ -6054,10 +6092,6 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; lean_dec(x_19); lean_dec(x_18); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_21 = l_Array_empty___closed__1; x_22 = lean_alloc_ctor(0, 2, 0); @@ -6074,10 +6108,6 @@ if (x_23 == 0) lean_object* x_24; lean_object* x_25; lean_dec(x_19); lean_dec(x_18); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_24 = l_Array_empty___closed__1; x_25 = lean_alloc_ctor(0, 2, 0); @@ -6106,10 +6136,6 @@ x_30 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___close if (x_30 == 0) { lean_object* x_31; lean_object* x_32; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_31 = l_Array_empty___closed__1; x_32 = lean_alloc_ctor(0, 2, 0); @@ -6124,10 +6150,6 @@ x_33 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___close if (x_33 == 0) { lean_object* x_34; lean_object* x_35; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); x_34 = l_Array_empty___closed__1; x_35 = lean_alloc_ctor(0, 2, 0); @@ -6283,6 +6305,10 @@ uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_5); lean_dec(x_5); x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -6294,6 +6320,10 @@ _start: { lean_object* x_13; x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -6309,7 +6339,11 @@ lean_dec(x_4); x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -6325,7 +6359,11 @@ lean_dec(x_4); x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -6337,7 +6375,11 @@ _start: { lean_object* x_11; x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -15417,7 +15459,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); lean_dec(x_1); -x_12 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_10, x_11, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_10, x_11, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_11); return x_12; } @@ -15528,7 +15570,7 @@ static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_e _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -17718,7 +17760,7 @@ lean_inc(x_2); x_12 = l_Lean_Name_append(x_1, x_2); x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_5); -x_14 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -18155,7 +18197,7 @@ x_28 = lean_ctor_get(x_3, 0); lean_inc(x_28); lean_dec(x_3); lean_inc(x_26); -x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_6); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -18375,14 +18417,14 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = l_Lean_Elab_getDeclarationSelectionRef(x_2); -x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); lean_dec(x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); @@ -18392,7 +18434,7 @@ lean_dec(x_17); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_21; } else @@ -18729,10 +18771,6 @@ lean_object* l_Lean_Elab_Command_elabStructure___lambda__2(lean_object* x_1, lea _start: { lean_object* x_20; -lean_inc(x_18); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); lean_inc(x_13); x_20 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(x_1, x_2, x_3, x_13, x_14, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_20) == 0) @@ -19999,8 +20037,6 @@ l_Lean_Elab_Command_instInhabitedStructFieldInfo = _init_l_Lean_Elab_Command_ins lean_mark_persistent(l_Lean_Elab_Command_instInhabitedStructFieldInfo); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName); -l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1 = _init_l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___closed__1); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index dc03cc93b6..6fb1b74495 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -16,20 +16,18 @@ extern "C" { lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__17; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Attribute_Builtin_getId___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processUnary(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_Name_toString___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___rarg(lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_toParserDescr_process___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__1; -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(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_elabSyntax___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9; @@ -44,14 +42,15 @@ extern lean_object* l_Lean_Name_getString_x21___closed__3; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__4; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___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* l_Lean_Elab_Command_expandNotation___closed__1; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Syntax_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*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1346____closed__7; lean_object* l_Lean_stringToMessageData(lean_object*); @@ -65,7 +64,7 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__22; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__7; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__18; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_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_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_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_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; @@ -80,6 +79,7 @@ lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_obje extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__6; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); extern lean_object* l_term_x5b___x5d___closed__9; extern lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -118,7 +118,7 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1(lean_objec extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__8; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__31; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,7 +132,6 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix_matc lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__13; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__4; lean_object* l_Lean_Elab_Command_expandMixfix___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*); extern lean_object* l_Lean_identKind___closed__2; @@ -147,13 +146,14 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4152 lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_isAntiquot_match__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__16; 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*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__19; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__4; @@ -178,8 +178,8 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___boxed(lean_object*, le lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__11; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__51; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__22; -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__46; lean_object* l_Lean_Syntax_mkAntiquotSuffixSpliceNode(lean_object*, lean_object*, lean_object*); @@ -189,11 +189,9 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5684____closed__10; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__6; -extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__29; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,22 +216,23 @@ lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); uint8_t l_Char_isWhitespace(uint32_t); lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1481____closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; -lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__50; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst(lean_object*); -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; @@ -246,14 +245,13 @@ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object*, lean_object* l_Lean_Elab_Command_elabElab___closed__1; lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__31; -lean_object* l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__6; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1481____closed__8; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Term_checkLeftRec___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*); @@ -263,10 +261,8 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDesc extern lean_object* l_Lean_Parser_precedence___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1___boxed__const__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__2; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__6; lean_object* l_List_filterMap___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__11(lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); @@ -274,6 +270,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object*, lean_obj lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__2(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__1; @@ -290,8 +287,7 @@ lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; -lean_object* l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1346____closed__2; @@ -299,7 +295,6 @@ lean_object* l_Lean_Elab_Term_checkLeftRec___boxed(lean_object*, lean_object*, l extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___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*); extern lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); extern lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__6; @@ -308,6 +303,7 @@ extern lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__3; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__6; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,22 +316,20 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__8; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__13; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__7; lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__1; extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; lean_object* l_List_forM___at_Lean_Elab_Term_toParserDescr_process___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__4; -lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__2; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__41; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; @@ -376,6 +370,7 @@ lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__8; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___rarg(lean_object*); extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; @@ -387,19 +382,18 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; extern lean_object* l_precArg___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__48; -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__3; -lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__13; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2278____closed__3; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__4; extern lean_object* l_stx___x3f___closed__3; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8___rarg(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__11; @@ -410,6 +404,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__5; extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__7; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instQuoteBool___closed__6; @@ -418,8 +413,9 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__23; lean_object* l_String_capitalize(lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561_(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__3(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_stx___x3c_x7c_x3e_____closed__6; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_36____closed__8; @@ -427,6 +423,7 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__5; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__7; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__8; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__24; +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__14; @@ -437,9 +434,11 @@ lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__3; lean_object* l_Lean_Elab_Command_strLitToPattern___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__15; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; extern lean_object* l_Lean_Parser_sepByElemParser___closed__1; @@ -449,9 +448,8 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___s lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; -lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; extern lean_object* l_Lean_instQuoteBool___closed__3; extern lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; @@ -461,9 +459,9 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_resolveParserNa lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__27; lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*, lean_object*); @@ -479,18 +477,16 @@ lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__7; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; 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*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__6; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__9; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; @@ -498,6 +494,7 @@ lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processParserCategory___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object*); extern lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -506,9 +503,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSy lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__7; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___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* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__4; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); @@ -521,7 +516,7 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(l lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__10; @@ -534,7 +529,7 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__16; extern lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___boxed(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__13; lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__12; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; @@ -554,6 +549,7 @@ extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__5; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -565,7 +561,6 @@ lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_res lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__12; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__33; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -576,11 +571,9 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__2; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__28; extern lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__3; -lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; extern lean_object* l_Lean_KernelException_toMessageData___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; @@ -611,11 +604,8 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(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_toParserDescr_resolveParserName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacro(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__37; extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__2; @@ -631,13 +621,13 @@ lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureUnaryParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +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*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__15; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__42; extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__1; @@ -662,26 +652,24 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___s uint8_t l_Lean_Name_isStr(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabDeclareSyntaxCat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___closed__2; extern lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__3; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__6; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__2; -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -691,11 +679,9 @@ extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__5; extern lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___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* l_Lean_Elab_Term_checkLeftRec___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* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax___boxed(lean_object*); @@ -707,6 +693,7 @@ extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1 lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -714,6 +701,7 @@ lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, l lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__13; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -727,21 +715,19 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____close lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(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_toParserDescr_processNullaryOrCat_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; +lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___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_elabSyntax___lambda__3___closed__12; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__4; lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1346____closed__1; -uint8_t l_Lean_Name_isAnonymous(lean_object*); extern lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__2; -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125_(uint8_t, uint8_t); +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163_(uint8_t, uint8_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13376____closed__8; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -749,7 +735,6 @@ lean_object* l_Lean_Elab_Term_checkLeftRec(lean_object*, lean_object*, lean_obje lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__7; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5(lean_object*, size_t, size_t); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_36____closed__5; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__9; lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -771,7 +756,6 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory(lean_object*, lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__47; -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserAlias(lean_object*, lean_object*); @@ -779,10 +763,10 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Ela lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__25; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__6; lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName___boxed(lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__17; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__26; @@ -797,13 +781,12 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___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_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__43; lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(lean_object*); extern lean_object* l_Lean_Syntax_isTokenAntiquot___closed__2; extern lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; @@ -826,6 +809,8 @@ lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveP extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_808____closed__1; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__17(lean_object*, lean_object*, lean_object*, lean_object*); @@ -836,7 +821,7 @@ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1481____closed__6; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg(lean_object*); extern lean_object* l_Lean_instQuoteBool___closed__4; -lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -850,9 +835,10 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__10; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__18; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__32; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__10; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___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* l_Lean_Elab_Term_toParserDescr_processBinary(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -861,7 +847,6 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__15; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___closed__4; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -875,6 +860,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_E lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__20; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__14; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2278____closed__4; extern lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; @@ -882,6 +868,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_E lean_object* l_Lean_Parser_ensureBinaryParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__6; extern lean_object* l_prec_x28___x29___closed__3; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1(lean_object*); extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -890,15 +877,14 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryO extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Exception___hyg_16____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__8; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__3; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__4; +lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacro___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; @@ -914,7 +900,6 @@ lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2 extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__2; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1; lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; @@ -933,12 +918,10 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__11; extern lean_object* l_stx___x2a___closed__3; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabMacroRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__40; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -973,24 +956,26 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy(lean_object*, lean_obje lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processBinary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1640____closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__24; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__7___rarg(lean_object*); extern lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___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_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14904____closed__9; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat_match__1(lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__12; lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__49; @@ -1000,7 +985,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__5; lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__6; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__2; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1009,10 +993,9 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; extern lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4162____closed__4; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1; @@ -1021,10 +1004,10 @@ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8(lean_object*, lean_obj lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; lean_object* l_Lean_Elab_Command_elabSyntax___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*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5221____closed__1; +lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4; lean_object* l_Lean_Elab_Command_elabElab___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -1032,7 +1015,7 @@ lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__5; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*); @@ -4499,7 +4482,7 @@ lean_inc(x_15); lean_dec(x_13); x_60 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); x_61 = 0; -x_62 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125_(x_60, x_61); +x_62 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163_(x_60, x_61); if (x_62 == 0) { uint8_t x_63; @@ -13236,125 +13219,29 @@ lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 2); -lean_inc(x_8); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = l_Lean_instInhabitedParserDescr___closed__1; +x_6 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit(x_2, x_5); +x_7 = l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName(x_1, x_6); lean_dec(x_6); -x_9 = lean_st_ref_get(x_3, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -lean_inc(x_1); -x_13 = l_Lean_Name_append(x_8, x_1); -lean_inc(x_12); -x_14 = l_Lean_Environment_contains(x_12, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_dec(x_12); -lean_dec(x_8); -lean_ctor_set(x_9, 0, x_1); -return x_9; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_8, x_12, x_15); -lean_dec(x_8); -lean_ctor_set(x_9, 0, x_16); -return x_9; +x_8 = lean_box(0); +x_9 = lean_name_mk_string(x_8, x_7); +x_10 = l_Lean_Elab_mkUnusedBaseName(x_9, x_3, x_4); +return x_10; } } -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_9); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -lean_inc(x_1); -x_20 = l_Lean_Name_append(x_8, x_1); -lean_inc(x_19); -x_21 = l_Lean_Environment_contains(x_19, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -lean_dec(x_19); -lean_dec(x_8); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_18); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_unsigned_to_nat(1u); -x_24 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_8, x_19, x_23); -lean_dec(x_8); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_18); -return x_25; -} -} -} -} -lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = l_Lean_instInhabitedParserDescr___closed__1; -x_7 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit(x_2, x_6); -x_8 = l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName(x_1, x_7); -lean_dec(x_7); -x_9 = lean_box(0); -x_10 = lean_name_mk_string(x_9, x_8); -x_11 = l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1(x_10, x_3, x_4, x_5); -return x_11; -} -} -lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); +x_5 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object* x_1) { _start: { @@ -13668,6 +13555,76 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(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_elabSyntax___spec__5___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(x_2, x_3, x_4, x_8); return x_12; } @@ -13939,7 +13896,7 @@ lean_dec(x_27); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_31 = l_Lean_checkTraceOption(x_29, x_30); lean_dec(x_29); if (x_31 == 0) @@ -15342,24 +15299,276 @@ _start: { if (lean_obj_tag(x_10) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_inc(x_1); -x_15 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_1, x_3, x_12, x_13, x_14); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_15 = lean_st_ref_get(x_13, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_16, x_12, x_13, x_17); -return x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_Command_getScope___rarg(x_13, x_17); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 2); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Command_getScope___rarg(x_13, x_21); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 3); +lean_inc(x_26); +lean_dec(x_24); +lean_inc(x_18); +x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_27, 0, x_18); +lean_inc(x_22); +x_28 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_28, 0, x_22); +lean_inc(x_18); +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_29, 0, x_18); +lean_inc(x_26); +lean_inc(x_22); +lean_inc(x_18); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_30, 0, x_18); +lean_closure_set(x_30, 1, x_22); +lean_closure_set(x_30, 2, x_26); +lean_inc(x_18); +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_31, 0, x_18); +lean_closure_set(x_31, 1, x_22); +lean_closure_set(x_31, 2, x_26); +x_32 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_32, 0, x_27); +lean_ctor_set(x_32, 1, x_28); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_30); +lean_ctor_set(x_32, 4, x_31); +x_33 = x_32; +x_34 = l_Lean_Elab_Command_getRef(x_12, x_13, x_25); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_12, 2); +lean_inc(x_40); +x_41 = lean_st_ref_get(x_13, x_39); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 4); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_st_ref_get(x_13, x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 3); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_environment_main_module(x_18); +x_50 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_50, 0, x_33); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_38); +lean_ctor_set(x_50, 3, x_40); +lean_ctor_set(x_50, 4, x_44); +lean_ctor_set(x_50, 5, x_35); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_48); +lean_ctor_set(x_52, 1, x_51); +lean_inc(x_1); +x_53 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_1, x_3, x_50, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_st_ref_take(x_13, x_47); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_58, 3); +lean_dec(x_61); +lean_ctor_set(x_58, 3, x_56); +x_62 = lean_st_ref_set(x_13, x_58, x_59); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_ctor_get(x_55, 1); +lean_inc(x_64); +lean_dec(x_55); +x_65 = l_List_reverse___rarg(x_64); +x_66 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_65, x_12, x_13, x_63); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_54, x_12, x_13, x_67); +return x_68; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_10, 0); -x_20 = l_Lean_Syntax_getId(x_19); -x_21 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_20, x_12, x_13, x_14); -return x_21; +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; +x_69 = lean_ctor_get(x_58, 0); +x_70 = lean_ctor_get(x_58, 1); +x_71 = lean_ctor_get(x_58, 2); +x_72 = lean_ctor_get(x_58, 4); +x_73 = lean_ctor_get(x_58, 5); +x_74 = lean_ctor_get(x_58, 6); +x_75 = lean_ctor_get(x_58, 7); +x_76 = lean_ctor_get(x_58, 8); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_58); +x_77 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_77, 0, x_69); +lean_ctor_set(x_77, 1, x_70); +lean_ctor_set(x_77, 2, x_71); +lean_ctor_set(x_77, 3, x_56); +lean_ctor_set(x_77, 4, x_72); +lean_ctor_set(x_77, 5, x_73); +lean_ctor_set(x_77, 6, x_74); +lean_ctor_set(x_77, 7, x_75); +lean_ctor_set(x_77, 8, x_76); +x_78 = lean_st_ref_set(x_13, x_77, x_59); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_ctor_get(x_55, 1); +lean_inc(x_80); +lean_dec(x_55); +x_81 = l_List_reverse___rarg(x_80); +x_82 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_81, x_12, x_13, x_79); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_54, x_12, x_13, x_83); +return x_84; +} +} +else +{ +lean_object* x_85; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_85 = lean_ctor_get(x_53, 0); +lean_inc(x_85); +lean_dec(x_53); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(x_86, x_89, x_12, x_13, x_47); +lean_dec(x_13); +lean_dec(x_86); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +return x_90; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_90); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} +else +{ +lean_object* x_95; uint8_t x_96; +lean_dec(x_13); +lean_dec(x_12); +x_95 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(x_47); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +return x_95; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_95, 0); +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_95); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_10, 0); +x_101 = l_Lean_Syntax_getId(x_100); +x_102 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_101, x_12, x_13, x_14); +return x_102; } } } @@ -15763,7 +15972,7 @@ x_34 = l_Lean_KernelException_toMessageData___closed__3; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(x_23, x_35, x_12, x_13, x_28); +x_36 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(x_23, x_35, x_12, x_13, x_28); lean_dec(x_13); lean_dec(x_23); x_37 = !lean_is_exclusive(x_36); @@ -16116,6 +16325,26 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -23464,25 +23693,28 @@ lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_inc(x_1); -x_5 = l_Lean_Syntax_getKind(x_1); -x_6 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_7 = lean_name_eq(x_5, x_6); -if (x_7 == 0) +x_4 = l_Lean_Syntax_getKind(x_1); +x_5 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_6 = lean_name_eq(x_4, x_5); +if (x_6 == 0) { -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_strLitKind; -x_9 = lean_name_eq(x_5, x_8); -lean_dec(x_5); -if (x_9 == 0) +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_strLitKind; +x_8 = lean_name_eq(x_4, x_7); +lean_dec(x_4); +if (x_8 == 0) { -lean_object* x_10; +lean_object* x_9; lean_object* x_10; lean_dec(x_1); -x_10 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_4); +x_9 = lean_box(1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); return x_10; } else @@ -23496,14 +23728,14 @@ lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_4); +lean_ctor_set(x_15, 1, x_3); return x_15; } } else { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_5); +lean_dec(x_4); x_16 = l_term___u2218_____closed__6; x_17 = l_Lean_mkIdentFrom(x_1, x_16); x_18 = lean_unsigned_to_nat(1u); @@ -23518,19 +23750,18 @@ lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); x_25 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_4); +lean_ctor_set(x_25, 1, x_3); return x_25; } } } -lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_1, x_2, x_3, x_4); -lean_dec(x_3); +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_1, x_2, x_3); lean_dec(x_2); -return x_5; +return x_4; } } lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -23571,811 +23802,62 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); +lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_inc(x_1); +x_4 = l_Lean_Syntax_getKind(x_1); +x_5 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_6 = lean_name_eq(x_4, x_5); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_checkTraceOption(x_10, x_1); -lean_dec(x_10); -x_12 = lean_box(x_11); -lean_ctor_set(x_5, 0, x_12); -return x_5; -} -else +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_strLitKind; +x_8 = lean_name_eq(x_4, x_7); +lean_dec(x_4); +if (x_8 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_5, 0); -x_14 = lean_ctor_get(x_5, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_5); -x_15 = lean_ctor_get(x_13, 2); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_checkTraceOption(x_17, x_1); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_14); -return x_20; -} -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_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; uint8_t x_16; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_st_ref_take(x_4, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 8); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_13, 8); -lean_dec(x_17); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_1); -x_20 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_20, 0, x_1); -x_21 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -x_26 = l_Lean_KernelException_toMessageData___closed__15; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); -lean_ctor_set(x_14, 0, x_30); -x_31 = lean_st_ref_set(x_4, x_13, x_15); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = lean_box(0); -lean_ctor_set(x_31, 0, x_34); -return x_31; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -else -{ -uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_39 = lean_ctor_get(x_14, 0); -lean_inc(x_39); -lean_dec(x_14); -lean_inc(x_1); -x_40 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_40, 0, x_1); -x_41 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_10); -x_46 = l_Lean_KernelException_toMessageData___closed__15; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_7); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); -x_51 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); -lean_ctor_set(x_13, 8, x_51); -x_52 = lean_st_ref_set(x_4, x_13, x_15); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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; uint8_t 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; -x_57 = lean_ctor_get(x_13, 0); -x_58 = lean_ctor_get(x_13, 1); -x_59 = lean_ctor_get(x_13, 2); -x_60 = lean_ctor_get(x_13, 3); -x_61 = lean_ctor_get(x_13, 4); -x_62 = lean_ctor_get(x_13, 5); -x_63 = lean_ctor_get(x_13, 6); -x_64 = lean_ctor_get(x_13, 7); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_13); -x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_66 = lean_ctor_get(x_14, 0); -lean_inc(x_66); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_67 = x_14; -} else { - lean_dec_ref(x_14); - x_67 = lean_box(0); -} -lean_inc(x_1); -x_68 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_68, 0, x_1); -x_69 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__1; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1___closed__3; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_10); -x_74 = l_Lean_KernelException_toMessageData___closed__15; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_76, 0, x_1); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_7); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); -if (lean_is_scalar(x_67)) { - x_79 = lean_alloc_ctor(0, 1, 1); -} else { - x_79 = x_67; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); -x_80 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_80, 0, x_57); -lean_ctor_set(x_80, 1, x_58); -lean_ctor_set(x_80, 2, x_59); -lean_ctor_set(x_80, 3, x_60); -lean_ctor_set(x_80, 4, x_61); -lean_ctor_set(x_80, 5, x_62); -lean_ctor_set(x_80, 6, x_63); -lean_ctor_set(x_80, 7, x_64); -lean_ctor_set(x_80, 8, x_79); -x_81 = lean_st_ref_set(x_4, x_80, x_15); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_83 = x_81; -} else { - lean_dec_ref(x_81); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); +lean_object* x_9; lean_object* x_10; lean_dec(x_1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_st_ref_get(x_3, x_4); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 8); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_10); -lean_dec(x_9); -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_1 = x_8; -x_4 = x_15; -goto _start; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -lean_inc(x_9); -x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1(x_9, x_2, x_3, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_10); -lean_dec(x_9); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_1 = x_8; -x_4 = x_21; -goto _start; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_24, 0, x_10); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2(x_9, x_25, x_2, x_3, x_23); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_1 = x_8; -x_4 = x_27; -goto _start; -} -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -lean_inc(x_1); -x_5 = l_Lean_Syntax_getKind(x_1); -x_6 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_7 = lean_name_eq(x_5, x_6); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_strLitKind; -x_9 = lean_name_eq(x_5, x_8); -lean_dec(x_5); -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_1); -x_10 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_4); +x_9 = lean_box(1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_11 = lean_st_ref_get(x_3, x_4); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_Command_getScope___rarg(x_3, x_13); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 2); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_Command_getScope___rarg(x_3, x_17); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 3); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_14); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_23, 0, x_14); -lean_inc(x_18); -x_24 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_24, 0, x_18); -lean_inc(x_14); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_25, 0, x_14); -lean_inc(x_22); -lean_inc(x_18); -lean_inc(x_14); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_26, 0, x_14); -lean_closure_set(x_26, 1, x_18); -lean_closure_set(x_26, 2, x_22); -lean_inc(x_14); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_27, 0, x_14); -lean_closure_set(x_27, 1, x_18); -lean_closure_set(x_27, 2, x_22); -x_28 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_24); -lean_ctor_set(x_28, 2, x_25); -lean_ctor_set(x_28, 3, x_26); -lean_ctor_set(x_28, 4, x_27); -x_29 = x_28; -x_30 = l_Lean_Elab_Command_getRef(x_2, x_3, x_21); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_2, 2); -x_37 = lean_st_ref_get(x_3, x_35); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_38, 4); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_st_ref_get(x_3, x_39); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 3); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_environment_main_module(x_14); -lean_inc(x_36); -x_46 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_46, 0, x_29); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_34); -lean_ctor_set(x_46, 3, x_36); -lean_ctor_set(x_46, 4, x_40); -lean_ctor_set(x_46, 5, x_31); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_44); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Elab_Command_strLitToPattern(x_1, x_46, x_48); -lean_dec(x_46); +lean_object* x_11; +x_11 = l_Lean_Elab_Command_strLitToPattern(x_1, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_st_ref_take(x_3, x_43); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = !lean_is_exclusive(x_54); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_57 = lean_ctor_get(x_54, 3); -lean_dec(x_57); -lean_ctor_set(x_54, 3, x_52); -x_58 = lean_st_ref_set(x_3, x_54, x_55); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_ctor_get(x_51, 1); -lean_inc(x_60); -lean_dec(x_51); -x_61 = l_List_reverse___rarg(x_60); -x_62 = l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3(x_61, x_2, x_3, x_59); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_62, 0); -lean_dec(x_64); -lean_ctor_set(x_62, 0, x_50); -return x_62; -} -else -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec(x_62); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_50); -lean_ctor_set(x_66, 1, x_65); -return x_66; +return x_11; } } else { -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; -x_67 = lean_ctor_get(x_54, 0); -x_68 = lean_ctor_get(x_54, 1); -x_69 = lean_ctor_get(x_54, 2); -x_70 = lean_ctor_get(x_54, 4); -x_71 = lean_ctor_get(x_54, 5); -x_72 = lean_ctor_get(x_54, 6); -x_73 = lean_ctor_get(x_54, 7); -x_74 = lean_ctor_get(x_54, 8); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_54); -x_75 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_75, 0, x_67); -lean_ctor_set(x_75, 1, x_68); -lean_ctor_set(x_75, 2, x_69); -lean_ctor_set(x_75, 3, x_52); -lean_ctor_set(x_75, 4, x_70); -lean_ctor_set(x_75, 5, x_71); -lean_ctor_set(x_75, 6, x_72); -lean_ctor_set(x_75, 7, x_73); -lean_ctor_set(x_75, 8, x_74); -x_76 = lean_st_ref_set(x_3, x_75, x_55); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = lean_ctor_get(x_51, 1); -lean_inc(x_78); -lean_dec(x_51); -x_79 = l_List_reverse___rarg(x_78); -x_80 = l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3(x_79, x_2, x_3, x_77); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_82 = x_80; -} else { - lean_dec_ref(x_80); - x_82 = lean_box(0); -} -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_82; -} -lean_ctor_set(x_83, 0, x_50); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} -} -else -{ -lean_object* x_84; -lean_dec(x_49); -x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_43); -return x_84; -} -} -} -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_dec(x_5); -x_85 = lean_unsigned_to_nat(0u); -x_86 = l_Lean_Syntax_getArg(x_1, x_85); -lean_dec(x_1); -x_87 = lean_box(0); -x_88 = lean_box(0); -x_89 = l_Lean_Syntax_mkAntiquotNode(x_86, x_85, x_87, x_88); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_4); -return x_90; -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_addTrace___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_List_forM___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__5(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNotationItemIntoPattern___spec__4(x_1, x_2, x_3, x_4, x_5); +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_dec(x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); lean_dec(x_1); -return x_6; +x_14 = lean_box(0); +x_15 = lean_box(0); +x_16 = l_Lean_Syntax_mkAntiquotNode(x_13, x_12, x_14, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_3); +return x_17; } } -lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_1, x_2, x_3, x_4); -lean_dec(x_3); +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_1, x_2, x_3); lean_dec(x_2); -return x_5; +return x_4; } } lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -24441,103 +23923,21 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkSimpleDelab_match__1___ra return x_2; } } -lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 2); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_ResolveName_resolveGlobalName(x_8, x_12, x_16, x_1); -lean_dec(x_12); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_13, 0, x_18); -return x_13; -} -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; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_13); -x_21 = lean_ctor_get(x_19, 3); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_ResolveName_resolveGlobalName(x_8, x_12, x_21, x_1); -lean_dec(x_12); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_20); -return x_24; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 5); +x_4 = l_Lean_SourceInfo_fromRef(x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_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; lean_object* x_8; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_dec(x_6); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_4, 0, x_8); -return x_4; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_4, 0); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_4); -x_11 = l_Lean_SourceInfo_fromRef(x_9); -lean_dec(x_9); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_10); -return x_13; -} -} -} -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(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; @@ -24575,7 +23975,7 @@ return x_13; } } } -uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -24594,7 +23994,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_Command_mkSimpleDelab___spec__4(x_1, x_6, x_2, lean_box(0)); +x_7 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_1, x_6, x_2, lean_box(0)); lean_dec(x_6); if (x_7 == 0) { @@ -24615,7 +24015,7 @@ goto _start; } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5(lean_object* x_1, size_t x_2, size_t x_3) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -24806,1974 +24206,1959 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_Command_mkSimpleDelab(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_8; uint8_t x_9; -x_8 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +lean_object* x_7; uint8_t x_8; +x_7 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; lean_inc(x_4); -x_9 = l_Lean_Syntax_isOfKind(x_4, x_8); -if (x_9 == 0) +x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); +if (x_8 == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_identKind___closed__2; +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_identKind___closed__2; lean_inc(x_4); -x_11 = l_Lean_Syntax_isOfKind(x_4, x_10); -if (x_11 == 0) +x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); +if (x_10 == 0) { -lean_object* x_12; lean_object* x_13; +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_7); -return x_13; +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_6); +return x_12; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = l_Lean_Syntax_getId(x_4); +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Syntax_getId(x_4); lean_dec(x_4); -x_15 = l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_14, x_5, x_6, x_7); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_5); +x_14 = l_Lean_Macro_resolveGlobalName(x_13, x_5, x_6); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_18; +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_15, 0); -lean_dec(x_19); -x_20 = lean_box(0); -lean_ctor_set(x_15, 0, x_20); -return x_15; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_17, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); lean_dec(x_17); -if (lean_obj_tag(x_26) == 0) +x_18 = lean_box(0); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +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 = lean_ctor_get(x_15, 1); -lean_inc(x_27); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); lean_dec(x_15); -x_28 = lean_ctor_get(x_24, 0); -lean_inc(x_28); -lean_dec(x_24); -x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); +lean_dec(x_14); +x_26 = lean_ctor_get(x_22, 0); +lean_inc(x_26); +lean_dec(x_22); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_25); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +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; +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_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; lean_inc(x_31); -lean_dec(x_29); -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_33 = lean_ctor_get(x_30, 0); -x_34 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_31); -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 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_36); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -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; -x_39 = lean_ctor_get(x_37, 0); -x_40 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +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_Array_empty___closed__1; +x_37 = lean_array_push(x_36, x_35); +x_38 = lean_array_push(x_36, x_1); +x_39 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_32); lean_inc(x_33); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_empty___closed__1; -x_43 = lean_array_push(x_42, x_41); -x_44 = lean_array_push(x_42, x_1); -x_45 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_35); -lean_inc(x_39); -x_46 = l_Lean_addMacroScope(x_39, x_45, x_35); -x_47 = lean_box(0); -x_48 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_33); -x_49 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_49, 0, x_33); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_49, 2, x_46); -lean_ctor_set(x_49, 3, x_47); -x_50 = lean_array_push(x_42, x_49); -x_51 = lean_mk_syntax_ident(x_28); -x_52 = lean_array_push(x_42, x_51); -x_53 = l_Lean_nullKind___closed__2; +x_40 = l_Lean_addMacroScope(x_33, x_39, x_32); +x_41 = lean_box(0); +x_42 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_31); +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_31); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_40); +lean_ctor_set(x_43, 3, x_41); +x_44 = lean_array_push(x_36, x_43); +x_45 = lean_mk_syntax_ident(x_26); +x_46 = lean_array_push(x_36, x_45); +x_47 = l_Lean_nullKind___closed__2; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = lean_array_push(x_44, x_48); +x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_array_push(x_38, x_51); +x_53 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_50, x_54); -x_56 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = lean_array_push(x_44, x_57); -x_59 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_array_push(x_42, x_60); +x_55 = lean_array_push(x_36, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_37, x_56); +x_58 = l_term_x5b___x5d___closed__9; +lean_inc(x_31); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_31); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_57, x_59); +x_61 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_53); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_43, x_62); -x_64 = l_term_x5b___x5d___closed__9; +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_array_push(x_36, x_62); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_66 = lean_array_push(x_65, x_64); +x_67 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_68 = lean_array_push(x_66, x_67); +x_69 = lean_array_push(x_68, x_67); +x_70 = lean_array_push(x_69, x_67); +x_71 = lean_array_push(x_70, x_67); +x_72 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_36, x_73); +x_75 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_31); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_31); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_36, x_76); +x_78 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_32); lean_inc(x_33); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_33); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_63, x_65); -x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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 = lean_array_push(x_42, x_68); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_53); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_74 = lean_array_push(x_72, x_73); -x_75 = lean_array_push(x_74, x_73); -x_76 = lean_array_push(x_75, x_73); -x_77 = lean_array_push(x_76, x_73); -x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_42, x_79); -x_81 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_33); -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_33); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_push(x_42, x_82); -x_84 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_35); -lean_inc(x_39); -x_85 = l_Lean_addMacroScope(x_39, x_84, x_35); -x_86 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_33); -x_87 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_87, 0, x_33); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_87, 2, x_85); -lean_ctor_set(x_87, 3, x_47); -x_88 = lean_array_push(x_42, x_87); -x_89 = lean_array_push(x_88, x_73); -x_90 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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 = lean_array_push(x_83, x_91); -x_93 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_33); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_33); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_42, x_94); -x_96 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -x_97 = l_Lean_addMacroScope(x_39, x_96, x_35); -x_98 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_99 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_33); -x_100 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_100, 0, x_33); -lean_ctor_set(x_100, 1, x_98); -lean_ctor_set(x_100, 2, x_97); -lean_ctor_set(x_100, 3, x_99); -x_101 = lean_array_push(x_95, x_100); -x_102 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = lean_array_push(x_42, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_53); +x_79 = l_Lean_addMacroScope(x_33, x_78, x_32); +x_80 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +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_41); +x_82 = lean_array_push(x_36, x_81); +x_83 = lean_array_push(x_82, x_67); +x_84 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +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_77, x_85); +x_87 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +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 = lean_array_push(x_36, x_88); +x_90 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_91 = l_Lean_addMacroScope(x_33, x_90, x_32); +x_92 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_93 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_31); +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_31); +lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_93); +x_95 = lean_array_push(x_89, x_94); +x_96 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_36, x_97); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_47); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_65, x_99); +x_101 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +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 = lean_array_push(x_86, x_102); +x_104 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_31); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_31); lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_71, x_105); -x_107 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_array_push(x_92, x_108); -x_110 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_33); +x_106 = lean_array_push(x_36, x_105); +x_107 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +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 = lean_array_push(x_36, x_108); +x_110 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_31); x_111 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_111, 0, x_33); +lean_ctor_set(x_111, 0, x_31); lean_ctor_set(x_111, 1, x_110); -x_112 = lean_array_push(x_42, x_111); -x_113 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_33); -x_114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_114, 0, x_33); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_42, x_114); -x_116 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_33); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_33); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_42, x_117); -x_119 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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_42, x_120); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_53); +x_112 = lean_array_push(x_36, x_111); +x_113 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_36, x_114); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_47); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_36, x_116); +x_118 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_31); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_31); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_117, x_119); +x_121 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_31); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_31); lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_42, x_122); -x_124 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_33); -x_125 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_125, 0, x_33); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_123, x_125); -x_127 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_33); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_33); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_array_push(x_42, x_128); -x_130 = lean_array_push(x_129, x_3); -x_131 = l_prec_x28___x29___closed__7; -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_33); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_130, x_132); -x_134 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_123 = lean_array_push(x_36, x_122); +x_124 = lean_array_push(x_123, x_3); +x_125 = l_prec_x28___x29___closed__7; +x_126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_126, 0, x_31); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_124, x_126); +x_128 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +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_120, x_129); +x_131 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +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_109, x_132); +x_134 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; x_135 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); -x_136 = lean_array_push(x_126, x_135); -x_137 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; -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_115, x_138); -x_140 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = lean_array_push(x_112, x_141); -x_143 = lean_array_push(x_142, x_73); -x_144 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_136 = lean_array_push(x_106, x_135); +x_137 = lean_array_push(x_136, x_67); +x_138 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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_103, x_139); +x_141 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = lean_array_push(x_74, x_142); +x_144 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; x_145 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_145, 0, x_144); lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_109, x_145); -x_147 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = lean_array_push(x_80, x_148); -x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set(x_30, 0, x_151); -lean_ctor_set(x_37, 0, x_30); -return x_37; +lean_ctor_set(x_29, 0, x_145); +return x_27; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; 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; 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; -x_152 = lean_ctor_get(x_37, 0); -x_153 = lean_ctor_get(x_37, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_37); -x_154 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_33); -x_155 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_155, 0, x_33); -lean_ctor_set(x_155, 1, x_154); -x_156 = l_Array_empty___closed__1; -x_157 = lean_array_push(x_156, x_155); -x_158 = lean_array_push(x_156, x_1); -x_159 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_35); -lean_inc(x_152); -x_160 = l_Lean_addMacroScope(x_152, x_159, x_35); -x_161 = lean_box(0); -x_162 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_33); -x_163 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_163, 0, x_33); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_160); -lean_ctor_set(x_163, 3, x_161); -x_164 = lean_array_push(x_156, x_163); -x_165 = lean_mk_syntax_ident(x_28); -x_166 = lean_array_push(x_156, x_165); -x_167 = l_Lean_nullKind___closed__2; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = lean_array_push(x_164, x_168); -x_170 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +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; 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; +x_146 = lean_ctor_get(x_29, 0); +lean_inc(x_146); +lean_dec(x_29); +x_147 = lean_ctor_get(x_5, 2); +lean_inc(x_147); +x_148 = lean_ctor_get(x_5, 1); +lean_inc(x_148); +lean_dec(x_5); +x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_146); +x_150 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_150, 0, x_146); +lean_ctor_set(x_150, 1, x_149); +x_151 = l_Array_empty___closed__1; +x_152 = lean_array_push(x_151, x_150); +x_153 = lean_array_push(x_151, x_1); +x_154 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_147); +lean_inc(x_148); +x_155 = l_Lean_addMacroScope(x_148, x_154, x_147); +x_156 = lean_box(0); +x_157 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_146); +x_158 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_158, 0, x_146); +lean_ctor_set(x_158, 1, x_157); +lean_ctor_set(x_158, 2, x_155); +lean_ctor_set(x_158, 3, x_156); +x_159 = lean_array_push(x_151, x_158); +x_160 = lean_mk_syntax_ident(x_26); +x_161 = lean_array_push(x_151, x_160); +x_162 = l_Lean_nullKind___closed__2; +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_159, x_163); +x_165 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = lean_array_push(x_153, x_166); +x_168 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +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_151, x_169); x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_158, x_171); -x_173 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -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_156, x_174); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_167); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_157, x_176); -x_178 = l_term_x5b___x5d___closed__9; -lean_inc(x_33); -x_179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_179, 0, x_33); +lean_ctor_set(x_171, 0, x_162); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_array_push(x_152, x_171); +x_173 = l_term_x5b___x5d___closed__9; +lean_inc(x_146); +x_174 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_174, 0, x_146); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_array_push(x_172, x_174); +x_176 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_175); +x_178 = lean_array_push(x_151, x_177); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_162); lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_177, x_179); -x_181 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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_156, x_182); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_167); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_186 = lean_array_push(x_185, x_184); -x_187 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_188 = lean_array_push(x_186, x_187); -x_189 = lean_array_push(x_188, x_187); -x_190 = lean_array_push(x_189, x_187); -x_191 = lean_array_push(x_190, x_187); -x_192 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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 = lean_array_push(x_156, x_193); -x_195 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_33); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_33); +x_180 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_181 = lean_array_push(x_180, x_179); +x_182 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_183 = lean_array_push(x_181, x_182); +x_184 = lean_array_push(x_183, x_182); +x_185 = lean_array_push(x_184, x_182); +x_186 = lean_array_push(x_185, x_182); +x_187 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +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_151, x_188); +x_190 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_146); +x_191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_191, 0, x_146); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_array_push(x_151, x_191); +x_193 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_147); +lean_inc(x_148); +x_194 = l_Lean_addMacroScope(x_148, x_193, x_147); +x_195 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_146); +x_196 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_196, 0, x_146); lean_ctor_set(x_196, 1, x_195); -x_197 = lean_array_push(x_156, x_196); -x_198 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_35); -lean_inc(x_152); -x_199 = l_Lean_addMacroScope(x_152, x_198, x_35); -x_200 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_33); -x_201 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_201, 0, x_33); -lean_ctor_set(x_201, 1, x_200); -lean_ctor_set(x_201, 2, x_199); -lean_ctor_set(x_201, 3, x_161); -x_202 = lean_array_push(x_156, x_201); -x_203 = lean_array_push(x_202, x_187); -x_204 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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_197, x_205); -x_207 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_33); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_33); -lean_ctor_set(x_208, 1, x_207); -x_209 = lean_array_push(x_156, x_208); -x_210 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -x_211 = l_Lean_addMacroScope(x_152, x_210, x_35); -x_212 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_213 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_33); -x_214 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_214, 0, x_33); -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 = lean_array_push(x_209, x_214); -x_216 = l_Lean_expandExplicitBindersAux_loop___closed__4; +lean_ctor_set(x_196, 2, x_194); +lean_ctor_set(x_196, 3, x_156); +x_197 = lean_array_push(x_151, x_196); +x_198 = lean_array_push(x_197, x_182); +x_199 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_192, x_200); +x_202 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_146); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_146); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_array_push(x_151, x_203); +x_205 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_206 = l_Lean_addMacroScope(x_148, x_205, x_147); +x_207 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_208 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_146); +x_209 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_209, 0, x_146); +lean_ctor_set(x_209, 1, x_207); +lean_ctor_set(x_209, 2, x_206); +lean_ctor_set(x_209, 3, x_208); +x_210 = lean_array_push(x_204, x_209); +x_211 = l_Lean_expandExplicitBindersAux_loop___closed__4; +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_151, x_212); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_162); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_push(x_180, x_214); +x_216 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; 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 = lean_array_push(x_156, x_217); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_167); -lean_ctor_set(x_219, 1, x_218); -x_220 = lean_array_push(x_185, x_219); -x_221 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -x_223 = lean_array_push(x_206, x_222); -x_224 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_33); -x_225 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_225, 0, x_33); -lean_ctor_set(x_225, 1, x_224); -x_226 = lean_array_push(x_156, x_225); -x_227 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_33); -x_228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_228, 0, x_33); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_array_push(x_156, x_228); -x_230 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_33); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_33); +x_218 = lean_array_push(x_201, x_217); +x_219 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_146); +x_220 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_220, 0, x_146); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_array_push(x_151, x_220); +x_222 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_146); +x_223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_223, 0, x_146); +lean_ctor_set(x_223, 1, x_222); +x_224 = lean_array_push(x_151, x_223); +x_225 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_146); +x_226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_226, 0, x_146); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_array_push(x_151, x_226); +x_228 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_151, x_229); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_162); lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_156, x_231); -x_233 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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 = lean_array_push(x_156, x_234); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_167); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_array_push(x_156, x_236); -x_238 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_33); -x_239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_239, 0, x_33); -lean_ctor_set(x_239, 1, x_238); -x_240 = lean_array_push(x_237, x_239); -x_241 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_33); -x_242 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_242, 0, x_33); -lean_ctor_set(x_242, 1, x_241); -x_243 = lean_array_push(x_156, x_242); -x_244 = lean_array_push(x_243, x_3); -x_245 = l_prec_x28___x29___closed__7; -x_246 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_246, 0, x_33); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_array_push(x_244, x_246); -x_248 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = lean_array_push(x_240, x_249); -x_251 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; -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 = lean_array_push(x_229, x_252); -x_254 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_253); -x_256 = lean_array_push(x_226, x_255); -x_257 = lean_array_push(x_256, x_187); -x_258 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = lean_array_push(x_223, x_259); -x_261 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = lean_array_push(x_194, x_262); -x_264 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -lean_ctor_set(x_30, 0, x_265); -x_266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_266, 0, x_30); -lean_ctor_set(x_266, 1, x_153); -return x_266; +x_232 = lean_array_push(x_151, x_231); +x_233 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_146); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_146); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_array_push(x_232, x_234); +x_236 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_146); +x_237 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_237, 0, x_146); +lean_ctor_set(x_237, 1, x_236); +x_238 = lean_array_push(x_151, x_237); +x_239 = lean_array_push(x_238, x_3); +x_240 = l_prec_x28___x29___closed__7; +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_146); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_239, x_241); +x_243 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = lean_array_push(x_235, x_244); +x_246 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +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_224, x_247); +x_249 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +x_251 = lean_array_push(x_221, x_250); +x_252 = lean_array_push(x_251, x_182); +x_253 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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 = lean_array_push(x_218, x_254); +x_256 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +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_array_push(x_189, x_257); +x_259 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +x_261 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_27, 0, x_261); +return x_27; } } else { -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; 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; -x_267 = lean_ctor_get(x_30, 0); -lean_inc(x_267); -lean_dec(x_30); -x_268 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_31); -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -lean_dec(x_268); -x_271 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_270); -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_274 = x_271; +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; 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; +x_262 = lean_ctor_get(x_27, 0); +x_263 = lean_ctor_get(x_27, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_27); +x_264 = lean_ctor_get(x_262, 0); +lean_inc(x_264); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + x_265 = x_262; } else { - lean_dec_ref(x_271); - x_274 = lean_box(0); + lean_dec_ref(x_262); + x_265 = lean_box(0); } -x_275 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +x_266 = lean_ctor_get(x_5, 2); +lean_inc(x_266); +x_267 = lean_ctor_get(x_5, 1); lean_inc(x_267); -x_276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_276, 0, x_267); -lean_ctor_set(x_276, 1, x_275); -x_277 = l_Array_empty___closed__1; -x_278 = lean_array_push(x_277, x_276); -x_279 = lean_array_push(x_277, x_1); -x_280 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_269); -lean_inc(x_272); -x_281 = l_Lean_addMacroScope(x_272, x_280, x_269); -x_282 = lean_box(0); -x_283 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_dec(x_5); +x_268 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_264); +x_269 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_269, 0, x_264); +lean_ctor_set(x_269, 1, x_268); +x_270 = l_Array_empty___closed__1; +x_271 = lean_array_push(x_270, x_269); +x_272 = lean_array_push(x_270, x_1); +x_273 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_266); lean_inc(x_267); -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_267); -lean_ctor_set(x_284, 1, x_283); -lean_ctor_set(x_284, 2, x_281); -lean_ctor_set(x_284, 3, x_282); -x_285 = lean_array_push(x_277, x_284); -x_286 = lean_mk_syntax_ident(x_28); -x_287 = lean_array_push(x_277, x_286); -x_288 = l_Lean_nullKind___closed__2; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = lean_array_push(x_285, x_289); -x_291 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = lean_array_push(x_279, x_292); -x_294 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -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_277, x_295); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_288); -lean_ctor_set(x_297, 1, x_296); -x_298 = lean_array_push(x_278, x_297); -x_299 = l_term_x5b___x5d___closed__9; +x_274 = l_Lean_addMacroScope(x_267, x_273, x_266); +x_275 = lean_box(0); +x_276 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_264); +x_277 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_277, 0, x_264); +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 = lean_array_push(x_270, x_277); +x_279 = lean_mk_syntax_ident(x_26); +x_280 = lean_array_push(x_270, x_279); +x_281 = l_Lean_nullKind___closed__2; +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = lean_array_push(x_278, x_282); +x_284 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_283); +x_286 = lean_array_push(x_272, x_285); +x_287 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +x_289 = lean_array_push(x_270, x_288); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_281); +lean_ctor_set(x_290, 1, x_289); +x_291 = lean_array_push(x_271, x_290); +x_292 = l_term_x5b___x5d___closed__9; +lean_inc(x_264); +x_293 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_293, 0, x_264); +lean_ctor_set(x_293, 1, x_292); +x_294 = lean_array_push(x_291, x_293); +x_295 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +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 = lean_array_push(x_270, x_296); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_281); +lean_ctor_set(x_298, 1, x_297); +x_299 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_300 = lean_array_push(x_299, x_298); +x_301 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_302 = lean_array_push(x_300, x_301); +x_303 = lean_array_push(x_302, x_301); +x_304 = lean_array_push(x_303, x_301); +x_305 = lean_array_push(x_304, x_301); +x_306 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +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_270, x_307); +x_309 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_264); +x_310 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_310, 0, x_264); +lean_ctor_set(x_310, 1, x_309); +x_311 = lean_array_push(x_270, x_310); +x_312 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_266); lean_inc(x_267); -x_300 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_300, 0, x_267); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_array_push(x_298, x_300); -x_302 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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_277, x_303); -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_288); -lean_ctor_set(x_305, 1, x_304); -x_306 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_307 = lean_array_push(x_306, x_305); -x_308 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_309 = lean_array_push(x_307, x_308); -x_310 = lean_array_push(x_309, x_308); -x_311 = lean_array_push(x_310, x_308); -x_312 = lean_array_push(x_311, x_308); -x_313 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_array_push(x_277, x_314); -x_316 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_267); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_267); -lean_ctor_set(x_317, 1, x_316); -x_318 = lean_array_push(x_277, x_317); -x_319 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_269); -lean_inc(x_272); -x_320 = l_Lean_addMacroScope(x_272, x_319, x_269); -x_321 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_267); -x_322 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_322, 0, x_267); +x_313 = l_Lean_addMacroScope(x_267, x_312, x_266); +x_314 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_264); +x_315 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_315, 0, x_264); +lean_ctor_set(x_315, 1, x_314); +lean_ctor_set(x_315, 2, x_313); +lean_ctor_set(x_315, 3, x_275); +x_316 = lean_array_push(x_270, x_315); +x_317 = lean_array_push(x_316, x_301); +x_318 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_318); +lean_ctor_set(x_319, 1, x_317); +x_320 = lean_array_push(x_311, x_319); +x_321 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_264); +x_322 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_322, 0, x_264); lean_ctor_set(x_322, 1, x_321); -lean_ctor_set(x_322, 2, x_320); -lean_ctor_set(x_322, 3, x_282); -x_323 = lean_array_push(x_277, x_322); -x_324 = lean_array_push(x_323, x_308); -x_325 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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_array_push(x_318, x_326); -x_328 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_267); -x_329 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_329, 0, x_267); -lean_ctor_set(x_329, 1, x_328); -x_330 = lean_array_push(x_277, x_329); -x_331 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -x_332 = l_Lean_addMacroScope(x_272, x_331, x_269); -x_333 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_334 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_267); -x_335 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_335, 0, x_267); -lean_ctor_set(x_335, 1, x_333); -lean_ctor_set(x_335, 2, x_332); -lean_ctor_set(x_335, 3, x_334); -x_336 = lean_array_push(x_330, x_335); -x_337 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = lean_array_push(x_277, x_338); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_288); -lean_ctor_set(x_340, 1, x_339); -x_341 = lean_array_push(x_306, x_340); -x_342 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_341); -x_344 = lean_array_push(x_327, x_343); -x_345 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_267); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_267); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_array_push(x_277, x_346); -x_348 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_267); -x_349 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_349, 0, x_267); -lean_ctor_set(x_349, 1, x_348); -x_350 = lean_array_push(x_277, x_349); -x_351 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_267); -x_352 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_352, 0, x_267); -lean_ctor_set(x_352, 1, x_351); -x_353 = lean_array_push(x_277, x_352); -x_354 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_353); -x_356 = lean_array_push(x_277, x_355); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_288); -lean_ctor_set(x_357, 1, x_356); -x_358 = lean_array_push(x_277, x_357); -x_359 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_267); +x_323 = lean_array_push(x_270, x_322); +x_324 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_325 = l_Lean_addMacroScope(x_267, x_324, x_266); +x_326 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_327 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_264); +x_328 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_328, 0, x_264); +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_323, x_328); +x_330 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +x_332 = lean_array_push(x_270, x_331); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_281); +lean_ctor_set(x_333, 1, x_332); +x_334 = lean_array_push(x_299, x_333); +x_335 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_334); +x_337 = lean_array_push(x_320, x_336); +x_338 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_264); +x_339 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_339, 0, x_264); +lean_ctor_set(x_339, 1, x_338); +x_340 = lean_array_push(x_270, x_339); +x_341 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_264); +x_342 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_342, 0, x_264); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_270, x_342); +x_344 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_264); +x_345 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_345, 0, x_264); +lean_ctor_set(x_345, 1, x_344); +x_346 = lean_array_push(x_270, x_345); +x_347 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_270, x_348); +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_281); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_array_push(x_270, x_350); +x_352 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_264); +x_353 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_353, 0, x_264); +lean_ctor_set(x_353, 1, x_352); +x_354 = lean_array_push(x_351, x_353); +x_355 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_264); +x_356 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_356, 0, x_264); +lean_ctor_set(x_356, 1, x_355); +x_357 = lean_array_push(x_270, x_356); +x_358 = lean_array_push(x_357, x_3); +x_359 = l_prec_x28___x29___closed__7; x_360 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_360, 0, x_267); +lean_ctor_set(x_360, 0, x_264); lean_ctor_set(x_360, 1, x_359); x_361 = lean_array_push(x_358, x_360); -x_362 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_267); -x_363 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_363, 0, x_267); -lean_ctor_set(x_363, 1, x_362); -x_364 = lean_array_push(x_277, x_363); -x_365 = lean_array_push(x_364, x_3); -x_366 = l_prec_x28___x29___closed__7; -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_267); -lean_ctor_set(x_367, 1, x_366); -x_368 = lean_array_push(x_365, x_367); -x_369 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = lean_array_push(x_361, x_370); -x_372 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_362 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_363, 0, x_362); +lean_ctor_set(x_363, 1, x_361); +x_364 = lean_array_push(x_354, x_363); +x_365 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_array_push(x_343, x_366); +x_368 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_368); +lean_ctor_set(x_369, 1, x_367); +x_370 = lean_array_push(x_340, x_369); +x_371 = lean_array_push(x_370, x_301); +x_372 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; 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 = lean_array_push(x_350, x_373); -x_375 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_374 = lean_array_push(x_337, x_373); +x_375 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; x_376 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_376, 0, x_375); lean_ctor_set(x_376, 1, x_374); -x_377 = lean_array_push(x_347, x_376); -x_378 = lean_array_push(x_377, x_308); -x_379 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = lean_array_push(x_344, x_380); -x_382 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_381); -x_384 = lean_array_push(x_315, x_383); -x_385 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_385); -lean_ctor_set(x_386, 1, x_384); -x_387 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_387, 0, x_386); -if (lean_is_scalar(x_274)) { - x_388 = lean_alloc_ctor(0, 2, 0); +x_377 = lean_array_push(x_308, x_376); +x_378 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_377); +if (lean_is_scalar(x_265)) { + x_380 = lean_alloc_ctor(1, 1, 0); } else { - x_388 = x_274; + x_380 = x_265; } -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_273); -return x_388; +lean_ctor_set(x_380, 0, x_379); +x_381 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_381, 0, x_380); +lean_ctor_set(x_381, 1, x_263); +return x_381; } } else { -uint8_t x_389; -lean_dec(x_26); +uint8_t x_382; lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_389 = !lean_is_exclusive(x_15); -if (x_389 == 0) +x_382 = !lean_is_exclusive(x_14); +if (x_382 == 0) { -lean_object* x_390; lean_object* x_391; -x_390 = lean_ctor_get(x_15, 0); -lean_dec(x_390); -x_391 = lean_box(0); -lean_ctor_set(x_15, 0, x_391); -return x_15; +lean_object* x_383; lean_object* x_384; +x_383 = lean_ctor_get(x_14, 0); +lean_dec(x_383); +x_384 = lean_box(0); +lean_ctor_set(x_14, 0, x_384); +return x_14; } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_392 = lean_ctor_get(x_15, 1); -lean_inc(x_392); +lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_385 = lean_ctor_get(x_14, 1); +lean_inc(x_385); +lean_dec(x_14); +x_386 = lean_box(0); +x_387 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_385); +return x_387; +} +} +} +else +{ +uint8_t x_388; +lean_dec(x_23); +lean_dec(x_22); lean_dec(x_15); -x_393 = lean_box(0); -x_394 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_394, 0, x_393); -lean_ctor_set(x_394, 1, x_392); -return x_394; -} -} -} -else -{ -uint8_t x_395; -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_17); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_395 = !lean_is_exclusive(x_15); -if (x_395 == 0) +x_388 = !lean_is_exclusive(x_14); +if (x_388 == 0) { -lean_object* x_396; lean_object* x_397; -x_396 = lean_ctor_get(x_15, 0); -lean_dec(x_396); -x_397 = lean_box(0); -lean_ctor_set(x_15, 0, x_397); -return x_15; +lean_object* x_389; lean_object* x_390; +x_389 = lean_ctor_get(x_14, 0); +lean_dec(x_389); +x_390 = lean_box(0); +lean_ctor_set(x_14, 0, x_390); +return x_14; } else { -lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_398 = lean_ctor_get(x_15, 1); -lean_inc(x_398); -lean_dec(x_15); -x_399 = lean_box(0); -x_400 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -return x_400; -} +lean_object* x_391; lean_object* x_392; lean_object* x_393; +x_391 = lean_ctor_get(x_14, 1); +lean_inc(x_391); +lean_dec(x_14); +x_392 = lean_box(0); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_391); +return x_393; } } } } else { -lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; -x_401 = lean_unsigned_to_nat(0u); -x_402 = l_Lean_Syntax_getArg(x_4, x_401); -x_403 = l_Lean_identKind___closed__2; -lean_inc(x_402); -x_404 = l_Lean_Syntax_isOfKind(x_402, x_403); -if (x_404 == 0) +uint8_t x_394; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_394 = !lean_is_exclusive(x_14); +if (x_394 == 0) { -lean_object* x_405; lean_object* x_406; -lean_dec(x_402); +return x_14; +} +else +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_395 = lean_ctor_get(x_14, 0); +x_396 = lean_ctor_get(x_14, 1); +lean_inc(x_396); +lean_inc(x_395); +lean_dec(x_14); +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_395); +lean_ctor_set(x_397, 1, x_396); +return x_397; +} +} +} +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; +x_398 = lean_unsigned_to_nat(0u); +x_399 = l_Lean_Syntax_getArg(x_4, x_398); +x_400 = l_Lean_identKind___closed__2; +lean_inc(x_399); +x_401 = l_Lean_Syntax_isOfKind(x_399, x_400); +if (x_401 == 0) +{ +lean_object* x_402; lean_object* x_403; +lean_dec(x_399); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_405 = lean_box(0); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_7); -return x_406; +x_402 = lean_box(0); +x_403 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_403, 0, x_402); +lean_ctor_set(x_403, 1, x_6); +return x_403; } else { -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; -x_407 = lean_unsigned_to_nat(1u); -x_408 = l_Lean_Syntax_getArg(x_4, x_407); +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_404 = lean_unsigned_to_nat(1u); +x_405 = l_Lean_Syntax_getArg(x_4, x_404); lean_dec(x_4); -x_409 = l_Lean_Syntax_getArgs(x_408); -lean_dec(x_408); -x_410 = l_Lean_Syntax_getId(x_402); -lean_dec(x_402); -x_411 = l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_410, x_5, x_6, x_7); -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -lean_dec(x_412); -if (lean_obj_tag(x_413) == 0) +x_406 = l_Lean_Syntax_getArgs(x_405); +lean_dec(x_405); +x_407 = l_Lean_Syntax_getId(x_399); +lean_dec(x_399); +lean_inc(x_5); +x_408 = l_Lean_Macro_resolveGlobalName(x_407, x_5, x_6); +if (lean_obj_tag(x_408) == 0) { -uint8_t x_414; -lean_dec(x_409); +lean_object* x_409; +x_409 = lean_ctor_get(x_408, 0); +lean_inc(x_409); +if (lean_obj_tag(x_409) == 0) +{ +uint8_t x_410; +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_414 = !lean_is_exclusive(x_411); -if (x_414 == 0) +x_410 = !lean_is_exclusive(x_408); +if (x_410 == 0) { -lean_object* x_415; lean_object* x_416; -x_415 = lean_ctor_get(x_411, 0); -lean_dec(x_415); -x_416 = lean_box(0); -lean_ctor_set(x_411, 0, x_416); -return x_411; -} -else -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; -x_417 = lean_ctor_get(x_411, 1); -lean_inc(x_417); +lean_object* x_411; lean_object* x_412; +x_411 = lean_ctor_get(x_408, 0); lean_dec(x_411); -x_418 = lean_box(0); -x_419 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_419, 0, x_418); -lean_ctor_set(x_419, 1, x_417); -return x_419; +x_412 = lean_box(0); +lean_ctor_set(x_408, 0, x_412); +return x_408; +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; +x_413 = lean_ctor_get(x_408, 1); +lean_inc(x_413); +lean_dec(x_408); +x_414 = lean_box(0); +x_415 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +return x_415; } } else { -lean_object* x_420; lean_object* x_421; -x_420 = lean_ctor_get(x_413, 0); -lean_inc(x_420); -x_421 = lean_ctor_get(x_420, 1); -lean_inc(x_421); -if (lean_obj_tag(x_421) == 0) +lean_object* x_416; lean_object* x_417; +x_416 = lean_ctor_get(x_409, 0); +lean_inc(x_416); +x_417 = lean_ctor_get(x_416, 1); +lean_inc(x_417); +if (lean_obj_tag(x_417) == 0) { -lean_object* x_422; -x_422 = lean_ctor_get(x_413, 1); -lean_inc(x_422); -lean_dec(x_413); -if (lean_obj_tag(x_422) == 0) -{ -uint8_t x_423; -x_423 = !lean_is_exclusive(x_411); -if (x_423 == 0) -{ -lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_424 = lean_ctor_get(x_411, 1); -x_425 = lean_ctor_get(x_411, 0); -lean_dec(x_425); -x_426 = lean_ctor_get(x_420, 0); -lean_inc(x_426); -lean_dec(x_420); -x_427 = lean_array_get_size(x_409); -x_428 = lean_nat_dec_lt(x_401, x_427); -if (x_428 == 0) -{ -uint8_t x_429; -lean_dec(x_427); -x_429 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_429 == 0) -{ -lean_object* x_430; -lean_dec(x_426); +lean_object* x_418; +x_418 = lean_ctor_get(x_409, 1); +lean_inc(x_418); lean_dec(x_409); +if (lean_obj_tag(x_418) == 0) +{ +uint8_t x_419; +x_419 = !lean_is_exclusive(x_408); +if (x_419 == 0) +{ +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; +x_420 = lean_ctor_get(x_408, 1); +x_421 = lean_ctor_get(x_408, 0); +lean_dec(x_421); +x_422 = lean_ctor_get(x_416, 0); +lean_inc(x_422); +lean_dec(x_416); +x_423 = lean_array_get_size(x_406); +x_424 = lean_nat_dec_lt(x_398, x_423); +if (x_424 == 0) +{ +uint8_t x_425; +lean_dec(x_423); +x_425 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_425 == 0) +{ +lean_object* x_426; +lean_dec(x_422); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_430 = lean_box(0); -lean_ctor_set(x_411, 0, x_430); -return x_411; +x_426 = lean_box(0); +lean_ctor_set(x_408, 0, x_426); +return x_408; } else { -lean_object* x_431; lean_object* x_432; lean_object* x_939; lean_object* x_940; lean_object* x_941; uint8_t x_942; -lean_free_object(x_411); -x_939 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_424); -x_940 = lean_ctor_get(x_939, 0); -lean_inc(x_940); -x_941 = lean_ctor_get(x_939, 1); -lean_inc(x_941); -lean_dec(x_939); -x_942 = !lean_is_exclusive(x_940); -if (x_942 == 0) -{ -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; -x_943 = lean_ctor_get(x_940, 0); -x_944 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_941); -x_945 = lean_ctor_get(x_944, 1); -lean_inc(x_945); -lean_dec(x_944); -x_946 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_945); -x_947 = lean_ctor_get(x_946, 1); -lean_inc(x_947); -lean_dec(x_946); -x_948 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_949 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_949, 0, x_943); -lean_ctor_set(x_949, 1, x_948); -x_950 = l_Array_empty___closed__1; -x_951 = lean_array_push(x_950, x_949); -x_952 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_953, 0, x_952); -lean_ctor_set(x_953, 1, x_951); -lean_ctor_set(x_940, 0, x_953); -x_431 = x_940; -x_432 = x_947; -goto block_938; -} -else -{ -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; -x_954 = lean_ctor_get(x_940, 0); -lean_inc(x_954); -lean_dec(x_940); -x_955 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_941); -x_956 = lean_ctor_get(x_955, 1); -lean_inc(x_956); -lean_dec(x_955); -x_957 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_956); -x_958 = lean_ctor_get(x_957, 1); -lean_inc(x_958); -lean_dec(x_957); -x_959 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_960 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_960, 0, x_954); -lean_ctor_set(x_960, 1, x_959); -x_961 = l_Array_empty___closed__1; -x_962 = lean_array_push(x_961, x_960); -x_963 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_964, 0, x_963); -lean_ctor_set(x_964, 1, x_962); -x_965 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_965, 0, x_964); -x_431 = x_965; -x_432 = x_958; -goto block_938; -} -block_938: -{ -lean_object* x_433; lean_object* x_434; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; -x_902 = lean_ctor_get(x_431, 0); -lean_inc(x_902); -lean_dec(x_431); -x_903 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_432); -x_904 = lean_ctor_get(x_903, 0); -lean_inc(x_904); -x_905 = !lean_is_exclusive(x_904); -if (x_905 == 0) -{ -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; -x_906 = lean_ctor_get(x_904, 0); -lean_dec(x_906); -x_907 = lean_ctor_get(x_903, 1); -lean_inc(x_907); -lean_dec(x_903); -x_908 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_907); -x_909 = lean_ctor_get(x_908, 1); -lean_inc(x_909); -lean_dec(x_908); -x_910 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_909); -x_911 = lean_ctor_get(x_910, 1); -lean_inc(x_911); -lean_dec(x_910); -x_912 = lean_box(0); -x_913 = lean_box(0); -x_914 = l_Lean_Syntax_mkAntiquotNode(x_902, x_401, x_912, x_913); -x_915 = l_Array_empty___closed__1; -x_916 = lean_array_push(x_915, x_914); -x_917 = l_Array_appendCore___rarg(x_915, x_409); -lean_dec(x_409); -x_918 = l_Lean_nullKind___closed__2; -x_919 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_919, 0, x_918); -lean_ctor_set(x_919, 1, x_917); -x_920 = lean_array_push(x_916, x_919); -x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_8); -lean_ctor_set(x_921, 1, x_920); -lean_ctor_set(x_904, 0, x_921); -x_433 = x_904; -x_434 = x_911; -goto block_901; -} -else -{ -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_dec(x_904); -x_922 = lean_ctor_get(x_903, 1); -lean_inc(x_922); -lean_dec(x_903); -x_923 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_922); -x_924 = lean_ctor_get(x_923, 1); +lean_object* x_427; lean_object* x_428; lean_object* x_922; lean_object* x_923; lean_object* x_924; uint8_t x_925; +lean_free_object(x_408); +x_922 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_420); +x_923 = lean_ctor_get(x_922, 0); +lean_inc(x_923); +x_924 = lean_ctor_get(x_922, 1); lean_inc(x_924); -lean_dec(x_923); -x_925 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_924); -x_926 = lean_ctor_get(x_925, 1); -lean_inc(x_926); -lean_dec(x_925); -x_927 = lean_box(0); -x_928 = lean_box(0); -x_929 = l_Lean_Syntax_mkAntiquotNode(x_902, x_401, x_927, x_928); -x_930 = l_Array_empty___closed__1; -x_931 = lean_array_push(x_930, x_929); -x_932 = l_Array_appendCore___rarg(x_930, x_409); -lean_dec(x_409); -x_933 = l_Lean_nullKind___closed__2; -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 = lean_array_push(x_931, x_934); -x_936 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_936, 0, x_8); -lean_ctor_set(x_936, 1, x_935); -x_937 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_937, 0, x_936); -x_433 = x_937; -x_434 = x_926; -goto block_901; +lean_dec(x_922); +x_925 = !lean_is_exclusive(x_923); +if (x_925 == 0) +{ +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; +x_926 = lean_ctor_get(x_923, 0); +x_927 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_928 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_928, 0, x_926); +lean_ctor_set(x_928, 1, x_927); +x_929 = l_Array_empty___closed__1; +x_930 = lean_array_push(x_929, x_928); +x_931 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_932, 0, x_931); +lean_ctor_set(x_932, 1, x_930); +lean_ctor_set(x_923, 0, x_932); +x_427 = x_923; +x_428 = x_924; +goto block_921; } -block_901: +else { -lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; uint8_t x_439; -x_435 = lean_ctor_get(x_433, 0); -lean_inc(x_435); -lean_dec(x_433); -x_436 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_434); -x_437 = lean_ctor_get(x_436, 0); +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; +x_933 = lean_ctor_get(x_923, 0); +lean_inc(x_933); +lean_dec(x_923); +x_934 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_935 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_935, 0, x_933); +lean_ctor_set(x_935, 1, x_934); +x_936 = l_Array_empty___closed__1; +x_937 = lean_array_push(x_936, x_935); +x_938 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_938); +lean_ctor_set(x_939, 1, x_937); +x_940 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_940, 0, x_939); +x_427 = x_940; +x_428 = x_924; +goto block_921; +} +block_921: +{ +lean_object* x_429; lean_object* x_430; lean_object* x_893; lean_object* x_894; lean_object* x_895; uint8_t x_896; +x_893 = lean_ctor_get(x_427, 0); +lean_inc(x_893); +lean_dec(x_427); +x_894 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_428); +x_895 = lean_ctor_get(x_894, 0); +lean_inc(x_895); +x_896 = !lean_is_exclusive(x_895); +if (x_896 == 0) +{ +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; +x_897 = lean_ctor_get(x_895, 0); +lean_dec(x_897); +x_898 = lean_ctor_get(x_894, 1); +lean_inc(x_898); +lean_dec(x_894); +x_899 = lean_box(0); +x_900 = lean_box(0); +x_901 = l_Lean_Syntax_mkAntiquotNode(x_893, x_398, x_899, x_900); +x_902 = l_Array_empty___closed__1; +x_903 = lean_array_push(x_902, x_901); +x_904 = l_Array_appendCore___rarg(x_902, x_406); +lean_dec(x_406); +x_905 = l_Lean_nullKind___closed__2; +x_906 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_906, 0, x_905); +lean_ctor_set(x_906, 1, x_904); +x_907 = lean_array_push(x_903, x_906); +x_908 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_908, 0, x_7); +lean_ctor_set(x_908, 1, x_907); +lean_ctor_set(x_895, 0, x_908); +x_429 = x_895; +x_430 = x_898; +goto block_892; +} +else +{ +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_dec(x_895); +x_909 = lean_ctor_get(x_894, 1); +lean_inc(x_909); +lean_dec(x_894); +x_910 = lean_box(0); +x_911 = lean_box(0); +x_912 = l_Lean_Syntax_mkAntiquotNode(x_893, x_398, x_910, x_911); +x_913 = l_Array_empty___closed__1; +x_914 = lean_array_push(x_913, x_912); +x_915 = l_Array_appendCore___rarg(x_913, x_406); +lean_dec(x_406); +x_916 = l_Lean_nullKind___closed__2; +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 = lean_array_push(x_914, x_917); +x_919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_919, 0, x_7); +lean_ctor_set(x_919, 1, x_918); +x_920 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_920, 0, x_919); +x_429 = x_920; +x_430 = x_909; +goto block_892; +} +block_892: +{ +lean_object* x_431; lean_object* x_432; uint8_t x_433; +x_431 = lean_ctor_get(x_429, 0); +lean_inc(x_431); +lean_dec(x_429); +x_432 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_430); +x_433 = !lean_is_exclusive(x_432); +if (x_433 == 0) +{ +lean_object* x_434; uint8_t x_435; +x_434 = lean_ctor_get(x_432, 0); +x_435 = !lean_is_exclusive(x_434); +if (x_435 == 0) +{ +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; 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; +x_436 = lean_ctor_get(x_434, 0); +x_437 = lean_ctor_get(x_5, 2); lean_inc(x_437); -x_438 = lean_ctor_get(x_436, 1); +x_438 = lean_ctor_get(x_5, 1); lean_inc(x_438); -lean_dec(x_436); -x_439 = !lean_is_exclusive(x_437); -if (x_439 == 0) -{ -lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; -x_440 = lean_ctor_get(x_437, 0); -x_441 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_438); -x_442 = lean_ctor_get(x_441, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_441, 1); -lean_inc(x_443); -lean_dec(x_441); -x_444 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_443); -x_445 = !lean_is_exclusive(x_444); -if (x_445 == 0) -{ -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; 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; -x_446 = lean_ctor_get(x_444, 0); -x_447 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_440); -x_448 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_448, 0, x_440); +lean_dec(x_5); +x_439 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_436); +x_440 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_440, 0, x_436); +lean_ctor_set(x_440, 1, x_439); +x_441 = l_Array_empty___closed__1; +x_442 = lean_array_push(x_441, x_440); +x_443 = lean_array_push(x_441, x_1); +x_444 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_437); +lean_inc(x_438); +x_445 = l_Lean_addMacroScope(x_438, x_444, x_437); +x_446 = lean_box(0); +x_447 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_436); +x_448 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_448, 0, x_436); lean_ctor_set(x_448, 1, x_447); -x_449 = l_Array_empty___closed__1; -x_450 = lean_array_push(x_449, x_448); -x_451 = lean_array_push(x_449, x_1); -x_452 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_442); -lean_inc(x_446); -x_453 = l_Lean_addMacroScope(x_446, x_452, x_442); -x_454 = lean_box(0); -x_455 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_440); -x_456 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_456, 0, x_440); -lean_ctor_set(x_456, 1, x_455); -lean_ctor_set(x_456, 2, x_453); -lean_ctor_set(x_456, 3, x_454); -x_457 = lean_array_push(x_449, x_456); -x_458 = lean_mk_syntax_ident(x_426); -x_459 = lean_array_push(x_449, x_458); -x_460 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_448, 2, x_445); +lean_ctor_set(x_448, 3, x_446); +x_449 = lean_array_push(x_441, x_448); +x_450 = lean_mk_syntax_ident(x_422); +x_451 = lean_array_push(x_441, x_450); +x_452 = l_Lean_nullKind___closed__2; +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_452); +lean_ctor_set(x_453, 1, x_451); +x_454 = lean_array_push(x_449, x_453); +x_455 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_455); +lean_ctor_set(x_456, 1, x_454); +x_457 = lean_array_push(x_443, x_456); +x_458 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_457); +x_460 = lean_array_push(x_441, x_459); x_461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_459); -x_462 = lean_array_push(x_457, x_461); -x_463 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -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 = lean_array_push(x_451, x_464); -x_466 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +lean_ctor_set(x_461, 0, x_452); +lean_ctor_set(x_461, 1, x_460); +x_462 = lean_array_push(x_442, x_461); +x_463 = l_term_x5b___x5d___closed__9; +lean_inc(x_436); +x_464 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_464, 0, x_436); +lean_ctor_set(x_464, 1, x_463); +x_465 = lean_array_push(x_462, x_464); +x_466 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; 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_449, x_467); +x_468 = lean_array_push(x_441, x_467); x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_460); +lean_ctor_set(x_469, 0, x_452); lean_ctor_set(x_469, 1, x_468); -x_470 = lean_array_push(x_450, x_469); -x_471 = l_term_x5b___x5d___closed__9; -lean_inc(x_440); -x_472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_472, 0, x_440); -lean_ctor_set(x_472, 1, x_471); -x_473 = lean_array_push(x_470, x_472); -x_474 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_473); -x_476 = lean_array_push(x_449, x_475); -x_477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_477, 0, x_460); -lean_ctor_set(x_477, 1, x_476); -x_478 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_479 = lean_array_push(x_478, x_477); -x_480 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_481 = lean_array_push(x_479, x_480); -x_482 = lean_array_push(x_481, x_480); -x_483 = lean_array_push(x_482, x_480); -x_484 = lean_array_push(x_483, x_480); -x_485 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_486, 0, x_485); -lean_ctor_set(x_486, 1, x_484); -x_487 = lean_array_push(x_449, x_486); -x_488 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_440); -x_489 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_489, 0, x_440); -lean_ctor_set(x_489, 1, x_488); -x_490 = lean_array_push(x_449, x_489); -x_491 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_442); -lean_inc(x_446); -x_492 = l_Lean_addMacroScope(x_446, x_491, x_442); -x_493 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_440); -x_494 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_494, 0, x_440); -lean_ctor_set(x_494, 1, x_493); -lean_ctor_set(x_494, 2, x_492); -lean_ctor_set(x_494, 3, x_454); -x_495 = lean_array_push(x_449, x_494); -x_496 = lean_array_push(x_495, x_480); -x_497 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_496); -x_499 = lean_array_push(x_490, x_498); -x_500 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_440); -x_501 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_501, 0, x_440); -lean_ctor_set(x_501, 1, x_500); -x_502 = lean_array_push(x_449, x_501); -x_503 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_442); -lean_inc(x_446); -x_504 = l_Lean_addMacroScope(x_446, x_503, x_442); -x_505 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_506 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_440); -x_507 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_507, 0, x_440); +x_470 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_471 = lean_array_push(x_470, x_469); +x_472 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_473 = lean_array_push(x_471, x_472); +x_474 = lean_array_push(x_473, x_472); +x_475 = lean_array_push(x_474, x_472); +x_476 = lean_array_push(x_475, x_472); +x_477 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_476); +x_479 = lean_array_push(x_441, x_478); +x_480 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_436); +x_481 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_481, 0, x_436); +lean_ctor_set(x_481, 1, x_480); +x_482 = lean_array_push(x_441, x_481); +x_483 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_437); +lean_inc(x_438); +x_484 = l_Lean_addMacroScope(x_438, x_483, x_437); +x_485 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_436); +x_486 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_486, 0, x_436); +lean_ctor_set(x_486, 1, x_485); +lean_ctor_set(x_486, 2, x_484); +lean_ctor_set(x_486, 3, x_446); +x_487 = lean_array_push(x_441, x_486); +x_488 = lean_array_push(x_487, x_472); +x_489 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +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 = lean_array_push(x_482, x_490); +x_492 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_436); +x_493 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_493, 0, x_436); +lean_ctor_set(x_493, 1, x_492); +x_494 = lean_array_push(x_441, x_493); +x_495 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_437); +lean_inc(x_438); +x_496 = l_Lean_addMacroScope(x_438, x_495, x_437); +x_497 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_498 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_436); +x_499 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_499, 0, x_436); +lean_ctor_set(x_499, 1, x_497); +lean_ctor_set(x_499, 2, x_496); +lean_ctor_set(x_499, 3, x_498); +x_500 = lean_array_push(x_494, x_499); +x_501 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_500); +x_503 = lean_array_push(x_441, x_502); +x_504 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_504, 0, x_452); +lean_ctor_set(x_504, 1, x_503); +x_505 = lean_array_push(x_470, x_504); +x_506 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_507, 0, x_506); lean_ctor_set(x_507, 1, x_505); -lean_ctor_set(x_507, 2, x_504); -lean_ctor_set(x_507, 3, x_506); -x_508 = lean_array_push(x_502, x_507); -x_509 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_508); -x_511 = lean_array_push(x_449, x_510); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_460); -lean_ctor_set(x_512, 1, x_511); -x_513 = lean_array_push(x_478, x_512); -x_514 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_513); -x_516 = lean_array_push(x_499, x_515); -x_517 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_440); -x_518 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_518, 0, x_440); -lean_ctor_set(x_518, 1, x_517); -x_519 = lean_array_push(x_449, x_518); -x_520 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_440); -x_521 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_521, 0, x_440); -lean_ctor_set(x_521, 1, x_520); -x_522 = lean_array_push(x_449, x_521); -x_523 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_440); -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_440); -lean_ctor_set(x_524, 1, x_523); -x_525 = lean_array_push(x_449, x_524); -x_526 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_440); -x_527 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_527, 0, x_440); -lean_ctor_set(x_527, 1, x_526); -x_528 = lean_array_push(x_449, x_527); -lean_inc(x_528); -x_529 = lean_array_push(x_528, x_435); -x_530 = l_prec_x28___x29___closed__7; -lean_inc(x_440); +x_508 = lean_array_push(x_491, x_507); +x_509 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_436); +x_510 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_510, 0, x_436); +lean_ctor_set(x_510, 1, x_509); +x_511 = lean_array_push(x_441, x_510); +x_512 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_436); +x_513 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_513, 0, x_436); +lean_ctor_set(x_513, 1, x_512); +x_514 = lean_array_push(x_441, x_513); +x_515 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_436); +x_516 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_516, 0, x_436); +lean_ctor_set(x_516, 1, x_515); +x_517 = lean_array_push(x_441, x_516); +x_518 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_436); +x_519 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_519, 0, x_436); +lean_ctor_set(x_519, 1, x_518); +x_520 = lean_array_push(x_441, x_519); +lean_inc(x_520); +x_521 = lean_array_push(x_520, x_431); +x_522 = l_prec_x28___x29___closed__7; +lean_inc(x_436); +x_523 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_523, 0, x_436); +lean_ctor_set(x_523, 1, x_522); +lean_inc(x_523); +x_524 = lean_array_push(x_521, x_523); +x_525 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_525); +lean_ctor_set(x_526, 1, x_524); +x_527 = lean_array_push(x_441, x_526); +x_528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_528, 0, x_452); +lean_ctor_set(x_528, 1, x_527); +lean_inc(x_517); +x_529 = lean_array_push(x_517, x_528); +x_530 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_436); x_531 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_531, 0, x_440); +lean_ctor_set(x_531, 0, x_436); lean_ctor_set(x_531, 1, x_530); lean_inc(x_531); x_532 = lean_array_push(x_529, x_531); -x_533 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -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 = lean_array_push(x_449, x_534); -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_460); -lean_ctor_set(x_536, 1, x_535); -lean_inc(x_525); -x_537 = lean_array_push(x_525, x_536); -x_538 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_440); -x_539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_539, 0, x_440); -lean_ctor_set(x_539, 1, x_538); -lean_inc(x_539); -x_540 = lean_array_push(x_537, x_539); -x_541 = lean_array_push(x_528, x_3); -lean_inc(x_531); -x_542 = lean_array_push(x_541, x_531); -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_533); -lean_ctor_set(x_543, 1, x_542); -x_544 = lean_array_push(x_540, x_543); -x_545 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_533 = lean_array_push(x_520, x_3); +lean_inc(x_523); +x_534 = lean_array_push(x_533, x_523); +x_535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_535, 0, x_525); +lean_ctor_set(x_535, 1, x_534); +x_536 = lean_array_push(x_532, x_535); +x_537 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_538 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_538, 0, x_537); +lean_ctor_set(x_538, 1, x_536); +x_539 = lean_array_push(x_441, x_538); +x_540 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_436); +x_541 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_541, 0, x_436); +lean_ctor_set(x_541, 1, x_540); +x_542 = lean_array_push(x_441, x_541); +x_543 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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 = lean_array_push(x_441, x_544); x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_544); -x_547 = lean_array_push(x_449, x_546); -x_548 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_440); -x_549 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_549, 0, x_440); -lean_ctor_set(x_549, 1, x_548); -x_550 = lean_array_push(x_449, x_549); -x_551 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_550); -x_553 = lean_array_push(x_449, x_552); -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_460); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_array_push(x_525, x_554); -x_556 = lean_array_push(x_555, x_539); -x_557 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_558 = l_Lean_addMacroScope(x_446, x_557, x_442); -x_559 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_560 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_440); -x_561 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_561, 0, x_440); +lean_ctor_set(x_546, 0, x_452); +lean_ctor_set(x_546, 1, x_545); +x_547 = lean_array_push(x_517, x_546); +x_548 = lean_array_push(x_547, x_531); +x_549 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_550 = l_Lean_addMacroScope(x_438, x_549, x_437); +x_551 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_552 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_436); +x_553 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_553, 0, x_436); +lean_ctor_set(x_553, 1, x_551); +lean_ctor_set(x_553, 2, x_550); +lean_ctor_set(x_553, 3, x_552); +x_554 = lean_array_push(x_441, x_553); +x_555 = l_prec_x28___x29___closed__3; +x_556 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_556, 0, x_436); +lean_ctor_set(x_556, 1, x_555); +x_557 = lean_array_push(x_441, x_556); +x_558 = lean_array_push(x_557, x_472); +x_559 = lean_array_push(x_558, x_523); +x_560 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_561, 0, x_560); lean_ctor_set(x_561, 1, x_559); -lean_ctor_set(x_561, 2, x_558); -lean_ctor_set(x_561, 3, x_560); -x_562 = lean_array_push(x_449, x_561); -x_563 = l_prec_x28___x29___closed__3; -x_564 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_564, 0, x_440); -lean_ctor_set(x_564, 1, x_563); -x_565 = lean_array_push(x_449, x_564); -x_566 = lean_array_push(x_565, x_480); -x_567 = lean_array_push(x_566, x_531); -x_568 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_562 = lean_array_push(x_441, x_561); +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_452); +lean_ctor_set(x_563, 1, x_562); +x_564 = lean_array_push(x_554, x_563); +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_7); +lean_ctor_set(x_565, 1, x_564); +x_566 = lean_array_push(x_548, x_565); +x_567 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_567, 0, x_537); +lean_ctor_set(x_567, 1, x_566); +x_568 = lean_array_push(x_539, x_567); x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_567); -x_570 = lean_array_push(x_449, x_569); -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_460); -lean_ctor_set(x_571, 1, x_570); -x_572 = lean_array_push(x_562, x_571); -x_573 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_573, 0, x_8); -lean_ctor_set(x_573, 1, x_572); -x_574 = lean_array_push(x_556, x_573); +lean_ctor_set(x_569, 0, x_452); +lean_ctor_set(x_569, 1, x_568); +x_570 = lean_array_push(x_441, x_569); +x_571 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +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_514, x_572); +x_574 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; x_575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_575, 0, x_545); -lean_ctor_set(x_575, 1, x_574); -x_576 = lean_array_push(x_547, x_575); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_460); -lean_ctor_set(x_577, 1, x_576); -x_578 = lean_array_push(x_449, x_577); -x_579 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_580, 0, x_579); -lean_ctor_set(x_580, 1, x_578); -x_581 = lean_array_push(x_522, x_580); -x_582 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -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_519, x_583); -x_585 = lean_array_push(x_584, x_480); -x_586 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_585); -x_588 = lean_array_push(x_516, x_587); -x_589 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_588); -x_591 = lean_array_push(x_487, x_590); -x_592 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_591); -lean_ctor_set(x_437, 0, x_593); -lean_ctor_set(x_444, 0, x_437); -return x_444; +lean_ctor_set(x_575, 0, x_574); +lean_ctor_set(x_575, 1, x_573); +x_576 = lean_array_push(x_511, x_575); +x_577 = lean_array_push(x_576, x_472); +x_578 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_579, 0, x_578); +lean_ctor_set(x_579, 1, x_577); +x_580 = lean_array_push(x_508, x_579); +x_581 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_580); +x_583 = lean_array_push(x_479, x_582); +x_584 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_583); +lean_ctor_set(x_434, 0, x_585); +return x_432; } else { -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; -x_594 = lean_ctor_get(x_444, 0); -x_595 = lean_ctor_get(x_444, 1); -lean_inc(x_595); -lean_inc(x_594); -lean_dec(x_444); -x_596 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_440); -x_597 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_597, 0, x_440); -lean_ctor_set(x_597, 1, x_596); -x_598 = l_Array_empty___closed__1; -x_599 = lean_array_push(x_598, x_597); -x_600 = lean_array_push(x_598, x_1); -x_601 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_442); -lean_inc(x_594); -x_602 = l_Lean_addMacroScope(x_594, x_601, x_442); -x_603 = lean_box(0); -x_604 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_440); -x_605 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_605, 0, x_440); -lean_ctor_set(x_605, 1, x_604); -lean_ctor_set(x_605, 2, x_602); -lean_ctor_set(x_605, 3, x_603); -x_606 = lean_array_push(x_598, x_605); -x_607 = lean_mk_syntax_ident(x_426); -x_608 = lean_array_push(x_598, x_607); -x_609 = l_Lean_nullKind___closed__2; -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 = lean_array_push(x_606, x_610); -x_612 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____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_600, x_613); -x_615 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -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_598, x_616); -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_609); -lean_ctor_set(x_618, 1, x_617); -x_619 = lean_array_push(x_599, x_618); -x_620 = l_term_x5b___x5d___closed__9; -lean_inc(x_440); -x_621 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_621, 0, x_440); -lean_ctor_set(x_621, 1, x_620); -x_622 = lean_array_push(x_619, x_621); -x_623 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_622); -x_625 = lean_array_push(x_598, x_624); -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_609); -lean_ctor_set(x_626, 1, x_625); -x_627 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_628 = lean_array_push(x_627, x_626); -x_629 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_630 = lean_array_push(x_628, x_629); -x_631 = lean_array_push(x_630, x_629); -x_632 = lean_array_push(x_631, x_629); -x_633 = lean_array_push(x_632, x_629); -x_634 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_633); -x_636 = lean_array_push(x_598, x_635); -x_637 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_440); -x_638 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_638, 0, x_440); -lean_ctor_set(x_638, 1, x_637); -x_639 = lean_array_push(x_598, x_638); -x_640 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_442); -lean_inc(x_594); -x_641 = l_Lean_addMacroScope(x_594, x_640, x_442); -x_642 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_440); -x_643 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_643, 0, x_440); +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; 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; +x_586 = lean_ctor_get(x_434, 0); +lean_inc(x_586); +lean_dec(x_434); +x_587 = lean_ctor_get(x_5, 2); +lean_inc(x_587); +x_588 = lean_ctor_get(x_5, 1); +lean_inc(x_588); +lean_dec(x_5); +x_589 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_586); +x_590 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_590, 0, x_586); +lean_ctor_set(x_590, 1, x_589); +x_591 = l_Array_empty___closed__1; +x_592 = lean_array_push(x_591, x_590); +x_593 = lean_array_push(x_591, x_1); +x_594 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_587); +lean_inc(x_588); +x_595 = l_Lean_addMacroScope(x_588, x_594, x_587); +x_596 = lean_box(0); +x_597 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_586); +x_598 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_598, 0, x_586); +lean_ctor_set(x_598, 1, x_597); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_596); +x_599 = lean_array_push(x_591, x_598); +x_600 = lean_mk_syntax_ident(x_422); +x_601 = lean_array_push(x_591, x_600); +x_602 = l_Lean_nullKind___closed__2; +x_603 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_603, 0, x_602); +lean_ctor_set(x_603, 1, x_601); +x_604 = lean_array_push(x_599, x_603); +x_605 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_606, 0, x_605); +lean_ctor_set(x_606, 1, x_604); +x_607 = lean_array_push(x_593, x_606); +x_608 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_609 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_609, 0, x_608); +lean_ctor_set(x_609, 1, x_607); +x_610 = lean_array_push(x_591, x_609); +x_611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_611, 0, x_602); +lean_ctor_set(x_611, 1, x_610); +x_612 = lean_array_push(x_592, x_611); +x_613 = l_term_x5b___x5d___closed__9; +lean_inc(x_586); +x_614 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_614, 0, x_586); +lean_ctor_set(x_614, 1, x_613); +x_615 = lean_array_push(x_612, x_614); +x_616 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +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_array_push(x_591, x_617); +x_619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_619, 0, x_602); +lean_ctor_set(x_619, 1, x_618); +x_620 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_621 = lean_array_push(x_620, x_619); +x_622 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_623 = lean_array_push(x_621, x_622); +x_624 = lean_array_push(x_623, x_622); +x_625 = lean_array_push(x_624, x_622); +x_626 = lean_array_push(x_625, x_622); +x_627 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_628 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_628, 0, x_627); +lean_ctor_set(x_628, 1, x_626); +x_629 = lean_array_push(x_591, x_628); +x_630 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_586); +x_631 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_631, 0, x_586); +lean_ctor_set(x_631, 1, x_630); +x_632 = lean_array_push(x_591, x_631); +x_633 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_587); +lean_inc(x_588); +x_634 = l_Lean_addMacroScope(x_588, x_633, x_587); +x_635 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_586); +x_636 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_636, 0, x_586); +lean_ctor_set(x_636, 1, x_635); +lean_ctor_set(x_636, 2, x_634); +lean_ctor_set(x_636, 3, x_596); +x_637 = lean_array_push(x_591, x_636); +x_638 = lean_array_push(x_637, x_622); +x_639 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_638); +x_641 = lean_array_push(x_632, x_640); +x_642 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_586); +x_643 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_643, 0, x_586); lean_ctor_set(x_643, 1, x_642); -lean_ctor_set(x_643, 2, x_641); -lean_ctor_set(x_643, 3, x_603); -x_644 = lean_array_push(x_598, x_643); -x_645 = lean_array_push(x_644, x_629); -x_646 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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 = lean_array_push(x_639, x_647); -x_649 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_440); -x_650 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_650, 0, x_440); -lean_ctor_set(x_650, 1, x_649); -x_651 = lean_array_push(x_598, x_650); -x_652 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_442); -lean_inc(x_594); -x_653 = l_Lean_addMacroScope(x_594, x_652, x_442); -x_654 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_655 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_440); -x_656 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_656, 0, x_440); -lean_ctor_set(x_656, 1, x_654); -lean_ctor_set(x_656, 2, x_653); -lean_ctor_set(x_656, 3, x_655); -x_657 = lean_array_push(x_651, x_656); -x_658 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_658); -lean_ctor_set(x_659, 1, x_657); -x_660 = lean_array_push(x_598, x_659); -x_661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_661, 0, x_609); -lean_ctor_set(x_661, 1, x_660); -x_662 = lean_array_push(x_627, x_661); -x_663 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -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 = lean_array_push(x_648, x_664); -x_666 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_440); -x_667 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_667, 0, x_440); -lean_ctor_set(x_667, 1, x_666); -x_668 = lean_array_push(x_598, x_667); -x_669 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_440); -x_670 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_670, 0, x_440); -lean_ctor_set(x_670, 1, x_669); -x_671 = lean_array_push(x_598, x_670); -x_672 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_440); +x_644 = lean_array_push(x_591, x_643); +x_645 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_587); +lean_inc(x_588); +x_646 = l_Lean_addMacroScope(x_588, x_645, x_587); +x_647 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_648 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_586); +x_649 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_649, 0, x_586); +lean_ctor_set(x_649, 1, x_647); +lean_ctor_set(x_649, 2, x_646); +lean_ctor_set(x_649, 3, x_648); +x_650 = lean_array_push(x_644, x_649); +x_651 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_652, 0, x_651); +lean_ctor_set(x_652, 1, x_650); +x_653 = lean_array_push(x_591, x_652); +x_654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_654, 0, x_602); +lean_ctor_set(x_654, 1, x_653); +x_655 = lean_array_push(x_620, x_654); +x_656 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_655); +x_658 = lean_array_push(x_641, x_657); +x_659 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_586); +x_660 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_660, 0, x_586); +lean_ctor_set(x_660, 1, x_659); +x_661 = lean_array_push(x_591, x_660); +x_662 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_586); +x_663 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_663, 0, x_586); +lean_ctor_set(x_663, 1, x_662); +x_664 = lean_array_push(x_591, x_663); +x_665 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_586); +x_666 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_666, 0, x_586); +lean_ctor_set(x_666, 1, x_665); +x_667 = lean_array_push(x_591, x_666); +x_668 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_586); +x_669 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_669, 0, x_586); +lean_ctor_set(x_669, 1, x_668); +x_670 = lean_array_push(x_591, x_669); +lean_inc(x_670); +x_671 = lean_array_push(x_670, x_431); +x_672 = l_prec_x28___x29___closed__7; +lean_inc(x_586); x_673 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_673, 0, x_440); +lean_ctor_set(x_673, 0, x_586); lean_ctor_set(x_673, 1, x_672); -x_674 = lean_array_push(x_598, x_673); -x_675 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_440); -x_676 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_676, 0, x_440); -lean_ctor_set(x_676, 1, x_675); -x_677 = lean_array_push(x_598, x_676); -lean_inc(x_677); -x_678 = lean_array_push(x_677, x_435); -x_679 = l_prec_x28___x29___closed__7; -lean_inc(x_440); -x_680 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_680, 0, x_440); -lean_ctor_set(x_680, 1, x_679); -lean_inc(x_680); -x_681 = lean_array_push(x_678, x_680); -x_682 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_682); -lean_ctor_set(x_683, 1, x_681); -x_684 = lean_array_push(x_598, x_683); +lean_inc(x_673); +x_674 = lean_array_push(x_671, x_673); +x_675 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +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_591, x_676); +x_678 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_678, 0, x_602); +lean_ctor_set(x_678, 1, x_677); +lean_inc(x_667); +x_679 = lean_array_push(x_667, x_678); +x_680 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_586); +x_681 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_681, 0, x_586); +lean_ctor_set(x_681, 1, x_680); +lean_inc(x_681); +x_682 = lean_array_push(x_679, x_681); +x_683 = lean_array_push(x_670, x_3); +lean_inc(x_673); +x_684 = lean_array_push(x_683, x_673); x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_609); +lean_ctor_set(x_685, 0, x_675); lean_ctor_set(x_685, 1, x_684); -lean_inc(x_674); -x_686 = lean_array_push(x_674, x_685); -x_687 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_440); -x_688 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_688, 0, x_440); -lean_ctor_set(x_688, 1, x_687); -lean_inc(x_688); -x_689 = lean_array_push(x_686, x_688); -x_690 = lean_array_push(x_677, x_3); -lean_inc(x_680); -x_691 = lean_array_push(x_690, x_680); -x_692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_692, 0, x_682); -lean_ctor_set(x_692, 1, x_691); -x_693 = lean_array_push(x_689, x_692); -x_694 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_695, 0, x_694); -lean_ctor_set(x_695, 1, x_693); -x_696 = lean_array_push(x_598, x_695); -x_697 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_440); -x_698 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_698, 0, x_440); -lean_ctor_set(x_698, 1, x_697); -x_699 = lean_array_push(x_598, x_698); -x_700 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_699); -x_702 = lean_array_push(x_598, x_701); -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_609); -lean_ctor_set(x_703, 1, x_702); -x_704 = lean_array_push(x_674, x_703); -x_705 = lean_array_push(x_704, x_688); -x_706 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_707 = l_Lean_addMacroScope(x_594, x_706, x_442); -x_708 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_709 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_440); -x_710 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_710, 0, x_440); -lean_ctor_set(x_710, 1, x_708); -lean_ctor_set(x_710, 2, x_707); -lean_ctor_set(x_710, 3, x_709); -x_711 = lean_array_push(x_598, x_710); -x_712 = l_prec_x28___x29___closed__3; -x_713 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_713, 0, x_440); +x_686 = lean_array_push(x_682, x_685); +x_687 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +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 = lean_array_push(x_591, x_688); +x_690 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_586); +x_691 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_691, 0, x_586); +lean_ctor_set(x_691, 1, x_690); +x_692 = lean_array_push(x_591, x_691); +x_693 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_692); +x_695 = lean_array_push(x_591, x_694); +x_696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_696, 0, x_602); +lean_ctor_set(x_696, 1, x_695); +x_697 = lean_array_push(x_667, x_696); +x_698 = lean_array_push(x_697, x_681); +x_699 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_700 = l_Lean_addMacroScope(x_588, x_699, x_587); +x_701 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_702 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_586); +x_703 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_703, 0, x_586); +lean_ctor_set(x_703, 1, x_701); +lean_ctor_set(x_703, 2, x_700); +lean_ctor_set(x_703, 3, x_702); +x_704 = lean_array_push(x_591, x_703); +x_705 = l_prec_x28___x29___closed__3; +x_706 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_706, 0, x_586); +lean_ctor_set(x_706, 1, x_705); +x_707 = lean_array_push(x_591, x_706); +x_708 = lean_array_push(x_707, x_622); +x_709 = lean_array_push(x_708, x_673); +x_710 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +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_591, x_711); +x_713 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_713, 0, x_602); lean_ctor_set(x_713, 1, x_712); -x_714 = lean_array_push(x_598, x_713); -x_715 = lean_array_push(x_714, x_629); -x_716 = lean_array_push(x_715, x_680); -x_717 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_717); -lean_ctor_set(x_718, 1, x_716); -x_719 = lean_array_push(x_598, x_718); -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_609); -lean_ctor_set(x_720, 1, x_719); -x_721 = lean_array_push(x_711, x_720); +x_714 = lean_array_push(x_704, x_713); +x_715 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_715, 0, x_7); +lean_ctor_set(x_715, 1, x_714); +x_716 = lean_array_push(x_698, x_715); +x_717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_717, 0, x_687); +lean_ctor_set(x_717, 1, x_716); +x_718 = lean_array_push(x_689, x_717); +x_719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_719, 0, x_602); +lean_ctor_set(x_719, 1, x_718); +x_720 = lean_array_push(x_591, x_719); +x_721 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_8); -lean_ctor_set(x_722, 1, x_721); -x_723 = lean_array_push(x_705, x_722); -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_694); -lean_ctor_set(x_724, 1, x_723); -x_725 = lean_array_push(x_696, x_724); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_609); -lean_ctor_set(x_726, 1, x_725); -x_727 = lean_array_push(x_598, x_726); -x_728 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_720); +x_723 = lean_array_push(x_664, x_722); +x_724 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_723); +x_726 = lean_array_push(x_661, x_725); +x_727 = lean_array_push(x_726, x_622); +x_728 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; 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_671, x_729); -x_731 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_730 = lean_array_push(x_658, x_729); +x_731 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; x_732 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_732, 0, x_731); lean_ctor_set(x_732, 1, x_730); -x_733 = lean_array_push(x_668, x_732); -x_734 = lean_array_push(x_733, x_629); -x_735 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_736 = lean_alloc_ctor(1, 2, 0); +x_733 = lean_array_push(x_629, x_732); +x_734 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +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_alloc_ctor(1, 1, 0); lean_ctor_set(x_736, 0, x_735); -lean_ctor_set(x_736, 1, x_734); -x_737 = lean_array_push(x_665, x_736); -x_738 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_739 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_739, 0, x_738); -lean_ctor_set(x_739, 1, x_737); -x_740 = lean_array_push(x_636, x_739); -x_741 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_742, 0, x_741); -lean_ctor_set(x_742, 1, x_740); -lean_ctor_set(x_437, 0, x_742); -x_743 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_743, 0, x_437); -lean_ctor_set(x_743, 1, x_595); -return x_743; +lean_ctor_set(x_432, 0, x_736); +return x_432; } } else { -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; 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; -x_744 = lean_ctor_get(x_437, 0); -lean_inc(x_744); -lean_dec(x_437); -x_745 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_438); -x_746 = lean_ctor_get(x_745, 0); -lean_inc(x_746); -x_747 = lean_ctor_get(x_745, 1); -lean_inc(x_747); -lean_dec(x_745); -x_748 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_747); -x_749 = lean_ctor_get(x_748, 0); -lean_inc(x_749); -x_750 = lean_ctor_get(x_748, 1); -lean_inc(x_750); -if (lean_is_exclusive(x_748)) { - lean_ctor_release(x_748, 0); - lean_ctor_release(x_748, 1); - x_751 = x_748; +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; 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; +x_737 = lean_ctor_get(x_432, 0); +x_738 = lean_ctor_get(x_432, 1); +lean_inc(x_738); +lean_inc(x_737); +lean_dec(x_432); +x_739 = lean_ctor_get(x_737, 0); +lean_inc(x_739); +if (lean_is_exclusive(x_737)) { + lean_ctor_release(x_737, 0); + x_740 = x_737; } else { - lean_dec_ref(x_748); - x_751 = lean_box(0); + lean_dec_ref(x_737); + x_740 = lean_box(0); } -x_752 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_744); -x_753 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_753, 0, x_744); -lean_ctor_set(x_753, 1, x_752); -x_754 = l_Array_empty___closed__1; -x_755 = lean_array_push(x_754, x_753); -x_756 = lean_array_push(x_754, x_1); -x_757 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_746); -lean_inc(x_749); -x_758 = l_Lean_addMacroScope(x_749, x_757, x_746); -x_759 = lean_box(0); -x_760 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_744); -x_761 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_761, 0, x_744); -lean_ctor_set(x_761, 1, x_760); -lean_ctor_set(x_761, 2, x_758); -lean_ctor_set(x_761, 3, x_759); -x_762 = lean_array_push(x_754, x_761); -x_763 = lean_mk_syntax_ident(x_426); -x_764 = lean_array_push(x_754, x_763); -x_765 = l_Lean_nullKind___closed__2; -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_762, x_766); -x_768 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -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_756, x_769); -x_771 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_772 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_772, 0, x_771); -lean_ctor_set(x_772, 1, x_770); -x_773 = lean_array_push(x_754, x_772); -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_765); -lean_ctor_set(x_774, 1, x_773); -x_775 = lean_array_push(x_755, x_774); -x_776 = l_term_x5b___x5d___closed__9; -lean_inc(x_744); -x_777 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_777, 0, x_744); -lean_ctor_set(x_777, 1, x_776); -x_778 = lean_array_push(x_775, x_777); -x_779 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_780, 0, x_779); -lean_ctor_set(x_780, 1, x_778); -x_781 = lean_array_push(x_754, x_780); +x_741 = lean_ctor_get(x_5, 2); +lean_inc(x_741); +x_742 = lean_ctor_get(x_5, 1); +lean_inc(x_742); +lean_dec(x_5); +x_743 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_739); +x_744 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_744, 0, x_739); +lean_ctor_set(x_744, 1, x_743); +x_745 = l_Array_empty___closed__1; +x_746 = lean_array_push(x_745, x_744); +x_747 = lean_array_push(x_745, x_1); +x_748 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_741); +lean_inc(x_742); +x_749 = l_Lean_addMacroScope(x_742, x_748, x_741); +x_750 = lean_box(0); +x_751 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_739); +x_752 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_752, 0, x_739); +lean_ctor_set(x_752, 1, x_751); +lean_ctor_set(x_752, 2, x_749); +lean_ctor_set(x_752, 3, x_750); +x_753 = lean_array_push(x_745, x_752); +x_754 = lean_mk_syntax_ident(x_422); +x_755 = lean_array_push(x_745, x_754); +x_756 = l_Lean_nullKind___closed__2; +x_757 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_757, 0, x_756); +lean_ctor_set(x_757, 1, x_755); +x_758 = lean_array_push(x_753, x_757); +x_759 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_760 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_758); +x_761 = lean_array_push(x_747, x_760); +x_762 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +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 = lean_array_push(x_745, x_763); +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_756); +lean_ctor_set(x_765, 1, x_764); +x_766 = lean_array_push(x_746, x_765); +x_767 = l_term_x5b___x5d___closed__9; +lean_inc(x_739); +x_768 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_768, 0, x_739); +lean_ctor_set(x_768, 1, x_767); +x_769 = lean_array_push(x_766, x_768); +x_770 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +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_745, x_771); +x_773 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_773, 0, x_756); +lean_ctor_set(x_773, 1, x_772); +x_774 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_775 = lean_array_push(x_774, x_773); +x_776 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_777 = lean_array_push(x_775, x_776); +x_778 = lean_array_push(x_777, x_776); +x_779 = lean_array_push(x_778, x_776); +x_780 = lean_array_push(x_779, x_776); +x_781 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; x_782 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_782, 0, x_765); -lean_ctor_set(x_782, 1, x_781); -x_783 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_784 = lean_array_push(x_783, x_782); -x_785 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_786 = lean_array_push(x_784, x_785); -x_787 = lean_array_push(x_786, x_785); -x_788 = lean_array_push(x_787, x_785); -x_789 = lean_array_push(x_788, x_785); -x_790 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_791 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_791, 0, x_790); -lean_ctor_set(x_791, 1, x_789); -x_792 = lean_array_push(x_754, x_791); -x_793 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_744); -x_794 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_794, 0, x_744); -lean_ctor_set(x_794, 1, x_793); -x_795 = lean_array_push(x_754, x_794); -x_796 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_746); -lean_inc(x_749); -x_797 = l_Lean_addMacroScope(x_749, x_796, x_746); -x_798 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_744); -x_799 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_799, 0, x_744); -lean_ctor_set(x_799, 1, x_798); -lean_ctor_set(x_799, 2, x_797); -lean_ctor_set(x_799, 3, x_759); -x_800 = lean_array_push(x_754, x_799); -x_801 = lean_array_push(x_800, x_785); -x_802 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_802); +lean_ctor_set(x_782, 0, x_781); +lean_ctor_set(x_782, 1, x_780); +x_783 = lean_array_push(x_745, x_782); +x_784 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_739); +x_785 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_785, 0, x_739); +lean_ctor_set(x_785, 1, x_784); +x_786 = lean_array_push(x_745, x_785); +x_787 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_741); +lean_inc(x_742); +x_788 = l_Lean_addMacroScope(x_742, x_787, x_741); +x_789 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_739); +x_790 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_790, 0, x_739); +lean_ctor_set(x_790, 1, x_789); +lean_ctor_set(x_790, 2, x_788); +lean_ctor_set(x_790, 3, x_750); +x_791 = lean_array_push(x_745, x_790); +x_792 = lean_array_push(x_791, x_776); +x_793 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_792); +x_795 = lean_array_push(x_786, x_794); +x_796 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_739); +x_797 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_797, 0, x_739); +lean_ctor_set(x_797, 1, x_796); +x_798 = lean_array_push(x_745, x_797); +x_799 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_741); +lean_inc(x_742); +x_800 = l_Lean_addMacroScope(x_742, x_799, x_741); +x_801 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_802 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_739); +x_803 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_803, 0, x_739); lean_ctor_set(x_803, 1, x_801); -x_804 = lean_array_push(x_795, x_803); -x_805 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_744); -x_806 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_806, 0, x_744); -lean_ctor_set(x_806, 1, x_805); -x_807 = lean_array_push(x_754, x_806); -x_808 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_746); -lean_inc(x_749); -x_809 = l_Lean_addMacroScope(x_749, x_808, x_746); -x_810 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_811 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_744); -x_812 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_812, 0, x_744); -lean_ctor_set(x_812, 1, x_810); -lean_ctor_set(x_812, 2, x_809); -lean_ctor_set(x_812, 3, x_811); -x_813 = lean_array_push(x_807, x_812); -x_814 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_815 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_815, 0, x_814); -lean_ctor_set(x_815, 1, x_813); -x_816 = lean_array_push(x_754, x_815); -x_817 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_817, 0, x_765); +lean_ctor_set(x_803, 2, x_800); +lean_ctor_set(x_803, 3, x_802); +x_804 = lean_array_push(x_798, x_803); +x_805 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_806 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_806, 0, x_805); +lean_ctor_set(x_806, 1, x_804); +x_807 = lean_array_push(x_745, x_806); +x_808 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_808, 0, x_756); +lean_ctor_set(x_808, 1, x_807); +x_809 = lean_array_push(x_774, x_808); +x_810 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_811 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_811, 0, x_810); +lean_ctor_set(x_811, 1, x_809); +x_812 = lean_array_push(x_795, x_811); +x_813 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_739); +x_814 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_814, 0, x_739); +lean_ctor_set(x_814, 1, x_813); +x_815 = lean_array_push(x_745, x_814); +x_816 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_739); +x_817 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_817, 0, x_739); lean_ctor_set(x_817, 1, x_816); -x_818 = lean_array_push(x_783, x_817); -x_819 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_820, 0, x_819); -lean_ctor_set(x_820, 1, x_818); -x_821 = lean_array_push(x_804, x_820); -x_822 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_744); +x_818 = lean_array_push(x_745, x_817); +x_819 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_739); +x_820 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_820, 0, x_739); +lean_ctor_set(x_820, 1, x_819); +x_821 = lean_array_push(x_745, x_820); +x_822 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_739); x_823 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_823, 0, x_744); +lean_ctor_set(x_823, 0, x_739); lean_ctor_set(x_823, 1, x_822); -x_824 = lean_array_push(x_754, x_823); -x_825 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_744); -x_826 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_826, 0, x_744); -lean_ctor_set(x_826, 1, x_825); -x_827 = lean_array_push(x_754, x_826); -x_828 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_744); -x_829 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_829, 0, x_744); -lean_ctor_set(x_829, 1, x_828); -x_830 = lean_array_push(x_754, x_829); -x_831 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_744); -x_832 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_832, 0, x_744); +x_824 = lean_array_push(x_745, x_823); +lean_inc(x_824); +x_825 = lean_array_push(x_824, x_431); +x_826 = l_prec_x28___x29___closed__7; +lean_inc(x_739); +x_827 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_827, 0, x_739); +lean_ctor_set(x_827, 1, x_826); +lean_inc(x_827); +x_828 = lean_array_push(x_825, x_827); +x_829 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_830 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_830, 0, x_829); +lean_ctor_set(x_830, 1, x_828); +x_831 = lean_array_push(x_745, x_830); +x_832 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_832, 0, x_756); lean_ctor_set(x_832, 1, x_831); -x_833 = lean_array_push(x_754, x_832); -lean_inc(x_833); -x_834 = lean_array_push(x_833, x_435); -x_835 = l_prec_x28___x29___closed__7; -lean_inc(x_744); -x_836 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_836, 0, x_744); -lean_ctor_set(x_836, 1, x_835); -lean_inc(x_836); -x_837 = lean_array_push(x_834, x_836); -x_838 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +lean_inc(x_821); +x_833 = lean_array_push(x_821, x_832); +x_834 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_739); +x_835 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_835, 0, x_739); +lean_ctor_set(x_835, 1, x_834); +lean_inc(x_835); +x_836 = lean_array_push(x_833, x_835); +x_837 = lean_array_push(x_824, x_3); +lean_inc(x_827); +x_838 = lean_array_push(x_837, x_827); 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_754, x_839); -x_841 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_841, 0, x_765); -lean_ctor_set(x_841, 1, x_840); -lean_inc(x_830); -x_842 = lean_array_push(x_830, x_841); -x_843 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_744); -x_844 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_844, 0, x_744); -lean_ctor_set(x_844, 1, x_843); -lean_inc(x_844); -x_845 = lean_array_push(x_842, x_844); -x_846 = lean_array_push(x_833, x_3); -lean_inc(x_836); -x_847 = lean_array_push(x_846, x_836); +lean_ctor_set(x_839, 0, x_829); +lean_ctor_set(x_839, 1, x_838); +x_840 = lean_array_push(x_836, x_839); +x_841 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_842 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_842, 0, x_841); +lean_ctor_set(x_842, 1, x_840); +x_843 = lean_array_push(x_745, x_842); +x_844 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_739); +x_845 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_845, 0, x_739); +lean_ctor_set(x_845, 1, x_844); +x_846 = lean_array_push(x_745, x_845); +x_847 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; x_848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_848, 0, x_838); -lean_ctor_set(x_848, 1, x_847); -x_849 = lean_array_push(x_845, x_848); -x_850 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_851, 0, x_850); -lean_ctor_set(x_851, 1, x_849); -x_852 = lean_array_push(x_754, x_851); -x_853 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_744); -x_854 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_854, 0, x_744); -lean_ctor_set(x_854, 1, x_853); -x_855 = lean_array_push(x_754, x_854); -x_856 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_848, 0, x_847); +lean_ctor_set(x_848, 1, x_846); +x_849 = lean_array_push(x_745, x_848); +x_850 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_850, 0, x_756); +lean_ctor_set(x_850, 1, x_849); +x_851 = lean_array_push(x_821, x_850); +x_852 = lean_array_push(x_851, x_835); +x_853 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_854 = l_Lean_addMacroScope(x_742, x_853, x_741); +x_855 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_856 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_739); +x_857 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_857, 0, x_739); lean_ctor_set(x_857, 1, x_855); -x_858 = lean_array_push(x_754, x_857); -x_859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_859, 0, x_765); -lean_ctor_set(x_859, 1, x_858); -x_860 = lean_array_push(x_830, x_859); -x_861 = lean_array_push(x_860, x_844); -x_862 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_863 = l_Lean_addMacroScope(x_749, x_862, x_746); -x_864 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_865 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_744); -x_866 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_866, 0, x_744); -lean_ctor_set(x_866, 1, x_864); -lean_ctor_set(x_866, 2, x_863); -lean_ctor_set(x_866, 3, x_865); -x_867 = lean_array_push(x_754, x_866); -x_868 = l_prec_x28___x29___closed__3; -x_869 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_869, 0, x_744); +lean_ctor_set(x_857, 2, x_854); +lean_ctor_set(x_857, 3, x_856); +x_858 = lean_array_push(x_745, x_857); +x_859 = l_prec_x28___x29___closed__3; +x_860 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_860, 0, x_739); +lean_ctor_set(x_860, 1, x_859); +x_861 = lean_array_push(x_745, x_860); +x_862 = lean_array_push(x_861, x_776); +x_863 = lean_array_push(x_862, x_827); +x_864 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +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_745, x_865); +x_867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_867, 0, x_756); +lean_ctor_set(x_867, 1, x_866); +x_868 = lean_array_push(x_858, x_867); +x_869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_869, 0, x_7); lean_ctor_set(x_869, 1, x_868); -x_870 = lean_array_push(x_754, x_869); -x_871 = lean_array_push(x_870, x_785); -x_872 = lean_array_push(x_871, x_836); -x_873 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -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 = lean_array_push(x_754, x_874); +x_870 = lean_array_push(x_852, x_869); +x_871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_871, 0, x_841); +lean_ctor_set(x_871, 1, x_870); +x_872 = lean_array_push(x_843, x_871); +x_873 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_873, 0, x_756); +lean_ctor_set(x_873, 1, x_872); +x_874 = lean_array_push(x_745, x_873); +x_875 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_765); -lean_ctor_set(x_876, 1, x_875); -x_877 = lean_array_push(x_867, x_876); -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_8); -lean_ctor_set(x_878, 1, x_877); -x_879 = lean_array_push(x_861, x_878); -x_880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_880, 0, x_850); -lean_ctor_set(x_880, 1, x_879); -x_881 = lean_array_push(x_852, x_880); -x_882 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_882, 0, x_765); -lean_ctor_set(x_882, 1, x_881); -x_883 = lean_array_push(x_754, x_882); -x_884 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_885, 0, x_884); -lean_ctor_set(x_885, 1, x_883); -x_886 = lean_array_push(x_827, x_885); -x_887 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_887); -lean_ctor_set(x_888, 1, x_886); -x_889 = lean_array_push(x_824, x_888); -x_890 = lean_array_push(x_889, x_785); -x_891 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -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_821, x_892); -x_894 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_894); -lean_ctor_set(x_895, 1, x_893); -x_896 = lean_array_push(x_792, x_895); -x_897 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_896); -x_899 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_899, 0, x_898); -if (lean_is_scalar(x_751)) { - x_900 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_876, 0, x_875); +lean_ctor_set(x_876, 1, x_874); +x_877 = lean_array_push(x_818, x_876); +x_878 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_879 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_879, 0, x_878); +lean_ctor_set(x_879, 1, x_877); +x_880 = lean_array_push(x_815, x_879); +x_881 = lean_array_push(x_880, x_776); +x_882 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_883, 0, x_882); +lean_ctor_set(x_883, 1, x_881); +x_884 = lean_array_push(x_812, x_883); +x_885 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +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_783, x_886); +x_888 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_889, 0, x_888); +lean_ctor_set(x_889, 1, x_887); +if (lean_is_scalar(x_740)) { + x_890 = lean_alloc_ctor(1, 1, 0); } else { - x_900 = x_751; + x_890 = x_740; } -lean_ctor_set(x_900, 0, x_899); -lean_ctor_set(x_900, 1, x_750); -return x_900; +lean_ctor_set(x_890, 0, x_889); +x_891 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_891, 0, x_890); +lean_ctor_set(x_891, 1, x_738); +return x_891; } } } @@ -26781,1058 +26166,1018 @@ return x_900; } else { -uint8_t x_966; -x_966 = lean_nat_dec_le(x_427, x_427); -if (x_966 == 0) +uint8_t x_941; +x_941 = lean_nat_dec_le(x_423, x_423); +if (x_941 == 0) { -uint8_t x_967; -lean_dec(x_427); -x_967 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_967 == 0) +uint8_t x_942; +lean_dec(x_423); +x_942 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_942 == 0) { -lean_object* x_968; -lean_dec(x_426); -lean_dec(x_409); +lean_object* x_943; +lean_dec(x_422); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_968 = lean_box(0); -lean_ctor_set(x_411, 0, x_968); -return x_411; +x_943 = lean_box(0); +lean_ctor_set(x_408, 0, x_943); +return x_408; } else { -lean_object* x_969; lean_object* x_970; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; uint8_t x_1480; -lean_free_object(x_411); -x_1477 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_424); -x_1478 = lean_ctor_get(x_1477, 0); -lean_inc(x_1478); -x_1479 = lean_ctor_get(x_1477, 1); -lean_inc(x_1479); -lean_dec(x_1477); -x_1480 = !lean_is_exclusive(x_1478); -if (x_1480 == 0) -{ -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; -x_1481 = lean_ctor_get(x_1478, 0); -x_1482 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1479); -x_1483 = lean_ctor_get(x_1482, 1); -lean_inc(x_1483); -lean_dec(x_1482); -x_1484 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1483); -x_1485 = lean_ctor_get(x_1484, 1); -lean_inc(x_1485); -lean_dec(x_1484); -x_1486 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_1487 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1487, 0, x_1481); -lean_ctor_set(x_1487, 1, x_1486); -x_1488 = l_Array_empty___closed__1; -x_1489 = lean_array_push(x_1488, x_1487); -x_1490 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_1491 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1491, 0, x_1490); -lean_ctor_set(x_1491, 1, x_1489); -lean_ctor_set(x_1478, 0, x_1491); -x_969 = x_1478; -x_970 = x_1485; -goto block_1476; -} -else -{ -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; -x_1492 = lean_ctor_get(x_1478, 0); -lean_inc(x_1492); -lean_dec(x_1478); -x_1493 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1479); -x_1494 = lean_ctor_get(x_1493, 1); -lean_inc(x_1494); -lean_dec(x_1493); -x_1495 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1494); -x_1496 = lean_ctor_get(x_1495, 1); -lean_inc(x_1496); -lean_dec(x_1495); -x_1497 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_1498 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1498, 0, x_1492); -lean_ctor_set(x_1498, 1, x_1497); -x_1499 = l_Array_empty___closed__1; -x_1500 = lean_array_push(x_1499, x_1498); -x_1501 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_1502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1502, 0, x_1501); -lean_ctor_set(x_1502, 1, x_1500); -x_1503 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1503, 0, x_1502); -x_969 = x_1503; -x_970 = x_1496; -goto block_1476; -} -block_1476: -{ -lean_object* x_971; lean_object* x_972; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; uint8_t x_1443; -x_1440 = lean_ctor_get(x_969, 0); +lean_object* x_944; lean_object* x_945; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; uint8_t x_1442; +lean_free_object(x_408); +x_1439 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_420); +x_1440 = lean_ctor_get(x_1439, 0); lean_inc(x_1440); -lean_dec(x_969); -x_1441 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_970); -x_1442 = lean_ctor_get(x_1441, 0); -lean_inc(x_1442); -x_1443 = !lean_is_exclusive(x_1442); -if (x_1443 == 0) +x_1441 = lean_ctor_get(x_1439, 1); +lean_inc(x_1441); +lean_dec(x_1439); +x_1442 = !lean_is_exclusive(x_1440); +if (x_1442 == 0) { -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; -x_1444 = lean_ctor_get(x_1442, 0); -lean_dec(x_1444); -x_1445 = lean_ctor_get(x_1441, 1); -lean_inc(x_1445); -lean_dec(x_1441); -x_1446 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1445); -x_1447 = lean_ctor_get(x_1446, 1); -lean_inc(x_1447); -lean_dec(x_1446); -x_1448 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1447); -x_1449 = lean_ctor_get(x_1448, 1); -lean_inc(x_1449); -lean_dec(x_1448); -x_1450 = lean_box(0); -x_1451 = lean_box(0); -x_1452 = l_Lean_Syntax_mkAntiquotNode(x_1440, x_401, x_1450, x_1451); +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; +x_1443 = lean_ctor_get(x_1440, 0); +x_1444 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_1445 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1445, 0, x_1443); +lean_ctor_set(x_1445, 1, x_1444); +x_1446 = l_Array_empty___closed__1; +x_1447 = lean_array_push(x_1446, x_1445); +x_1448 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1449, 0, x_1448); +lean_ctor_set(x_1449, 1, x_1447); +lean_ctor_set(x_1440, 0, x_1449); +x_944 = x_1440; +x_945 = x_1441; +goto block_1438; +} +else +{ +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; +x_1450 = lean_ctor_get(x_1440, 0); +lean_inc(x_1450); +lean_dec(x_1440); +x_1451 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_1452 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1452, 0, x_1450); +lean_ctor_set(x_1452, 1, x_1451); x_1453 = l_Array_empty___closed__1; x_1454 = lean_array_push(x_1453, x_1452); -x_1455 = l_Array_appendCore___rarg(x_1453, x_409); -lean_dec(x_409); -x_1456 = l_Lean_nullKind___closed__2; -x_1457 = lean_alloc_ctor(1, 2, 0); +x_1455 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_alloc_ctor(1, 1, 0); lean_ctor_set(x_1457, 0, x_1456); -lean_ctor_set(x_1457, 1, x_1455); -x_1458 = lean_array_push(x_1454, x_1457); -x_1459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1459, 0, x_8); -lean_ctor_set(x_1459, 1, x_1458); -lean_ctor_set(x_1442, 0, x_1459); -x_971 = x_1442; -x_972 = x_1449; -goto block_1439; +x_944 = x_1457; +x_945 = x_1441; +goto block_1438; } -else +block_1438: { -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_dec(x_1442); -x_1460 = lean_ctor_get(x_1441, 1); -lean_inc(x_1460); -lean_dec(x_1441); -x_1461 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1460); -x_1462 = lean_ctor_get(x_1461, 1); -lean_inc(x_1462); -lean_dec(x_1461); -x_1463 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1462); -x_1464 = lean_ctor_get(x_1463, 1); -lean_inc(x_1464); -lean_dec(x_1463); -x_1465 = lean_box(0); -x_1466 = lean_box(0); -x_1467 = l_Lean_Syntax_mkAntiquotNode(x_1440, x_401, x_1465, x_1466); -x_1468 = l_Array_empty___closed__1; -x_1469 = lean_array_push(x_1468, x_1467); -x_1470 = l_Array_appendCore___rarg(x_1468, x_409); -lean_dec(x_409); -x_1471 = l_Lean_nullKind___closed__2; -x_1472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1472, 0, x_1471); -lean_ctor_set(x_1472, 1, x_1470); -x_1473 = lean_array_push(x_1469, x_1472); -x_1474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1474, 0, x_8); -lean_ctor_set(x_1474, 1, x_1473); -x_1475 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1475, 0, x_1474); -x_971 = x_1475; -x_972 = x_1464; -goto block_1439; -} -block_1439: +lean_object* x_946; lean_object* x_947; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; uint8_t x_1413; +x_1410 = lean_ctor_get(x_944, 0); +lean_inc(x_1410); +lean_dec(x_944); +x_1411 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_945); +x_1412 = lean_ctor_get(x_1411, 0); +lean_inc(x_1412); +x_1413 = !lean_is_exclusive(x_1412); +if (x_1413 == 0) { -lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; uint8_t x_977; -x_973 = lean_ctor_get(x_971, 0); -lean_inc(x_973); -lean_dec(x_971); -x_974 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_972); -x_975 = lean_ctor_get(x_974, 0); -lean_inc(x_975); -x_976 = lean_ctor_get(x_974, 1); -lean_inc(x_976); -lean_dec(x_974); -x_977 = !lean_is_exclusive(x_975); -if (x_977 == 0) -{ -lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; uint8_t x_983; -x_978 = lean_ctor_get(x_975, 0); -x_979 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_976); -x_980 = lean_ctor_get(x_979, 0); -lean_inc(x_980); -x_981 = lean_ctor_get(x_979, 1); -lean_inc(x_981); -lean_dec(x_979); -x_982 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_981); -x_983 = !lean_is_exclusive(x_982); -if (x_983 == 0) -{ -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; -x_984 = lean_ctor_get(x_982, 0); -x_985 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_978); -x_986 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_986, 0, x_978); -lean_ctor_set(x_986, 1, x_985); -x_987 = l_Array_empty___closed__1; -x_988 = lean_array_push(x_987, x_986); -x_989 = lean_array_push(x_987, x_1); -x_990 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_980); -lean_inc(x_984); -x_991 = l_Lean_addMacroScope(x_984, x_990, x_980); -x_992 = lean_box(0); -x_993 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_978); -x_994 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_994, 0, x_978); -lean_ctor_set(x_994, 1, x_993); -lean_ctor_set(x_994, 2, x_991); -lean_ctor_set(x_994, 3, x_992); -x_995 = lean_array_push(x_987, x_994); -x_996 = lean_mk_syntax_ident(x_426); -x_997 = lean_array_push(x_987, x_996); -x_998 = l_Lean_nullKind___closed__2; -x_999 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_999, 0, x_998); -lean_ctor_set(x_999, 1, x_997); -x_1000 = lean_array_push(x_995, x_999); -x_1001 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_1002 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1002, 0, x_1001); -lean_ctor_set(x_1002, 1, x_1000); -x_1003 = lean_array_push(x_989, x_1002); -x_1004 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_1005 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1005, 0, x_1004); -lean_ctor_set(x_1005, 1, x_1003); -x_1006 = lean_array_push(x_987, x_1005); -x_1007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1007, 0, x_998); -lean_ctor_set(x_1007, 1, x_1006); -x_1008 = lean_array_push(x_988, x_1007); -x_1009 = l_term_x5b___x5d___closed__9; -lean_inc(x_978); -x_1010 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1010, 0, x_978); -lean_ctor_set(x_1010, 1, x_1009); -x_1011 = lean_array_push(x_1008, x_1010); -x_1012 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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 = lean_array_push(x_987, x_1013); -x_1015 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1015, 0, x_998); -lean_ctor_set(x_1015, 1, x_1014); -x_1016 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1017 = lean_array_push(x_1016, x_1015); -x_1018 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1019 = lean_array_push(x_1017, x_1018); -x_1020 = lean_array_push(x_1019, x_1018); -x_1021 = lean_array_push(x_1020, x_1018); -x_1022 = lean_array_push(x_1021, x_1018); -x_1023 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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_987, x_1024); -x_1026 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_978); -x_1027 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1027, 0, x_978); -lean_ctor_set(x_1027, 1, x_1026); -x_1028 = lean_array_push(x_987, x_1027); -x_1029 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_980); -lean_inc(x_984); -x_1030 = l_Lean_addMacroScope(x_984, x_1029, x_980); -x_1031 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_978); -x_1032 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1032, 0, x_978); -lean_ctor_set(x_1032, 1, x_1031); -lean_ctor_set(x_1032, 2, x_1030); -lean_ctor_set(x_1032, 3, x_992); -x_1033 = lean_array_push(x_987, x_1032); -x_1034 = lean_array_push(x_1033, x_1018); -x_1035 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_1036 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1036, 0, x_1035); -lean_ctor_set(x_1036, 1, x_1034); -x_1037 = lean_array_push(x_1028, x_1036); -x_1038 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_978); -x_1039 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1039, 0, x_978); -lean_ctor_set(x_1039, 1, x_1038); -x_1040 = lean_array_push(x_987, x_1039); -x_1041 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_980); -lean_inc(x_984); -x_1042 = l_Lean_addMacroScope(x_984, x_1041, x_980); -x_1043 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1044 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_978); -x_1045 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1045, 0, x_978); -lean_ctor_set(x_1045, 1, x_1043); -lean_ctor_set(x_1045, 2, x_1042); -lean_ctor_set(x_1045, 3, x_1044); -x_1046 = lean_array_push(x_1040, x_1045); -x_1047 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_1048 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1048, 0, x_1047); -lean_ctor_set(x_1048, 1, x_1046); -x_1049 = lean_array_push(x_987, x_1048); -x_1050 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1050, 0, x_998); -lean_ctor_set(x_1050, 1, x_1049); -x_1051 = lean_array_push(x_1016, x_1050); -x_1052 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1053 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1053, 0, x_1052); -lean_ctor_set(x_1053, 1, x_1051); -x_1054 = lean_array_push(x_1037, x_1053); -x_1055 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_978); -x_1056 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1056, 0, x_978); -lean_ctor_set(x_1056, 1, x_1055); -x_1057 = lean_array_push(x_987, x_1056); -x_1058 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_978); -x_1059 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1059, 0, x_978); -lean_ctor_set(x_1059, 1, x_1058); -x_1060 = lean_array_push(x_987, x_1059); -x_1061 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_978); -x_1062 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1062, 0, x_978); -lean_ctor_set(x_1062, 1, x_1061); -x_1063 = lean_array_push(x_987, x_1062); -x_1064 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_978); -x_1065 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1065, 0, x_978); -lean_ctor_set(x_1065, 1, x_1064); -x_1066 = lean_array_push(x_987, x_1065); -lean_inc(x_1066); -x_1067 = lean_array_push(x_1066, x_973); -x_1068 = l_prec_x28___x29___closed__7; -lean_inc(x_978); -x_1069 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1069, 0, x_978); -lean_ctor_set(x_1069, 1, x_1068); -lean_inc(x_1069); -x_1070 = lean_array_push(x_1067, x_1069); -x_1071 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_1072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1072, 0, x_1071); -lean_ctor_set(x_1072, 1, x_1070); -x_1073 = lean_array_push(x_987, x_1072); -x_1074 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1074, 0, x_998); -lean_ctor_set(x_1074, 1, x_1073); -lean_inc(x_1063); -x_1075 = lean_array_push(x_1063, x_1074); -x_1076 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_978); -x_1077 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1077, 0, x_978); -lean_ctor_set(x_1077, 1, x_1076); -lean_inc(x_1077); -x_1078 = lean_array_push(x_1075, x_1077); -x_1079 = lean_array_push(x_1066, x_3); -lean_inc(x_1069); -x_1080 = lean_array_push(x_1079, x_1069); -x_1081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1081, 0, x_1071); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = lean_array_push(x_1078, x_1081); -x_1083 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1084, 0, x_1083); -lean_ctor_set(x_1084, 1, x_1082); -x_1085 = lean_array_push(x_987, x_1084); -x_1086 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_978); -x_1087 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1087, 0, x_978); -lean_ctor_set(x_1087, 1, x_1086); -x_1088 = lean_array_push(x_987, x_1087); -x_1089 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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_987, x_1090); -x_1092 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1092, 0, x_998); -lean_ctor_set(x_1092, 1, x_1091); -x_1093 = lean_array_push(x_1063, x_1092); -x_1094 = lean_array_push(x_1093, x_1077); -x_1095 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1096 = l_Lean_addMacroScope(x_984, x_1095, x_980); -x_1097 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1098 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_978); -x_1099 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1099, 0, x_978); -lean_ctor_set(x_1099, 1, x_1097); -lean_ctor_set(x_1099, 2, x_1096); -lean_ctor_set(x_1099, 3, x_1098); -x_1100 = lean_array_push(x_987, x_1099); -x_1101 = l_prec_x28___x29___closed__3; -x_1102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1102, 0, x_978); -lean_ctor_set(x_1102, 1, x_1101); -x_1103 = lean_array_push(x_987, x_1102); -x_1104 = lean_array_push(x_1103, x_1018); -x_1105 = lean_array_push(x_1104, x_1069); -x_1106 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1107, 0, x_1106); -lean_ctor_set(x_1107, 1, x_1105); -x_1108 = lean_array_push(x_987, x_1107); -x_1109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1109, 0, x_998); -lean_ctor_set(x_1109, 1, x_1108); -x_1110 = lean_array_push(x_1100, x_1109); -x_1111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1111, 0, x_8); -lean_ctor_set(x_1111, 1, x_1110); -x_1112 = lean_array_push(x_1094, x_1111); -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_1083); -lean_ctor_set(x_1113, 1, x_1112); -x_1114 = lean_array_push(x_1085, x_1113); -x_1115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1115, 0, x_998); -lean_ctor_set(x_1115, 1, x_1114); -x_1116 = lean_array_push(x_987, x_1115); -x_1117 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -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_1060, x_1118); -x_1120 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1121, 0, x_1120); -lean_ctor_set(x_1121, 1, x_1119); -x_1122 = lean_array_push(x_1057, x_1121); -x_1123 = lean_array_push(x_1122, x_1018); -x_1124 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1124); -lean_ctor_set(x_1125, 1, x_1123); -x_1126 = lean_array_push(x_1054, x_1125); -x_1127 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1128, 0, x_1127); -lean_ctor_set(x_1128, 1, x_1126); -x_1129 = lean_array_push(x_1025, x_1128); -x_1130 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_1131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1131, 0, x_1130); -lean_ctor_set(x_1131, 1, x_1129); -lean_ctor_set(x_975, 0, x_1131); -lean_ctor_set(x_982, 0, x_975); -return x_982; -} -else -{ -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; 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; -x_1132 = lean_ctor_get(x_982, 0); -x_1133 = lean_ctor_get(x_982, 1); -lean_inc(x_1133); -lean_inc(x_1132); -lean_dec(x_982); -x_1134 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_978); -x_1135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1135, 0, x_978); -lean_ctor_set(x_1135, 1, x_1134); -x_1136 = l_Array_empty___closed__1; -x_1137 = lean_array_push(x_1136, x_1135); -x_1138 = lean_array_push(x_1136, x_1); -x_1139 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_980); -lean_inc(x_1132); -x_1140 = l_Lean_addMacroScope(x_1132, x_1139, x_980); -x_1141 = lean_box(0); -x_1142 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_978); -x_1143 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1143, 0, x_978); -lean_ctor_set(x_1143, 1, x_1142); -lean_ctor_set(x_1143, 2, x_1140); -lean_ctor_set(x_1143, 3, x_1141); -x_1144 = lean_array_push(x_1136, x_1143); -x_1145 = lean_mk_syntax_ident(x_426); -x_1146 = lean_array_push(x_1136, x_1145); -x_1147 = l_Lean_nullKind___closed__2; -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 = lean_array_push(x_1144, x_1148); -x_1150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_1151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_1149); -x_1152 = lean_array_push(x_1138, x_1151); -x_1153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -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 = lean_array_push(x_1136, x_1154); -x_1156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1156, 0, x_1147); -lean_ctor_set(x_1156, 1, x_1155); -x_1157 = lean_array_push(x_1137, x_1156); -x_1158 = l_term_x5b___x5d___closed__9; -lean_inc(x_978); -x_1159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1159, 0, x_978); -lean_ctor_set(x_1159, 1, x_1158); -x_1160 = lean_array_push(x_1157, x_1159); -x_1161 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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_array_push(x_1136, x_1162); -x_1164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1164, 0, x_1147); -lean_ctor_set(x_1164, 1, x_1163); -x_1165 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1166 = lean_array_push(x_1165, x_1164); -x_1167 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1168 = lean_array_push(x_1166, x_1167); -x_1169 = lean_array_push(x_1168, x_1167); -x_1170 = lean_array_push(x_1169, x_1167); -x_1171 = lean_array_push(x_1170, x_1167); -x_1172 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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 = lean_array_push(x_1136, x_1173); -x_1175 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_978); -x_1176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1176, 0, x_978); -lean_ctor_set(x_1176, 1, x_1175); -x_1177 = lean_array_push(x_1136, x_1176); -x_1178 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_980); -lean_inc(x_1132); -x_1179 = l_Lean_addMacroScope(x_1132, x_1178, x_980); -x_1180 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_978); -x_1181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1181, 0, x_978); -lean_ctor_set(x_1181, 1, x_1180); -lean_ctor_set(x_1181, 2, x_1179); -lean_ctor_set(x_1181, 3, x_1141); -x_1182 = lean_array_push(x_1136, x_1181); -x_1183 = lean_array_push(x_1182, x_1167); -x_1184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_1185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1185, 0, x_1184); -lean_ctor_set(x_1185, 1, x_1183); -x_1186 = lean_array_push(x_1177, x_1185); -x_1187 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_978); -x_1188 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1188, 0, x_978); -lean_ctor_set(x_1188, 1, x_1187); -x_1189 = lean_array_push(x_1136, x_1188); -x_1190 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_980); -lean_inc(x_1132); -x_1191 = l_Lean_addMacroScope(x_1132, x_1190, x_980); -x_1192 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1193 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_978); -x_1194 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1194, 0, x_978); -lean_ctor_set(x_1194, 1, x_1192); -lean_ctor_set(x_1194, 2, x_1191); -lean_ctor_set(x_1194, 3, x_1193); -x_1195 = lean_array_push(x_1189, x_1194); -x_1196 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1195); -x_1198 = lean_array_push(x_1136, x_1197); -x_1199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1199, 0, x_1147); -lean_ctor_set(x_1199, 1, x_1198); -x_1200 = lean_array_push(x_1165, x_1199); -x_1201 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1202, 0, x_1201); -lean_ctor_set(x_1202, 1, x_1200); -x_1203 = lean_array_push(x_1186, x_1202); -x_1204 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_978); -x_1205 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1205, 0, x_978); -lean_ctor_set(x_1205, 1, x_1204); -x_1206 = lean_array_push(x_1136, x_1205); -x_1207 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_978); -x_1208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1208, 0, x_978); -lean_ctor_set(x_1208, 1, x_1207); -x_1209 = lean_array_push(x_1136, x_1208); -x_1210 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_978); -x_1211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1211, 0, x_978); -lean_ctor_set(x_1211, 1, x_1210); -x_1212 = lean_array_push(x_1136, x_1211); -x_1213 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_978); -x_1214 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1214, 0, x_978); -lean_ctor_set(x_1214, 1, x_1213); -x_1215 = lean_array_push(x_1136, x_1214); -lean_inc(x_1215); -x_1216 = lean_array_push(x_1215, x_973); -x_1217 = l_prec_x28___x29___closed__7; -lean_inc(x_978); -x_1218 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1218, 0, x_978); -lean_ctor_set(x_1218, 1, x_1217); -lean_inc(x_1218); -x_1219 = lean_array_push(x_1216, x_1218); -x_1220 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_1220); -lean_ctor_set(x_1221, 1, x_1219); -x_1222 = lean_array_push(x_1136, x_1221); -x_1223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1223, 0, x_1147); -lean_ctor_set(x_1223, 1, x_1222); -lean_inc(x_1212); -x_1224 = lean_array_push(x_1212, x_1223); -x_1225 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_978); -x_1226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1226, 0, x_978); -lean_ctor_set(x_1226, 1, x_1225); -lean_inc(x_1226); -x_1227 = lean_array_push(x_1224, x_1226); -x_1228 = lean_array_push(x_1215, x_3); -lean_inc(x_1218); -x_1229 = lean_array_push(x_1228, x_1218); -x_1230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1230, 0, x_1220); -lean_ctor_set(x_1230, 1, x_1229); -x_1231 = lean_array_push(x_1227, x_1230); -x_1232 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1232); -lean_ctor_set(x_1233, 1, x_1231); -x_1234 = lean_array_push(x_1136, x_1233); -x_1235 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_978); -x_1236 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1236, 0, x_978); -lean_ctor_set(x_1236, 1, x_1235); -x_1237 = lean_array_push(x_1136, x_1236); -x_1238 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_1239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1239, 0, x_1238); -lean_ctor_set(x_1239, 1, x_1237); -x_1240 = lean_array_push(x_1136, x_1239); -x_1241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1241, 0, x_1147); -lean_ctor_set(x_1241, 1, x_1240); -x_1242 = lean_array_push(x_1212, x_1241); -x_1243 = lean_array_push(x_1242, x_1226); -x_1244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1245 = l_Lean_addMacroScope(x_1132, x_1244, x_980); -x_1246 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1247 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_978); -x_1248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1248, 0, x_978); -lean_ctor_set(x_1248, 1, x_1246); -lean_ctor_set(x_1248, 2, x_1245); -lean_ctor_set(x_1248, 3, x_1247); -x_1249 = lean_array_push(x_1136, x_1248); -x_1250 = l_prec_x28___x29___closed__3; -x_1251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1251, 0, x_978); -lean_ctor_set(x_1251, 1, x_1250); -x_1252 = lean_array_push(x_1136, x_1251); -x_1253 = lean_array_push(x_1252, x_1167); -x_1254 = lean_array_push(x_1253, x_1218); -x_1255 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -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 = lean_array_push(x_1136, x_1256); -x_1258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1258, 0, x_1147); -lean_ctor_set(x_1258, 1, x_1257); -x_1259 = lean_array_push(x_1249, x_1258); -x_1260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1260, 0, x_8); -lean_ctor_set(x_1260, 1, x_1259); -x_1261 = lean_array_push(x_1243, x_1260); -x_1262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1262, 0, x_1232); -lean_ctor_set(x_1262, 1, x_1261); -x_1263 = lean_array_push(x_1234, x_1262); -x_1264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1264, 0, x_1147); -lean_ctor_set(x_1264, 1, x_1263); -x_1265 = lean_array_push(x_1136, x_1264); -x_1266 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -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_1209, x_1267); -x_1269 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1270, 0, x_1269); -lean_ctor_set(x_1270, 1, x_1268); -x_1271 = lean_array_push(x_1206, x_1270); -x_1272 = lean_array_push(x_1271, x_1167); -x_1273 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_1274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1274, 0, x_1273); -lean_ctor_set(x_1274, 1, x_1272); -x_1275 = lean_array_push(x_1203, x_1274); -x_1276 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1277, 0, x_1276); -lean_ctor_set(x_1277, 1, x_1275); -x_1278 = lean_array_push(x_1174, x_1277); -x_1279 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_1280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1280, 0, x_1279); -lean_ctor_set(x_1280, 1, x_1278); -lean_ctor_set(x_975, 0, x_1280); -x_1281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1281, 0, x_975); -lean_ctor_set(x_1281, 1, x_1133); -return x_1281; -} -} -else -{ -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; 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; -x_1282 = lean_ctor_get(x_975, 0); -lean_inc(x_1282); -lean_dec(x_975); -x_1283 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_976); -x_1284 = lean_ctor_get(x_1283, 0); -lean_inc(x_1284); -x_1285 = lean_ctor_get(x_1283, 1); -lean_inc(x_1285); -lean_dec(x_1283); -x_1286 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1285); -x_1287 = lean_ctor_get(x_1286, 0); -lean_inc(x_1287); -x_1288 = lean_ctor_get(x_1286, 1); -lean_inc(x_1288); -if (lean_is_exclusive(x_1286)) { - lean_ctor_release(x_1286, 0); - lean_ctor_release(x_1286, 1); - x_1289 = x_1286; -} else { - lean_dec_ref(x_1286); - x_1289 = lean_box(0); -} -x_1290 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_1282); -x_1291 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1291, 0, x_1282); -lean_ctor_set(x_1291, 1, x_1290); -x_1292 = l_Array_empty___closed__1; -x_1293 = lean_array_push(x_1292, x_1291); -x_1294 = lean_array_push(x_1292, x_1); -x_1295 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1284); -lean_inc(x_1287); -x_1296 = l_Lean_addMacroScope(x_1287, x_1295, x_1284); -x_1297 = lean_box(0); -x_1298 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1282); -x_1299 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1299, 0, x_1282); -lean_ctor_set(x_1299, 1, x_1298); -lean_ctor_set(x_1299, 2, x_1296); -lean_ctor_set(x_1299, 3, x_1297); -x_1300 = lean_array_push(x_1292, x_1299); -x_1301 = lean_mk_syntax_ident(x_426); -x_1302 = lean_array_push(x_1292, x_1301); -x_1303 = l_Lean_nullKind___closed__2; -x_1304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1304, 0, x_1303); -lean_ctor_set(x_1304, 1, x_1302); -x_1305 = lean_array_push(x_1300, x_1304); -x_1306 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_1307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1307, 0, x_1306); -lean_ctor_set(x_1307, 1, x_1305); -x_1308 = lean_array_push(x_1294, x_1307); -x_1309 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -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_1292, x_1310); -x_1312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1312, 0, x_1303); -lean_ctor_set(x_1312, 1, x_1311); -x_1313 = lean_array_push(x_1293, x_1312); -x_1314 = l_term_x5b___x5d___closed__9; -lean_inc(x_1282); -x_1315 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1315, 0, x_1282); -lean_ctor_set(x_1315, 1, x_1314); -x_1316 = lean_array_push(x_1313, x_1315); -x_1317 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_1318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1318, 0, x_1317); -lean_ctor_set(x_1318, 1, x_1316); -x_1319 = lean_array_push(x_1292, x_1318); -x_1320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1320, 0, x_1303); -lean_ctor_set(x_1320, 1, x_1319); -x_1321 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1322 = lean_array_push(x_1321, x_1320); -x_1323 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1324 = lean_array_push(x_1322, x_1323); -x_1325 = lean_array_push(x_1324, x_1323); -x_1326 = lean_array_push(x_1325, x_1323); -x_1327 = lean_array_push(x_1326, x_1323); -x_1328 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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_1292, x_1329); -x_1331 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_1282); -x_1332 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1332, 0, x_1282); -lean_ctor_set(x_1332, 1, x_1331); -x_1333 = lean_array_push(x_1292, x_1332); -x_1334 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1284); -lean_inc(x_1287); -x_1335 = l_Lean_addMacroScope(x_1287, x_1334, x_1284); -x_1336 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1282); -x_1337 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1337, 0, x_1282); -lean_ctor_set(x_1337, 1, x_1336); -lean_ctor_set(x_1337, 2, x_1335); -lean_ctor_set(x_1337, 3, x_1297); -x_1338 = lean_array_push(x_1292, x_1337); -x_1339 = lean_array_push(x_1338, x_1323); -x_1340 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_1341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1341, 0, x_1340); -lean_ctor_set(x_1341, 1, x_1339); -x_1342 = lean_array_push(x_1333, x_1341); -x_1343 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_1282); -x_1344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1344, 0, x_1282); -lean_ctor_set(x_1344, 1, x_1343); -x_1345 = lean_array_push(x_1292, x_1344); -x_1346 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_1284); -lean_inc(x_1287); -x_1347 = l_Lean_addMacroScope(x_1287, x_1346, x_1284); -x_1348 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1349 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1282); -x_1350 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1350, 0, x_1282); -lean_ctor_set(x_1350, 1, x_1348); -lean_ctor_set(x_1350, 2, x_1347); -lean_ctor_set(x_1350, 3, x_1349); -x_1351 = lean_array_push(x_1345, x_1350); -x_1352 = l_Lean_expandExplicitBindersAux_loop___closed__4; -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_1292, x_1353); -x_1355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1355, 0, x_1303); -lean_ctor_set(x_1355, 1, x_1354); -x_1356 = lean_array_push(x_1321, x_1355); -x_1357 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1358, 0, x_1357); -lean_ctor_set(x_1358, 1, x_1356); -x_1359 = lean_array_push(x_1342, x_1358); -x_1360 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1282); -x_1361 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1361, 0, x_1282); -lean_ctor_set(x_1361, 1, x_1360); -x_1362 = lean_array_push(x_1292, x_1361); -x_1363 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_1282); -x_1364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1364, 0, x_1282); -lean_ctor_set(x_1364, 1, x_1363); -x_1365 = lean_array_push(x_1292, x_1364); -x_1366 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1282); -x_1367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1367, 0, x_1282); -lean_ctor_set(x_1367, 1, x_1366); -x_1368 = lean_array_push(x_1292, x_1367); -x_1369 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_1282); -x_1370 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1370, 0, x_1282); -lean_ctor_set(x_1370, 1, x_1369); -x_1371 = lean_array_push(x_1292, x_1370); -lean_inc(x_1371); -x_1372 = lean_array_push(x_1371, x_973); -x_1373 = l_prec_x28___x29___closed__7; -lean_inc(x_1282); -x_1374 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1374, 0, x_1282); -lean_ctor_set(x_1374, 1, x_1373); -lean_inc(x_1374); -x_1375 = lean_array_push(x_1372, x_1374); -x_1376 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_1377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1377, 0, x_1376); -lean_ctor_set(x_1377, 1, x_1375); -x_1378 = lean_array_push(x_1292, x_1377); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1303); -lean_ctor_set(x_1379, 1, x_1378); -lean_inc(x_1368); -x_1380 = lean_array_push(x_1368, x_1379); -x_1381 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1282); -x_1382 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1382, 0, x_1282); -lean_ctor_set(x_1382, 1, x_1381); -lean_inc(x_1382); -x_1383 = lean_array_push(x_1380, x_1382); -x_1384 = lean_array_push(x_1371, x_3); -lean_inc(x_1374); -x_1385 = lean_array_push(x_1384, x_1374); -x_1386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1386, 0, x_1376); -lean_ctor_set(x_1386, 1, x_1385); -x_1387 = lean_array_push(x_1383, x_1386); -x_1388 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1389, 0, x_1388); -lean_ctor_set(x_1389, 1, x_1387); -x_1390 = lean_array_push(x_1292, x_1389); -x_1391 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_1282); -x_1392 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1392, 0, x_1282); -lean_ctor_set(x_1392, 1, x_1391); -x_1393 = lean_array_push(x_1292, x_1392); -x_1394 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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_1292, x_1395); -x_1397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1397, 0, x_1303); -lean_ctor_set(x_1397, 1, x_1396); -x_1398 = lean_array_push(x_1368, x_1397); -x_1399 = lean_array_push(x_1398, x_1382); -x_1400 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1401 = l_Lean_addMacroScope(x_1287, x_1400, x_1284); -x_1402 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1403 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_1282); -x_1404 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1404, 0, x_1282); -lean_ctor_set(x_1404, 1, x_1402); -lean_ctor_set(x_1404, 2, x_1401); -lean_ctor_set(x_1404, 3, x_1403); -x_1405 = lean_array_push(x_1292, x_1404); -x_1406 = l_prec_x28___x29___closed__3; -x_1407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1407, 0, x_1282); -lean_ctor_set(x_1407, 1, x_1406); -x_1408 = lean_array_push(x_1292, x_1407); -x_1409 = lean_array_push(x_1408, x_1323); -x_1410 = lean_array_push(x_1409, x_1374); -x_1411 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1412, 0, x_1411); -lean_ctor_set(x_1412, 1, x_1410); -x_1413 = lean_array_push(x_1292, x_1412); -x_1414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1414, 0, x_1303); -lean_ctor_set(x_1414, 1, x_1413); -x_1415 = lean_array_push(x_1405, x_1414); -x_1416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1416, 0, x_8); -lean_ctor_set(x_1416, 1, x_1415); -x_1417 = lean_array_push(x_1399, x_1416); -x_1418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1418, 0, x_1388); -lean_ctor_set(x_1418, 1, x_1417); -x_1419 = lean_array_push(x_1390, x_1418); -x_1420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1420, 0, x_1303); -lean_ctor_set(x_1420, 1, x_1419); -x_1421 = lean_array_push(x_1292, x_1420); -x_1422 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +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; +x_1414 = lean_ctor_get(x_1412, 0); +lean_dec(x_1414); +x_1415 = lean_ctor_get(x_1411, 1); +lean_inc(x_1415); +lean_dec(x_1411); +x_1416 = lean_box(0); +x_1417 = lean_box(0); +x_1418 = l_Lean_Syntax_mkAntiquotNode(x_1410, x_398, x_1416, x_1417); +x_1419 = l_Array_empty___closed__1; +x_1420 = lean_array_push(x_1419, x_1418); +x_1421 = l_Array_appendCore___rarg(x_1419, x_406); +lean_dec(x_406); +x_1422 = l_Lean_nullKind___closed__2; x_1423 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1423, 0, x_1422); lean_ctor_set(x_1423, 1, x_1421); -x_1424 = lean_array_push(x_1365, x_1423); -x_1425 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1426, 0, x_1425); -lean_ctor_set(x_1426, 1, x_1424); -x_1427 = lean_array_push(x_1362, x_1426); -x_1428 = lean_array_push(x_1427, x_1323); -x_1429 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -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 = lean_array_push(x_1359, x_1430); -x_1432 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1433, 0, x_1432); -lean_ctor_set(x_1433, 1, x_1431); -x_1434 = lean_array_push(x_1330, x_1433); -x_1435 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1424 = lean_array_push(x_1420, x_1423); +x_1425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1425, 0, x_7); +lean_ctor_set(x_1425, 1, x_1424); +lean_ctor_set(x_1412, 0, x_1425); +x_946 = x_1412; +x_947 = x_1415; +goto block_1409; +} +else +{ +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_dec(x_1412); +x_1426 = lean_ctor_get(x_1411, 1); +lean_inc(x_1426); +lean_dec(x_1411); +x_1427 = lean_box(0); +x_1428 = lean_box(0); +x_1429 = l_Lean_Syntax_mkAntiquotNode(x_1410, x_398, x_1427, x_1428); +x_1430 = l_Array_empty___closed__1; +x_1431 = lean_array_push(x_1430, x_1429); +x_1432 = l_Array_appendCore___rarg(x_1430, x_406); +lean_dec(x_406); +x_1433 = l_Lean_nullKind___closed__2; +x_1434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1434, 0, x_1433); +lean_ctor_set(x_1434, 1, x_1432); +x_1435 = lean_array_push(x_1431, x_1434); x_1436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1436, 0, x_1435); -lean_ctor_set(x_1436, 1, x_1434); +lean_ctor_set(x_1436, 0, x_7); +lean_ctor_set(x_1436, 1, x_1435); x_1437 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_1437, 0, x_1436); -if (lean_is_scalar(x_1289)) { - x_1438 = lean_alloc_ctor(0, 2, 0); -} else { - x_1438 = x_1289; +x_946 = x_1437; +x_947 = x_1426; +goto block_1409; } -lean_ctor_set(x_1438, 0, x_1437); -lean_ctor_set(x_1438, 1, x_1288); -return x_1438; +block_1409: +{ +lean_object* x_948; lean_object* x_949; uint8_t x_950; +x_948 = lean_ctor_get(x_946, 0); +lean_inc(x_948); +lean_dec(x_946); +x_949 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_947); +x_950 = !lean_is_exclusive(x_949); +if (x_950 == 0) +{ +lean_object* x_951; uint8_t x_952; +x_951 = lean_ctor_get(x_949, 0); +x_952 = !lean_is_exclusive(x_951); +if (x_952 == 0) +{ +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; 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; +x_953 = lean_ctor_get(x_951, 0); +x_954 = lean_ctor_get(x_5, 2); +lean_inc(x_954); +x_955 = lean_ctor_get(x_5, 1); +lean_inc(x_955); +lean_dec(x_5); +x_956 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_953); +x_957 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_957, 0, x_953); +lean_ctor_set(x_957, 1, x_956); +x_958 = l_Array_empty___closed__1; +x_959 = lean_array_push(x_958, x_957); +x_960 = lean_array_push(x_958, x_1); +x_961 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_954); +lean_inc(x_955); +x_962 = l_Lean_addMacroScope(x_955, x_961, x_954); +x_963 = lean_box(0); +x_964 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_953); +x_965 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_965, 0, x_953); +lean_ctor_set(x_965, 1, x_964); +lean_ctor_set(x_965, 2, x_962); +lean_ctor_set(x_965, 3, x_963); +x_966 = lean_array_push(x_958, x_965); +x_967 = lean_mk_syntax_ident(x_422); +x_968 = lean_array_push(x_958, x_967); +x_969 = l_Lean_nullKind___closed__2; +x_970 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_970, 0, x_969); +lean_ctor_set(x_970, 1, x_968); +x_971 = lean_array_push(x_966, x_970); +x_972 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +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 = lean_array_push(x_960, x_973); +x_975 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_974); +x_977 = lean_array_push(x_958, x_976); +x_978 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_978, 0, x_969); +lean_ctor_set(x_978, 1, x_977); +x_979 = lean_array_push(x_959, x_978); +x_980 = l_term_x5b___x5d___closed__9; +lean_inc(x_953); +x_981 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_981, 0, x_953); +lean_ctor_set(x_981, 1, x_980); +x_982 = lean_array_push(x_979, x_981); +x_983 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = lean_array_push(x_958, x_984); +x_986 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_986, 0, x_969); +lean_ctor_set(x_986, 1, x_985); +x_987 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_988 = lean_array_push(x_987, x_986); +x_989 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_990 = lean_array_push(x_988, x_989); +x_991 = lean_array_push(x_990, x_989); +x_992 = lean_array_push(x_991, x_989); +x_993 = lean_array_push(x_992, x_989); +x_994 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_995, 0, x_994); +lean_ctor_set(x_995, 1, x_993); +x_996 = lean_array_push(x_958, x_995); +x_997 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_953); +x_998 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_998, 0, x_953); +lean_ctor_set(x_998, 1, x_997); +x_999 = lean_array_push(x_958, x_998); +x_1000 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_954); +lean_inc(x_955); +x_1001 = l_Lean_addMacroScope(x_955, x_1000, x_954); +x_1002 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_953); +x_1003 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1003, 0, x_953); +lean_ctor_set(x_1003, 1, x_1002); +lean_ctor_set(x_1003, 2, x_1001); +lean_ctor_set(x_1003, 3, x_963); +x_1004 = lean_array_push(x_958, x_1003); +x_1005 = lean_array_push(x_1004, x_989); +x_1006 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_1007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1007, 0, x_1006); +lean_ctor_set(x_1007, 1, x_1005); +x_1008 = lean_array_push(x_999, x_1007); +x_1009 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_953); +x_1010 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1010, 0, x_953); +lean_ctor_set(x_1010, 1, x_1009); +x_1011 = lean_array_push(x_958, x_1010); +x_1012 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_954); +lean_inc(x_955); +x_1013 = l_Lean_addMacroScope(x_955, x_1012, x_954); +x_1014 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1015 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_953); +x_1016 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1016, 0, x_953); +lean_ctor_set(x_1016, 1, x_1014); +lean_ctor_set(x_1016, 2, x_1013); +lean_ctor_set(x_1016, 3, x_1015); +x_1017 = lean_array_push(x_1011, x_1016); +x_1018 = l_Lean_expandExplicitBindersAux_loop___closed__4; +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 = lean_array_push(x_958, x_1019); +x_1021 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1021, 0, x_969); +lean_ctor_set(x_1021, 1, x_1020); +x_1022 = lean_array_push(x_987, x_1021); +x_1023 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +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_1008, x_1024); +x_1026 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_953); +x_1027 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1027, 0, x_953); +lean_ctor_set(x_1027, 1, x_1026); +x_1028 = lean_array_push(x_958, x_1027); +x_1029 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_953); +x_1030 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1030, 0, x_953); +lean_ctor_set(x_1030, 1, x_1029); +x_1031 = lean_array_push(x_958, x_1030); +x_1032 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_953); +x_1033 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1033, 0, x_953); +lean_ctor_set(x_1033, 1, x_1032); +x_1034 = lean_array_push(x_958, x_1033); +x_1035 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_953); +x_1036 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1036, 0, x_953); +lean_ctor_set(x_1036, 1, x_1035); +x_1037 = lean_array_push(x_958, x_1036); +lean_inc(x_1037); +x_1038 = lean_array_push(x_1037, x_948); +x_1039 = l_prec_x28___x29___closed__7; +lean_inc(x_953); +x_1040 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1040, 0, x_953); +lean_ctor_set(x_1040, 1, x_1039); +lean_inc(x_1040); +x_1041 = lean_array_push(x_1038, x_1040); +x_1042 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1043 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1043, 0, x_1042); +lean_ctor_set(x_1043, 1, x_1041); +x_1044 = lean_array_push(x_958, x_1043); +x_1045 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1045, 0, x_969); +lean_ctor_set(x_1045, 1, x_1044); +lean_inc(x_1034); +x_1046 = lean_array_push(x_1034, x_1045); +x_1047 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_953); +x_1048 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1048, 0, x_953); +lean_ctor_set(x_1048, 1, x_1047); +lean_inc(x_1048); +x_1049 = lean_array_push(x_1046, x_1048); +x_1050 = lean_array_push(x_1037, x_3); +lean_inc(x_1040); +x_1051 = lean_array_push(x_1050, x_1040); +x_1052 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1052, 0, x_1042); +lean_ctor_set(x_1052, 1, x_1051); +x_1053 = lean_array_push(x_1049, x_1052); +x_1054 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1055 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1055, 0, x_1054); +lean_ctor_set(x_1055, 1, x_1053); +x_1056 = lean_array_push(x_958, x_1055); +x_1057 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_953); +x_1058 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1058, 0, x_953); +lean_ctor_set(x_1058, 1, x_1057); +x_1059 = lean_array_push(x_958, x_1058); +x_1060 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1061 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1061, 0, x_1060); +lean_ctor_set(x_1061, 1, x_1059); +x_1062 = lean_array_push(x_958, x_1061); +x_1063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1063, 0, x_969); +lean_ctor_set(x_1063, 1, x_1062); +x_1064 = lean_array_push(x_1034, x_1063); +x_1065 = lean_array_push(x_1064, x_1048); +x_1066 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1067 = l_Lean_addMacroScope(x_955, x_1066, x_954); +x_1068 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1069 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_953); +x_1070 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1070, 0, x_953); +lean_ctor_set(x_1070, 1, x_1068); +lean_ctor_set(x_1070, 2, x_1067); +lean_ctor_set(x_1070, 3, x_1069); +x_1071 = lean_array_push(x_958, x_1070); +x_1072 = l_prec_x28___x29___closed__3; +x_1073 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1073, 0, x_953); +lean_ctor_set(x_1073, 1, x_1072); +x_1074 = lean_array_push(x_958, x_1073); +x_1075 = lean_array_push(x_1074, x_989); +x_1076 = lean_array_push(x_1075, x_1040); +x_1077 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1078, 0, x_1077); +lean_ctor_set(x_1078, 1, x_1076); +x_1079 = lean_array_push(x_958, x_1078); +x_1080 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1080, 0, x_969); +lean_ctor_set(x_1080, 1, x_1079); +x_1081 = lean_array_push(x_1071, x_1080); +x_1082 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1082, 0, x_7); +lean_ctor_set(x_1082, 1, x_1081); +x_1083 = lean_array_push(x_1065, x_1082); +x_1084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1084, 0, x_1054); +lean_ctor_set(x_1084, 1, x_1083); +x_1085 = lean_array_push(x_1056, x_1084); +x_1086 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1086, 0, x_969); +lean_ctor_set(x_1086, 1, x_1085); +x_1087 = lean_array_push(x_958, x_1086); +x_1088 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1089, 0, x_1088); +lean_ctor_set(x_1089, 1, x_1087); +x_1090 = lean_array_push(x_1031, x_1089); +x_1091 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1092 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1092, 0, x_1091); +lean_ctor_set(x_1092, 1, x_1090); +x_1093 = lean_array_push(x_1028, x_1092); +x_1094 = lean_array_push(x_1093, x_989); +x_1095 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_1096 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1096, 0, x_1095); +lean_ctor_set(x_1096, 1, x_1094); +x_1097 = lean_array_push(x_1025, x_1096); +x_1098 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +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_996, x_1099); +x_1101 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1102, 0, x_1101); +lean_ctor_set(x_1102, 1, x_1100); +lean_ctor_set(x_951, 0, x_1102); +return x_949; +} +else +{ +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; 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; +x_1103 = lean_ctor_get(x_951, 0); +lean_inc(x_1103); +lean_dec(x_951); +x_1104 = lean_ctor_get(x_5, 2); +lean_inc(x_1104); +x_1105 = lean_ctor_get(x_5, 1); +lean_inc(x_1105); +lean_dec(x_5); +x_1106 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1103); +x_1107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1107, 0, x_1103); +lean_ctor_set(x_1107, 1, x_1106); +x_1108 = l_Array_empty___closed__1; +x_1109 = lean_array_push(x_1108, x_1107); +x_1110 = lean_array_push(x_1108, x_1); +x_1111 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1104); +lean_inc(x_1105); +x_1112 = l_Lean_addMacroScope(x_1105, x_1111, x_1104); +x_1113 = lean_box(0); +x_1114 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1103); +x_1115 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1115, 0, x_1103); +lean_ctor_set(x_1115, 1, x_1114); +lean_ctor_set(x_1115, 2, x_1112); +lean_ctor_set(x_1115, 3, x_1113); +x_1116 = lean_array_push(x_1108, x_1115); +x_1117 = lean_mk_syntax_ident(x_422); +x_1118 = lean_array_push(x_1108, x_1117); +x_1119 = l_Lean_nullKind___closed__2; +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_1116, x_1120); +x_1122 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +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_1110, x_1123); +x_1125 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1125); +lean_ctor_set(x_1126, 1, x_1124); +x_1127 = lean_array_push(x_1108, x_1126); +x_1128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1128, 0, x_1119); +lean_ctor_set(x_1128, 1, x_1127); +x_1129 = lean_array_push(x_1109, x_1128); +x_1130 = l_term_x5b___x5d___closed__9; +lean_inc(x_1103); +x_1131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1131, 0, x_1103); +lean_ctor_set(x_1131, 1, x_1130); +x_1132 = lean_array_push(x_1129, x_1131); +x_1133 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_1134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1134, 0, x_1133); +lean_ctor_set(x_1134, 1, x_1132); +x_1135 = lean_array_push(x_1108, x_1134); +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1119); +lean_ctor_set(x_1136, 1, x_1135); +x_1137 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1138 = lean_array_push(x_1137, x_1136); +x_1139 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1140 = lean_array_push(x_1138, x_1139); +x_1141 = lean_array_push(x_1140, x_1139); +x_1142 = lean_array_push(x_1141, x_1139); +x_1143 = lean_array_push(x_1142, x_1139); +x_1144 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_1145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1145, 0, x_1144); +lean_ctor_set(x_1145, 1, x_1143); +x_1146 = lean_array_push(x_1108, x_1145); +x_1147 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1103); +x_1148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1148, 0, x_1103); +lean_ctor_set(x_1148, 1, x_1147); +x_1149 = lean_array_push(x_1108, x_1148); +x_1150 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1104); +lean_inc(x_1105); +x_1151 = l_Lean_addMacroScope(x_1105, x_1150, x_1104); +x_1152 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1103); +x_1153 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1153, 0, x_1103); +lean_ctor_set(x_1153, 1, x_1152); +lean_ctor_set(x_1153, 2, x_1151); +lean_ctor_set(x_1153, 3, x_1113); +x_1154 = lean_array_push(x_1108, x_1153); +x_1155 = lean_array_push(x_1154, x_1139); +x_1156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_1157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1157, 0, x_1156); +lean_ctor_set(x_1157, 1, x_1155); +x_1158 = lean_array_push(x_1149, x_1157); +x_1159 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1103); +x_1160 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1160, 0, x_1103); +lean_ctor_set(x_1160, 1, x_1159); +x_1161 = lean_array_push(x_1108, x_1160); +x_1162 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1104); +lean_inc(x_1105); +x_1163 = l_Lean_addMacroScope(x_1105, x_1162, x_1104); +x_1164 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1165 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1103); +x_1166 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1166, 0, x_1103); +lean_ctor_set(x_1166, 1, x_1164); +lean_ctor_set(x_1166, 2, x_1163); +lean_ctor_set(x_1166, 3, x_1165); +x_1167 = lean_array_push(x_1161, x_1166); +x_1168 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1169, 0, x_1168); +lean_ctor_set(x_1169, 1, x_1167); +x_1170 = lean_array_push(x_1108, x_1169); +x_1171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1171, 0, x_1119); +lean_ctor_set(x_1171, 1, x_1170); +x_1172 = lean_array_push(x_1137, x_1171); +x_1173 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_1174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1174, 0, x_1173); +lean_ctor_set(x_1174, 1, x_1172); +x_1175 = lean_array_push(x_1158, x_1174); +x_1176 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1103); +x_1177 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1177, 0, x_1103); +lean_ctor_set(x_1177, 1, x_1176); +x_1178 = lean_array_push(x_1108, x_1177); +x_1179 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1103); +x_1180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1180, 0, x_1103); +lean_ctor_set(x_1180, 1, x_1179); +x_1181 = lean_array_push(x_1108, x_1180); +x_1182 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1103); +x_1183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1183, 0, x_1103); +lean_ctor_set(x_1183, 1, x_1182); +x_1184 = lean_array_push(x_1108, x_1183); +x_1185 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1103); +x_1186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1186, 0, x_1103); +lean_ctor_set(x_1186, 1, x_1185); +x_1187 = lean_array_push(x_1108, x_1186); +lean_inc(x_1187); +x_1188 = lean_array_push(x_1187, x_948); +x_1189 = l_prec_x28___x29___closed__7; +lean_inc(x_1103); +x_1190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1190, 0, x_1103); +lean_ctor_set(x_1190, 1, x_1189); +lean_inc(x_1190); +x_1191 = lean_array_push(x_1188, x_1190); +x_1192 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +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 = lean_array_push(x_1108, x_1193); +x_1195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1195, 0, x_1119); +lean_ctor_set(x_1195, 1, x_1194); +lean_inc(x_1184); +x_1196 = lean_array_push(x_1184, x_1195); +x_1197 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1103); +x_1198 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1198, 0, x_1103); +lean_ctor_set(x_1198, 1, x_1197); +lean_inc(x_1198); +x_1199 = lean_array_push(x_1196, x_1198); +x_1200 = lean_array_push(x_1187, x_3); +lean_inc(x_1190); +x_1201 = lean_array_push(x_1200, x_1190); +x_1202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1202, 0, x_1192); +lean_ctor_set(x_1202, 1, x_1201); +x_1203 = lean_array_push(x_1199, x_1202); +x_1204 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +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 = lean_array_push(x_1108, x_1205); +x_1207 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1103); +x_1208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1208, 0, x_1103); +lean_ctor_set(x_1208, 1, x_1207); +x_1209 = lean_array_push(x_1108, x_1208); +x_1210 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1211, 0, x_1210); +lean_ctor_set(x_1211, 1, x_1209); +x_1212 = lean_array_push(x_1108, x_1211); +x_1213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1213, 0, x_1119); +lean_ctor_set(x_1213, 1, x_1212); +x_1214 = lean_array_push(x_1184, x_1213); +x_1215 = lean_array_push(x_1214, x_1198); +x_1216 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1217 = l_Lean_addMacroScope(x_1105, x_1216, x_1104); +x_1218 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1103); +x_1220 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1220, 0, x_1103); +lean_ctor_set(x_1220, 1, x_1218); +lean_ctor_set(x_1220, 2, x_1217); +lean_ctor_set(x_1220, 3, x_1219); +x_1221 = lean_array_push(x_1108, x_1220); +x_1222 = l_prec_x28___x29___closed__3; +x_1223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1223, 0, x_1103); +lean_ctor_set(x_1223, 1, x_1222); +x_1224 = lean_array_push(x_1108, x_1223); +x_1225 = lean_array_push(x_1224, x_1139); +x_1226 = lean_array_push(x_1225, x_1190); +x_1227 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1228, 0, x_1227); +lean_ctor_set(x_1228, 1, x_1226); +x_1229 = lean_array_push(x_1108, x_1228); +x_1230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1230, 0, x_1119); +lean_ctor_set(x_1230, 1, x_1229); +x_1231 = lean_array_push(x_1221, x_1230); +x_1232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1232, 0, x_7); +lean_ctor_set(x_1232, 1, x_1231); +x_1233 = lean_array_push(x_1215, x_1232); +x_1234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1234, 0, x_1204); +lean_ctor_set(x_1234, 1, x_1233); +x_1235 = lean_array_push(x_1206, x_1234); +x_1236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1236, 0, x_1119); +lean_ctor_set(x_1236, 1, x_1235); +x_1237 = lean_array_push(x_1108, x_1236); +x_1238 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1239, 0, x_1238); +lean_ctor_set(x_1239, 1, x_1237); +x_1240 = lean_array_push(x_1181, x_1239); +x_1241 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1242, 0, x_1241); +lean_ctor_set(x_1242, 1, x_1240); +x_1243 = lean_array_push(x_1178, x_1242); +x_1244 = lean_array_push(x_1243, x_1139); +x_1245 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_1246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1246, 0, x_1245); +lean_ctor_set(x_1246, 1, x_1244); +x_1247 = lean_array_push(x_1175, x_1246); +x_1248 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +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 = lean_array_push(x_1146, x_1249); +x_1251 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1252, 0, x_1251); +lean_ctor_set(x_1252, 1, x_1250); +x_1253 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1253, 0, x_1252); +lean_ctor_set(x_949, 0, x_1253); +return x_949; +} +} +else +{ +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; 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; +x_1254 = lean_ctor_get(x_949, 0); +x_1255 = lean_ctor_get(x_949, 1); +lean_inc(x_1255); +lean_inc(x_1254); +lean_dec(x_949); +x_1256 = lean_ctor_get(x_1254, 0); +lean_inc(x_1256); +if (lean_is_exclusive(x_1254)) { + lean_ctor_release(x_1254, 0); + x_1257 = x_1254; +} else { + lean_dec_ref(x_1254); + x_1257 = lean_box(0); +} +x_1258 = lean_ctor_get(x_5, 2); +lean_inc(x_1258); +x_1259 = lean_ctor_get(x_5, 1); +lean_inc(x_1259); +lean_dec(x_5); +x_1260 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1256); +x_1261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1261, 0, x_1256); +lean_ctor_set(x_1261, 1, x_1260); +x_1262 = l_Array_empty___closed__1; +x_1263 = lean_array_push(x_1262, x_1261); +x_1264 = lean_array_push(x_1262, x_1); +x_1265 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1258); +lean_inc(x_1259); +x_1266 = l_Lean_addMacroScope(x_1259, x_1265, x_1258); +x_1267 = lean_box(0); +x_1268 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1256); +x_1269 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1269, 0, x_1256); +lean_ctor_set(x_1269, 1, x_1268); +lean_ctor_set(x_1269, 2, x_1266); +lean_ctor_set(x_1269, 3, x_1267); +x_1270 = lean_array_push(x_1262, x_1269); +x_1271 = lean_mk_syntax_ident(x_422); +x_1272 = lean_array_push(x_1262, x_1271); +x_1273 = l_Lean_nullKind___closed__2; +x_1274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1274, 0, x_1273); +lean_ctor_set(x_1274, 1, x_1272); +x_1275 = lean_array_push(x_1270, x_1274); +x_1276 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_1277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1277, 0, x_1276); +lean_ctor_set(x_1277, 1, x_1275); +x_1278 = lean_array_push(x_1264, x_1277); +x_1279 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +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_1262, x_1280); +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1273); +lean_ctor_set(x_1282, 1, x_1281); +x_1283 = lean_array_push(x_1263, x_1282); +x_1284 = l_term_x5b___x5d___closed__9; +lean_inc(x_1256); +x_1285 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1285, 0, x_1256); +lean_ctor_set(x_1285, 1, x_1284); +x_1286 = lean_array_push(x_1283, x_1285); +x_1287 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_1288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1288, 0, x_1287); +lean_ctor_set(x_1288, 1, x_1286); +x_1289 = lean_array_push(x_1262, x_1288); +x_1290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1290, 0, x_1273); +lean_ctor_set(x_1290, 1, x_1289); +x_1291 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1292 = lean_array_push(x_1291, x_1290); +x_1293 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1294 = lean_array_push(x_1292, x_1293); +x_1295 = lean_array_push(x_1294, x_1293); +x_1296 = lean_array_push(x_1295, x_1293); +x_1297 = lean_array_push(x_1296, x_1293); +x_1298 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_1299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1299, 0, x_1298); +lean_ctor_set(x_1299, 1, x_1297); +x_1300 = lean_array_push(x_1262, x_1299); +x_1301 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1256); +x_1302 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1302, 0, x_1256); +lean_ctor_set(x_1302, 1, x_1301); +x_1303 = lean_array_push(x_1262, x_1302); +x_1304 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1258); +lean_inc(x_1259); +x_1305 = l_Lean_addMacroScope(x_1259, x_1304, x_1258); +x_1306 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1256); +x_1307 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1307, 0, x_1256); +lean_ctor_set(x_1307, 1, x_1306); +lean_ctor_set(x_1307, 2, x_1305); +lean_ctor_set(x_1307, 3, x_1267); +x_1308 = lean_array_push(x_1262, x_1307); +x_1309 = lean_array_push(x_1308, x_1293); +x_1310 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_1311 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1311, 0, x_1310); +lean_ctor_set(x_1311, 1, x_1309); +x_1312 = lean_array_push(x_1303, x_1311); +x_1313 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1256); +x_1314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1314, 0, x_1256); +lean_ctor_set(x_1314, 1, x_1313); +x_1315 = lean_array_push(x_1262, x_1314); +x_1316 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1258); +lean_inc(x_1259); +x_1317 = l_Lean_addMacroScope(x_1259, x_1316, x_1258); +x_1318 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1319 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1256); +x_1320 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1320, 0, x_1256); +lean_ctor_set(x_1320, 1, x_1318); +lean_ctor_set(x_1320, 2, x_1317); +lean_ctor_set(x_1320, 3, x_1319); +x_1321 = lean_array_push(x_1315, x_1320); +x_1322 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1321); +x_1324 = lean_array_push(x_1262, x_1323); +x_1325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1325, 0, x_1273); +lean_ctor_set(x_1325, 1, x_1324); +x_1326 = lean_array_push(x_1291, x_1325); +x_1327 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_1328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1328, 0, x_1327); +lean_ctor_set(x_1328, 1, x_1326); +x_1329 = lean_array_push(x_1312, x_1328); +x_1330 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1256); +x_1331 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1331, 0, x_1256); +lean_ctor_set(x_1331, 1, x_1330); +x_1332 = lean_array_push(x_1262, x_1331); +x_1333 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1256); +x_1334 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1334, 0, x_1256); +lean_ctor_set(x_1334, 1, x_1333); +x_1335 = lean_array_push(x_1262, x_1334); +x_1336 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1256); +x_1337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1337, 0, x_1256); +lean_ctor_set(x_1337, 1, x_1336); +x_1338 = lean_array_push(x_1262, x_1337); +x_1339 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1256); +x_1340 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1340, 0, x_1256); +lean_ctor_set(x_1340, 1, x_1339); +x_1341 = lean_array_push(x_1262, x_1340); +lean_inc(x_1341); +x_1342 = lean_array_push(x_1341, x_948); +x_1343 = l_prec_x28___x29___closed__7; +lean_inc(x_1256); +x_1344 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1344, 0, x_1256); +lean_ctor_set(x_1344, 1, x_1343); +lean_inc(x_1344); +x_1345 = lean_array_push(x_1342, x_1344); +x_1346 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1347, 0, x_1346); +lean_ctor_set(x_1347, 1, x_1345); +x_1348 = lean_array_push(x_1262, x_1347); +x_1349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1349, 0, x_1273); +lean_ctor_set(x_1349, 1, x_1348); +lean_inc(x_1338); +x_1350 = lean_array_push(x_1338, x_1349); +x_1351 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1256); +x_1352 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1352, 0, x_1256); +lean_ctor_set(x_1352, 1, x_1351); +lean_inc(x_1352); +x_1353 = lean_array_push(x_1350, x_1352); +x_1354 = lean_array_push(x_1341, x_3); +lean_inc(x_1344); +x_1355 = lean_array_push(x_1354, x_1344); +x_1356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1356, 0, x_1346); +lean_ctor_set(x_1356, 1, x_1355); +x_1357 = lean_array_push(x_1353, x_1356); +x_1358 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1359, 0, x_1358); +lean_ctor_set(x_1359, 1, x_1357); +x_1360 = lean_array_push(x_1262, x_1359); +x_1361 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1256); +x_1362 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1362, 0, x_1256); +lean_ctor_set(x_1362, 1, x_1361); +x_1363 = lean_array_push(x_1262, x_1362); +x_1364 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1365, 0, x_1364); +lean_ctor_set(x_1365, 1, x_1363); +x_1366 = lean_array_push(x_1262, x_1365); +x_1367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1367, 0, x_1273); +lean_ctor_set(x_1367, 1, x_1366); +x_1368 = lean_array_push(x_1338, x_1367); +x_1369 = lean_array_push(x_1368, x_1352); +x_1370 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1371 = l_Lean_addMacroScope(x_1259, x_1370, x_1258); +x_1372 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1373 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1256); +x_1374 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1374, 0, x_1256); +lean_ctor_set(x_1374, 1, x_1372); +lean_ctor_set(x_1374, 2, x_1371); +lean_ctor_set(x_1374, 3, x_1373); +x_1375 = lean_array_push(x_1262, x_1374); +x_1376 = l_prec_x28___x29___closed__3; +x_1377 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1377, 0, x_1256); +lean_ctor_set(x_1377, 1, x_1376); +x_1378 = lean_array_push(x_1262, x_1377); +x_1379 = lean_array_push(x_1378, x_1293); +x_1380 = lean_array_push(x_1379, x_1344); +x_1381 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1382, 0, x_1381); +lean_ctor_set(x_1382, 1, x_1380); +x_1383 = lean_array_push(x_1262, x_1382); +x_1384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1384, 0, x_1273); +lean_ctor_set(x_1384, 1, x_1383); +x_1385 = lean_array_push(x_1375, x_1384); +x_1386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1386, 0, x_7); +lean_ctor_set(x_1386, 1, x_1385); +x_1387 = lean_array_push(x_1369, x_1386); +x_1388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1388, 0, x_1358); +lean_ctor_set(x_1388, 1, x_1387); +x_1389 = lean_array_push(x_1360, x_1388); +x_1390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1390, 0, x_1273); +lean_ctor_set(x_1390, 1, x_1389); +x_1391 = lean_array_push(x_1262, x_1390); +x_1392 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1393, 0, x_1392); +lean_ctor_set(x_1393, 1, x_1391); +x_1394 = lean_array_push(x_1335, x_1393); +x_1395 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1396 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1396, 0, x_1395); +lean_ctor_set(x_1396, 1, x_1394); +x_1397 = lean_array_push(x_1332, x_1396); +x_1398 = lean_array_push(x_1397, x_1293); +x_1399 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_1400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1400, 0, x_1399); +lean_ctor_set(x_1400, 1, x_1398); +x_1401 = lean_array_push(x_1329, x_1400); +x_1402 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_1403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1403, 0, x_1402); +lean_ctor_set(x_1403, 1, x_1401); +x_1404 = lean_array_push(x_1300, x_1403); +x_1405 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1406, 0, x_1405); +lean_ctor_set(x_1406, 1, x_1404); +if (lean_is_scalar(x_1257)) { + x_1407 = lean_alloc_ctor(1, 1, 0); +} else { + x_1407 = x_1257; +} +lean_ctor_set(x_1407, 0, x_1406); +x_1408 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1408, 0, x_1407); +lean_ctor_set(x_1408, 1, x_1255); +return x_1408; } } } @@ -27840,2429 +27185,2325 @@ return x_1438; } else { -size_t x_1504; size_t x_1505; uint8_t x_1506; -x_1504 = 0; -x_1505 = lean_usize_of_nat(x_427); -lean_dec(x_427); -x_1506 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5(x_409, x_1504, x_1505); -if (x_1506 == 0) +size_t x_1458; size_t x_1459; uint8_t x_1460; +x_1458 = 0; +x_1459 = lean_usize_of_nat(x_423); +lean_dec(x_423); +x_1460 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_406, x_1458, x_1459); +if (x_1460 == 0) { -uint8_t x_1507; -x_1507 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_1507 == 0) +uint8_t x_1461; +x_1461 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_1461 == 0) { -lean_object* x_1508; -lean_dec(x_426); -lean_dec(x_409); +lean_object* x_1462; +lean_dec(x_422); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1508 = lean_box(0); -lean_ctor_set(x_411, 0, x_1508); -return x_411; +x_1462 = lean_box(0); +lean_ctor_set(x_408, 0, x_1462); +return x_408; } else { -lean_object* x_1509; lean_object* x_1510; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; uint8_t x_2020; -lean_free_object(x_411); -x_2017 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_424); -x_2018 = lean_ctor_get(x_2017, 0); -lean_inc(x_2018); -x_2019 = lean_ctor_get(x_2017, 1); -lean_inc(x_2019); -lean_dec(x_2017); -x_2020 = !lean_is_exclusive(x_2018); -if (x_2020 == 0) +lean_object* x_1463; lean_object* x_1464; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; uint8_t x_1961; +lean_free_object(x_408); +x_1958 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_420); +x_1959 = lean_ctor_get(x_1958, 0); +lean_inc(x_1959); +x_1960 = lean_ctor_get(x_1958, 1); +lean_inc(x_1960); +lean_dec(x_1958); +x_1961 = !lean_is_exclusive(x_1959); +if (x_1961 == 0) { -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; -x_2021 = lean_ctor_get(x_2018, 0); -x_2022 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2019); -x_2023 = lean_ctor_get(x_2022, 1); -lean_inc(x_2023); -lean_dec(x_2022); -x_2024 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2023); -x_2025 = lean_ctor_get(x_2024, 1); -lean_inc(x_2025); -lean_dec(x_2024); -x_2026 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_2027 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2027, 0, x_2021); -lean_ctor_set(x_2027, 1, x_2026); -x_2028 = l_Array_empty___closed__1; -x_2029 = lean_array_push(x_2028, x_2027); -x_2030 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2031 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2031, 0, x_2030); -lean_ctor_set(x_2031, 1, x_2029); -lean_ctor_set(x_2018, 0, x_2031); -x_1509 = x_2018; -x_1510 = x_2025; -goto block_2016; +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; +x_1962 = lean_ctor_get(x_1959, 0); +x_1963 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_1964 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1964, 0, x_1962); +lean_ctor_set(x_1964, 1, x_1963); +x_1965 = l_Array_empty___closed__1; +x_1966 = lean_array_push(x_1965, x_1964); +x_1967 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1968 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1968, 0, x_1967); +lean_ctor_set(x_1968, 1, x_1966); +lean_ctor_set(x_1959, 0, x_1968); +x_1463 = x_1959; +x_1464 = x_1960; +goto block_1957; } else { -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; -x_2032 = lean_ctor_get(x_2018, 0); -lean_inc(x_2032); -lean_dec(x_2018); -x_2033 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2019); -x_2034 = lean_ctor_get(x_2033, 1); -lean_inc(x_2034); -lean_dec(x_2033); -x_2035 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2034); -x_2036 = lean_ctor_get(x_2035, 1); -lean_inc(x_2036); -lean_dec(x_2035); -x_2037 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_2038 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2038, 0, x_2032); -lean_ctor_set(x_2038, 1, x_2037); -x_2039 = l_Array_empty___closed__1; -x_2040 = lean_array_push(x_2039, x_2038); -x_2041 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2042 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2042, 0, x_2041); -lean_ctor_set(x_2042, 1, x_2040); -x_2043 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2043, 0, x_2042); -x_1509 = x_2043; -x_1510 = x_2036; -goto block_2016; +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; +x_1969 = lean_ctor_get(x_1959, 0); +lean_inc(x_1969); +lean_dec(x_1959); +x_1970 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_1971 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1971, 0, x_1969); +lean_ctor_set(x_1971, 1, x_1970); +x_1972 = l_Array_empty___closed__1; +x_1973 = lean_array_push(x_1972, x_1971); +x_1974 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1975 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1975, 0, x_1974); +lean_ctor_set(x_1975, 1, x_1973); +x_1976 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1976, 0, x_1975); +x_1463 = x_1976; +x_1464 = x_1960; +goto block_1957; } -block_2016: +block_1957: { -lean_object* x_1511; lean_object* x_1512; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; uint8_t x_1983; -x_1980 = lean_ctor_get(x_1509, 0); -lean_inc(x_1980); -lean_dec(x_1509); -x_1981 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_1510); -x_1982 = lean_ctor_get(x_1981, 0); -lean_inc(x_1982); -x_1983 = !lean_is_exclusive(x_1982); -if (x_1983 == 0) +lean_object* x_1465; lean_object* x_1466; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; uint8_t x_1932; +x_1929 = lean_ctor_get(x_1463, 0); +lean_inc(x_1929); +lean_dec(x_1463); +x_1930 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1464); +x_1931 = lean_ctor_get(x_1930, 0); +lean_inc(x_1931); +x_1932 = !lean_is_exclusive(x_1931); +if (x_1932 == 0) { -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; -x_1984 = lean_ctor_get(x_1982, 0); -lean_dec(x_1984); -x_1985 = lean_ctor_get(x_1981, 1); -lean_inc(x_1985); -lean_dec(x_1981); -x_1986 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1985); -x_1987 = lean_ctor_get(x_1986, 1); -lean_inc(x_1987); -lean_dec(x_1986); -x_1988 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1987); -x_1989 = lean_ctor_get(x_1988, 1); +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; +x_1933 = lean_ctor_get(x_1931, 0); +lean_dec(x_1933); +x_1934 = lean_ctor_get(x_1930, 1); +lean_inc(x_1934); +lean_dec(x_1930); +x_1935 = lean_box(0); +x_1936 = lean_box(0); +x_1937 = l_Lean_Syntax_mkAntiquotNode(x_1929, x_398, x_1935, x_1936); +x_1938 = l_Array_empty___closed__1; +x_1939 = lean_array_push(x_1938, x_1937); +x_1940 = l_Array_appendCore___rarg(x_1938, x_406); +lean_dec(x_406); +x_1941 = l_Lean_nullKind___closed__2; +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 = lean_array_push(x_1939, x_1942); +x_1944 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1944, 0, x_7); +lean_ctor_set(x_1944, 1, x_1943); +lean_ctor_set(x_1931, 0, x_1944); +x_1465 = x_1931; +x_1466 = x_1934; +goto block_1928; +} +else +{ +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_dec(x_1931); +x_1945 = lean_ctor_get(x_1930, 1); +lean_inc(x_1945); +lean_dec(x_1930); +x_1946 = lean_box(0); +x_1947 = lean_box(0); +x_1948 = l_Lean_Syntax_mkAntiquotNode(x_1929, x_398, x_1946, x_1947); +x_1949 = l_Array_empty___closed__1; +x_1950 = lean_array_push(x_1949, x_1948); +x_1951 = l_Array_appendCore___rarg(x_1949, x_406); +lean_dec(x_406); +x_1952 = l_Lean_nullKind___closed__2; +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_1950, x_1953); +x_1955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1955, 0, x_7); +lean_ctor_set(x_1955, 1, x_1954); +x_1956 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1956, 0, x_1955); +x_1465 = x_1956; +x_1466 = x_1945; +goto block_1928; +} +block_1928: +{ +lean_object* x_1467; lean_object* x_1468; uint8_t x_1469; +x_1467 = lean_ctor_get(x_1465, 0); +lean_inc(x_1467); +lean_dec(x_1465); +x_1468 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1466); +x_1469 = !lean_is_exclusive(x_1468); +if (x_1469 == 0) +{ +lean_object* x_1470; uint8_t x_1471; +x_1470 = lean_ctor_get(x_1468, 0); +x_1471 = !lean_is_exclusive(x_1470); +if (x_1471 == 0) +{ +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; 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; +x_1472 = lean_ctor_get(x_1470, 0); +x_1473 = lean_ctor_get(x_5, 2); +lean_inc(x_1473); +x_1474 = lean_ctor_get(x_5, 1); +lean_inc(x_1474); +lean_dec(x_5); +x_1475 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1472); +x_1476 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1476, 0, x_1472); +lean_ctor_set(x_1476, 1, x_1475); +x_1477 = l_Array_empty___closed__1; +x_1478 = lean_array_push(x_1477, x_1476); +x_1479 = lean_array_push(x_1477, x_1); +x_1480 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1473); +lean_inc(x_1474); +x_1481 = l_Lean_addMacroScope(x_1474, x_1480, x_1473); +x_1482 = lean_box(0); +x_1483 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1472); +x_1484 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1484, 0, x_1472); +lean_ctor_set(x_1484, 1, x_1483); +lean_ctor_set(x_1484, 2, x_1481); +lean_ctor_set(x_1484, 3, x_1482); +x_1485 = lean_array_push(x_1477, x_1484); +x_1486 = lean_mk_syntax_ident(x_422); +x_1487 = lean_array_push(x_1477, x_1486); +x_1488 = l_Lean_nullKind___closed__2; +x_1489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1489, 0, x_1488); +lean_ctor_set(x_1489, 1, x_1487); +x_1490 = lean_array_push(x_1485, x_1489); +x_1491 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_1492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1492, 0, x_1491); +lean_ctor_set(x_1492, 1, x_1490); +x_1493 = lean_array_push(x_1479, x_1492); +x_1494 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_1495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1495, 0, x_1494); +lean_ctor_set(x_1495, 1, x_1493); +x_1496 = lean_array_push(x_1477, x_1495); +x_1497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1497, 0, x_1488); +lean_ctor_set(x_1497, 1, x_1496); +x_1498 = lean_array_push(x_1478, x_1497); +x_1499 = l_term_x5b___x5d___closed__9; +lean_inc(x_1472); +x_1500 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1500, 0, x_1472); +lean_ctor_set(x_1500, 1, x_1499); +x_1501 = lean_array_push(x_1498, x_1500); +x_1502 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_1503 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1503, 0, x_1502); +lean_ctor_set(x_1503, 1, x_1501); +x_1504 = lean_array_push(x_1477, x_1503); +x_1505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1505, 0, x_1488); +lean_ctor_set(x_1505, 1, x_1504); +x_1506 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1507 = lean_array_push(x_1506, x_1505); +x_1508 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1509 = lean_array_push(x_1507, x_1508); +x_1510 = lean_array_push(x_1509, x_1508); +x_1511 = lean_array_push(x_1510, x_1508); +x_1512 = lean_array_push(x_1511, x_1508); +x_1513 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_1514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1514, 0, x_1513); +lean_ctor_set(x_1514, 1, x_1512); +x_1515 = lean_array_push(x_1477, x_1514); +x_1516 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1472); +x_1517 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1517, 0, x_1472); +lean_ctor_set(x_1517, 1, x_1516); +x_1518 = lean_array_push(x_1477, x_1517); +x_1519 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1473); +lean_inc(x_1474); +x_1520 = l_Lean_addMacroScope(x_1474, x_1519, x_1473); +x_1521 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1472); +x_1522 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1522, 0, x_1472); +lean_ctor_set(x_1522, 1, x_1521); +lean_ctor_set(x_1522, 2, x_1520); +lean_ctor_set(x_1522, 3, x_1482); +x_1523 = lean_array_push(x_1477, x_1522); +x_1524 = lean_array_push(x_1523, x_1508); +x_1525 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_1526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1526, 0, x_1525); +lean_ctor_set(x_1526, 1, x_1524); +x_1527 = lean_array_push(x_1518, x_1526); +x_1528 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1472); +x_1529 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1529, 0, x_1472); +lean_ctor_set(x_1529, 1, x_1528); +x_1530 = lean_array_push(x_1477, x_1529); +x_1531 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1473); +lean_inc(x_1474); +x_1532 = l_Lean_addMacroScope(x_1474, x_1531, x_1473); +x_1533 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1534 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1472); +x_1535 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1535, 0, x_1472); +lean_ctor_set(x_1535, 1, x_1533); +lean_ctor_set(x_1535, 2, x_1532); +lean_ctor_set(x_1535, 3, x_1534); +x_1536 = lean_array_push(x_1530, x_1535); +x_1537 = l_Lean_expandExplicitBindersAux_loop___closed__4; +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_1477, x_1538); +x_1540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1540, 0, x_1488); +lean_ctor_set(x_1540, 1, x_1539); +x_1541 = lean_array_push(x_1506, x_1540); +x_1542 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_1543 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1543, 0, x_1542); +lean_ctor_set(x_1543, 1, x_1541); +x_1544 = lean_array_push(x_1527, x_1543); +x_1545 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1472); +x_1546 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1546, 0, x_1472); +lean_ctor_set(x_1546, 1, x_1545); +x_1547 = lean_array_push(x_1477, x_1546); +x_1548 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1472); +x_1549 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1549, 0, x_1472); +lean_ctor_set(x_1549, 1, x_1548); +x_1550 = lean_array_push(x_1477, x_1549); +x_1551 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1472); +x_1552 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1552, 0, x_1472); +lean_ctor_set(x_1552, 1, x_1551); +x_1553 = lean_array_push(x_1477, x_1552); +x_1554 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1472); +x_1555 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1555, 0, x_1472); +lean_ctor_set(x_1555, 1, x_1554); +x_1556 = lean_array_push(x_1477, x_1555); +lean_inc(x_1556); +x_1557 = lean_array_push(x_1556, x_1467); +x_1558 = l_prec_x28___x29___closed__7; +lean_inc(x_1472); +x_1559 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1559, 0, x_1472); +lean_ctor_set(x_1559, 1, x_1558); +lean_inc(x_1559); +x_1560 = lean_array_push(x_1557, x_1559); +x_1561 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1562, 0, x_1561); +lean_ctor_set(x_1562, 1, x_1560); +x_1563 = lean_array_push(x_1477, x_1562); +x_1564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1564, 0, x_1488); +lean_ctor_set(x_1564, 1, x_1563); +lean_inc(x_1553); +x_1565 = lean_array_push(x_1553, x_1564); +x_1566 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1472); +x_1567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1567, 0, x_1472); +lean_ctor_set(x_1567, 1, x_1566); +lean_inc(x_1567); +x_1568 = lean_array_push(x_1565, x_1567); +x_1569 = lean_array_push(x_1556, x_3); +lean_inc(x_1559); +x_1570 = lean_array_push(x_1569, x_1559); +x_1571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1571, 0, x_1561); +lean_ctor_set(x_1571, 1, x_1570); +x_1572 = lean_array_push(x_1568, x_1571); +x_1573 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1574, 0, x_1573); +lean_ctor_set(x_1574, 1, x_1572); +x_1575 = lean_array_push(x_1477, x_1574); +x_1576 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1472); +x_1577 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1577, 0, x_1472); +lean_ctor_set(x_1577, 1, x_1576); +x_1578 = lean_array_push(x_1477, x_1577); +x_1579 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_1477, x_1580); +x_1582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1582, 0, x_1488); +lean_ctor_set(x_1582, 1, x_1581); +x_1583 = lean_array_push(x_1553, x_1582); +x_1584 = lean_array_push(x_1583, x_1567); +x_1585 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1586 = l_Lean_addMacroScope(x_1474, x_1585, x_1473); +x_1587 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1588 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1472); +x_1589 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1589, 0, x_1472); +lean_ctor_set(x_1589, 1, x_1587); +lean_ctor_set(x_1589, 2, x_1586); +lean_ctor_set(x_1589, 3, x_1588); +x_1590 = lean_array_push(x_1477, x_1589); +x_1591 = l_prec_x28___x29___closed__3; +x_1592 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1592, 0, x_1472); +lean_ctor_set(x_1592, 1, x_1591); +x_1593 = lean_array_push(x_1477, x_1592); +x_1594 = lean_array_push(x_1593, x_1508); +x_1595 = lean_array_push(x_1594, x_1559); +x_1596 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1596); +lean_ctor_set(x_1597, 1, x_1595); +x_1598 = lean_array_push(x_1477, x_1597); +x_1599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1599, 0, x_1488); +lean_ctor_set(x_1599, 1, x_1598); +x_1600 = lean_array_push(x_1590, x_1599); +x_1601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1601, 0, x_7); +lean_ctor_set(x_1601, 1, x_1600); +x_1602 = lean_array_push(x_1584, x_1601); +x_1603 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1603, 0, x_1573); +lean_ctor_set(x_1603, 1, x_1602); +x_1604 = lean_array_push(x_1575, x_1603); +x_1605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1605, 0, x_1488); +lean_ctor_set(x_1605, 1, x_1604); +x_1606 = lean_array_push(x_1477, x_1605); +x_1607 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1608, 0, x_1607); +lean_ctor_set(x_1608, 1, x_1606); +x_1609 = lean_array_push(x_1550, x_1608); +x_1610 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1611, 0, x_1610); +lean_ctor_set(x_1611, 1, x_1609); +x_1612 = lean_array_push(x_1547, x_1611); +x_1613 = lean_array_push(x_1612, x_1508); +x_1614 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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 = lean_array_push(x_1544, x_1615); +x_1617 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_1618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1618, 0, x_1617); +lean_ctor_set(x_1618, 1, x_1616); +x_1619 = lean_array_push(x_1515, x_1618); +x_1620 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1621, 0, x_1620); +lean_ctor_set(x_1621, 1, x_1619); +lean_ctor_set(x_1470, 0, x_1621); +return x_1468; +} +else +{ +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; 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; +x_1622 = lean_ctor_get(x_1470, 0); +lean_inc(x_1622); +lean_dec(x_1470); +x_1623 = lean_ctor_get(x_5, 2); +lean_inc(x_1623); +x_1624 = lean_ctor_get(x_5, 1); +lean_inc(x_1624); +lean_dec(x_5); +x_1625 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1622); +x_1626 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1626, 0, x_1622); +lean_ctor_set(x_1626, 1, x_1625); +x_1627 = l_Array_empty___closed__1; +x_1628 = lean_array_push(x_1627, x_1626); +x_1629 = lean_array_push(x_1627, x_1); +x_1630 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1623); +lean_inc(x_1624); +x_1631 = l_Lean_addMacroScope(x_1624, x_1630, x_1623); +x_1632 = lean_box(0); +x_1633 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1622); +x_1634 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1634, 0, x_1622); +lean_ctor_set(x_1634, 1, x_1633); +lean_ctor_set(x_1634, 2, x_1631); +lean_ctor_set(x_1634, 3, x_1632); +x_1635 = lean_array_push(x_1627, x_1634); +x_1636 = lean_mk_syntax_ident(x_422); +x_1637 = lean_array_push(x_1627, x_1636); +x_1638 = l_Lean_nullKind___closed__2; +x_1639 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1639, 0, x_1638); +lean_ctor_set(x_1639, 1, x_1637); +x_1640 = lean_array_push(x_1635, x_1639); +x_1641 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_1642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1642, 0, x_1641); +lean_ctor_set(x_1642, 1, x_1640); +x_1643 = lean_array_push(x_1629, x_1642); +x_1644 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_1645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1645, 0, x_1644); +lean_ctor_set(x_1645, 1, x_1643); +x_1646 = lean_array_push(x_1627, x_1645); +x_1647 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1647, 0, x_1638); +lean_ctor_set(x_1647, 1, x_1646); +x_1648 = lean_array_push(x_1628, x_1647); +x_1649 = l_term_x5b___x5d___closed__9; +lean_inc(x_1622); +x_1650 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1650, 0, x_1622); +lean_ctor_set(x_1650, 1, x_1649); +x_1651 = lean_array_push(x_1648, x_1650); +x_1652 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_1653 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1653, 0, x_1652); +lean_ctor_set(x_1653, 1, x_1651); +x_1654 = lean_array_push(x_1627, x_1653); +x_1655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1655, 0, x_1638); +lean_ctor_set(x_1655, 1, x_1654); +x_1656 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1657 = lean_array_push(x_1656, x_1655); +x_1658 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1659 = lean_array_push(x_1657, x_1658); +x_1660 = lean_array_push(x_1659, x_1658); +x_1661 = lean_array_push(x_1660, x_1658); +x_1662 = lean_array_push(x_1661, x_1658); +x_1663 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_1664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1664, 0, x_1663); +lean_ctor_set(x_1664, 1, x_1662); +x_1665 = lean_array_push(x_1627, x_1664); +x_1666 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1622); +x_1667 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1667, 0, x_1622); +lean_ctor_set(x_1667, 1, x_1666); +x_1668 = lean_array_push(x_1627, x_1667); +x_1669 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1623); +lean_inc(x_1624); +x_1670 = l_Lean_addMacroScope(x_1624, x_1669, x_1623); +x_1671 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1622); +x_1672 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1672, 0, x_1622); +lean_ctor_set(x_1672, 1, x_1671); +lean_ctor_set(x_1672, 2, x_1670); +lean_ctor_set(x_1672, 3, x_1632); +x_1673 = lean_array_push(x_1627, x_1672); +x_1674 = lean_array_push(x_1673, x_1658); +x_1675 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +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_1668, x_1676); +x_1678 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1622); +x_1679 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1679, 0, x_1622); +lean_ctor_set(x_1679, 1, x_1678); +x_1680 = lean_array_push(x_1627, x_1679); +x_1681 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1623); +lean_inc(x_1624); +x_1682 = l_Lean_addMacroScope(x_1624, x_1681, x_1623); +x_1683 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1684 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1622); +x_1685 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1685, 0, x_1622); +lean_ctor_set(x_1685, 1, x_1683); +lean_ctor_set(x_1685, 2, x_1682); +lean_ctor_set(x_1685, 3, x_1684); +x_1686 = lean_array_push(x_1680, x_1685); +x_1687 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1688 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1688, 0, x_1687); +lean_ctor_set(x_1688, 1, x_1686); +x_1689 = lean_array_push(x_1627, x_1688); +x_1690 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1690, 0, x_1638); +lean_ctor_set(x_1690, 1, x_1689); +x_1691 = lean_array_push(x_1656, x_1690); +x_1692 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_1693 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1693, 0, x_1692); +lean_ctor_set(x_1693, 1, x_1691); +x_1694 = lean_array_push(x_1677, x_1693); +x_1695 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1622); +x_1696 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1696, 0, x_1622); +lean_ctor_set(x_1696, 1, x_1695); +x_1697 = lean_array_push(x_1627, x_1696); +x_1698 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1622); +x_1699 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1699, 0, x_1622); +lean_ctor_set(x_1699, 1, x_1698); +x_1700 = lean_array_push(x_1627, x_1699); +x_1701 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1622); +x_1702 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1702, 0, x_1622); +lean_ctor_set(x_1702, 1, x_1701); +x_1703 = lean_array_push(x_1627, x_1702); +x_1704 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1622); +x_1705 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1705, 0, x_1622); +lean_ctor_set(x_1705, 1, x_1704); +x_1706 = lean_array_push(x_1627, x_1705); +lean_inc(x_1706); +x_1707 = lean_array_push(x_1706, x_1467); +x_1708 = l_prec_x28___x29___closed__7; +lean_inc(x_1622); +x_1709 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1709, 0, x_1622); +lean_ctor_set(x_1709, 1, x_1708); +lean_inc(x_1709); +x_1710 = lean_array_push(x_1707, x_1709); +x_1711 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1712 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1712, 0, x_1711); +lean_ctor_set(x_1712, 1, x_1710); +x_1713 = lean_array_push(x_1627, x_1712); +x_1714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1714, 0, x_1638); +lean_ctor_set(x_1714, 1, x_1713); +lean_inc(x_1703); +x_1715 = lean_array_push(x_1703, x_1714); +x_1716 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1622); +x_1717 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1717, 0, x_1622); +lean_ctor_set(x_1717, 1, x_1716); +lean_inc(x_1717); +x_1718 = lean_array_push(x_1715, x_1717); +x_1719 = lean_array_push(x_1706, x_3); +lean_inc(x_1709); +x_1720 = lean_array_push(x_1719, x_1709); +x_1721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1721, 0, x_1711); +lean_ctor_set(x_1721, 1, x_1720); +x_1722 = lean_array_push(x_1718, x_1721); +x_1723 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1724, 0, x_1723); +lean_ctor_set(x_1724, 1, x_1722); +x_1725 = lean_array_push(x_1627, x_1724); +x_1726 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1622); +x_1727 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1727, 0, x_1622); +lean_ctor_set(x_1727, 1, x_1726); +x_1728 = lean_array_push(x_1627, x_1727); +x_1729 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +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_1627, x_1730); +x_1732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1732, 0, x_1638); +lean_ctor_set(x_1732, 1, x_1731); +x_1733 = lean_array_push(x_1703, x_1732); +x_1734 = lean_array_push(x_1733, x_1717); +x_1735 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1736 = l_Lean_addMacroScope(x_1624, x_1735, x_1623); +x_1737 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1738 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1622); +x_1739 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1739, 0, x_1622); +lean_ctor_set(x_1739, 1, x_1737); +lean_ctor_set(x_1739, 2, x_1736); +lean_ctor_set(x_1739, 3, x_1738); +x_1740 = lean_array_push(x_1627, x_1739); +x_1741 = l_prec_x28___x29___closed__3; +x_1742 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1742, 0, x_1622); +lean_ctor_set(x_1742, 1, x_1741); +x_1743 = lean_array_push(x_1627, x_1742); +x_1744 = lean_array_push(x_1743, x_1658); +x_1745 = lean_array_push(x_1744, x_1709); +x_1746 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1747, 0, x_1746); +lean_ctor_set(x_1747, 1, x_1745); +x_1748 = lean_array_push(x_1627, x_1747); +x_1749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1749, 0, x_1638); +lean_ctor_set(x_1749, 1, x_1748); +x_1750 = lean_array_push(x_1740, x_1749); +x_1751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1751, 0, x_7); +lean_ctor_set(x_1751, 1, x_1750); +x_1752 = lean_array_push(x_1734, x_1751); +x_1753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1753, 0, x_1723); +lean_ctor_set(x_1753, 1, x_1752); +x_1754 = lean_array_push(x_1725, x_1753); +x_1755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1755, 0, x_1638); +lean_ctor_set(x_1755, 1, x_1754); +x_1756 = lean_array_push(x_1627, x_1755); +x_1757 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1758 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1758, 0, x_1757); +lean_ctor_set(x_1758, 1, x_1756); +x_1759 = lean_array_push(x_1700, x_1758); +x_1760 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +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 = lean_array_push(x_1697, x_1761); +x_1763 = lean_array_push(x_1762, x_1658); +x_1764 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_1765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1765, 0, x_1764); +lean_ctor_set(x_1765, 1, x_1763); +x_1766 = lean_array_push(x_1694, x_1765); +x_1767 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_1768 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1768, 0, x_1767); +lean_ctor_set(x_1768, 1, x_1766); +x_1769 = lean_array_push(x_1665, x_1768); +x_1770 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1771, 0, x_1770); +lean_ctor_set(x_1771, 1, x_1769); +x_1772 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1772, 0, x_1771); +lean_ctor_set(x_1468, 0, x_1772); +return x_1468; +} +} +else +{ +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; 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; +x_1773 = lean_ctor_get(x_1468, 0); +x_1774 = lean_ctor_get(x_1468, 1); +lean_inc(x_1774); +lean_inc(x_1773); +lean_dec(x_1468); +x_1775 = lean_ctor_get(x_1773, 0); +lean_inc(x_1775); +if (lean_is_exclusive(x_1773)) { + lean_ctor_release(x_1773, 0); + x_1776 = x_1773; +} else { + lean_dec_ref(x_1773); + x_1776 = lean_box(0); +} +x_1777 = lean_ctor_get(x_5, 2); +lean_inc(x_1777); +x_1778 = lean_ctor_get(x_5, 1); +lean_inc(x_1778); +lean_dec(x_5); +x_1779 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1775); +x_1780 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1780, 0, x_1775); +lean_ctor_set(x_1780, 1, x_1779); +x_1781 = l_Array_empty___closed__1; +x_1782 = lean_array_push(x_1781, x_1780); +x_1783 = lean_array_push(x_1781, x_1); +x_1784 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1777); +lean_inc(x_1778); +x_1785 = l_Lean_addMacroScope(x_1778, x_1784, x_1777); +x_1786 = lean_box(0); +x_1787 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1775); +x_1788 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1788, 0, x_1775); +lean_ctor_set(x_1788, 1, x_1787); +lean_ctor_set(x_1788, 2, x_1785); +lean_ctor_set(x_1788, 3, x_1786); +x_1789 = lean_array_push(x_1781, x_1788); +x_1790 = lean_mk_syntax_ident(x_422); +x_1791 = lean_array_push(x_1781, x_1790); +x_1792 = l_Lean_nullKind___closed__2; +x_1793 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1793, 0, x_1792); +lean_ctor_set(x_1793, 1, x_1791); +x_1794 = lean_array_push(x_1789, x_1793); +x_1795 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_1796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1796, 0, x_1795); +lean_ctor_set(x_1796, 1, x_1794); +x_1797 = lean_array_push(x_1783, x_1796); +x_1798 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_1799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1799, 0, x_1798); +lean_ctor_set(x_1799, 1, x_1797); +x_1800 = lean_array_push(x_1781, x_1799); +x_1801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1801, 0, x_1792); +lean_ctor_set(x_1801, 1, x_1800); +x_1802 = lean_array_push(x_1782, x_1801); +x_1803 = l_term_x5b___x5d___closed__9; +lean_inc(x_1775); +x_1804 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1804, 0, x_1775); +lean_ctor_set(x_1804, 1, x_1803); +x_1805 = lean_array_push(x_1802, x_1804); +x_1806 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +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 = lean_array_push(x_1781, x_1807); +x_1809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1809, 0, x_1792); +lean_ctor_set(x_1809, 1, x_1808); +x_1810 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1811 = lean_array_push(x_1810, x_1809); +x_1812 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1813 = lean_array_push(x_1811, x_1812); +x_1814 = lean_array_push(x_1813, x_1812); +x_1815 = lean_array_push(x_1814, x_1812); +x_1816 = lean_array_push(x_1815, x_1812); +x_1817 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_1818 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1818, 0, x_1817); +lean_ctor_set(x_1818, 1, x_1816); +x_1819 = lean_array_push(x_1781, x_1818); +x_1820 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1775); +x_1821 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1821, 0, x_1775); +lean_ctor_set(x_1821, 1, x_1820); +x_1822 = lean_array_push(x_1781, x_1821); +x_1823 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1777); +lean_inc(x_1778); +x_1824 = l_Lean_addMacroScope(x_1778, x_1823, x_1777); +x_1825 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1775); +x_1826 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1826, 0, x_1775); +lean_ctor_set(x_1826, 1, x_1825); +lean_ctor_set(x_1826, 2, x_1824); +lean_ctor_set(x_1826, 3, x_1786); +x_1827 = lean_array_push(x_1781, x_1826); +x_1828 = lean_array_push(x_1827, x_1812); +x_1829 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_1830 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1830, 0, x_1829); +lean_ctor_set(x_1830, 1, x_1828); +x_1831 = lean_array_push(x_1822, x_1830); +x_1832 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1775); +x_1833 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1833, 0, x_1775); +lean_ctor_set(x_1833, 1, x_1832); +x_1834 = lean_array_push(x_1781, x_1833); +x_1835 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1777); +lean_inc(x_1778); +x_1836 = l_Lean_addMacroScope(x_1778, x_1835, x_1777); +x_1837 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1838 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1775); +x_1839 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1839, 0, x_1775); +lean_ctor_set(x_1839, 1, x_1837); +lean_ctor_set(x_1839, 2, x_1836); +lean_ctor_set(x_1839, 3, x_1838); +x_1840 = lean_array_push(x_1834, x_1839); +x_1841 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1842 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1842, 0, x_1841); +lean_ctor_set(x_1842, 1, x_1840); +x_1843 = lean_array_push(x_1781, x_1842); +x_1844 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1844, 0, x_1792); +lean_ctor_set(x_1844, 1, x_1843); +x_1845 = lean_array_push(x_1810, x_1844); +x_1846 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_1847 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1847, 0, x_1846); +lean_ctor_set(x_1847, 1, x_1845); +x_1848 = lean_array_push(x_1831, x_1847); +x_1849 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1775); +x_1850 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1850, 0, x_1775); +lean_ctor_set(x_1850, 1, x_1849); +x_1851 = lean_array_push(x_1781, x_1850); +x_1852 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1775); +x_1853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1853, 0, x_1775); +lean_ctor_set(x_1853, 1, x_1852); +x_1854 = lean_array_push(x_1781, x_1853); +x_1855 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1775); +x_1856 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1856, 0, x_1775); +lean_ctor_set(x_1856, 1, x_1855); +x_1857 = lean_array_push(x_1781, x_1856); +x_1858 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1775); +x_1859 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1859, 0, x_1775); +lean_ctor_set(x_1859, 1, x_1858); +x_1860 = lean_array_push(x_1781, x_1859); +lean_inc(x_1860); +x_1861 = lean_array_push(x_1860, x_1467); +x_1862 = l_prec_x28___x29___closed__7; +lean_inc(x_1775); +x_1863 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1863, 0, x_1775); +lean_ctor_set(x_1863, 1, x_1862); +lean_inc(x_1863); +x_1864 = lean_array_push(x_1861, x_1863); +x_1865 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1866, 0, x_1865); +lean_ctor_set(x_1866, 1, x_1864); +x_1867 = lean_array_push(x_1781, x_1866); +x_1868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1868, 0, x_1792); +lean_ctor_set(x_1868, 1, x_1867); +lean_inc(x_1857); +x_1869 = lean_array_push(x_1857, x_1868); +x_1870 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1775); +x_1871 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1871, 0, x_1775); +lean_ctor_set(x_1871, 1, x_1870); +lean_inc(x_1871); +x_1872 = lean_array_push(x_1869, x_1871); +x_1873 = lean_array_push(x_1860, x_3); +lean_inc(x_1863); +x_1874 = lean_array_push(x_1873, x_1863); +x_1875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1875, 0, x_1865); +lean_ctor_set(x_1875, 1, x_1874); +x_1876 = lean_array_push(x_1872, x_1875); +x_1877 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1878, 0, x_1877); +lean_ctor_set(x_1878, 1, x_1876); +x_1879 = lean_array_push(x_1781, x_1878); +x_1880 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1775); +x_1881 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1881, 0, x_1775); +lean_ctor_set(x_1881, 1, x_1880); +x_1882 = lean_array_push(x_1781, x_1881); +x_1883 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_1884 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1884, 0, x_1883); +lean_ctor_set(x_1884, 1, x_1882); +x_1885 = lean_array_push(x_1781, x_1884); +x_1886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1886, 0, x_1792); +lean_ctor_set(x_1886, 1, x_1885); +x_1887 = lean_array_push(x_1857, x_1886); +x_1888 = lean_array_push(x_1887, x_1871); +x_1889 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_1890 = l_Lean_addMacroScope(x_1778, x_1889, x_1777); +x_1891 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_1892 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1775); +x_1893 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1893, 0, x_1775); +lean_ctor_set(x_1893, 1, x_1891); +lean_ctor_set(x_1893, 2, x_1890); +lean_ctor_set(x_1893, 3, x_1892); +x_1894 = lean_array_push(x_1781, x_1893); +x_1895 = l_prec_x28___x29___closed__3; +x_1896 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1896, 0, x_1775); +lean_ctor_set(x_1896, 1, x_1895); +x_1897 = lean_array_push(x_1781, x_1896); +x_1898 = lean_array_push(x_1897, x_1812); +x_1899 = lean_array_push(x_1898, x_1863); +x_1900 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1901 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1901, 0, x_1900); +lean_ctor_set(x_1901, 1, x_1899); +x_1902 = lean_array_push(x_1781, x_1901); +x_1903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1903, 0, x_1792); +lean_ctor_set(x_1903, 1, x_1902); +x_1904 = lean_array_push(x_1894, x_1903); +x_1905 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1905, 0, x_7); +lean_ctor_set(x_1905, 1, x_1904); +x_1906 = lean_array_push(x_1888, x_1905); +x_1907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1907, 0, x_1877); +lean_ctor_set(x_1907, 1, x_1906); +x_1908 = lean_array_push(x_1879, x_1907); +x_1909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1909, 0, x_1792); +lean_ctor_set(x_1909, 1, x_1908); +x_1910 = lean_array_push(x_1781, x_1909); +x_1911 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1912, 0, x_1911); +lean_ctor_set(x_1912, 1, x_1910); +x_1913 = lean_array_push(x_1854, x_1912); +x_1914 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1915, 0, x_1914); +lean_ctor_set(x_1915, 1, x_1913); +x_1916 = lean_array_push(x_1851, x_1915); +x_1917 = lean_array_push(x_1916, x_1812); +x_1918 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +x_1919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1919, 0, x_1918); +lean_ctor_set(x_1919, 1, x_1917); +x_1920 = lean_array_push(x_1848, x_1919); +x_1921 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_1922 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1922, 0, x_1921); +lean_ctor_set(x_1922, 1, x_1920); +x_1923 = lean_array_push(x_1819, x_1922); +x_1924 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_1925 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1925, 0, x_1924); +lean_ctor_set(x_1925, 1, x_1923); +if (lean_is_scalar(x_1776)) { + x_1926 = lean_alloc_ctor(1, 1, 0); +} else { + x_1926 = x_1776; +} +lean_ctor_set(x_1926, 0, x_1925); +x_1927 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1927, 0, x_1926); +lean_ctor_set(x_1927, 1, x_1774); +return x_1927; +} +} +} +} +} +else +{ +lean_object* x_1977; +lean_dec(x_422); +lean_dec(x_406); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1977 = lean_box(0); +lean_ctor_set(x_408, 0, x_1977); +return x_408; +} +} +} +} +else +{ +lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; uint8_t x_1981; +x_1978 = lean_ctor_get(x_408, 1); +lean_inc(x_1978); +lean_dec(x_408); +x_1979 = lean_ctor_get(x_416, 0); +lean_inc(x_1979); +lean_dec(x_416); +x_1980 = lean_array_get_size(x_406); +x_1981 = lean_nat_dec_lt(x_398, x_1980); +if (x_1981 == 0) +{ +uint8_t x_1982; +lean_dec(x_1980); +x_1982 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_1982 == 0) +{ +lean_object* x_1983; lean_object* x_1984; +lean_dec(x_1979); +lean_dec(x_406); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1983 = lean_box(0); +x_1984 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1984, 0, x_1983); +lean_ctor_set(x_1984, 1, x_1978); +return x_1984; +} +else +{ +lean_object* x_1985; lean_object* x_1986; 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; +x_2165 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1978); +x_2166 = lean_ctor_get(x_2165, 0); +lean_inc(x_2166); +x_2167 = lean_ctor_get(x_2165, 1); +lean_inc(x_2167); +lean_dec(x_2165); +x_2168 = lean_ctor_get(x_2166, 0); +lean_inc(x_2168); +if (lean_is_exclusive(x_2166)) { + lean_ctor_release(x_2166, 0); + x_2169 = x_2166; +} else { + lean_dec_ref(x_2166); + x_2169 = lean_box(0); +} +x_2170 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_2171 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2171, 0, x_2168); +lean_ctor_set(x_2171, 1, x_2170); +x_2172 = l_Array_empty___closed__1; +x_2173 = lean_array_push(x_2172, x_2171); +x_2174 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_2175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2175, 0, x_2174); +lean_ctor_set(x_2175, 1, x_2173); +if (lean_is_scalar(x_2169)) { + x_2176 = lean_alloc_ctor(1, 1, 0); +} else { + x_2176 = x_2169; +} +lean_ctor_set(x_2176, 0, x_2175); +x_1985 = x_2176; +x_1986 = x_2167; +goto block_2164; +block_2164: +{ +lean_object* x_1987; lean_object* x_1988; 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; +x_2148 = lean_ctor_get(x_1985, 0); +lean_inc(x_2148); +lean_dec(x_1985); +x_2149 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1986); +x_2150 = lean_ctor_get(x_2149, 0); +lean_inc(x_2150); +if (lean_is_exclusive(x_2150)) { + lean_ctor_release(x_2150, 0); + x_2151 = x_2150; +} else { + lean_dec_ref(x_2150); + x_2151 = lean_box(0); +} +x_2152 = lean_ctor_get(x_2149, 1); +lean_inc(x_2152); +lean_dec(x_2149); +x_2153 = lean_box(0); +x_2154 = lean_box(0); +x_2155 = l_Lean_Syntax_mkAntiquotNode(x_2148, x_398, x_2153, x_2154); +x_2156 = l_Array_empty___closed__1; +x_2157 = lean_array_push(x_2156, x_2155); +x_2158 = l_Array_appendCore___rarg(x_2156, x_406); +lean_dec(x_406); +x_2159 = l_Lean_nullKind___closed__2; +x_2160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2160, 0, x_2159); +lean_ctor_set(x_2160, 1, x_2158); +x_2161 = lean_array_push(x_2157, x_2160); +x_2162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2162, 0, x_7); +lean_ctor_set(x_2162, 1, x_2161); +if (lean_is_scalar(x_2151)) { + x_2163 = lean_alloc_ctor(1, 1, 0); +} else { + x_2163 = x_2151; +} +lean_ctor_set(x_2163, 0, x_2162); +x_1987 = x_2163; +x_1988 = x_2152; +goto block_2147; +block_2147: +{ +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_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; +x_1989 = lean_ctor_get(x_1987, 0); lean_inc(x_1989); -lean_dec(x_1988); -x_1990 = lean_box(0); -x_1991 = lean_box(0); -x_1992 = l_Lean_Syntax_mkAntiquotNode(x_1980, x_401, x_1990, x_1991); -x_1993 = l_Array_empty___closed__1; -x_1994 = lean_array_push(x_1993, x_1992); -x_1995 = l_Array_appendCore___rarg(x_1993, x_409); -lean_dec(x_409); -x_1996 = l_Lean_nullKind___closed__2; -x_1997 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1997, 0, x_1996); -lean_ctor_set(x_1997, 1, x_1995); -x_1998 = lean_array_push(x_1994, x_1997); -x_1999 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1999, 0, x_8); -lean_ctor_set(x_1999, 1, x_1998); -lean_ctor_set(x_1982, 0, x_1999); -x_1511 = x_1982; -x_1512 = x_1989; -goto block_1979; +lean_dec(x_1987); +x_1990 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1988); +x_1991 = lean_ctor_get(x_1990, 0); +lean_inc(x_1991); +x_1992 = lean_ctor_get(x_1990, 1); +lean_inc(x_1992); +if (lean_is_exclusive(x_1990)) { + lean_ctor_release(x_1990, 0); + lean_ctor_release(x_1990, 1); + x_1993 = x_1990; +} else { + lean_dec_ref(x_1990); + x_1993 = lean_box(0); } -else -{ -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_dec(x_1982); -x_2000 = lean_ctor_get(x_1981, 1); -lean_inc(x_2000); -lean_dec(x_1981); -x_2001 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2000); -x_2002 = lean_ctor_get(x_2001, 1); -lean_inc(x_2002); -lean_dec(x_2001); -x_2003 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2002); -x_2004 = lean_ctor_get(x_2003, 1); -lean_inc(x_2004); -lean_dec(x_2003); +x_1994 = lean_ctor_get(x_1991, 0); +lean_inc(x_1994); +if (lean_is_exclusive(x_1991)) { + lean_ctor_release(x_1991, 0); + x_1995 = x_1991; +} else { + lean_dec_ref(x_1991); + x_1995 = lean_box(0); +} +x_1996 = lean_ctor_get(x_5, 2); +lean_inc(x_1996); +x_1997 = lean_ctor_get(x_5, 1); +lean_inc(x_1997); +lean_dec(x_5); +x_1998 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_1994); +x_1999 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1999, 0, x_1994); +lean_ctor_set(x_1999, 1, x_1998); +x_2000 = l_Array_empty___closed__1; +x_2001 = lean_array_push(x_2000, x_1999); +x_2002 = lean_array_push(x_2000, x_1); +x_2003 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_1996); +lean_inc(x_1997); +x_2004 = l_Lean_addMacroScope(x_1997, x_2003, x_1996); x_2005 = lean_box(0); -x_2006 = lean_box(0); -x_2007 = l_Lean_Syntax_mkAntiquotNode(x_1980, x_401, x_2005, x_2006); -x_2008 = l_Array_empty___closed__1; -x_2009 = lean_array_push(x_2008, x_2007); -x_2010 = l_Array_appendCore___rarg(x_2008, x_409); -lean_dec(x_409); +x_2006 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_1994); +x_2007 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2007, 0, x_1994); +lean_ctor_set(x_2007, 1, x_2006); +lean_ctor_set(x_2007, 2, x_2004); +lean_ctor_set(x_2007, 3, x_2005); +x_2008 = lean_array_push(x_2000, x_2007); +x_2009 = lean_mk_syntax_ident(x_1979); +x_2010 = lean_array_push(x_2000, x_2009); x_2011 = l_Lean_nullKind___closed__2; x_2012 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2012, 0, x_2011); lean_ctor_set(x_2012, 1, x_2010); -x_2013 = lean_array_push(x_2009, x_2012); -x_2014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2014, 0, x_8); -lean_ctor_set(x_2014, 1, x_2013); -x_2015 = lean_alloc_ctor(1, 1, 0); +x_2013 = lean_array_push(x_2008, x_2012); +x_2014 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_2015 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2015, 0, x_2014); -x_1511 = x_2015; -x_1512 = x_2004; -goto block_1979; -} -block_1979: -{ -lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; uint8_t x_1517; -x_1513 = lean_ctor_get(x_1511, 0); -lean_inc(x_1513); -lean_dec(x_1511); -x_1514 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_1512); -x_1515 = lean_ctor_get(x_1514, 0); -lean_inc(x_1515); -x_1516 = lean_ctor_get(x_1514, 1); -lean_inc(x_1516); -lean_dec(x_1514); -x_1517 = !lean_is_exclusive(x_1515); -if (x_1517 == 0) -{ -lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; uint8_t x_1523; -x_1518 = lean_ctor_get(x_1515, 0); -x_1519 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1516); -x_1520 = lean_ctor_get(x_1519, 0); -lean_inc(x_1520); -x_1521 = lean_ctor_get(x_1519, 1); -lean_inc(x_1521); -lean_dec(x_1519); -x_1522 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1521); -x_1523 = !lean_is_exclusive(x_1522); -if (x_1523 == 0) -{ -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; -x_1524 = lean_ctor_get(x_1522, 0); -x_1525 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_1518); -x_1526 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1526, 0, x_1518); -lean_ctor_set(x_1526, 1, x_1525); -x_1527 = l_Array_empty___closed__1; -x_1528 = lean_array_push(x_1527, x_1526); -x_1529 = lean_array_push(x_1527, x_1); -x_1530 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1520); -lean_inc(x_1524); -x_1531 = l_Lean_addMacroScope(x_1524, x_1530, x_1520); -x_1532 = lean_box(0); -x_1533 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1518); -x_1534 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1534, 0, x_1518); -lean_ctor_set(x_1534, 1, x_1533); -lean_ctor_set(x_1534, 2, x_1531); -lean_ctor_set(x_1534, 3, x_1532); -x_1535 = lean_array_push(x_1527, x_1534); -x_1536 = lean_mk_syntax_ident(x_426); -x_1537 = lean_array_push(x_1527, x_1536); -x_1538 = l_Lean_nullKind___closed__2; -x_1539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1539, 0, x_1538); -lean_ctor_set(x_1539, 1, x_1537); -x_1540 = lean_array_push(x_1535, x_1539); -x_1541 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_1542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1542, 0, x_1541); -lean_ctor_set(x_1542, 1, x_1540); -x_1543 = lean_array_push(x_1529, x_1542); -x_1544 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_1545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1545, 0, x_1544); -lean_ctor_set(x_1545, 1, x_1543); -x_1546 = lean_array_push(x_1527, x_1545); -x_1547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1547, 0, x_1538); -lean_ctor_set(x_1547, 1, x_1546); -x_1548 = lean_array_push(x_1528, x_1547); -x_1549 = l_term_x5b___x5d___closed__9; -lean_inc(x_1518); -x_1550 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1550, 0, x_1518); -lean_ctor_set(x_1550, 1, x_1549); -x_1551 = lean_array_push(x_1548, x_1550); -x_1552 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_1553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1553, 0, x_1552); -lean_ctor_set(x_1553, 1, x_1551); -x_1554 = lean_array_push(x_1527, x_1553); -x_1555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1555, 0, x_1538); -lean_ctor_set(x_1555, 1, x_1554); -x_1556 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1557 = lean_array_push(x_1556, x_1555); -x_1558 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1559 = lean_array_push(x_1557, x_1558); -x_1560 = lean_array_push(x_1559, x_1558); -x_1561 = lean_array_push(x_1560, x_1558); -x_1562 = lean_array_push(x_1561, x_1558); -x_1563 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_1564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1564, 0, x_1563); -lean_ctor_set(x_1564, 1, x_1562); -x_1565 = lean_array_push(x_1527, x_1564); -x_1566 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_1518); -x_1567 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1567, 0, x_1518); -lean_ctor_set(x_1567, 1, x_1566); -x_1568 = lean_array_push(x_1527, x_1567); -x_1569 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1520); -lean_inc(x_1524); -x_1570 = l_Lean_addMacroScope(x_1524, x_1569, x_1520); -x_1571 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1518); -x_1572 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1572, 0, x_1518); -lean_ctor_set(x_1572, 1, x_1571); -lean_ctor_set(x_1572, 2, x_1570); -lean_ctor_set(x_1572, 3, x_1532); -x_1573 = lean_array_push(x_1527, x_1572); -x_1574 = lean_array_push(x_1573, x_1558); -x_1575 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_1576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1576, 0, x_1575); -lean_ctor_set(x_1576, 1, x_1574); -x_1577 = lean_array_push(x_1568, x_1576); -x_1578 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_1518); -x_1579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1579, 0, x_1518); -lean_ctor_set(x_1579, 1, x_1578); -x_1580 = lean_array_push(x_1527, x_1579); -x_1581 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_1520); -lean_inc(x_1524); -x_1582 = l_Lean_addMacroScope(x_1524, x_1581, x_1520); -x_1583 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1584 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1518); -x_1585 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1585, 0, x_1518); -lean_ctor_set(x_1585, 1, x_1583); -lean_ctor_set(x_1585, 2, x_1582); -lean_ctor_set(x_1585, 3, x_1584); -x_1586 = lean_array_push(x_1580, x_1585); -x_1587 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_1588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1588, 0, x_1587); -lean_ctor_set(x_1588, 1, x_1586); -x_1589 = lean_array_push(x_1527, x_1588); -x_1590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1590, 0, x_1538); -lean_ctor_set(x_1590, 1, x_1589); -x_1591 = lean_array_push(x_1556, x_1590); -x_1592 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1593, 0, x_1592); -lean_ctor_set(x_1593, 1, x_1591); -x_1594 = lean_array_push(x_1577, x_1593); -x_1595 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1518); -x_1596 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1596, 0, x_1518); -lean_ctor_set(x_1596, 1, x_1595); -x_1597 = lean_array_push(x_1527, x_1596); -x_1598 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_1518); -x_1599 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1599, 0, x_1518); -lean_ctor_set(x_1599, 1, x_1598); -x_1600 = lean_array_push(x_1527, x_1599); -x_1601 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1518); -x_1602 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1602, 0, x_1518); -lean_ctor_set(x_1602, 1, x_1601); -x_1603 = lean_array_push(x_1527, x_1602); -x_1604 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_1518); -x_1605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1605, 0, x_1518); -lean_ctor_set(x_1605, 1, x_1604); -x_1606 = lean_array_push(x_1527, x_1605); -lean_inc(x_1606); -x_1607 = lean_array_push(x_1606, x_1513); -x_1608 = l_prec_x28___x29___closed__7; -lean_inc(x_1518); -x_1609 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1609, 0, x_1518); -lean_ctor_set(x_1609, 1, x_1608); -lean_inc(x_1609); -x_1610 = lean_array_push(x_1607, x_1609); -x_1611 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_1612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1612, 0, x_1611); -lean_ctor_set(x_1612, 1, x_1610); -x_1613 = lean_array_push(x_1527, x_1612); -x_1614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1614, 0, x_1538); -lean_ctor_set(x_1614, 1, x_1613); -lean_inc(x_1603); -x_1615 = lean_array_push(x_1603, x_1614); -x_1616 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1518); -x_1617 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1617, 0, x_1518); -lean_ctor_set(x_1617, 1, x_1616); -lean_inc(x_1617); -x_1618 = lean_array_push(x_1615, x_1617); -x_1619 = lean_array_push(x_1606, x_3); -lean_inc(x_1609); -x_1620 = lean_array_push(x_1619, x_1609); -x_1621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1621, 0, x_1611); -lean_ctor_set(x_1621, 1, x_1620); -x_1622 = lean_array_push(x_1618, x_1621); -x_1623 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1624, 0, x_1623); -lean_ctor_set(x_1624, 1, x_1622); -x_1625 = lean_array_push(x_1527, x_1624); -x_1626 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_1518); -x_1627 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1627, 0, x_1518); -lean_ctor_set(x_1627, 1, x_1626); -x_1628 = lean_array_push(x_1527, x_1627); -x_1629 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_1630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1630, 0, x_1629); -lean_ctor_set(x_1630, 1, x_1628); -x_1631 = lean_array_push(x_1527, x_1630); -x_1632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1632, 0, x_1538); -lean_ctor_set(x_1632, 1, x_1631); -x_1633 = lean_array_push(x_1603, x_1632); -x_1634 = lean_array_push(x_1633, x_1617); -x_1635 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1636 = l_Lean_addMacroScope(x_1524, x_1635, x_1520); -x_1637 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1638 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_1518); -x_1639 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1639, 0, x_1518); -lean_ctor_set(x_1639, 1, x_1637); -lean_ctor_set(x_1639, 2, x_1636); -lean_ctor_set(x_1639, 3, x_1638); -x_1640 = lean_array_push(x_1527, x_1639); -x_1641 = l_prec_x28___x29___closed__3; -x_1642 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1642, 0, x_1518); -lean_ctor_set(x_1642, 1, x_1641); -x_1643 = lean_array_push(x_1527, x_1642); -x_1644 = lean_array_push(x_1643, x_1558); -x_1645 = lean_array_push(x_1644, x_1609); -x_1646 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1647, 0, x_1646); -lean_ctor_set(x_1647, 1, x_1645); -x_1648 = lean_array_push(x_1527, x_1647); -x_1649 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1649, 0, x_1538); -lean_ctor_set(x_1649, 1, x_1648); -x_1650 = lean_array_push(x_1640, x_1649); -x_1651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1651, 0, x_8); -lean_ctor_set(x_1651, 1, x_1650); -x_1652 = lean_array_push(x_1634, x_1651); -x_1653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1653, 0, x_1623); -lean_ctor_set(x_1653, 1, x_1652); -x_1654 = lean_array_push(x_1625, x_1653); -x_1655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1655, 0, x_1538); -lean_ctor_set(x_1655, 1, x_1654); -x_1656 = lean_array_push(x_1527, x_1655); -x_1657 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_1658 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1658, 0, x_1657); -lean_ctor_set(x_1658, 1, x_1656); -x_1659 = lean_array_push(x_1600, x_1658); -x_1660 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1661, 0, x_1660); -lean_ctor_set(x_1661, 1, x_1659); -x_1662 = lean_array_push(x_1597, x_1661); -x_1663 = lean_array_push(x_1662, x_1558); -x_1664 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_1665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1665, 0, x_1664); -lean_ctor_set(x_1665, 1, x_1663); -x_1666 = lean_array_push(x_1594, x_1665); -x_1667 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1668, 0, x_1667); -lean_ctor_set(x_1668, 1, x_1666); -x_1669 = lean_array_push(x_1565, x_1668); -x_1670 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_1671 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1671, 0, x_1670); -lean_ctor_set(x_1671, 1, x_1669); -lean_ctor_set(x_1515, 0, x_1671); -lean_ctor_set(x_1522, 0, x_1515); -return x_1522; -} -else -{ -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; 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; -x_1672 = lean_ctor_get(x_1522, 0); -x_1673 = lean_ctor_get(x_1522, 1); -lean_inc(x_1673); -lean_inc(x_1672); -lean_dec(x_1522); -x_1674 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_1518); -x_1675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1675, 0, x_1518); -lean_ctor_set(x_1675, 1, x_1674); -x_1676 = l_Array_empty___closed__1; -x_1677 = lean_array_push(x_1676, x_1675); -x_1678 = lean_array_push(x_1676, x_1); -x_1679 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1520); -lean_inc(x_1672); -x_1680 = l_Lean_addMacroScope(x_1672, x_1679, x_1520); -x_1681 = lean_box(0); -x_1682 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1518); -x_1683 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1683, 0, x_1518); -lean_ctor_set(x_1683, 1, x_1682); -lean_ctor_set(x_1683, 2, x_1680); -lean_ctor_set(x_1683, 3, x_1681); -x_1684 = lean_array_push(x_1676, x_1683); -x_1685 = lean_mk_syntax_ident(x_426); -x_1686 = lean_array_push(x_1676, x_1685); -x_1687 = l_Lean_nullKind___closed__2; -x_1688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1688, 0, x_1687); -lean_ctor_set(x_1688, 1, x_1686); -x_1689 = lean_array_push(x_1684, x_1688); -x_1690 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -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_1678, x_1691); -x_1693 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_1694 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1694, 0, x_1693); -lean_ctor_set(x_1694, 1, x_1692); -x_1695 = lean_array_push(x_1676, x_1694); -x_1696 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1696, 0, x_1687); -lean_ctor_set(x_1696, 1, x_1695); -x_1697 = lean_array_push(x_1677, x_1696); -x_1698 = l_term_x5b___x5d___closed__9; -lean_inc(x_1518); -x_1699 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1699, 0, x_1518); -lean_ctor_set(x_1699, 1, x_1698); -x_1700 = lean_array_push(x_1697, x_1699); -x_1701 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_1702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1702, 0, x_1701); -lean_ctor_set(x_1702, 1, x_1700); -x_1703 = lean_array_push(x_1676, x_1702); -x_1704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1704, 0, x_1687); -lean_ctor_set(x_1704, 1, x_1703); -x_1705 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1706 = lean_array_push(x_1705, x_1704); -x_1707 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1708 = lean_array_push(x_1706, x_1707); -x_1709 = lean_array_push(x_1708, x_1707); -x_1710 = lean_array_push(x_1709, x_1707); -x_1711 = lean_array_push(x_1710, x_1707); -x_1712 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_1713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1713, 0, x_1712); -lean_ctor_set(x_1713, 1, x_1711); -x_1714 = lean_array_push(x_1676, x_1713); -x_1715 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_1518); -x_1716 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1716, 0, x_1518); -lean_ctor_set(x_1716, 1, x_1715); -x_1717 = lean_array_push(x_1676, x_1716); -x_1718 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1520); -lean_inc(x_1672); -x_1719 = l_Lean_addMacroScope(x_1672, x_1718, x_1520); -x_1720 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1518); -x_1721 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1721, 0, x_1518); -lean_ctor_set(x_1721, 1, x_1720); -lean_ctor_set(x_1721, 2, x_1719); -lean_ctor_set(x_1721, 3, x_1681); -x_1722 = lean_array_push(x_1676, x_1721); -x_1723 = lean_array_push(x_1722, x_1707); -x_1724 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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 = lean_array_push(x_1717, x_1725); -x_1727 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_1518); -x_1728 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1728, 0, x_1518); -lean_ctor_set(x_1728, 1, x_1727); -x_1729 = lean_array_push(x_1676, x_1728); -x_1730 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_1520); -lean_inc(x_1672); -x_1731 = l_Lean_addMacroScope(x_1672, x_1730, x_1520); -x_1732 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1733 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1518); -x_1734 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1734, 0, x_1518); -lean_ctor_set(x_1734, 1, x_1732); -lean_ctor_set(x_1734, 2, x_1731); -lean_ctor_set(x_1734, 3, x_1733); -x_1735 = lean_array_push(x_1729, x_1734); -x_1736 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_1737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1737, 0, x_1736); -lean_ctor_set(x_1737, 1, x_1735); -x_1738 = lean_array_push(x_1676, x_1737); -x_1739 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1739, 0, x_1687); -lean_ctor_set(x_1739, 1, x_1738); -x_1740 = lean_array_push(x_1705, x_1739); -x_1741 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1742, 0, x_1741); -lean_ctor_set(x_1742, 1, x_1740); -x_1743 = lean_array_push(x_1726, x_1742); -x_1744 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1518); -x_1745 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1745, 0, x_1518); -lean_ctor_set(x_1745, 1, x_1744); -x_1746 = lean_array_push(x_1676, x_1745); -x_1747 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_1518); -x_1748 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1748, 0, x_1518); -lean_ctor_set(x_1748, 1, x_1747); -x_1749 = lean_array_push(x_1676, x_1748); -x_1750 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1518); -x_1751 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1751, 0, x_1518); -lean_ctor_set(x_1751, 1, x_1750); -x_1752 = lean_array_push(x_1676, x_1751); -x_1753 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_1518); -x_1754 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1754, 0, x_1518); -lean_ctor_set(x_1754, 1, x_1753); -x_1755 = lean_array_push(x_1676, x_1754); -lean_inc(x_1755); -x_1756 = lean_array_push(x_1755, x_1513); -x_1757 = l_prec_x28___x29___closed__7; -lean_inc(x_1518); -x_1758 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1758, 0, x_1518); -lean_ctor_set(x_1758, 1, x_1757); -lean_inc(x_1758); -x_1759 = lean_array_push(x_1756, x_1758); -x_1760 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -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 = lean_array_push(x_1676, x_1761); -x_1763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1763, 0, x_1687); -lean_ctor_set(x_1763, 1, x_1762); -lean_inc(x_1752); -x_1764 = lean_array_push(x_1752, x_1763); -x_1765 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1518); -x_1766 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1766, 0, x_1518); -lean_ctor_set(x_1766, 1, x_1765); -lean_inc(x_1766); -x_1767 = lean_array_push(x_1764, x_1766); -x_1768 = lean_array_push(x_1755, x_3); -lean_inc(x_1758); -x_1769 = lean_array_push(x_1768, x_1758); -x_1770 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1770, 0, x_1760); -lean_ctor_set(x_1770, 1, x_1769); -x_1771 = lean_array_push(x_1767, x_1770); -x_1772 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1773 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1773, 0, x_1772); -lean_ctor_set(x_1773, 1, x_1771); -x_1774 = lean_array_push(x_1676, x_1773); -x_1775 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_1518); -x_1776 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1776, 0, x_1518); -lean_ctor_set(x_1776, 1, x_1775); -x_1777 = lean_array_push(x_1676, x_1776); -x_1778 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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 = lean_array_push(x_1676, x_1779); -x_1781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1781, 0, x_1687); -lean_ctor_set(x_1781, 1, x_1780); -x_1782 = lean_array_push(x_1752, x_1781); -x_1783 = lean_array_push(x_1782, x_1766); -x_1784 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1785 = l_Lean_addMacroScope(x_1672, x_1784, x_1520); -x_1786 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1787 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_1518); -x_1788 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1788, 0, x_1518); -lean_ctor_set(x_1788, 1, x_1786); -lean_ctor_set(x_1788, 2, x_1785); -lean_ctor_set(x_1788, 3, x_1787); -x_1789 = lean_array_push(x_1676, x_1788); -x_1790 = l_prec_x28___x29___closed__3; -x_1791 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1791, 0, x_1518); -lean_ctor_set(x_1791, 1, x_1790); -x_1792 = lean_array_push(x_1676, x_1791); -x_1793 = lean_array_push(x_1792, x_1707); -x_1794 = lean_array_push(x_1793, x_1758); -x_1795 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1796, 0, x_1795); -lean_ctor_set(x_1796, 1, x_1794); -x_1797 = lean_array_push(x_1676, x_1796); -x_1798 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1798, 0, x_1687); -lean_ctor_set(x_1798, 1, x_1797); -x_1799 = lean_array_push(x_1789, x_1798); -x_1800 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1800, 0, x_8); -lean_ctor_set(x_1800, 1, x_1799); -x_1801 = lean_array_push(x_1783, x_1800); -x_1802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1802, 0, x_1772); -lean_ctor_set(x_1802, 1, x_1801); -x_1803 = lean_array_push(x_1774, x_1802); -x_1804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1804, 0, x_1687); -lean_ctor_set(x_1804, 1, x_1803); -x_1805 = lean_array_push(x_1676, x_1804); -x_1806 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -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 = lean_array_push(x_1749, x_1807); -x_1809 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1810 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1810, 0, x_1809); -lean_ctor_set(x_1810, 1, x_1808); -x_1811 = lean_array_push(x_1746, x_1810); -x_1812 = lean_array_push(x_1811, x_1707); -x_1813 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -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 = lean_array_push(x_1743, x_1814); -x_1816 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1817 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1817, 0, x_1816); -lean_ctor_set(x_1817, 1, x_1815); -x_1818 = lean_array_push(x_1714, x_1817); -x_1819 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_1820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1820, 0, x_1819); -lean_ctor_set(x_1820, 1, x_1818); -lean_ctor_set(x_1515, 0, x_1820); -x_1821 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1821, 0, x_1515); -lean_ctor_set(x_1821, 1, x_1673); -return x_1821; -} -} -else -{ -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; 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; -x_1822 = lean_ctor_get(x_1515, 0); -lean_inc(x_1822); -lean_dec(x_1515); -x_1823 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_1516); -x_1824 = lean_ctor_get(x_1823, 0); -lean_inc(x_1824); -x_1825 = lean_ctor_get(x_1823, 1); -lean_inc(x_1825); -lean_dec(x_1823); -x_1826 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_1825); -x_1827 = lean_ctor_get(x_1826, 0); -lean_inc(x_1827); -x_1828 = lean_ctor_get(x_1826, 1); -lean_inc(x_1828); -if (lean_is_exclusive(x_1826)) { - lean_ctor_release(x_1826, 0); - lean_ctor_release(x_1826, 1); - x_1829 = x_1826; -} else { - lean_dec_ref(x_1826); - x_1829 = lean_box(0); -} -x_1830 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_1822); -x_1831 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1831, 0, x_1822); -lean_ctor_set(x_1831, 1, x_1830); -x_1832 = l_Array_empty___closed__1; -x_1833 = lean_array_push(x_1832, x_1831); -x_1834 = lean_array_push(x_1832, x_1); -x_1835 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_1824); -lean_inc(x_1827); -x_1836 = l_Lean_addMacroScope(x_1827, x_1835, x_1824); -x_1837 = lean_box(0); -x_1838 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_1822); -x_1839 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1839, 0, x_1822); -lean_ctor_set(x_1839, 1, x_1838); -lean_ctor_set(x_1839, 2, x_1836); -lean_ctor_set(x_1839, 3, x_1837); -x_1840 = lean_array_push(x_1832, x_1839); -x_1841 = lean_mk_syntax_ident(x_426); -x_1842 = lean_array_push(x_1832, x_1841); -x_1843 = l_Lean_nullKind___closed__2; -x_1844 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1844, 0, x_1843); -lean_ctor_set(x_1844, 1, x_1842); -x_1845 = lean_array_push(x_1840, x_1844); -x_1846 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_1847 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1847, 0, x_1846); -lean_ctor_set(x_1847, 1, x_1845); -x_1848 = lean_array_push(x_1834, x_1847); -x_1849 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_1850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1850, 0, x_1849); -lean_ctor_set(x_1850, 1, x_1848); -x_1851 = lean_array_push(x_1832, x_1850); -x_1852 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1852, 0, x_1843); -lean_ctor_set(x_1852, 1, x_1851); -x_1853 = lean_array_push(x_1833, x_1852); -x_1854 = l_term_x5b___x5d___closed__9; -lean_inc(x_1822); -x_1855 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1855, 0, x_1822); -lean_ctor_set(x_1855, 1, x_1854); -x_1856 = lean_array_push(x_1853, x_1855); -x_1857 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_1858 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1858, 0, x_1857); -lean_ctor_set(x_1858, 1, x_1856); -x_1859 = lean_array_push(x_1832, x_1858); -x_1860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1860, 0, x_1843); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1862 = lean_array_push(x_1861, x_1860); -x_1863 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1864 = lean_array_push(x_1862, x_1863); -x_1865 = lean_array_push(x_1864, x_1863); -x_1866 = lean_array_push(x_1865, x_1863); -x_1867 = lean_array_push(x_1866, x_1863); -x_1868 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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 = lean_array_push(x_1832, x_1869); -x_1871 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_1822); -x_1872 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1872, 0, x_1822); -lean_ctor_set(x_1872, 1, x_1871); -x_1873 = lean_array_push(x_1832, x_1872); -x_1874 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_1824); -lean_inc(x_1827); -x_1875 = l_Lean_addMacroScope(x_1827, x_1874, x_1824); -x_1876 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_1822); -x_1877 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1877, 0, x_1822); -lean_ctor_set(x_1877, 1, x_1876); -lean_ctor_set(x_1877, 2, x_1875); -lean_ctor_set(x_1877, 3, x_1837); -x_1878 = lean_array_push(x_1832, x_1877); -x_1879 = lean_array_push(x_1878, x_1863); -x_1880 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -x_1881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1881, 0, x_1880); -lean_ctor_set(x_1881, 1, x_1879); -x_1882 = lean_array_push(x_1873, x_1881); -x_1883 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_1822); -x_1884 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1884, 0, x_1822); -lean_ctor_set(x_1884, 1, x_1883); -x_1885 = lean_array_push(x_1832, x_1884); -x_1886 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_1824); -lean_inc(x_1827); -x_1887 = l_Lean_addMacroScope(x_1827, x_1886, x_1824); -x_1888 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1889 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1822); -x_1890 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1890, 0, x_1822); -lean_ctor_set(x_1890, 1, x_1888); -lean_ctor_set(x_1890, 2, x_1887); -lean_ctor_set(x_1890, 3, x_1889); -x_1891 = lean_array_push(x_1885, x_1890); -x_1892 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_1893 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1893, 0, x_1892); -lean_ctor_set(x_1893, 1, x_1891); -x_1894 = lean_array_push(x_1832, x_1893); -x_1895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1895, 0, x_1843); -lean_ctor_set(x_1895, 1, x_1894); -x_1896 = lean_array_push(x_1861, x_1895); -x_1897 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_1898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1898, 0, x_1897); -lean_ctor_set(x_1898, 1, x_1896); -x_1899 = lean_array_push(x_1882, x_1898); -x_1900 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1822); -x_1901 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1901, 0, x_1822); -lean_ctor_set(x_1901, 1, x_1900); -x_1902 = lean_array_push(x_1832, x_1901); -x_1903 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_1822); -x_1904 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1904, 0, x_1822); -lean_ctor_set(x_1904, 1, x_1903); -x_1905 = lean_array_push(x_1832, x_1904); -x_1906 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1822); -x_1907 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1907, 0, x_1822); -lean_ctor_set(x_1907, 1, x_1906); -x_1908 = lean_array_push(x_1832, x_1907); -x_1909 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_1822); -x_1910 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1910, 0, x_1822); -lean_ctor_set(x_1910, 1, x_1909); -x_1911 = lean_array_push(x_1832, x_1910); -lean_inc(x_1911); -x_1912 = lean_array_push(x_1911, x_1513); -x_1913 = l_prec_x28___x29___closed__7; -lean_inc(x_1822); -x_1914 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1914, 0, x_1822); -lean_ctor_set(x_1914, 1, x_1913); -lean_inc(x_1914); -x_1915 = lean_array_push(x_1912, x_1914); -x_1916 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_1917 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1917, 0, x_1916); -lean_ctor_set(x_1917, 1, x_1915); -x_1918 = lean_array_push(x_1832, x_1917); -x_1919 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1919, 0, x_1843); -lean_ctor_set(x_1919, 1, x_1918); -lean_inc(x_1908); -x_1920 = lean_array_push(x_1908, x_1919); -x_1921 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1822); -x_1922 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1922, 0, x_1822); -lean_ctor_set(x_1922, 1, x_1921); -lean_inc(x_1922); -x_1923 = lean_array_push(x_1920, x_1922); -x_1924 = lean_array_push(x_1911, x_3); -lean_inc(x_1914); -x_1925 = lean_array_push(x_1924, x_1914); -x_1926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1926, 0, x_1916); -lean_ctor_set(x_1926, 1, x_1925); -x_1927 = lean_array_push(x_1923, x_1926); -x_1928 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1929, 0, x_1928); -lean_ctor_set(x_1929, 1, x_1927); -x_1930 = lean_array_push(x_1832, x_1929); -x_1931 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_1822); -x_1932 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1932, 0, x_1822); -lean_ctor_set(x_1932, 1, x_1931); -x_1933 = lean_array_push(x_1832, x_1932); -x_1934 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_1935 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1935, 0, x_1934); -lean_ctor_set(x_1935, 1, x_1933); -x_1936 = lean_array_push(x_1832, x_1935); -x_1937 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1937, 0, x_1843); -lean_ctor_set(x_1937, 1, x_1936); -x_1938 = lean_array_push(x_1908, x_1937); -x_1939 = lean_array_push(x_1938, x_1922); -x_1940 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_1941 = l_Lean_addMacroScope(x_1827, x_1940, x_1824); -x_1942 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_1943 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_1822); -x_1944 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1944, 0, x_1822); -lean_ctor_set(x_1944, 1, x_1942); -lean_ctor_set(x_1944, 2, x_1941); -lean_ctor_set(x_1944, 3, x_1943); -x_1945 = lean_array_push(x_1832, x_1944); -x_1946 = l_prec_x28___x29___closed__3; -x_1947 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1947, 0, x_1822); -lean_ctor_set(x_1947, 1, x_1946); -x_1948 = lean_array_push(x_1832, x_1947); -x_1949 = lean_array_push(x_1948, x_1863); -x_1950 = lean_array_push(x_1949, x_1914); -x_1951 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1952 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1952, 0, x_1951); -lean_ctor_set(x_1952, 1, x_1950); -x_1953 = lean_array_push(x_1832, x_1952); -x_1954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1954, 0, x_1843); -lean_ctor_set(x_1954, 1, x_1953); -x_1955 = lean_array_push(x_1945, x_1954); -x_1956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1956, 0, x_8); -lean_ctor_set(x_1956, 1, x_1955); -x_1957 = lean_array_push(x_1939, x_1956); -x_1958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1958, 0, x_1928); -lean_ctor_set(x_1958, 1, x_1957); -x_1959 = lean_array_push(x_1930, x_1958); -x_1960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1960, 0, x_1843); -lean_ctor_set(x_1960, 1, x_1959); -x_1961 = lean_array_push(x_1832, x_1960); -x_1962 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_1963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1963, 0, x_1962); -lean_ctor_set(x_1963, 1, x_1961); -x_1964 = lean_array_push(x_1905, x_1963); -x_1965 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1966 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1966, 0, x_1965); -lean_ctor_set(x_1966, 1, x_1964); -x_1967 = lean_array_push(x_1902, x_1966); -x_1968 = lean_array_push(x_1967, x_1863); -x_1969 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_1970 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1970, 0, x_1969); -lean_ctor_set(x_1970, 1, x_1968); -x_1971 = lean_array_push(x_1899, x_1970); -x_1972 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_1973 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1973, 0, x_1972); -lean_ctor_set(x_1973, 1, x_1971); -x_1974 = lean_array_push(x_1870, x_1973); -x_1975 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -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 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1977, 0, x_1976); -if (lean_is_scalar(x_1829)) { - x_1978 = lean_alloc_ctor(0, 2, 0); -} else { - x_1978 = x_1829; -} -lean_ctor_set(x_1978, 0, x_1977); -lean_ctor_set(x_1978, 1, x_1828); -return x_1978; -} -} -} -} -} -else -{ -lean_object* x_2044; -lean_dec(x_426); -lean_dec(x_409); -lean_dec(x_3); -lean_dec(x_1); -x_2044 = lean_box(0); -lean_ctor_set(x_411, 0, x_2044); -return x_411; -} -} -} -} -else -{ -lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; uint8_t x_2048; -x_2045 = lean_ctor_get(x_411, 1); -lean_inc(x_2045); -lean_dec(x_411); -x_2046 = lean_ctor_get(x_420, 0); -lean_inc(x_2046); -lean_dec(x_420); -x_2047 = lean_array_get_size(x_409); -x_2048 = lean_nat_dec_lt(x_401, x_2047); -if (x_2048 == 0) -{ -uint8_t x_2049; -lean_dec(x_2047); -x_2049 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_2049 == 0) -{ -lean_object* x_2050; lean_object* x_2051; -lean_dec(x_2046); -lean_dec(x_409); -lean_dec(x_3); -lean_dec(x_1); -x_2050 = lean_box(0); -x_2051 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2051, 0, x_2050); -lean_ctor_set(x_2051, 1, x_2045); -return x_2051; -} -else -{ -lean_object* x_2052; lean_object* x_2053; 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_2240 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2045); -x_2241 = lean_ctor_get(x_2240, 0); -lean_inc(x_2241); -x_2242 = lean_ctor_get(x_2240, 1); -lean_inc(x_2242); -lean_dec(x_2240); -x_2243 = lean_ctor_get(x_2241, 0); -lean_inc(x_2243); -if (lean_is_exclusive(x_2241)) { - lean_ctor_release(x_2241, 0); - x_2244 = x_2241; -} else { - lean_dec_ref(x_2241); - x_2244 = lean_box(0); -} -x_2245 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2242); -x_2246 = lean_ctor_get(x_2245, 1); -lean_inc(x_2246); -lean_dec(x_2245); -x_2247 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2246); -x_2248 = lean_ctor_get(x_2247, 1); -lean_inc(x_2248); -lean_dec(x_2247); -x_2249 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_2250 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2250, 0, x_2243); -lean_ctor_set(x_2250, 1, x_2249); -x_2251 = l_Array_empty___closed__1; -x_2252 = lean_array_push(x_2251, x_2250); -x_2253 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2254, 0, x_2253); -lean_ctor_set(x_2254, 1, x_2252); -if (lean_is_scalar(x_2244)) { - x_2255 = lean_alloc_ctor(1, 1, 0); -} else { - x_2255 = x_2244; -} -lean_ctor_set(x_2255, 0, x_2254); -x_2052 = x_2255; -x_2053 = x_2248; -goto block_2239; -block_2239: -{ -lean_object* x_2054; lean_object* x_2055; 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; -x_2219 = lean_ctor_get(x_2052, 0); -lean_inc(x_2219); -lean_dec(x_2052); -x_2220 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2053); -x_2221 = lean_ctor_get(x_2220, 0); -lean_inc(x_2221); -if (lean_is_exclusive(x_2221)) { - lean_ctor_release(x_2221, 0); - x_2222 = x_2221; -} else { - lean_dec_ref(x_2221); - x_2222 = lean_box(0); -} -x_2223 = lean_ctor_get(x_2220, 1); -lean_inc(x_2223); -lean_dec(x_2220); -x_2224 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2223); -x_2225 = lean_ctor_get(x_2224, 1); -lean_inc(x_2225); -lean_dec(x_2224); -x_2226 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2225); -x_2227 = lean_ctor_get(x_2226, 1); -lean_inc(x_2227); -lean_dec(x_2226); -x_2228 = lean_box(0); -x_2229 = lean_box(0); -x_2230 = l_Lean_Syntax_mkAntiquotNode(x_2219, x_401, x_2228, x_2229); -x_2231 = l_Array_empty___closed__1; -x_2232 = lean_array_push(x_2231, x_2230); -x_2233 = l_Array_appendCore___rarg(x_2231, x_409); -lean_dec(x_409); -x_2234 = l_Lean_nullKind___closed__2; -x_2235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2235, 0, x_2234); -lean_ctor_set(x_2235, 1, x_2233); -x_2236 = lean_array_push(x_2232, x_2235); -x_2237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2237, 0, x_8); -lean_ctor_set(x_2237, 1, x_2236); -if (lean_is_scalar(x_2222)) { - x_2238 = lean_alloc_ctor(1, 1, 0); -} else { - x_2238 = x_2222; -} -lean_ctor_set(x_2238, 0, x_2237); -x_2054 = x_2238; -x_2055 = x_2227; -goto block_2218; -block_2218: -{ -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_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; -x_2056 = lean_ctor_get(x_2054, 0); -lean_inc(x_2056); -lean_dec(x_2054); -x_2057 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2055); -x_2058 = lean_ctor_get(x_2057, 0); -lean_inc(x_2058); -x_2059 = lean_ctor_get(x_2057, 1); -lean_inc(x_2059); -lean_dec(x_2057); -x_2060 = lean_ctor_get(x_2058, 0); -lean_inc(x_2060); -if (lean_is_exclusive(x_2058)) { - lean_ctor_release(x_2058, 0); - x_2061 = x_2058; -} else { - lean_dec_ref(x_2058); - x_2061 = lean_box(0); -} -x_2062 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2059); -x_2063 = lean_ctor_get(x_2062, 0); -lean_inc(x_2063); -x_2064 = lean_ctor_get(x_2062, 1); -lean_inc(x_2064); -lean_dec(x_2062); -x_2065 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2064); -x_2066 = lean_ctor_get(x_2065, 0); -lean_inc(x_2066); -x_2067 = lean_ctor_get(x_2065, 1); -lean_inc(x_2067); -if (lean_is_exclusive(x_2065)) { - lean_ctor_release(x_2065, 0); - lean_ctor_release(x_2065, 1); - x_2068 = x_2065; -} else { - lean_dec_ref(x_2065); - x_2068 = lean_box(0); -} -x_2069 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_2060); -x_2070 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2070, 0, x_2060); -lean_ctor_set(x_2070, 1, x_2069); -x_2071 = l_Array_empty___closed__1; -x_2072 = lean_array_push(x_2071, x_2070); -x_2073 = lean_array_push(x_2071, x_1); -x_2074 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2063); -lean_inc(x_2066); -x_2075 = l_Lean_addMacroScope(x_2066, x_2074, x_2063); -x_2076 = lean_box(0); -x_2077 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2060); -x_2078 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2078, 0, x_2060); +lean_ctor_set(x_2015, 1, x_2013); +x_2016 = lean_array_push(x_2002, x_2015); +x_2017 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_2018 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2018, 0, x_2017); +lean_ctor_set(x_2018, 1, x_2016); +x_2019 = lean_array_push(x_2000, x_2018); +x_2020 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2020, 0, x_2011); +lean_ctor_set(x_2020, 1, x_2019); +x_2021 = lean_array_push(x_2001, x_2020); +x_2022 = l_term_x5b___x5d___closed__9; +lean_inc(x_1994); +x_2023 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2023, 0, x_1994); +lean_ctor_set(x_2023, 1, x_2022); +x_2024 = lean_array_push(x_2021, x_2023); +x_2025 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_2026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2026, 0, x_2025); +lean_ctor_set(x_2026, 1, x_2024); +x_2027 = lean_array_push(x_2000, x_2026); +x_2028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2028, 0, x_2011); +lean_ctor_set(x_2028, 1, x_2027); +x_2029 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_2030 = lean_array_push(x_2029, x_2028); +x_2031 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_2032 = lean_array_push(x_2030, x_2031); +x_2033 = lean_array_push(x_2032, x_2031); +x_2034 = lean_array_push(x_2033, x_2031); +x_2035 = lean_array_push(x_2034, x_2031); +x_2036 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_2037 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2037, 0, x_2036); +lean_ctor_set(x_2037, 1, x_2035); +x_2038 = lean_array_push(x_2000, x_2037); +x_2039 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_1994); +x_2040 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2040, 0, x_1994); +lean_ctor_set(x_2040, 1, x_2039); +x_2041 = lean_array_push(x_2000, x_2040); +x_2042 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1996); +lean_inc(x_1997); +x_2043 = l_Lean_addMacroScope(x_1997, x_2042, x_1996); +x_2044 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_1994); +x_2045 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2045, 0, x_1994); +lean_ctor_set(x_2045, 1, x_2044); +lean_ctor_set(x_2045, 2, x_2043); +lean_ctor_set(x_2045, 3, x_2005); +x_2046 = lean_array_push(x_2000, x_2045); +x_2047 = lean_array_push(x_2046, x_2031); +x_2048 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +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_2041, x_2049); +x_2051 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_1994); +x_2052 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2052, 0, x_1994); +lean_ctor_set(x_2052, 1, x_2051); +x_2053 = lean_array_push(x_2000, x_2052); +x_2054 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_1996); +lean_inc(x_1997); +x_2055 = l_Lean_addMacroScope(x_1997, x_2054, x_1996); +x_2056 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2057 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_1994); +x_2058 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2058, 0, x_1994); +lean_ctor_set(x_2058, 1, x_2056); +lean_ctor_set(x_2058, 2, x_2055); +lean_ctor_set(x_2058, 3, x_2057); +x_2059 = lean_array_push(x_2053, x_2058); +x_2060 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_2061 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2061, 0, x_2060); +lean_ctor_set(x_2061, 1, x_2059); +x_2062 = lean_array_push(x_2000, x_2061); +x_2063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2063, 0, x_2011); +lean_ctor_set(x_2063, 1, x_2062); +x_2064 = lean_array_push(x_2029, x_2063); +x_2065 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_2066 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2066, 0, x_2065); +lean_ctor_set(x_2066, 1, x_2064); +x_2067 = lean_array_push(x_2050, x_2066); +x_2068 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1994); +x_2069 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2069, 0, x_1994); +lean_ctor_set(x_2069, 1, x_2068); +x_2070 = lean_array_push(x_2000, x_2069); +x_2071 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1994); +x_2072 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2072, 0, x_1994); +lean_ctor_set(x_2072, 1, x_2071); +x_2073 = lean_array_push(x_2000, x_2072); +x_2074 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1994); +x_2075 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2075, 0, x_1994); +lean_ctor_set(x_2075, 1, x_2074); +x_2076 = lean_array_push(x_2000, x_2075); +x_2077 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_1994); +x_2078 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2078, 0, x_1994); lean_ctor_set(x_2078, 1, x_2077); -lean_ctor_set(x_2078, 2, x_2075); -lean_ctor_set(x_2078, 3, x_2076); -x_2079 = lean_array_push(x_2071, x_2078); -x_2080 = lean_mk_syntax_ident(x_2046); -x_2081 = lean_array_push(x_2071, x_2080); -x_2082 = l_Lean_nullKind___closed__2; -x_2083 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2083, 0, x_2082); -lean_ctor_set(x_2083, 1, x_2081); -x_2084 = lean_array_push(x_2079, x_2083); -x_2085 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_2086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2086, 0, x_2085); -lean_ctor_set(x_2086, 1, x_2084); -x_2087 = lean_array_push(x_2073, x_2086); -x_2088 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_2089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2089, 0, x_2088); -lean_ctor_set(x_2089, 1, x_2087); -x_2090 = lean_array_push(x_2071, x_2089); -x_2091 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2091, 0, x_2082); -lean_ctor_set(x_2091, 1, x_2090); -x_2092 = lean_array_push(x_2072, x_2091); -x_2093 = l_term_x5b___x5d___closed__9; -lean_inc(x_2060); -x_2094 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2094, 0, x_2060); +x_2079 = lean_array_push(x_2000, x_2078); +lean_inc(x_2079); +x_2080 = lean_array_push(x_2079, x_1989); +x_2081 = l_prec_x28___x29___closed__7; +lean_inc(x_1994); +x_2082 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2082, 0, x_1994); +lean_ctor_set(x_2082, 1, x_2081); +lean_inc(x_2082); +x_2083 = lean_array_push(x_2080, x_2082); +x_2084 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_2085 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2085, 0, x_2084); +lean_ctor_set(x_2085, 1, x_2083); +x_2086 = lean_array_push(x_2000, x_2085); +x_2087 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2087, 0, x_2011); +lean_ctor_set(x_2087, 1, x_2086); +lean_inc(x_2076); +x_2088 = lean_array_push(x_2076, x_2087); +x_2089 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1994); +x_2090 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2090, 0, x_1994); +lean_ctor_set(x_2090, 1, x_2089); +lean_inc(x_2090); +x_2091 = lean_array_push(x_2088, x_2090); +x_2092 = lean_array_push(x_2079, x_3); +lean_inc(x_2082); +x_2093 = lean_array_push(x_2092, x_2082); +x_2094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2094, 0, x_2084); lean_ctor_set(x_2094, 1, x_2093); -x_2095 = lean_array_push(x_2092, x_2094); -x_2096 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_2095 = lean_array_push(x_2091, x_2094); +x_2096 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; x_2097 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2097, 0, x_2096); lean_ctor_set(x_2097, 1, x_2095); -x_2098 = lean_array_push(x_2071, x_2097); -x_2099 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2099, 0, x_2082); -lean_ctor_set(x_2099, 1, x_2098); -x_2100 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_2101 = lean_array_push(x_2100, x_2099); -x_2102 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_2103 = lean_array_push(x_2101, x_2102); -x_2104 = lean_array_push(x_2103, x_2102); -x_2105 = lean_array_push(x_2104, x_2102); -x_2106 = lean_array_push(x_2105, x_2102); -x_2107 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -x_2108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2108, 0, x_2107); -lean_ctor_set(x_2108, 1, x_2106); -x_2109 = lean_array_push(x_2071, x_2108); -x_2110 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_2060); -x_2111 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2111, 0, x_2060); -lean_ctor_set(x_2111, 1, x_2110); -x_2112 = lean_array_push(x_2071, x_2111); -x_2113 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2063); -lean_inc(x_2066); -x_2114 = l_Lean_addMacroScope(x_2066, x_2113, x_2063); -x_2115 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2060); -x_2116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2116, 0, x_2060); -lean_ctor_set(x_2116, 1, x_2115); -lean_ctor_set(x_2116, 2, x_2114); -lean_ctor_set(x_2116, 3, x_2076); -x_2117 = lean_array_push(x_2071, x_2116); -x_2118 = lean_array_push(x_2117, x_2102); -x_2119 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_2098 = lean_array_push(x_2000, x_2097); +x_2099 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_1994); +x_2100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2100, 0, x_1994); +lean_ctor_set(x_2100, 1, x_2099); +x_2101 = lean_array_push(x_2000, x_2100); +x_2102 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_2103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2103, 0, x_2102); +lean_ctor_set(x_2103, 1, x_2101); +x_2104 = lean_array_push(x_2000, x_2103); +x_2105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2105, 0, x_2011); +lean_ctor_set(x_2105, 1, x_2104); +x_2106 = lean_array_push(x_2076, x_2105); +x_2107 = lean_array_push(x_2106, x_2090); +x_2108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_2109 = l_Lean_addMacroScope(x_1997, x_2108, x_1996); +x_2110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_2111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_1994); +x_2112 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2112, 0, x_1994); +lean_ctor_set(x_2112, 1, x_2110); +lean_ctor_set(x_2112, 2, x_2109); +lean_ctor_set(x_2112, 3, x_2111); +x_2113 = lean_array_push(x_2000, x_2112); +x_2114 = l_prec_x28___x29___closed__3; +x_2115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2115, 0, x_1994); +lean_ctor_set(x_2115, 1, x_2114); +x_2116 = lean_array_push(x_2000, x_2115); +x_2117 = lean_array_push(x_2116, x_2031); +x_2118 = lean_array_push(x_2117, x_2082); +x_2119 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; x_2120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2120, 0, x_2119); lean_ctor_set(x_2120, 1, x_2118); -x_2121 = lean_array_push(x_2112, x_2120); -x_2122 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_2060); -x_2123 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2123, 0, x_2060); -lean_ctor_set(x_2123, 1, x_2122); -x_2124 = lean_array_push(x_2071, x_2123); -x_2125 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_2063); -lean_inc(x_2066); -x_2126 = l_Lean_addMacroScope(x_2066, x_2125, x_2063); -x_2127 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2128 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2060); -x_2129 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2129, 0, x_2060); -lean_ctor_set(x_2129, 1, x_2127); -lean_ctor_set(x_2129, 2, x_2126); -lean_ctor_set(x_2129, 3, x_2128); -x_2130 = lean_array_push(x_2124, x_2129); -x_2131 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_2132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2132, 0, x_2131); -lean_ctor_set(x_2132, 1, x_2130); -x_2133 = lean_array_push(x_2071, x_2132); +x_2121 = lean_array_push(x_2000, x_2120); +x_2122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2122, 0, x_2011); +lean_ctor_set(x_2122, 1, x_2121); +x_2123 = lean_array_push(x_2113, x_2122); +x_2124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2124, 0, x_7); +lean_ctor_set(x_2124, 1, x_2123); +x_2125 = lean_array_push(x_2107, x_2124); +x_2126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2126, 0, x_2096); +lean_ctor_set(x_2126, 1, x_2125); +x_2127 = lean_array_push(x_2098, x_2126); +x_2128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2128, 0, x_2011); +lean_ctor_set(x_2128, 1, x_2127); +x_2129 = lean_array_push(x_2000, x_2128); +x_2130 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_2131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2131, 0, x_2130); +lean_ctor_set(x_2131, 1, x_2129); +x_2132 = lean_array_push(x_2073, x_2131); +x_2133 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; x_2134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2134, 0, x_2082); -lean_ctor_set(x_2134, 1, x_2133); -x_2135 = lean_array_push(x_2100, x_2134); -x_2136 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_2137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2137, 0, x_2136); -lean_ctor_set(x_2137, 1, x_2135); -x_2138 = lean_array_push(x_2121, x_2137); -x_2139 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_2060); -x_2140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2140, 0, x_2060); -lean_ctor_set(x_2140, 1, x_2139); -x_2141 = lean_array_push(x_2071, x_2140); -x_2142 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_2060); -x_2143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2143, 0, x_2060); -lean_ctor_set(x_2143, 1, x_2142); -x_2144 = lean_array_push(x_2071, x_2143); -x_2145 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_2060); -x_2146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2146, 0, x_2060); -lean_ctor_set(x_2146, 1, x_2145); -x_2147 = lean_array_push(x_2071, x_2146); -x_2148 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_2060); -x_2149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2149, 0, x_2060); -lean_ctor_set(x_2149, 1, x_2148); -x_2150 = lean_array_push(x_2071, x_2149); -lean_inc(x_2150); -x_2151 = lean_array_push(x_2150, x_2056); -x_2152 = l_prec_x28___x29___closed__7; -lean_inc(x_2060); -x_2153 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2153, 0, x_2060); -lean_ctor_set(x_2153, 1, x_2152); -lean_inc(x_2153); -x_2154 = lean_array_push(x_2151, x_2153); -x_2155 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_2156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2156, 0, x_2155); -lean_ctor_set(x_2156, 1, x_2154); -x_2157 = lean_array_push(x_2071, x_2156); -x_2158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2158, 0, x_2082); -lean_ctor_set(x_2158, 1, x_2157); -lean_inc(x_2147); -x_2159 = lean_array_push(x_2147, x_2158); -x_2160 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_2060); -x_2161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2161, 0, x_2060); -lean_ctor_set(x_2161, 1, x_2160); -lean_inc(x_2161); -x_2162 = lean_array_push(x_2159, x_2161); -x_2163 = lean_array_push(x_2150, x_3); -lean_inc(x_2153); -x_2164 = lean_array_push(x_2163, x_2153); -x_2165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2165, 0, x_2155); -lean_ctor_set(x_2165, 1, x_2164); -x_2166 = lean_array_push(x_2162, x_2165); -x_2167 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -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 = lean_array_push(x_2071, x_2168); -x_2170 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_2060); -x_2171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2171, 0, x_2060); -lean_ctor_set(x_2171, 1, x_2170); -x_2172 = lean_array_push(x_2071, x_2171); -x_2173 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2174, 0, x_2173); -lean_ctor_set(x_2174, 1, x_2172); -x_2175 = lean_array_push(x_2071, x_2174); -x_2176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2176, 0, x_2082); -lean_ctor_set(x_2176, 1, x_2175); -x_2177 = lean_array_push(x_2147, x_2176); -x_2178 = lean_array_push(x_2177, x_2161); -x_2179 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_2180 = l_Lean_addMacroScope(x_2066, x_2179, x_2063); -x_2181 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_2182 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_2060); -x_2183 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2183, 0, x_2060); -lean_ctor_set(x_2183, 1, x_2181); -lean_ctor_set(x_2183, 2, x_2180); -lean_ctor_set(x_2183, 3, x_2182); -x_2184 = lean_array_push(x_2071, x_2183); -x_2185 = l_prec_x28___x29___closed__3; -x_2186 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2186, 0, x_2060); -lean_ctor_set(x_2186, 1, x_2185); -x_2187 = lean_array_push(x_2071, x_2186); -x_2188 = lean_array_push(x_2187, x_2102); -x_2189 = lean_array_push(x_2188, x_2153); -x_2190 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -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_2071, x_2191); -x_2193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2193, 0, x_2082); -lean_ctor_set(x_2193, 1, x_2192); -x_2194 = lean_array_push(x_2184, x_2193); -x_2195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2195, 0, x_8); -lean_ctor_set(x_2195, 1, x_2194); -x_2196 = lean_array_push(x_2178, x_2195); -x_2197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2197, 0, x_2167); -lean_ctor_set(x_2197, 1, x_2196); -x_2198 = lean_array_push(x_2169, x_2197); -x_2199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2199, 0, x_2082); -lean_ctor_set(x_2199, 1, x_2198); -x_2200 = lean_array_push(x_2071, x_2199); -x_2201 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_2202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2202, 0, x_2201); -lean_ctor_set(x_2202, 1, x_2200); -x_2203 = lean_array_push(x_2144, x_2202); -x_2204 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_2205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2205, 0, x_2204); -lean_ctor_set(x_2205, 1, x_2203); -x_2206 = lean_array_push(x_2141, x_2205); -x_2207 = lean_array_push(x_2206, x_2102); -x_2208 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -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 = lean_array_push(x_2138, x_2209); -x_2211 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_2212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2212, 0, x_2211); -lean_ctor_set(x_2212, 1, x_2210); -x_2213 = lean_array_push(x_2109, x_2212); -x_2214 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_2215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2215, 0, x_2214); -lean_ctor_set(x_2215, 1, x_2213); -if (lean_is_scalar(x_2061)) { - x_2216 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2134, 0, x_2133); +lean_ctor_set(x_2134, 1, x_2132); +x_2135 = lean_array_push(x_2070, x_2134); +x_2136 = lean_array_push(x_2135, x_2031); +x_2137 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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_2067, x_2138); +x_2140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_2141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2141, 0, x_2140); +lean_ctor_set(x_2141, 1, x_2139); +x_2142 = lean_array_push(x_2038, x_2141); +x_2143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; +x_2144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2144, 0, x_2143); +lean_ctor_set(x_2144, 1, x_2142); +if (lean_is_scalar(x_1995)) { + x_2145 = lean_alloc_ctor(1, 1, 0); } else { - x_2216 = x_2061; + x_2145 = x_1995; } -lean_ctor_set(x_2216, 0, x_2215); -if (lean_is_scalar(x_2068)) { - x_2217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2145, 0, x_2144); +if (lean_is_scalar(x_1993)) { + x_2146 = lean_alloc_ctor(0, 2, 0); } else { - x_2217 = x_2068; + x_2146 = x_1993; } -lean_ctor_set(x_2217, 0, x_2216); -lean_ctor_set(x_2217, 1, x_2067); -return x_2217; +lean_ctor_set(x_2146, 0, x_2145); +lean_ctor_set(x_2146, 1, x_1992); +return x_2146; } } } } else { -uint8_t x_2256; -x_2256 = lean_nat_dec_le(x_2047, x_2047); -if (x_2256 == 0) +uint8_t x_2177; +x_2177 = lean_nat_dec_le(x_1980, x_1980); +if (x_2177 == 0) { -uint8_t x_2257; -lean_dec(x_2047); -x_2257 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_2257 == 0) +uint8_t x_2178; +lean_dec(x_1980); +x_2178 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_2178 == 0) { -lean_object* x_2258; lean_object* x_2259; -lean_dec(x_2046); -lean_dec(x_409); +lean_object* x_2179; lean_object* x_2180; +lean_dec(x_1979); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_2258 = lean_box(0); -x_2259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2259, 0, x_2258); -lean_ctor_set(x_2259, 1, x_2045); -return x_2259; +x_2179 = lean_box(0); +x_2180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2180, 0, x_2179); +lean_ctor_set(x_2180, 1, x_1978); +return x_2180; } else { -lean_object* x_2260; lean_object* x_2261; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; 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; -x_2448 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2045); -x_2449 = lean_ctor_get(x_2448, 0); -lean_inc(x_2449); -x_2450 = lean_ctor_get(x_2448, 1); -lean_inc(x_2450); -lean_dec(x_2448); -x_2451 = lean_ctor_get(x_2449, 0); -lean_inc(x_2451); -if (lean_is_exclusive(x_2449)) { - lean_ctor_release(x_2449, 0); - x_2452 = x_2449; +lean_object* x_2181; lean_object* x_2182; 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; +x_2361 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1978); +x_2362 = lean_ctor_get(x_2361, 0); +lean_inc(x_2362); +x_2363 = lean_ctor_get(x_2361, 1); +lean_inc(x_2363); +lean_dec(x_2361); +x_2364 = lean_ctor_get(x_2362, 0); +lean_inc(x_2364); +if (lean_is_exclusive(x_2362)) { + lean_ctor_release(x_2362, 0); + x_2365 = x_2362; } else { - lean_dec_ref(x_2449); - x_2452 = lean_box(0); + lean_dec_ref(x_2362); + x_2365 = lean_box(0); } -x_2453 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2450); -x_2454 = lean_ctor_get(x_2453, 1); -lean_inc(x_2454); -lean_dec(x_2453); -x_2455 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2454); -x_2456 = lean_ctor_get(x_2455, 1); -lean_inc(x_2456); -lean_dec(x_2455); -x_2457 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_2458 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2458, 0, x_2451); -lean_ctor_set(x_2458, 1, x_2457); -x_2459 = l_Array_empty___closed__1; -x_2460 = lean_array_push(x_2459, x_2458); -x_2461 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2462, 0, x_2461); -lean_ctor_set(x_2462, 1, x_2460); -if (lean_is_scalar(x_2452)) { - x_2463 = lean_alloc_ctor(1, 1, 0); +x_2366 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_2367 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2367, 0, x_2364); +lean_ctor_set(x_2367, 1, x_2366); +x_2368 = l_Array_empty___closed__1; +x_2369 = lean_array_push(x_2368, x_2367); +x_2370 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_2371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2371, 0, x_2370); +lean_ctor_set(x_2371, 1, x_2369); +if (lean_is_scalar(x_2365)) { + x_2372 = lean_alloc_ctor(1, 1, 0); } else { - x_2463 = x_2452; + x_2372 = x_2365; } -lean_ctor_set(x_2463, 0, x_2462); -x_2260 = x_2463; -x_2261 = x_2456; -goto block_2447; -block_2447: +lean_ctor_set(x_2372, 0, x_2371); +x_2181 = x_2372; +x_2182 = x_2363; +goto block_2360; +block_2360: { -lean_object* x_2262; lean_object* x_2263; 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; -x_2427 = lean_ctor_get(x_2260, 0); -lean_inc(x_2427); -lean_dec(x_2260); -x_2428 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2261); -x_2429 = lean_ctor_get(x_2428, 0); -lean_inc(x_2429); -if (lean_is_exclusive(x_2429)) { - lean_ctor_release(x_2429, 0); - x_2430 = x_2429; +lean_object* x_2183; lean_object* x_2184; 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; +x_2344 = lean_ctor_get(x_2181, 0); +lean_inc(x_2344); +lean_dec(x_2181); +x_2345 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2182); +x_2346 = lean_ctor_get(x_2345, 0); +lean_inc(x_2346); +if (lean_is_exclusive(x_2346)) { + lean_ctor_release(x_2346, 0); + x_2347 = x_2346; } else { - lean_dec_ref(x_2429); - x_2430 = lean_box(0); + lean_dec_ref(x_2346); + x_2347 = lean_box(0); } -x_2431 = lean_ctor_get(x_2428, 1); -lean_inc(x_2431); -lean_dec(x_2428); -x_2432 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2431); -x_2433 = lean_ctor_get(x_2432, 1); -lean_inc(x_2433); -lean_dec(x_2432); -x_2434 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2433); -x_2435 = lean_ctor_get(x_2434, 1); -lean_inc(x_2435); -lean_dec(x_2434); -x_2436 = lean_box(0); -x_2437 = lean_box(0); -x_2438 = l_Lean_Syntax_mkAntiquotNode(x_2427, x_401, x_2436, x_2437); -x_2439 = l_Array_empty___closed__1; -x_2440 = lean_array_push(x_2439, x_2438); -x_2441 = l_Array_appendCore___rarg(x_2439, x_409); -lean_dec(x_409); -x_2442 = l_Lean_nullKind___closed__2; -x_2443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2443, 0, x_2442); -lean_ctor_set(x_2443, 1, x_2441); -x_2444 = lean_array_push(x_2440, x_2443); -x_2445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2445, 0, x_8); -lean_ctor_set(x_2445, 1, x_2444); -if (lean_is_scalar(x_2430)) { - x_2446 = lean_alloc_ctor(1, 1, 0); +x_2348 = lean_ctor_get(x_2345, 1); +lean_inc(x_2348); +lean_dec(x_2345); +x_2349 = lean_box(0); +x_2350 = lean_box(0); +x_2351 = l_Lean_Syntax_mkAntiquotNode(x_2344, x_398, x_2349, x_2350); +x_2352 = l_Array_empty___closed__1; +x_2353 = lean_array_push(x_2352, x_2351); +x_2354 = l_Array_appendCore___rarg(x_2352, x_406); +lean_dec(x_406); +x_2355 = l_Lean_nullKind___closed__2; +x_2356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2356, 0, x_2355); +lean_ctor_set(x_2356, 1, x_2354); +x_2357 = lean_array_push(x_2353, x_2356); +x_2358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2358, 0, x_7); +lean_ctor_set(x_2358, 1, x_2357); +if (lean_is_scalar(x_2347)) { + x_2359 = lean_alloc_ctor(1, 1, 0); } else { - x_2446 = x_2430; + x_2359 = x_2347; } -lean_ctor_set(x_2446, 0, x_2445); -x_2262 = x_2446; -x_2263 = x_2435; -goto block_2426; -block_2426: +lean_ctor_set(x_2359, 0, x_2358); +x_2183 = x_2359; +x_2184 = x_2348; +goto block_2343; +block_2343: { -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; -x_2264 = lean_ctor_get(x_2262, 0); -lean_inc(x_2264); -lean_dec(x_2262); -x_2265 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2263); -x_2266 = lean_ctor_get(x_2265, 0); -lean_inc(x_2266); -x_2267 = lean_ctor_get(x_2265, 1); -lean_inc(x_2267); -lean_dec(x_2265); -x_2268 = lean_ctor_get(x_2266, 0); -lean_inc(x_2268); -if (lean_is_exclusive(x_2266)) { - lean_ctor_release(x_2266, 0); - x_2269 = x_2266; +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_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; +x_2185 = lean_ctor_get(x_2183, 0); +lean_inc(x_2185); +lean_dec(x_2183); +x_2186 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2184); +x_2187 = lean_ctor_get(x_2186, 0); +lean_inc(x_2187); +x_2188 = lean_ctor_get(x_2186, 1); +lean_inc(x_2188); +if (lean_is_exclusive(x_2186)) { + lean_ctor_release(x_2186, 0); + lean_ctor_release(x_2186, 1); + x_2189 = x_2186; } else { - lean_dec_ref(x_2266); - x_2269 = lean_box(0); + lean_dec_ref(x_2186); + x_2189 = lean_box(0); } -x_2270 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2267); -x_2271 = lean_ctor_get(x_2270, 0); -lean_inc(x_2271); -x_2272 = lean_ctor_get(x_2270, 1); -lean_inc(x_2272); -lean_dec(x_2270); -x_2273 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2272); -x_2274 = lean_ctor_get(x_2273, 0); -lean_inc(x_2274); -x_2275 = lean_ctor_get(x_2273, 1); +x_2190 = lean_ctor_get(x_2187, 0); +lean_inc(x_2190); +if (lean_is_exclusive(x_2187)) { + lean_ctor_release(x_2187, 0); + x_2191 = x_2187; +} else { + lean_dec_ref(x_2187); + x_2191 = lean_box(0); +} +x_2192 = lean_ctor_get(x_5, 2); +lean_inc(x_2192); +x_2193 = lean_ctor_get(x_5, 1); +lean_inc(x_2193); +lean_dec(x_5); +x_2194 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_2190); +x_2195 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2195, 0, x_2190); +lean_ctor_set(x_2195, 1, x_2194); +x_2196 = l_Array_empty___closed__1; +x_2197 = lean_array_push(x_2196, x_2195); +x_2198 = lean_array_push(x_2196, x_1); +x_2199 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_2192); +lean_inc(x_2193); +x_2200 = l_Lean_addMacroScope(x_2193, x_2199, x_2192); +x_2201 = lean_box(0); +x_2202 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_2190); +x_2203 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2203, 0, x_2190); +lean_ctor_set(x_2203, 1, x_2202); +lean_ctor_set(x_2203, 2, x_2200); +lean_ctor_set(x_2203, 3, x_2201); +x_2204 = lean_array_push(x_2196, x_2203); +x_2205 = lean_mk_syntax_ident(x_1979); +x_2206 = lean_array_push(x_2196, x_2205); +x_2207 = l_Lean_nullKind___closed__2; +x_2208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2208, 0, x_2207); +lean_ctor_set(x_2208, 1, x_2206); +x_2209 = lean_array_push(x_2204, x_2208); +x_2210 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_2211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2211, 0, x_2210); +lean_ctor_set(x_2211, 1, x_2209); +x_2212 = lean_array_push(x_2198, x_2211); +x_2213 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_2214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2214, 0, x_2213); +lean_ctor_set(x_2214, 1, x_2212); +x_2215 = lean_array_push(x_2196, x_2214); +x_2216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2216, 0, x_2207); +lean_ctor_set(x_2216, 1, x_2215); +x_2217 = lean_array_push(x_2197, x_2216); +x_2218 = l_term_x5b___x5d___closed__9; +lean_inc(x_2190); +x_2219 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2219, 0, x_2190); +lean_ctor_set(x_2219, 1, x_2218); +x_2220 = lean_array_push(x_2217, x_2219); +x_2221 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; +x_2222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2222, 0, x_2221); +lean_ctor_set(x_2222, 1, x_2220); +x_2223 = lean_array_push(x_2196, x_2222); +x_2224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2224, 0, x_2207); +lean_ctor_set(x_2224, 1, x_2223); +x_2225 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_2226 = lean_array_push(x_2225, x_2224); +x_2227 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_2228 = lean_array_push(x_2226, x_2227); +x_2229 = lean_array_push(x_2228, x_2227); +x_2230 = lean_array_push(x_2229, x_2227); +x_2231 = lean_array_push(x_2230, x_2227); +x_2232 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_2233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2233, 0, x_2232); +lean_ctor_set(x_2233, 1, x_2231); +x_2234 = lean_array_push(x_2196, x_2233); +x_2235 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_2190); +x_2236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2236, 0, x_2190); +lean_ctor_set(x_2236, 1, x_2235); +x_2237 = lean_array_push(x_2196, x_2236); +x_2238 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_2192); +lean_inc(x_2193); +x_2239 = l_Lean_addMacroScope(x_2193, x_2238, x_2192); +x_2240 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_2190); +x_2241 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2241, 0, x_2190); +lean_ctor_set(x_2241, 1, x_2240); +lean_ctor_set(x_2241, 2, x_2239); +lean_ctor_set(x_2241, 3, x_2201); +x_2242 = lean_array_push(x_2196, x_2241); +x_2243 = lean_array_push(x_2242, x_2227); +x_2244 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_2245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2245, 0, x_2244); +lean_ctor_set(x_2245, 1, x_2243); +x_2246 = lean_array_push(x_2237, x_2245); +x_2247 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_2190); +x_2248 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2248, 0, x_2190); +lean_ctor_set(x_2248, 1, x_2247); +x_2249 = lean_array_push(x_2196, x_2248); +x_2250 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_2192); +lean_inc(x_2193); +x_2251 = l_Lean_addMacroScope(x_2193, x_2250, x_2192); +x_2252 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2253 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_2190); +x_2254 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2254, 0, x_2190); +lean_ctor_set(x_2254, 1, x_2252); +lean_ctor_set(x_2254, 2, x_2251); +lean_ctor_set(x_2254, 3, x_2253); +x_2255 = lean_array_push(x_2249, x_2254); +x_2256 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_2257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2257, 0, x_2256); +lean_ctor_set(x_2257, 1, x_2255); +x_2258 = lean_array_push(x_2196, x_2257); +x_2259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2259, 0, x_2207); +lean_ctor_set(x_2259, 1, x_2258); +x_2260 = lean_array_push(x_2225, x_2259); +x_2261 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_2262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2262, 0, x_2261); +lean_ctor_set(x_2262, 1, x_2260); +x_2263 = lean_array_push(x_2246, x_2262); +x_2264 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_2190); +x_2265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2265, 0, x_2190); +lean_ctor_set(x_2265, 1, x_2264); +x_2266 = lean_array_push(x_2196, x_2265); +x_2267 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_2190); +x_2268 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2268, 0, x_2190); +lean_ctor_set(x_2268, 1, x_2267); +x_2269 = lean_array_push(x_2196, x_2268); +x_2270 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_2190); +x_2271 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2271, 0, x_2190); +lean_ctor_set(x_2271, 1, x_2270); +x_2272 = lean_array_push(x_2196, x_2271); +x_2273 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_2190); +x_2274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2274, 0, x_2190); +lean_ctor_set(x_2274, 1, x_2273); +x_2275 = lean_array_push(x_2196, x_2274); lean_inc(x_2275); -if (lean_is_exclusive(x_2273)) { - lean_ctor_release(x_2273, 0); - lean_ctor_release(x_2273, 1); - x_2276 = x_2273; -} else { - lean_dec_ref(x_2273); - x_2276 = lean_box(0); -} -x_2277 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_2268); +x_2276 = lean_array_push(x_2275, x_2185); +x_2277 = l_prec_x28___x29___closed__7; +lean_inc(x_2190); x_2278 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2278, 0, x_2268); +lean_ctor_set(x_2278, 0, x_2190); lean_ctor_set(x_2278, 1, x_2277); -x_2279 = l_Array_empty___closed__1; -x_2280 = lean_array_push(x_2279, x_2278); -x_2281 = lean_array_push(x_2279, x_1); -x_2282 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2271); -lean_inc(x_2274); -x_2283 = l_Lean_addMacroScope(x_2274, x_2282, x_2271); -x_2284 = lean_box(0); -x_2285 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2268); -x_2286 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2286, 0, x_2268); +lean_inc(x_2278); +x_2279 = lean_array_push(x_2276, x_2278); +x_2280 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_2281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2281, 0, x_2280); +lean_ctor_set(x_2281, 1, x_2279); +x_2282 = lean_array_push(x_2196, x_2281); +x_2283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2283, 0, x_2207); +lean_ctor_set(x_2283, 1, x_2282); +lean_inc(x_2272); +x_2284 = lean_array_push(x_2272, x_2283); +x_2285 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_2190); +x_2286 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2286, 0, x_2190); lean_ctor_set(x_2286, 1, x_2285); -lean_ctor_set(x_2286, 2, x_2283); -lean_ctor_set(x_2286, 3, x_2284); -x_2287 = lean_array_push(x_2279, x_2286); -x_2288 = lean_mk_syntax_ident(x_2046); -x_2289 = lean_array_push(x_2279, x_2288); -x_2290 = l_Lean_nullKind___closed__2; -x_2291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2291, 0, x_2290); -lean_ctor_set(x_2291, 1, x_2289); -x_2292 = lean_array_push(x_2287, x_2291); -x_2293 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_2294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2294, 0, x_2293); -lean_ctor_set(x_2294, 1, x_2292); -x_2295 = lean_array_push(x_2281, x_2294); -x_2296 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_2297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2297, 0, x_2296); -lean_ctor_set(x_2297, 1, x_2295); -x_2298 = lean_array_push(x_2279, x_2297); +lean_inc(x_2286); +x_2287 = lean_array_push(x_2284, x_2286); +x_2288 = lean_array_push(x_2275, x_3); +lean_inc(x_2278); +x_2289 = lean_array_push(x_2288, x_2278); +x_2290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2290, 0, x_2280); +lean_ctor_set(x_2290, 1, x_2289); +x_2291 = lean_array_push(x_2287, x_2290); +x_2292 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_2293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2293, 0, x_2292); +lean_ctor_set(x_2293, 1, x_2291); +x_2294 = lean_array_push(x_2196, x_2293); +x_2295 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_2190); +x_2296 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2296, 0, x_2190); +lean_ctor_set(x_2296, 1, x_2295); +x_2297 = lean_array_push(x_2196, x_2296); +x_2298 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; x_2299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2299, 0, x_2290); -lean_ctor_set(x_2299, 1, x_2298); -x_2300 = lean_array_push(x_2280, x_2299); -x_2301 = l_term_x5b___x5d___closed__9; -lean_inc(x_2268); -x_2302 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2302, 0, x_2268); -lean_ctor_set(x_2302, 1, x_2301); -x_2303 = lean_array_push(x_2300, x_2302); -x_2304 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -x_2305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2305, 0, x_2304); -lean_ctor_set(x_2305, 1, x_2303); -x_2306 = lean_array_push(x_2279, x_2305); -x_2307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2307, 0, x_2290); -lean_ctor_set(x_2307, 1, x_2306); -x_2308 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_2309 = lean_array_push(x_2308, x_2307); -x_2310 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_2311 = lean_array_push(x_2309, x_2310); -x_2312 = lean_array_push(x_2311, x_2310); -x_2313 = lean_array_push(x_2312, x_2310); -x_2314 = lean_array_push(x_2313, x_2310); -x_2315 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +lean_ctor_set(x_2299, 0, x_2298); +lean_ctor_set(x_2299, 1, x_2297); +x_2300 = lean_array_push(x_2196, x_2299); +x_2301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2301, 0, x_2207); +lean_ctor_set(x_2301, 1, x_2300); +x_2302 = lean_array_push(x_2272, x_2301); +x_2303 = lean_array_push(x_2302, x_2286); +x_2304 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_2305 = l_Lean_addMacroScope(x_2193, x_2304, x_2192); +x_2306 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_2307 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_2190); +x_2308 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2308, 0, x_2190); +lean_ctor_set(x_2308, 1, x_2306); +lean_ctor_set(x_2308, 2, x_2305); +lean_ctor_set(x_2308, 3, x_2307); +x_2309 = lean_array_push(x_2196, x_2308); +x_2310 = l_prec_x28___x29___closed__3; +x_2311 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2311, 0, x_2190); +lean_ctor_set(x_2311, 1, x_2310); +x_2312 = lean_array_push(x_2196, x_2311); +x_2313 = lean_array_push(x_2312, x_2227); +x_2314 = lean_array_push(x_2313, x_2278); +x_2315 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; x_2316 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2316, 0, x_2315); lean_ctor_set(x_2316, 1, x_2314); -x_2317 = lean_array_push(x_2279, x_2316); -x_2318 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_2268); -x_2319 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2319, 0, x_2268); -lean_ctor_set(x_2319, 1, x_2318); -x_2320 = lean_array_push(x_2279, x_2319); -x_2321 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2271); -lean_inc(x_2274); -x_2322 = l_Lean_addMacroScope(x_2274, x_2321, x_2271); -x_2323 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2268); -x_2324 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2324, 0, x_2268); +x_2317 = lean_array_push(x_2196, x_2316); +x_2318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2318, 0, x_2207); +lean_ctor_set(x_2318, 1, x_2317); +x_2319 = lean_array_push(x_2309, x_2318); +x_2320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2320, 0, x_7); +lean_ctor_set(x_2320, 1, x_2319); +x_2321 = lean_array_push(x_2303, x_2320); +x_2322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2322, 0, x_2292); +lean_ctor_set(x_2322, 1, x_2321); +x_2323 = lean_array_push(x_2294, x_2322); +x_2324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2324, 0, x_2207); lean_ctor_set(x_2324, 1, x_2323); -lean_ctor_set(x_2324, 2, x_2322); -lean_ctor_set(x_2324, 3, x_2284); -x_2325 = lean_array_push(x_2279, x_2324); -x_2326 = lean_array_push(x_2325, x_2310); -x_2327 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; -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_2320, x_2328); -x_2330 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_2268); -x_2331 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2331, 0, x_2268); -lean_ctor_set(x_2331, 1, x_2330); -x_2332 = lean_array_push(x_2279, x_2331); -x_2333 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_2271); -lean_inc(x_2274); -x_2334 = l_Lean_addMacroScope(x_2274, x_2333, x_2271); -x_2335 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2336 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2268); -x_2337 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2337, 0, x_2268); +x_2325 = lean_array_push(x_2196, x_2324); +x_2326 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_2327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2327, 0, x_2326); +lean_ctor_set(x_2327, 1, x_2325); +x_2328 = lean_array_push(x_2269, x_2327); +x_2329 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_2330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2330, 0, x_2329); +lean_ctor_set(x_2330, 1, x_2328); +x_2331 = lean_array_push(x_2266, x_2330); +x_2332 = lean_array_push(x_2331, x_2227); +x_2333 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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_2263, x_2334); +x_2336 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_2337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2337, 0, x_2336); lean_ctor_set(x_2337, 1, x_2335); -lean_ctor_set(x_2337, 2, x_2334); -lean_ctor_set(x_2337, 3, x_2336); -x_2338 = lean_array_push(x_2332, x_2337); -x_2339 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_2338 = lean_array_push(x_2234, x_2337); +x_2339 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; 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 = lean_array_push(x_2279, x_2340); -x_2342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2342, 0, x_2290); -lean_ctor_set(x_2342, 1, x_2341); -x_2343 = lean_array_push(x_2308, x_2342); -x_2344 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_2345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2345, 0, x_2344); -lean_ctor_set(x_2345, 1, x_2343); -x_2346 = lean_array_push(x_2329, x_2345); -x_2347 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_2268); -x_2348 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2348, 0, x_2268); -lean_ctor_set(x_2348, 1, x_2347); -x_2349 = lean_array_push(x_2279, x_2348); -x_2350 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_2268); -x_2351 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2351, 0, x_2268); -lean_ctor_set(x_2351, 1, x_2350); -x_2352 = lean_array_push(x_2279, x_2351); -x_2353 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_2268); -x_2354 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2354, 0, x_2268); -lean_ctor_set(x_2354, 1, x_2353); -x_2355 = lean_array_push(x_2279, x_2354); -x_2356 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_2268); -x_2357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2357, 0, x_2268); -lean_ctor_set(x_2357, 1, x_2356); -x_2358 = lean_array_push(x_2279, x_2357); -lean_inc(x_2358); -x_2359 = lean_array_push(x_2358, x_2264); -x_2360 = l_prec_x28___x29___closed__7; -lean_inc(x_2268); -x_2361 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2361, 0, x_2268); -lean_ctor_set(x_2361, 1, x_2360); -lean_inc(x_2361); -x_2362 = lean_array_push(x_2359, x_2361); -x_2363 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -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 = lean_array_push(x_2279, x_2364); -x_2366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2366, 0, x_2290); -lean_ctor_set(x_2366, 1, x_2365); -lean_inc(x_2355); -x_2367 = lean_array_push(x_2355, x_2366); -x_2368 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_2268); -x_2369 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2369, 0, x_2268); -lean_ctor_set(x_2369, 1, x_2368); -lean_inc(x_2369); -x_2370 = lean_array_push(x_2367, x_2369); -x_2371 = lean_array_push(x_2358, x_3); -lean_inc(x_2361); -x_2372 = lean_array_push(x_2371, x_2361); -x_2373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2373, 0, x_2363); -lean_ctor_set(x_2373, 1, x_2372); -x_2374 = lean_array_push(x_2370, x_2373); -x_2375 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -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 = lean_array_push(x_2279, x_2376); -x_2378 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_2268); -x_2379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2379, 0, x_2268); -lean_ctor_set(x_2379, 1, x_2378); -x_2380 = lean_array_push(x_2279, x_2379); -x_2381 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2382, 0, x_2381); -lean_ctor_set(x_2382, 1, x_2380); -x_2383 = lean_array_push(x_2279, x_2382); -x_2384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2384, 0, x_2290); -lean_ctor_set(x_2384, 1, x_2383); -x_2385 = lean_array_push(x_2355, x_2384); -x_2386 = lean_array_push(x_2385, x_2369); -x_2387 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_2388 = l_Lean_addMacroScope(x_2274, x_2387, x_2271); -x_2389 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_2390 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_2268); -x_2391 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2391, 0, x_2268); -lean_ctor_set(x_2391, 1, x_2389); -lean_ctor_set(x_2391, 2, x_2388); -lean_ctor_set(x_2391, 3, x_2390); -x_2392 = lean_array_push(x_2279, x_2391); -x_2393 = l_prec_x28___x29___closed__3; -x_2394 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2394, 0, x_2268); -lean_ctor_set(x_2394, 1, x_2393); -x_2395 = lean_array_push(x_2279, x_2394); -x_2396 = lean_array_push(x_2395, x_2310); -x_2397 = lean_array_push(x_2396, x_2361); -x_2398 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_2399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2399, 0, x_2398); -lean_ctor_set(x_2399, 1, x_2397); -x_2400 = lean_array_push(x_2279, x_2399); -x_2401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2401, 0, x_2290); +if (lean_is_scalar(x_2191)) { + x_2341 = lean_alloc_ctor(1, 1, 0); +} else { + x_2341 = x_2191; +} +lean_ctor_set(x_2341, 0, x_2340); +if (lean_is_scalar(x_2189)) { + x_2342 = lean_alloc_ctor(0, 2, 0); +} else { + x_2342 = x_2189; +} +lean_ctor_set(x_2342, 0, x_2341); +lean_ctor_set(x_2342, 1, x_2188); +return x_2342; +} +} +} +} +else +{ +size_t x_2373; size_t x_2374; uint8_t x_2375; +x_2373 = 0; +x_2374 = lean_usize_of_nat(x_1980); +lean_dec(x_1980); +x_2375 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_406, x_2373, x_2374); +if (x_2375 == 0) +{ +uint8_t x_2376; +x_2376 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_406, x_398); +if (x_2376 == 0) +{ +lean_object* x_2377; lean_object* x_2378; +lean_dec(x_1979); +lean_dec(x_406); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2377 = lean_box(0); +x_2378 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2378, 0, x_2377); +lean_ctor_set(x_2378, 1, x_1978); +return x_2378; +} +else +{ +lean_object* x_2379; lean_object* x_2380; 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; +x_2559 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1978); +x_2560 = lean_ctor_get(x_2559, 0); +lean_inc(x_2560); +x_2561 = lean_ctor_get(x_2559, 1); +lean_inc(x_2561); +lean_dec(x_2559); +x_2562 = lean_ctor_get(x_2560, 0); +lean_inc(x_2562); +if (lean_is_exclusive(x_2560)) { + lean_ctor_release(x_2560, 0); + x_2563 = x_2560; +} else { + lean_dec_ref(x_2560); + x_2563 = lean_box(0); +} +x_2564 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +x_2565 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2565, 0, x_2562); +lean_ctor_set(x_2565, 1, x_2564); +x_2566 = l_Array_empty___closed__1; +x_2567 = lean_array_push(x_2566, x_2565); +x_2568 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_2569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2569, 0, x_2568); +lean_ctor_set(x_2569, 1, x_2567); +if (lean_is_scalar(x_2563)) { + x_2570 = lean_alloc_ctor(1, 1, 0); +} else { + x_2570 = x_2563; +} +lean_ctor_set(x_2570, 0, x_2569); +x_2379 = x_2570; +x_2380 = x_2561; +goto block_2558; +block_2558: +{ +lean_object* x_2381; lean_object* x_2382; 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; +x_2542 = lean_ctor_get(x_2379, 0); +lean_inc(x_2542); +lean_dec(x_2379); +x_2543 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2380); +x_2544 = lean_ctor_get(x_2543, 0); +lean_inc(x_2544); +if (lean_is_exclusive(x_2544)) { + lean_ctor_release(x_2544, 0); + x_2545 = x_2544; +} else { + lean_dec_ref(x_2544); + x_2545 = lean_box(0); +} +x_2546 = lean_ctor_get(x_2543, 1); +lean_inc(x_2546); +lean_dec(x_2543); +x_2547 = lean_box(0); +x_2548 = lean_box(0); +x_2549 = l_Lean_Syntax_mkAntiquotNode(x_2542, x_398, x_2547, x_2548); +x_2550 = l_Array_empty___closed__1; +x_2551 = lean_array_push(x_2550, x_2549); +x_2552 = l_Array_appendCore___rarg(x_2550, x_406); +lean_dec(x_406); +x_2553 = l_Lean_nullKind___closed__2; +x_2554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2554, 0, x_2553); +lean_ctor_set(x_2554, 1, x_2552); +x_2555 = lean_array_push(x_2551, x_2554); +x_2556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2556, 0, x_7); +lean_ctor_set(x_2556, 1, x_2555); +if (lean_is_scalar(x_2545)) { + x_2557 = lean_alloc_ctor(1, 1, 0); +} else { + x_2557 = x_2545; +} +lean_ctor_set(x_2557, 0, x_2556); +x_2381 = x_2557; +x_2382 = x_2546; +goto block_2541; +block_2541: +{ +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_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; 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; +x_2383 = lean_ctor_get(x_2381, 0); +lean_inc(x_2383); +lean_dec(x_2381); +x_2384 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2382); +x_2385 = lean_ctor_get(x_2384, 0); +lean_inc(x_2385); +x_2386 = lean_ctor_get(x_2384, 1); +lean_inc(x_2386); +if (lean_is_exclusive(x_2384)) { + lean_ctor_release(x_2384, 0); + lean_ctor_release(x_2384, 1); + x_2387 = x_2384; +} else { + lean_dec_ref(x_2384); + x_2387 = lean_box(0); +} +x_2388 = lean_ctor_get(x_2385, 0); +lean_inc(x_2388); +if (lean_is_exclusive(x_2385)) { + lean_ctor_release(x_2385, 0); + x_2389 = x_2385; +} else { + lean_dec_ref(x_2385); + x_2389 = lean_box(0); +} +x_2390 = lean_ctor_get(x_5, 2); +lean_inc(x_2390); +x_2391 = lean_ctor_get(x_5, 1); +lean_inc(x_2391); +lean_dec(x_5); +x_2392 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; +lean_inc(x_2388); +x_2393 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2393, 0, x_2388); +lean_ctor_set(x_2393, 1, x_2392); +x_2394 = l_Array_empty___closed__1; +x_2395 = lean_array_push(x_2394, x_2393); +x_2396 = lean_array_push(x_2394, x_1); +x_2397 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_inc(x_2390); +lean_inc(x_2391); +x_2398 = l_Lean_addMacroScope(x_2391, x_2397, x_2390); +x_2399 = lean_box(0); +x_2400 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_inc(x_2388); +x_2401 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2401, 0, x_2388); lean_ctor_set(x_2401, 1, x_2400); -x_2402 = lean_array_push(x_2392, x_2401); -x_2403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2403, 0, x_8); -lean_ctor_set(x_2403, 1, x_2402); -x_2404 = lean_array_push(x_2386, x_2403); -x_2405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2405, 0, x_2375); -lean_ctor_set(x_2405, 1, x_2404); -x_2406 = lean_array_push(x_2377, x_2405); -x_2407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2407, 0, x_2290); -lean_ctor_set(x_2407, 1, x_2406); -x_2408 = lean_array_push(x_2279, x_2407); -x_2409 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_2410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2410, 0, x_2409); -lean_ctor_set(x_2410, 1, x_2408); -x_2411 = lean_array_push(x_2352, x_2410); -x_2412 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_2413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2413, 0, x_2412); -lean_ctor_set(x_2413, 1, x_2411); -x_2414 = lean_array_push(x_2349, x_2413); -x_2415 = lean_array_push(x_2414, x_2310); -x_2416 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -x_2417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2417, 0, x_2416); -lean_ctor_set(x_2417, 1, x_2415); -x_2418 = lean_array_push(x_2346, x_2417); -x_2419 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +lean_ctor_set(x_2401, 2, x_2398); +lean_ctor_set(x_2401, 3, x_2399); +x_2402 = lean_array_push(x_2394, x_2401); +x_2403 = lean_mk_syntax_ident(x_1979); +x_2404 = lean_array_push(x_2394, x_2403); +x_2405 = l_Lean_nullKind___closed__2; +x_2406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2406, 0, x_2405); +lean_ctor_set(x_2406, 1, x_2404); +x_2407 = lean_array_push(x_2402, x_2406); +x_2408 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; +x_2409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2409, 0, x_2408); +lean_ctor_set(x_2409, 1, x_2407); +x_2410 = lean_array_push(x_2396, x_2409); +x_2411 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; +x_2412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2412, 0, x_2411); +lean_ctor_set(x_2412, 1, x_2410); +x_2413 = lean_array_push(x_2394, x_2412); +x_2414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2414, 0, x_2405); +lean_ctor_set(x_2414, 1, x_2413); +x_2415 = lean_array_push(x_2395, x_2414); +x_2416 = l_term_x5b___x5d___closed__9; +lean_inc(x_2388); +x_2417 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2417, 0, x_2388); +lean_ctor_set(x_2417, 1, x_2416); +x_2418 = lean_array_push(x_2415, x_2417); +x_2419 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; x_2420 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2420, 0, x_2419); lean_ctor_set(x_2420, 1, x_2418); -x_2421 = lean_array_push(x_2317, x_2420); -x_2422 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_2423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2423, 0, x_2422); -lean_ctor_set(x_2423, 1, x_2421); -if (lean_is_scalar(x_2269)) { - x_2424 = lean_alloc_ctor(1, 1, 0); -} else { - x_2424 = x_2269; -} -lean_ctor_set(x_2424, 0, x_2423); -if (lean_is_scalar(x_2276)) { - x_2425 = lean_alloc_ctor(0, 2, 0); -} else { - x_2425 = x_2276; -} -lean_ctor_set(x_2425, 0, x_2424); -lean_ctor_set(x_2425, 1, x_2275); -return x_2425; -} -} -} -} -else -{ -size_t x_2464; size_t x_2465; uint8_t x_2466; -x_2464 = 0; -x_2465 = lean_usize_of_nat(x_2047); -lean_dec(x_2047); -x_2466 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5(x_409, x_2464, x_2465); -if (x_2466 == 0) -{ -uint8_t x_2467; -x_2467 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(x_409, x_401); -if (x_2467 == 0) -{ -lean_object* x_2468; lean_object* x_2469; -lean_dec(x_2046); -lean_dec(x_409); -lean_dec(x_3); -lean_dec(x_1); -x_2468 = lean_box(0); -x_2469 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2469, 0, x_2468); -lean_ctor_set(x_2469, 1, x_2045); -return x_2469; -} -else -{ -lean_object* x_2470; lean_object* x_2471; 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; -x_2658 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2045); -x_2659 = lean_ctor_get(x_2658, 0); -lean_inc(x_2659); -x_2660 = lean_ctor_get(x_2658, 1); -lean_inc(x_2660); -lean_dec(x_2658); -x_2661 = lean_ctor_get(x_2659, 0); -lean_inc(x_2661); -if (lean_is_exclusive(x_2659)) { - lean_ctor_release(x_2659, 0); - x_2662 = x_2659; -} else { - lean_dec_ref(x_2659); - x_2662 = lean_box(0); -} -x_2663 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2660); -x_2664 = lean_ctor_get(x_2663, 1); -lean_inc(x_2664); -lean_dec(x_2663); -x_2665 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2664); -x_2666 = lean_ctor_get(x_2665, 1); -lean_inc(x_2666); -lean_dec(x_2665); -x_2667 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -x_2668 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2668, 0, x_2661); -lean_ctor_set(x_2668, 1, x_2667); -x_2669 = l_Array_empty___closed__1; -x_2670 = lean_array_push(x_2669, x_2668); -x_2671 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -x_2672 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2672, 0, x_2671); -lean_ctor_set(x_2672, 1, x_2670); -if (lean_is_scalar(x_2662)) { - x_2673 = lean_alloc_ctor(1, 1, 0); -} else { - x_2673 = x_2662; -} -lean_ctor_set(x_2673, 0, x_2672); -x_2470 = x_2673; -x_2471 = x_2666; -goto block_2657; -block_2657: -{ -lean_object* x_2472; lean_object* x_2473; 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_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; 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; -x_2637 = lean_ctor_get(x_2470, 0); -lean_inc(x_2637); -lean_dec(x_2470); -x_2638 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2471); -x_2639 = lean_ctor_get(x_2638, 0); -lean_inc(x_2639); -if (lean_is_exclusive(x_2639)) { - lean_ctor_release(x_2639, 0); - x_2640 = x_2639; -} else { - lean_dec_ref(x_2639); - x_2640 = lean_box(0); -} -x_2641 = lean_ctor_get(x_2638, 1); -lean_inc(x_2641); -lean_dec(x_2638); -x_2642 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2641); -x_2643 = lean_ctor_get(x_2642, 1); -lean_inc(x_2643); -lean_dec(x_2642); -x_2644 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2643); -x_2645 = lean_ctor_get(x_2644, 1); -lean_inc(x_2645); -lean_dec(x_2644); -x_2646 = lean_box(0); -x_2647 = lean_box(0); -x_2648 = l_Lean_Syntax_mkAntiquotNode(x_2637, x_401, x_2646, x_2647); -x_2649 = l_Array_empty___closed__1; -x_2650 = lean_array_push(x_2649, x_2648); -x_2651 = l_Array_appendCore___rarg(x_2649, x_409); -lean_dec(x_409); -x_2652 = l_Lean_nullKind___closed__2; -x_2653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2653, 0, x_2652); -lean_ctor_set(x_2653, 1, x_2651); -x_2654 = lean_array_push(x_2650, x_2653); -x_2655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2655, 0, x_8); -lean_ctor_set(x_2655, 1, x_2654); -if (lean_is_scalar(x_2640)) { - x_2656 = lean_alloc_ctor(1, 1, 0); -} else { - x_2656 = x_2640; -} -lean_ctor_set(x_2656, 0, x_2655); -x_2472 = x_2656; -x_2473 = x_2645; -goto block_2636; -block_2636: -{ -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; -x_2474 = lean_ctor_get(x_2472, 0); -lean_inc(x_2474); -lean_dec(x_2472); -x_2475 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_5, x_6, x_2473); -x_2476 = lean_ctor_get(x_2475, 0); +x_2421 = lean_array_push(x_2394, x_2420); +x_2422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2422, 0, x_2405); +lean_ctor_set(x_2422, 1, x_2421); +x_2423 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_2424 = lean_array_push(x_2423, x_2422); +x_2425 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_2426 = lean_array_push(x_2424, x_2425); +x_2427 = lean_array_push(x_2426, x_2425); +x_2428 = lean_array_push(x_2427, x_2425); +x_2429 = lean_array_push(x_2428, x_2425); +x_2430 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; +x_2431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2431, 0, x_2430); +lean_ctor_set(x_2431, 1, x_2429); +x_2432 = lean_array_push(x_2394, x_2431); +x_2433 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; +lean_inc(x_2388); +x_2434 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2434, 0, x_2388); +lean_ctor_set(x_2434, 1, x_2433); +x_2435 = lean_array_push(x_2394, x_2434); +x_2436 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_2390); +lean_inc(x_2391); +x_2437 = l_Lean_addMacroScope(x_2391, x_2436, x_2390); +x_2438 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +lean_inc(x_2388); +x_2439 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2439, 0, x_2388); +lean_ctor_set(x_2439, 1, x_2438); +lean_ctor_set(x_2439, 2, x_2437); +lean_ctor_set(x_2439, 3, x_2399); +x_2440 = lean_array_push(x_2394, x_2439); +x_2441 = lean_array_push(x_2440, x_2425); +x_2442 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_2443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2443, 0, x_2442); +lean_ctor_set(x_2443, 1, x_2441); +x_2444 = lean_array_push(x_2435, x_2443); +x_2445 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_2388); +x_2446 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2446, 0, x_2388); +lean_ctor_set(x_2446, 1, x_2445); +x_2447 = lean_array_push(x_2394, x_2446); +x_2448 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +lean_inc(x_2390); +lean_inc(x_2391); +x_2449 = l_Lean_addMacroScope(x_2391, x_2448, x_2390); +x_2450 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2451 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_inc(x_2388); +x_2452 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2452, 0, x_2388); +lean_ctor_set(x_2452, 1, x_2450); +lean_ctor_set(x_2452, 2, x_2449); +lean_ctor_set(x_2452, 3, x_2451); +x_2453 = lean_array_push(x_2447, x_2452); +x_2454 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_2455 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2455, 0, x_2454); +lean_ctor_set(x_2455, 1, x_2453); +x_2456 = lean_array_push(x_2394, x_2455); +x_2457 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2457, 0, x_2405); +lean_ctor_set(x_2457, 1, x_2456); +x_2458 = lean_array_push(x_2423, x_2457); +x_2459 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; +x_2460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2460, 0, x_2459); +lean_ctor_set(x_2460, 1, x_2458); +x_2461 = lean_array_push(x_2444, x_2460); +x_2462 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_2388); +x_2463 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2463, 0, x_2388); +lean_ctor_set(x_2463, 1, x_2462); +x_2464 = lean_array_push(x_2394, x_2463); +x_2465 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_2388); +x_2466 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2466, 0, x_2388); +lean_ctor_set(x_2466, 1, x_2465); +x_2467 = lean_array_push(x_2394, x_2466); +x_2468 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_2388); +x_2469 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2469, 0, x_2388); +lean_ctor_set(x_2469, 1, x_2468); +x_2470 = lean_array_push(x_2394, x_2469); +x_2471 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_2388); +x_2472 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2472, 0, x_2388); +lean_ctor_set(x_2472, 1, x_2471); +x_2473 = lean_array_push(x_2394, x_2472); +lean_inc(x_2473); +x_2474 = lean_array_push(x_2473, x_2383); +x_2475 = l_prec_x28___x29___closed__7; +lean_inc(x_2388); +x_2476 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2476, 0, x_2388); +lean_ctor_set(x_2476, 1, x_2475); lean_inc(x_2476); -x_2477 = lean_ctor_get(x_2475, 1); -lean_inc(x_2477); -lean_dec(x_2475); -x_2478 = lean_ctor_get(x_2476, 0); -lean_inc(x_2478); -if (lean_is_exclusive(x_2476)) { - lean_ctor_release(x_2476, 0); - x_2479 = x_2476; -} else { - lean_dec_ref(x_2476); - x_2479 = lean_box(0); -} -x_2480 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_2477); -x_2481 = lean_ctor_get(x_2480, 0); -lean_inc(x_2481); -x_2482 = lean_ctor_get(x_2480, 1); -lean_inc(x_2482); -lean_dec(x_2480); -x_2483 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_2482); -x_2484 = lean_ctor_get(x_2483, 0); +x_2477 = lean_array_push(x_2474, x_2476); +x_2478 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_2479 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2479, 0, x_2478); +lean_ctor_set(x_2479, 1, x_2477); +x_2480 = lean_array_push(x_2394, x_2479); +x_2481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2481, 0, x_2405); +lean_ctor_set(x_2481, 1, x_2480); +lean_inc(x_2470); +x_2482 = lean_array_push(x_2470, x_2481); +x_2483 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_2388); +x_2484 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2484, 0, x_2388); +lean_ctor_set(x_2484, 1, x_2483); lean_inc(x_2484); -x_2485 = lean_ctor_get(x_2483, 1); -lean_inc(x_2485); -if (lean_is_exclusive(x_2483)) { - lean_ctor_release(x_2483, 0); - lean_ctor_release(x_2483, 1); - x_2486 = x_2483; -} else { - lean_dec_ref(x_2483); - x_2486 = lean_box(0); -} -x_2487 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__10; -lean_inc(x_2478); -x_2488 = lean_alloc_ctor(2, 2, 0); +x_2485 = lean_array_push(x_2482, x_2484); +x_2486 = lean_array_push(x_2473, x_3); +lean_inc(x_2476); +x_2487 = lean_array_push(x_2486, x_2476); +x_2488 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2488, 0, x_2478); lean_ctor_set(x_2488, 1, x_2487); -x_2489 = l_Array_empty___closed__1; -x_2490 = lean_array_push(x_2489, x_2488); -x_2491 = lean_array_push(x_2489, x_1); -x_2492 = l_Lean_Elab_Command_mkSimpleDelab___closed__4; -lean_inc(x_2481); -lean_inc(x_2484); -x_2493 = l_Lean_addMacroScope(x_2484, x_2492, x_2481); -x_2494 = lean_box(0); -x_2495 = l_Lean_Elab_Command_mkSimpleDelab___closed__3; -lean_inc(x_2478); -x_2496 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2496, 0, x_2478); -lean_ctor_set(x_2496, 1, x_2495); -lean_ctor_set(x_2496, 2, x_2493); -lean_ctor_set(x_2496, 3, x_2494); -x_2497 = lean_array_push(x_2489, x_2496); -x_2498 = lean_mk_syntax_ident(x_2046); -x_2499 = lean_array_push(x_2489, x_2498); -x_2500 = l_Lean_nullKind___closed__2; -x_2501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2501, 0, x_2500); -lean_ctor_set(x_2501, 1, x_2499); -x_2502 = lean_array_push(x_2497, x_2501); -x_2503 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__14; -x_2504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2504, 0, x_2503); -lean_ctor_set(x_2504, 1, x_2502); -x_2505 = lean_array_push(x_2491, x_2504); -x_2506 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__12; -x_2507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2507, 0, x_2506); -lean_ctor_set(x_2507, 1, x_2505); -x_2508 = lean_array_push(x_2489, x_2507); -x_2509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2509, 0, x_2500); +x_2489 = lean_array_push(x_2485, x_2488); +x_2490 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_2491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2491, 0, x_2490); +lean_ctor_set(x_2491, 1, x_2489); +x_2492 = lean_array_push(x_2394, x_2491); +x_2493 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; +lean_inc(x_2388); +x_2494 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2494, 0, x_2388); +lean_ctor_set(x_2494, 1, x_2493); +x_2495 = lean_array_push(x_2394, x_2494); +x_2496 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; +x_2497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2497, 0, x_2496); +lean_ctor_set(x_2497, 1, x_2495); +x_2498 = lean_array_push(x_2394, x_2497); +x_2499 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2499, 0, x_2405); +lean_ctor_set(x_2499, 1, x_2498); +x_2500 = lean_array_push(x_2470, x_2499); +x_2501 = lean_array_push(x_2500, x_2484); +x_2502 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_2503 = l_Lean_addMacroScope(x_2391, x_2502, x_2390); +x_2504 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_2505 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_2388); +x_2506 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2506, 0, x_2388); +lean_ctor_set(x_2506, 1, x_2504); +lean_ctor_set(x_2506, 2, x_2503); +lean_ctor_set(x_2506, 3, x_2505); +x_2507 = lean_array_push(x_2394, x_2506); +x_2508 = l_prec_x28___x29___closed__3; +x_2509 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2509, 0, x_2388); lean_ctor_set(x_2509, 1, x_2508); -x_2510 = lean_array_push(x_2490, x_2509); -x_2511 = l_term_x5b___x5d___closed__9; -lean_inc(x_2478); -x_2512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2512, 0, x_2478); -lean_ctor_set(x_2512, 1, x_2511); -x_2513 = lean_array_push(x_2510, x_2512); -x_2514 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__9; -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 = lean_array_push(x_2489, x_2515); -x_2517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2517, 0, x_2500); -lean_ctor_set(x_2517, 1, x_2516); -x_2518 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_2519 = lean_array_push(x_2518, x_2517); -x_2520 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_2521 = lean_array_push(x_2519, x_2520); -x_2522 = lean_array_push(x_2521, x_2520); -x_2523 = lean_array_push(x_2522, x_2520); -x_2524 = lean_array_push(x_2523, x_2520); -x_2525 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__7; -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_2489, x_2526); -x_2528 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__19; -lean_inc(x_2478); -x_2529 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2529, 0, x_2478); -lean_ctor_set(x_2529, 1, x_2528); -x_2530 = lean_array_push(x_2489, x_2529); -x_2531 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -lean_inc(x_2481); -lean_inc(x_2484); -x_2532 = l_Lean_addMacroScope(x_2484, x_2531, x_2481); -x_2533 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; -lean_inc(x_2478); -x_2534 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2534, 0, x_2478); -lean_ctor_set(x_2534, 1, x_2533); -lean_ctor_set(x_2534, 2, x_2532); -lean_ctor_set(x_2534, 3, x_2494); -x_2535 = lean_array_push(x_2489, x_2534); -x_2536 = lean_array_push(x_2535, x_2520); -x_2537 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__22; +x_2510 = lean_array_push(x_2394, x_2509); +x_2511 = lean_array_push(x_2510, x_2425); +x_2512 = lean_array_push(x_2511, x_2476); +x_2513 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_2514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2514, 0, x_2513); +lean_ctor_set(x_2514, 1, x_2512); +x_2515 = lean_array_push(x_2394, x_2514); +x_2516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2516, 0, x_2405); +lean_ctor_set(x_2516, 1, x_2515); +x_2517 = lean_array_push(x_2507, x_2516); +x_2518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2518, 0, x_7); +lean_ctor_set(x_2518, 1, x_2517); +x_2519 = lean_array_push(x_2501, x_2518); +x_2520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2520, 0, x_2490); +lean_ctor_set(x_2520, 1, x_2519); +x_2521 = lean_array_push(x_2492, x_2520); +x_2522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2522, 0, x_2405); +lean_ctor_set(x_2522, 1, x_2521); +x_2523 = lean_array_push(x_2394, x_2522); +x_2524 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_2525 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2525, 0, x_2524); +lean_ctor_set(x_2525, 1, x_2523); +x_2526 = lean_array_push(x_2467, x_2525); +x_2527 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_2528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2528, 0, x_2527); +lean_ctor_set(x_2528, 1, x_2526); +x_2529 = lean_array_push(x_2464, x_2528); +x_2530 = lean_array_push(x_2529, x_2425); +x_2531 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; +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 = lean_array_push(x_2461, x_2532); +x_2534 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; +x_2535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2535, 0, x_2534); +lean_ctor_set(x_2535, 1, x_2533); +x_2536 = lean_array_push(x_2432, x_2535); +x_2537 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; x_2538 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2538, 0, x_2537); lean_ctor_set(x_2538, 1, x_2536); -x_2539 = lean_array_push(x_2530, x_2538); -x_2540 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_2478); -x_2541 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2541, 0, x_2478); -lean_ctor_set(x_2541, 1, x_2540); -x_2542 = lean_array_push(x_2489, x_2541); -x_2543 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; -lean_inc(x_2481); -lean_inc(x_2484); -x_2544 = l_Lean_addMacroScope(x_2484, x_2543, x_2481); -x_2545 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2546 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2478); -x_2547 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2547, 0, x_2478); -lean_ctor_set(x_2547, 1, x_2545); -lean_ctor_set(x_2547, 2, x_2544); -lean_ctor_set(x_2547, 3, x_2546); -x_2548 = lean_array_push(x_2542, x_2547); -x_2549 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_2550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2550, 0, x_2549); -lean_ctor_set(x_2550, 1, x_2548); -x_2551 = lean_array_push(x_2489, x_2550); -x_2552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2552, 0, x_2500); -lean_ctor_set(x_2552, 1, x_2551); -x_2553 = lean_array_push(x_2518, x_2552); -x_2554 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__24; -x_2555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2555, 0, x_2554); -lean_ctor_set(x_2555, 1, x_2553); -x_2556 = lean_array_push(x_2539, x_2555); -x_2557 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_2478); -x_2558 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2558, 0, x_2478); -lean_ctor_set(x_2558, 1, x_2557); -x_2559 = lean_array_push(x_2489, x_2558); -x_2560 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_2478); -x_2561 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2561, 0, x_2478); -lean_ctor_set(x_2561, 1, x_2560); -x_2562 = lean_array_push(x_2489, x_2561); -x_2563 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_2478); -x_2564 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2564, 0, x_2478); -lean_ctor_set(x_2564, 1, x_2563); -x_2565 = lean_array_push(x_2489, x_2564); -x_2566 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_2478); -x_2567 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2567, 0, x_2478); -lean_ctor_set(x_2567, 1, x_2566); -x_2568 = lean_array_push(x_2489, x_2567); -lean_inc(x_2568); -x_2569 = lean_array_push(x_2568, x_2474); -x_2570 = l_prec_x28___x29___closed__7; -lean_inc(x_2478); -x_2571 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2571, 0, x_2478); -lean_ctor_set(x_2571, 1, x_2570); -lean_inc(x_2571); -x_2572 = lean_array_push(x_2569, x_2571); -x_2573 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_2574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2574, 0, x_2573); -lean_ctor_set(x_2574, 1, x_2572); -x_2575 = lean_array_push(x_2489, x_2574); -x_2576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2576, 0, x_2500); -lean_ctor_set(x_2576, 1, x_2575); -lean_inc(x_2565); -x_2577 = lean_array_push(x_2565, x_2576); -x_2578 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_2478); -x_2579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2579, 0, x_2478); -lean_ctor_set(x_2579, 1, x_2578); -lean_inc(x_2579); -x_2580 = lean_array_push(x_2577, x_2579); -x_2581 = lean_array_push(x_2568, x_3); -lean_inc(x_2571); -x_2582 = lean_array_push(x_2581, x_2571); -x_2583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2583, 0, x_2573); -lean_ctor_set(x_2583, 1, x_2582); -x_2584 = lean_array_push(x_2580, x_2583); -x_2585 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_2586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2586, 0, x_2585); -lean_ctor_set(x_2586, 1, x_2584); -x_2587 = lean_array_push(x_2489, x_2586); -x_2588 = l_myMacro____x40_Init_Notation___hyg_13978____closed__14; -lean_inc(x_2478); -x_2589 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2589, 0, x_2478); -lean_ctor_set(x_2589, 1, x_2588); -x_2590 = lean_array_push(x_2489, x_2589); -x_2591 = l_myMacro____x40_Init_Notation___hyg_13978____closed__13; -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_2489, x_2592); -x_2594 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2594, 0, x_2500); -lean_ctor_set(x_2594, 1, x_2593); -x_2595 = lean_array_push(x_2565, x_2594); -x_2596 = lean_array_push(x_2595, x_2579); -x_2597 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_2598 = l_Lean_addMacroScope(x_2484, x_2597, x_2481); -x_2599 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_2600 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_2478); -x_2601 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2601, 0, x_2478); -lean_ctor_set(x_2601, 1, x_2599); -lean_ctor_set(x_2601, 2, x_2598); -lean_ctor_set(x_2601, 3, x_2600); -x_2602 = lean_array_push(x_2489, x_2601); -x_2603 = l_prec_x28___x29___closed__3; -x_2604 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2604, 0, x_2478); -lean_ctor_set(x_2604, 1, x_2603); -x_2605 = lean_array_push(x_2489, x_2604); -x_2606 = lean_array_push(x_2605, x_2520); -x_2607 = lean_array_push(x_2606, x_2571); -x_2608 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_2609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2609, 0, x_2608); -lean_ctor_set(x_2609, 1, x_2607); -x_2610 = lean_array_push(x_2489, x_2609); -x_2611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2611, 0, x_2500); -lean_ctor_set(x_2611, 1, x_2610); -x_2612 = lean_array_push(x_2602, x_2611); -x_2613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2613, 0, x_8); -lean_ctor_set(x_2613, 1, x_2612); -x_2614 = lean_array_push(x_2596, x_2613); -x_2615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2615, 0, x_2585); -lean_ctor_set(x_2615, 1, x_2614); -x_2616 = lean_array_push(x_2587, x_2615); -x_2617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2617, 0, x_2500); -lean_ctor_set(x_2617, 1, x_2616); -x_2618 = lean_array_push(x_2489, x_2617); -x_2619 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_2620 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2620, 0, x_2619); -lean_ctor_set(x_2620, 1, x_2618); -x_2621 = lean_array_push(x_2562, x_2620); -x_2622 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_2623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2623, 0, x_2622); -lean_ctor_set(x_2623, 1, x_2621); -x_2624 = lean_array_push(x_2559, x_2623); -x_2625 = lean_array_push(x_2624, x_2520); -x_2626 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__32; -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 = lean_array_push(x_2556, x_2627); -x_2629 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__20; -x_2630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2630, 0, x_2629); -lean_ctor_set(x_2630, 1, x_2628); -x_2631 = lean_array_push(x_2527, x_2630); -x_2632 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__5; -x_2633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2633, 0, x_2632); -lean_ctor_set(x_2633, 1, x_2631); -if (lean_is_scalar(x_2479)) { - x_2634 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_2389)) { + x_2539 = lean_alloc_ctor(1, 1, 0); } else { - x_2634 = x_2479; + x_2539 = x_2389; } -lean_ctor_set(x_2634, 0, x_2633); -if (lean_is_scalar(x_2486)) { - x_2635 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2539, 0, x_2538); +if (lean_is_scalar(x_2387)) { + x_2540 = lean_alloc_ctor(0, 2, 0); } else { - x_2635 = x_2486; + x_2540 = x_2387; } -lean_ctor_set(x_2635, 0, x_2634); -lean_ctor_set(x_2635, 1, x_2485); -return x_2635; +lean_ctor_set(x_2540, 0, x_2539); +lean_ctor_set(x_2540, 1, x_2386); +return x_2540; } } } } else { -lean_object* x_2674; lean_object* x_2675; -lean_dec(x_2046); -lean_dec(x_409); +lean_object* x_2571; lean_object* x_2572; +lean_dec(x_1979); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_2674 = lean_box(0); -x_2675 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2675, 0, x_2674); -lean_ctor_set(x_2675, 1, x_2045); -return x_2675; +x_2571 = lean_box(0); +x_2572 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2572, 0, x_2571); +lean_ctor_set(x_2572, 1, x_1978); +return x_2572; } } } @@ -30270,115 +29511,133 @@ return x_2675; } else { -uint8_t x_2676; -lean_dec(x_422); -lean_dec(x_420); -lean_dec(x_409); +uint8_t x_2573; +lean_dec(x_418); +lean_dec(x_416); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_2676 = !lean_is_exclusive(x_411); -if (x_2676 == 0) +x_2573 = !lean_is_exclusive(x_408); +if (x_2573 == 0) { -lean_object* x_2677; lean_object* x_2678; -x_2677 = lean_ctor_get(x_411, 0); -lean_dec(x_2677); -x_2678 = lean_box(0); -lean_ctor_set(x_411, 0, x_2678); -return x_411; +lean_object* x_2574; lean_object* x_2575; +x_2574 = lean_ctor_get(x_408, 0); +lean_dec(x_2574); +x_2575 = lean_box(0); +lean_ctor_set(x_408, 0, x_2575); +return x_408; } else { -lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; -x_2679 = lean_ctor_get(x_411, 1); -lean_inc(x_2679); -lean_dec(x_411); -x_2680 = lean_box(0); -x_2681 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2681, 0, x_2680); -lean_ctor_set(x_2681, 1, x_2679); -return x_2681; +lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; +x_2576 = lean_ctor_get(x_408, 1); +lean_inc(x_2576); +lean_dec(x_408); +x_2577 = lean_box(0); +x_2578 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2578, 0, x_2577); +lean_ctor_set(x_2578, 1, x_2576); +return x_2578; } } } else { -uint8_t x_2682; -lean_dec(x_421); -lean_dec(x_420); -lean_dec(x_413); +uint8_t x_2579; +lean_dec(x_417); +lean_dec(x_416); lean_dec(x_409); +lean_dec(x_406); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_2682 = !lean_is_exclusive(x_411); -if (x_2682 == 0) +x_2579 = !lean_is_exclusive(x_408); +if (x_2579 == 0) { -lean_object* x_2683; lean_object* x_2684; -x_2683 = lean_ctor_get(x_411, 0); -lean_dec(x_2683); -x_2684 = lean_box(0); -lean_ctor_set(x_411, 0, x_2684); -return x_411; +lean_object* x_2580; lean_object* x_2581; +x_2580 = lean_ctor_get(x_408, 0); +lean_dec(x_2580); +x_2581 = lean_box(0); +lean_ctor_set(x_408, 0, x_2581); +return x_408; } else { -lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; -x_2685 = lean_ctor_get(x_411, 1); -lean_inc(x_2685); -lean_dec(x_411); -x_2686 = lean_box(0); -x_2687 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2687, 0, x_2686); -lean_ctor_set(x_2687, 1, x_2685); -return x_2687; +lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; +x_2582 = lean_ctor_get(x_408, 1); +lean_inc(x_2582); +lean_dec(x_408); +x_2583 = lean_box(0); +x_2584 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2584, 0, x_2583); +lean_ctor_set(x_2584, 1, x_2582); +return x_2584; +} +} +} +} +else +{ +uint8_t x_2585; +lean_dec(x_406); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2585 = !lean_is_exclusive(x_408); +if (x_2585 == 0) +{ +return x_408; +} +else +{ +lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; +x_2586 = lean_ctor_get(x_408, 0); +x_2587 = lean_ctor_get(x_408, 1); +lean_inc(x_2587); +lean_inc(x_2586); +lean_dec(x_408); +x_2588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2588, 0, x_2586); +lean_ctor_set(x_2588, 1, x_2587); +return x_2588; } } } } } } -} -lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_5; -x_5 = l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__2___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_mkSimpleDelab___spec__2(x_1, x_2, x_3); -lean_dec(x_2); +lean_object* x_3; +x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_1, x_2); lean_dec(x_1); -return x_4; +return x_3; } } -lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___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_Command_mkSimpleDelab___spec__4(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(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_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___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_Command_mkSimpleDelab___spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_1, x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___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; @@ -30386,148 +29645,146 @@ 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_Command_mkSimpleDelab___spec__5(x_1, x_4, x_5); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_1, x_4, x_5); lean_dec(x_1); x_7 = lean_box(x_6); return x_7; } } -lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(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_8; -x_8 = l_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_7; +x_7 = l_Lean_Elab_Command_mkSimpleDelab(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); +return x_7; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); return x_8; } -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = x_2 < x_1; -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = x_3; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_6); -return x_9; -} else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_array_uget(x_3, x_2); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_3, x_2, x_11); -x_13 = x_10; -x_14 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_13, x_4, x_5, x_6); -if (lean_obj_tag(x_14) == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = 1; -x_18 = x_2 + x_17; -x_19 = x_15; -x_20 = lean_array_uset(x_12, x_2, x_19); -x_2 = x_18; -x_3 = x_20; -x_6 = x_16; +lean_dec(x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; goto _start; } else { -uint8_t x_22; -lean_dec(x_12); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) { -return x_14; +return x_13; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_7; -x_7 = x_2 < x_1; -if (x_7 == 0) +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) { -lean_object* x_8; lean_object* x_9; -x_8 = x_3; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_6); -return x_9; +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_array_uget(x_3, x_2); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_3, x_2, x_11); -x_13 = x_10; -x_14 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_13, x_4, x_5, x_6); -if (lean_obj_tag(x_14) == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandNotationItemIntoPattern(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = 1; -x_18 = x_2 + x_17; -x_19 = x_15; -x_20 = lean_array_uset(x_12, x_2, x_19); -x_2 = x_18; -x_3 = x_20; -x_6 = x_16; +lean_dec(x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; goto _start; } else { -uint8_t x_22; -lean_dec(x_12); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) { -return x_14; +return x_13; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -30600,405 +29857,413 @@ return x_4; } } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_lt(x_17, x_1); -x_19 = lean_box_usize(x_2); -x_20 = lean_box_usize(x_3); -x_21 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 6, 3); -lean_closure_set(x_21, 0, x_19); -lean_closure_set(x_21, 1, x_20); -lean_closure_set(x_21, 2, x_4); -x_22 = x_21; -lean_inc(x_15); +lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_1); +x_18 = lean_box_usize(x_2); +x_19 = lean_box_usize(x_3); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 5, 3); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +lean_closure_set(x_20, 2, x_4); +x_21 = x_20; lean_inc(x_14); -x_23 = lean_apply_3(x_22, x_14, x_15, x_16); -if (x_18 == 0) +x_22 = lean_apply_2(x_21, x_14, x_15); +if (x_17 == 0) { -lean_object* x_203; -x_203 = l_Array_empty___closed__1; -x_24 = x_203; -goto block_202; +lean_object* x_198; +x_198 = l_Array_empty___closed__1; +x_23 = x_198; +goto block_197; } else { -uint8_t x_204; -x_204 = lean_nat_dec_le(x_1, x_1); -if (x_204 == 0) +uint8_t x_199; +x_199 = lean_nat_dec_le(x_1, x_1); +if (x_199 == 0) { -lean_object* x_205; -x_205 = l_Array_empty___closed__1; -x_24 = x_205; -goto block_202; +lean_object* x_200; +x_200 = l_Array_empty___closed__1; +x_23 = x_200; +goto block_197; } else { -lean_object* x_206; lean_object* x_207; -x_206 = l_Array_empty___closed__1; -x_207 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_12, x_3, x_2, x_206); -x_24 = x_207; -goto block_202; +lean_object* x_201; lean_object* x_202; +x_201 = l_Array_empty___closed__1; +x_202 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_12, x_3, x_2, x_201); +x_23 = x_202; +goto block_197; } } -block_202: +block_197: { -if (lean_obj_tag(x_23) == 0) +if (lean_obj_tag(x_22) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t 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_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; size_t 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; -x_25 = lean_ctor_get(x_23, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t 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_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; size_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_array_get_size(x_24); -x_28 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_29 = x_24; -x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_28, x_3, x_29); -x_31 = x_30; -x_32 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_31, x_5); +lean_dec(x_22); +x_26 = lean_array_get_size(x_23); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = x_23; +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_27, x_3, x_28); +x_30 = x_29; +x_31 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_30, x_5); lean_inc(x_13); -x_33 = l_Lean_Name_append(x_6, x_13); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_25); -x_118 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_14, x_15, x_26); -x_119 = lean_ctor_get(x_118, 0); +x_32 = l_Lean_Name_append(x_6, x_13); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +x_117 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_14, x_25); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = l_Lean_Elab_Command_getCurrMacroScope(x_14, x_15, x_120); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_123 = l_Lean_Elab_Command_getMainModule___rarg(x_15, x_122); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Array_empty___closed__1; +lean_dec(x_117); +x_120 = l_Array_empty___closed__1; lean_inc(x_7); -x_126 = lean_array_push(x_125, x_7); -x_127 = l_Lean_Parser_categoryParserFnImpl___closed__1; -lean_inc(x_119); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_119); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_array_push(x_126, x_128); -x_130 = l_prec_x28___x29___closed__3; -lean_inc(x_119); -x_131 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_131, 0, x_119); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_array_push(x_125, x_131); -x_133 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; -lean_inc(x_119); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_119); -lean_ctor_set(x_134, 1, x_133); +x_121 = lean_array_push(x_120, x_7); +x_122 = l_Lean_Parser_categoryParserFnImpl___closed__1; +lean_inc(x_118); +x_123 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_push(x_121, x_123); +x_125 = l_prec_x28___x29___closed__3; +lean_inc(x_118); +x_126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_126, 0, x_118); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_120, x_126); +x_128 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; +lean_inc(x_118); +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_118); +lean_ctor_set(x_129, 1, x_128); +lean_inc(x_127); +x_130 = lean_array_push(x_127, x_129); +x_131 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_118); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_118); +lean_ctor_set(x_132, 1, x_131); lean_inc(x_132); -x_135 = lean_array_push(x_132, x_134); -x_136 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_119); +x_133 = lean_array_push(x_130, x_132); +x_134 = lean_mk_syntax_ident(x_13); +x_135 = lean_array_push(x_133, x_134); +x_136 = l_prec_x28___x29___closed__7; +lean_inc(x_118); x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_119); +lean_ctor_set(x_137, 0, x_118); lean_ctor_set(x_137, 1, x_136); lean_inc(x_137); x_138 = lean_array_push(x_135, x_137); -x_139 = lean_mk_syntax_ident(x_13); -x_140 = lean_array_push(x_138, x_139); -x_141 = l_prec_x28___x29___closed__7; -lean_inc(x_119); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_119); -lean_ctor_set(x_142, 1, x_141); -lean_inc(x_142); -x_143 = lean_array_push(x_140, x_142); -x_144 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_125, x_145); -x_147 = l_Lean_nullKind___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; -lean_inc(x_119); -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_119); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_132, x_150); -x_152 = lean_array_push(x_151, x_137); -x_153 = l_Nat_repr(x_8); -x_154 = l_Lean_numLitKind; -x_155 = lean_box(2); -x_156 = l_Lean_Syntax_mkLit(x_154, x_153, x_155); -x_157 = lean_array_push(x_152, x_156); -x_158 = lean_array_push(x_157, x_142); -x_159 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = lean_array_push(x_125, x_160); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_147); -lean_ctor_set(x_162, 1, x_161); -x_163 = lean_array_get_size(x_9); -x_164 = lean_usize_of_nat(x_163); -lean_dec(x_163); -x_165 = x_9; -x_166 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_164, x_3, x_165); -x_167 = x_166; -x_168 = l_Array_appendCore___rarg(x_125, x_167); -lean_dec(x_167); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_147); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -x_171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_171, 0, x_119); -lean_ctor_set(x_171, 1, x_170); +x_139 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_array_push(x_120, x_140); +x_142 = l_Lean_nullKind___closed__2; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; +lean_inc(x_118); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_118); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_array_push(x_127, x_145); +x_147 = lean_array_push(x_146, x_132); +x_148 = l_Nat_repr(x_8); +x_149 = l_Lean_numLitKind; +x_150 = lean_box(2); +x_151 = l_Lean_Syntax_mkLit(x_149, x_148, x_150); +x_152 = lean_array_push(x_147, x_151); +x_153 = lean_array_push(x_152, x_137); +x_154 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; +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_120, x_155); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_142); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_get_size(x_9); +x_159 = lean_usize_of_nat(x_158); +lean_dec(x_158); +x_160 = x_9; +x_161 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_159, x_3, x_160); +x_162 = x_161; +x_163 = l_Array_appendCore___rarg(x_120, x_162); +lean_dec(x_162); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_142); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +x_166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_166, 0, x_118); +lean_ctor_set(x_166, 1, x_165); if (lean_obj_tag(x_10) == 0) { -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; -x_172 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_173 = lean_array_push(x_129, x_172); -x_174 = lean_array_push(x_173, x_148); -x_175 = lean_array_push(x_174, x_162); -x_176 = lean_array_push(x_175, x_169); -x_177 = lean_array_push(x_176, x_171); -x_178 = lean_array_push(x_177, x_11); -x_179 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +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; +x_167 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; +x_168 = lean_array_push(x_124, x_167); +x_169 = lean_array_push(x_168, x_143); +x_170 = lean_array_push(x_169, x_157); +x_171 = lean_array_push(x_170, x_164); +x_172 = lean_array_push(x_171, x_166); +x_173 = lean_array_push(x_172, x_11); +x_174 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +x_34 = x_175; +x_35 = x_119; +goto block_116; +} +else +{ +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; +x_176 = lean_ctor_get(x_10, 0); +lean_inc(x_176); +lean_dec(x_10); +lean_inc(x_166); +x_177 = lean_array_push(x_120, x_166); +x_178 = lean_array_push(x_177, x_176); +x_179 = l_Lean_Parser_precedence___elambda__1___closed__2; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); -x_35 = x_180; -x_36 = x_124; -goto block_117; +x_181 = l_Lean_mkOptionalNode___closed__2; +x_182 = lean_array_push(x_181, x_180); +x_183 = l_Array_appendCore___rarg(x_120, x_182); +lean_dec(x_182); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_142); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_124, x_184); +x_186 = lean_array_push(x_185, x_143); +x_187 = lean_array_push(x_186, x_157); +x_188 = lean_array_push(x_187, x_164); +x_189 = lean_array_push(x_188, x_166); +x_190 = lean_array_push(x_189, x_11); +x_191 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_34 = x_192; +x_35 = x_119; +goto block_116; } -else +block_116: { -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; -x_181 = lean_ctor_get(x_10, 0); -lean_inc(x_181); -lean_dec(x_10); -lean_inc(x_171); -x_182 = lean_array_push(x_125, x_171); -x_183 = lean_array_push(x_182, x_181); -x_184 = l_Lean_Parser_precedence___elambda__1___closed__2; -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_mkOptionalNode___closed__2; -x_187 = lean_array_push(x_186, x_185); -x_188 = l_Array_appendCore___rarg(x_125, x_187); -lean_dec(x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_147); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_array_push(x_129, x_189); -x_191 = lean_array_push(x_190, x_148); -x_192 = lean_array_push(x_191, x_162); -x_193 = lean_array_push(x_192, x_169); -x_194 = lean_array_push(x_193, x_171); -x_195 = lean_array_push(x_194, x_11); -x_196 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_195); -x_35 = x_197; -x_36 = x_124; -goto block_117; -} -block_117: -{ -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; -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_14, x_15, x_36); -x_38 = lean_ctor_get(x_37, 0); +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; +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_14, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Elab_Command_getCurrMacroScope(x_14, x_15, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Elab_Command_getMainModule___rarg(x_15, x_41); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_inc(x_38); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_38); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Array_empty___closed__1; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_49 = lean_array_push(x_47, x_48); -x_50 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_38); -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_38); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_46, x_51); -x_53 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_38); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_38); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_array_push(x_46, x_54); -lean_inc(x_34); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_34); -x_57 = l_prec_x28___x29___closed__7; -lean_inc(x_38); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_38); -lean_ctor_set(x_58, 1, x_57); -lean_inc(x_58); -x_59 = lean_array_push(x_56, x_58); -x_60 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_array_push(x_46, x_61); -x_63 = l_Lean_nullKind___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_52, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_38); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_array_push(x_65, x_67); -lean_inc(x_32); -x_69 = lean_array_push(x_55, x_32); -x_70 = lean_array_push(x_69, x_58); +lean_dec(x_36); +x_39 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; +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_Array_empty___closed__1; +x_42 = lean_array_push(x_41, x_40); +x_43 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_44 = lean_array_push(x_42, x_43); +x_45 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +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 = lean_array_push(x_41, x_46); +x_48 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_37); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_37); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_array_push(x_41, x_49); +lean_inc(x_33); +lean_inc(x_50); +x_51 = lean_array_push(x_50, x_33); +x_52 = l_prec_x28___x29___closed__7; +lean_inc(x_37); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +lean_inc(x_53); +x_54 = lean_array_push(x_51, x_53); +x_55 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = lean_array_push(x_41, x_56); +x_58 = l_Lean_nullKind___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_array_push(x_47, x_59); +x_61 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_37); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_60, x_62); +lean_inc(x_31); +x_64 = lean_array_push(x_50, x_31); +x_65 = lean_array_push(x_64, x_53); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_55); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_63, x_66); +x_68 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = lean_array_push(x_41, x_69); x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_60); +lean_ctor_set(x_71, 0, x_58); lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_68, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_72 = lean_array_push(x_41, x_71); +x_73 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_46, x_74); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_63); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_array_push(x_46, x_76); -x_78 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_49, x_79); -x_81 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = l_Lean_Elab_Command_mkSimpleDelab(x_7, x_31, x_34, x_32, x_14, x_15, x_43); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_31); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -if (lean_obj_tag(x_84) == 0) +x_75 = lean_array_push(x_44, x_74); +x_76 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +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 = l_Lean_Elab_Command_mkSimpleDelab(x_7, x_30, x_33, x_31, x_14, x_38); +lean_dec(x_30); +if (lean_obj_tag(x_78) == 0) { -uint8_t x_85; -x_85 = !lean_is_exclusive(x_83); -if (x_85 == 0) +lean_object* x_79; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_ctor_get(x_83, 0); -lean_dec(x_86); -x_87 = l_Lean_Syntax_mkApp___closed__1; -x_88 = lean_array_push(x_87, x_35); -x_89 = lean_array_push(x_88, x_82); -x_90 = l_Lean_nullKind; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -lean_ctor_set(x_83, 0, x_91); -return x_83; +uint8_t x_80; +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_81 = lean_ctor_get(x_78, 0); +lean_dec(x_81); +x_82 = l_Lean_Syntax_mkApp___closed__1; +x_83 = lean_array_push(x_82, x_34); +x_84 = lean_array_push(x_83, x_77); +x_85 = l_Lean_nullKind; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_78, 0, x_86); +return x_78; } else { -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; -x_92 = lean_ctor_get(x_83, 1); -lean_inc(x_92); -lean_dec(x_83); -x_93 = l_Lean_Syntax_mkApp___closed__1; -x_94 = lean_array_push(x_93, x_35); -x_95 = lean_array_push(x_94, x_82); -x_96 = l_Lean_nullKind; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_92); -return x_98; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_87 = lean_ctor_get(x_78, 1); +lean_inc(x_87); +lean_dec(x_78); +x_88 = l_Lean_Syntax_mkApp___closed__1; +x_89 = lean_array_push(x_88, x_34); +x_90 = lean_array_push(x_89, x_77); +x_91 = l_Lean_nullKind; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_87); +return x_93; } } else { -uint8_t x_99; -x_99 = !lean_is_exclusive(x_83); -if (x_99 == 0) +uint8_t x_94; +x_94 = !lean_is_exclusive(x_78); +if (x_94 == 0) { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_100 = lean_ctor_get(x_83, 0); -lean_dec(x_100); -x_101 = lean_ctor_get(x_84, 0); -lean_inc(x_101); -lean_dec(x_84); -x_102 = l_Lean_Syntax_mkAntiquotNode___closed__9; -x_103 = lean_array_push(x_102, x_35); -x_104 = lean_array_push(x_103, x_82); -x_105 = lean_array_push(x_104, x_101); -x_106 = l_Lean_nullKind; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -lean_ctor_set(x_83, 0, x_107); -return x_83; +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; +x_95 = lean_ctor_get(x_78, 0); +lean_dec(x_95); +x_96 = lean_ctor_get(x_79, 0); +lean_inc(x_96); +lean_dec(x_79); +x_97 = l_Lean_Syntax_mkAntiquotNode___closed__9; +x_98 = lean_array_push(x_97, x_34); +x_99 = lean_array_push(x_98, x_77); +x_100 = lean_array_push(x_99, x_96); +x_101 = l_Lean_nullKind; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_78, 0, x_102); +return x_78; } else { -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; -x_108 = lean_ctor_get(x_83, 1); -lean_inc(x_108); -lean_dec(x_83); -x_109 = lean_ctor_get(x_84, 0); -lean_inc(x_109); -lean_dec(x_84); -x_110 = l_Lean_Syntax_mkAntiquotNode___closed__9; -x_111 = lean_array_push(x_110, x_35); -x_112 = lean_array_push(x_111, x_82); -x_113 = lean_array_push(x_112, x_109); -x_114 = l_Lean_nullKind; +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; +x_103 = lean_ctor_get(x_78, 1); +lean_inc(x_103); +lean_dec(x_78); +x_104 = lean_ctor_get(x_79, 0); +lean_inc(x_104); +lean_dec(x_79); +x_105 = l_Lean_Syntax_mkAntiquotNode___closed__9; +x_106 = lean_array_push(x_105, x_34); +x_107 = lean_array_push(x_106, x_77); +x_108 = lean_array_push(x_107, x_104); +x_109 = l_Lean_nullKind; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_103); +return x_111; +} +} +} +else +{ +uint8_t x_112; +lean_dec(x_77); +lean_dec(x_34); +x_112 = !lean_is_exclusive(x_78); +if (x_112 == 0) +{ +return x_78; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_78, 0); +x_114 = lean_ctor_get(x_78, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_78); x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_108); -return x_116; +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } } else { -uint8_t x_198; -lean_dec(x_24); -lean_dec(x_15); +uint8_t x_193; +lean_dec(x_23); lean_dec(x_14); lean_dec(x_13); lean_dec(x_11); @@ -31007,23 +30272,23 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_198 = !lean_is_exclusive(x_23); -if (x_198 == 0) +x_193 = !lean_is_exclusive(x_22); +if (x_193 == 0) { -return x_23; +return x_22; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_23, 0); -x_200 = lean_ctor_get(x_23, 1); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_23); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_22, 0); +x_195 = lean_ctor_get(x_22, 1); +lean_inc(x_195); +lean_inc(x_194); +lean_dec(x_22); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; } } } @@ -31038,269 +30303,20 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; lean_object* x_13; 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; -x_41 = lean_st_ref_get(x_10, x_11); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Elab_Command_getScope___rarg(x_10, x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 2); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_Command_getScope___rarg(x_10, x_47); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 3); -lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_44); -x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_53, 0, x_44); -lean_inc(x_48); -x_54 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_54, 0, x_48); -lean_inc(x_44); -x_55 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_55, 0, x_44); -lean_inc(x_52); -lean_inc(x_48); -lean_inc(x_44); -x_56 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_56, 0, x_44); -lean_closure_set(x_56, 1, x_48); -lean_closure_set(x_56, 2, x_52); -lean_inc(x_44); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_57, 0, x_44); -lean_closure_set(x_57, 1, x_48); -lean_closure_set(x_57, 2, x_52); -x_58 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_54); -lean_ctor_set(x_58, 2, x_55); -lean_ctor_set(x_58, 3, x_56); -lean_ctor_set(x_58, 4, x_57); -x_59 = x_58; -x_60 = l_Lean_Elab_Command_getRef(x_9, x_10, x_51); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_9, 2); -lean_inc(x_66); -x_67 = lean_st_ref_get(x_10, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_68, 4); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_st_ref_get(x_10, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_72, 3); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_environment_main_module(x_44); -x_76 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_76, 0, x_59); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_64); -lean_ctor_set(x_76, 3, x_66); -lean_ctor_set(x_76, 4, x_70); -lean_ctor_set(x_76, 5, x_61); -x_77 = lean_box(0); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_74); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_evalOptPrio(x_6, x_76, x_78); -if (lean_obj_tag(x_79) == 0) +lean_object* x_11; +lean_inc(x_9); +x_11 = l_Lean_evalOptPrio(x_6, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_st_ref_take(x_10, x_73); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = !lean_is_exclusive(x_84); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_87 = lean_ctor_get(x_84, 3); -lean_dec(x_87); -lean_ctor_set(x_84, 3, x_82); -x_88 = lean_st_ref_set(x_10, x_84, x_85); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get(x_81, 1); -lean_inc(x_90); -lean_dec(x_81); -x_91 = l_List_reverse___rarg(x_90); -x_92 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_91, x_9, x_10, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_12 = x_80; -x_13 = x_93; -goto block_40; -} -else -{ -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; -x_94 = lean_ctor_get(x_84, 0); -x_95 = lean_ctor_get(x_84, 1); -x_96 = lean_ctor_get(x_84, 2); -x_97 = lean_ctor_get(x_84, 4); -x_98 = lean_ctor_get(x_84, 5); -x_99 = lean_ctor_get(x_84, 6); -x_100 = lean_ctor_get(x_84, 7); -x_101 = lean_ctor_get(x_84, 8); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_84); -x_102 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_102, 0, x_94); -lean_ctor_set(x_102, 1, x_95); -lean_ctor_set(x_102, 2, x_96); -lean_ctor_set(x_102, 3, x_82); -lean_ctor_set(x_102, 4, x_97); -lean_ctor_set(x_102, 5, x_98); -lean_ctor_set(x_102, 6, x_99); -lean_ctor_set(x_102, 7, x_100); -lean_ctor_set(x_102, 8, x_101); -x_103 = lean_st_ref_set(x_10, x_102, x_85); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_ctor_get(x_81, 1); -lean_inc(x_105); -lean_dec(x_81); -x_106 = l_List_reverse___rarg(x_105); -x_107 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_106, x_9, x_10, x_104); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_12 = x_80; -x_13 = x_108; -goto block_40; -} -} -else -{ -lean_object* x_109; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_109 = lean_ctor_get(x_79, 0); -lean_inc(x_109); -lean_dec(x_79); -if (lean_obj_tag(x_109) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_112, 0, x_111); -x_113 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_113, 0, x_112); -x_114 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_110, x_113, x_9, x_10, x_73); -lean_dec(x_10); -lean_dec(x_110); -x_115 = !lean_is_exclusive(x_114); -if (x_115 == 0) -{ -return x_114; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_114, 0); -x_117 = lean_ctor_get(x_114, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_114); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; -} -} -else -{ -lean_object* x_119; uint8_t x_120; -lean_dec(x_10); -lean_dec(x_9); -x_119 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_73); -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) -{ -return x_119; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_119, 0); -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_119); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} -} -} -block_40: -{ -lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); x_14 = lean_array_get_size(x_7); x_15 = lean_usize_of_nat(x_14); x_16 = 0; @@ -31309,14 +30325,13 @@ x_17 = x_7; x_18 = lean_box_usize(x_15); x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; lean_inc(x_17); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 6, 3); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 5, 3); lean_closure_set(x_20, 0, x_18); lean_closure_set(x_20, 1, x_19); lean_closure_set(x_20, 2, x_17); x_21 = x_20; -lean_inc(x_10); lean_inc(x_9); -x_22 = lean_apply_3(x_21, x_9, x_10, x_13); +x_22 = lean_apply_2(x_21, x_9, x_13); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -31329,95 +30344,156 @@ x_25 = l_term___u2218_____closed__6; x_26 = l_Lean_mkIdentFrom(x_1, x_25); if (lean_obj_tag(x_5) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = l_Lean_nullKind; lean_inc(x_23); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_23); -x_29 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_25, x_28, x_9, x_10, x_24); +lean_inc(x_9); +x_29 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_25, x_28, x_9, x_24); lean_dec(x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; 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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_30, x_9, x_10, x_31); +x_32 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_30, x_9, x_31); lean_dec(x_7); lean_dec(x_14); return x_32; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_5, 0); -x_34 = l_Lean_Syntax_getId(x_33); -x_35 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_34, x_9, x_10, x_24); -lean_dec(x_7); -lean_dec(x_14); -return x_35; -} -} -else -{ -uint8_t x_36; +uint8_t x_33; +lean_dec(x_26); +lean_dec(x_23); lean_dec(x_17); lean_dec(x_14); lean_dec(x_12); -lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_36 = !lean_is_exclusive(x_22); -if (x_36 == 0) +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_5, 0); +x_38 = l_Lean_Syntax_getId(x_37); +x_39 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_14, x_15, x_16, x_17, x_8, x_2, x_3, x_12, x_23, x_4, x_26, x_7, x_38, x_9, x_24); +lean_dec(x_7); +lean_dec(x_14); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_22); +if (x_40 == 0) { return x_22; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_22, 0); -x_38 = lean_ctor_get(x_22, 1); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 0); +x_42 = lean_ctor_get(x_22, 1); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_22); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_11); +if (x_44 == 0) +{ +return x_11; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_11, 0); +x_46 = lean_ctor_get(x_11, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_11); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } } -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_1); +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = lean_unbox_usize(x_2); +x_7 = lean_unbox_usize(x_2); lean_dec(x_2); -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(x_7, x_8, x_3, x_4, x_5, x_6); -lean_dec(x_5); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(x_6, x_7, x_3, x_4, x_5); lean_dec(x_4); -return x_9; +return x_8; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_1); +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = lean_unbox_usize(x_2); +x_7 = lean_unbox_usize(x_2); lean_dec(x_2); -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(x_7, x_8, x_3, x_4, x_5, x_6); -lean_dec(x_5); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(x_6, x_7, x_3, x_4, x_5); lean_dec(x_4); -return x_9; +return x_8; } } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -31445,30 +30521,30 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_2); +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_2); lean_dec(x_2); -x_18 = lean_unbox_usize(x_3); +x_17 = lean_unbox_usize(x_3); lean_dec(x_3); -x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_1, x_17, x_18, 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_18 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_1, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_12); lean_dec(x_6); lean_dec(x_1); -return x_19; +return x_18; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_11; +x_11 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -return x_12; +return x_11; } } lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t x_1, lean_object* x_2) { @@ -31498,163 +30574,60 @@ x_4 = l_Lean_Elab_Command_expandNotation_match__1___rarg(x_3, x_2); return x_4; } } -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = 2; -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -static lean_object* _init_l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1() { -_start: +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_unsigned_to_nat(5u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = lean_unsigned_to_nat(7u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getArgs(x_10); +lean_dec(x_10); +lean_inc(x_7); +x_14 = l_Lean_Elab_toAttributeKind(x_2, x_7, x_8); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1___boxed), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +lean_inc(x_7); +x_16 = l_Lean_Macro_getCurrNamespace(x_7, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_isNone(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Syntax_getArg(x_6, x_5); -lean_dec(x_6); -x_9 = l_Lean_Syntax_getKind(x_8); -x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1; -x_11 = lean_name_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -uint8_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -lean_dec(x_2); -x_12 = 1; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_4); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_15 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 2); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_19 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1; -x_20 = l_Lean_Name_isAnonymous(x_18); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = lean_apply_4(x_19, x_21, x_2, x_3, x_17); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; -x_24 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__6(x_23, x_2, x_3, x_17); -lean_dec(x_3); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -return x_24; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_24); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -else -{ -uint8_t x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_29 = 0; -x_30 = lean_box(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_4); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Syntax_getArgs(x_13); -lean_dec(x_13); -lean_inc(x_10); -lean_inc(x_9); -x_17 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1(x_2, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); +x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_17, x_2, x_3, x_4, x_6, x_13, x_12, x_7, x_18); lean_dec(x_17); -x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_3, x_4, x_2, x_5, x_6, x_8, x_16, x_15, x_9, x_10, x_18); return x_19; } else { uint8_t x_20; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); -x_20 = !lean_is_exclusive(x_17); +x_20 = !lean_is_exclusive(x_16); if (x_20 == 0) { -return x_17; +return x_16; } else { lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_17, 0); -x_22 = lean_ctor_get(x_17, 1); +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); lean_inc(x_21); -lean_dec(x_17); +lean_dec(x_16); x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -31662,358 +30635,345 @@ return x_23; } } } -} -lean_object* l_Lean_Elab_Command_expandNotation___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; uint8_t x_14; -x_12 = lean_unsigned_to_nat(4u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Syntax_isNone(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_nullKind; -x_16 = lean_unsigned_to_nat(1u); -lean_inc(x_13); -x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_11); -return x_18; -} 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(0u); -x_20 = l_Lean_Syntax_getArg(x_13, x_19); +uint8_t x_24; lean_dec(x_13); -x_21 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__1; -x_22 = lean_name_mk_string(x_6, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_2); -x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_11); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_unsigned_to_nat(3u); -x_26 = l_Lean_Syntax_getArg(x_20, x_25); -lean_dec(x_20); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_box(0); -x_29 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_8, x_28, x_27, x_9, x_10, x_11); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_13); -lean_dec(x_6); -x_30 = lean_box(0); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_8, x_31, x_30, x_9, x_10, x_11); -return x_32; -} -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_7); -lean_dec(x_5); +lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_10); -return x_17; +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; } else { -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(0u); -x_19 = l_Lean_Syntax_getArg(x_12, x_18); -lean_dec(x_12); -x_20 = l_Lean_Parser_Command_namedName___elambda__1___closed__1; -lean_inc(x_5); -x_21 = lean_name_mk_string(x_5, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_2); -x_23 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_10); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = l_Lean_Syntax_getArg(x_19, x_11); -lean_dec(x_19); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = lean_box(0); -x_27 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_26, x_25, x_8, x_9, x_10); -lean_dec(x_25); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); return x_27; } } } -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_12); -x_28 = lean_box(0); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_29, x_28, x_8, x_9, x_10); -return x_30; } -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandNotation___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_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 2); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -lean_inc(x_1); -x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); -if (x_10 == 0) +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_unsigned_to_nat(4u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isNone(x_10); +if (x_11 == 0) { -lean_object* x_11; -lean_dec(x_8); +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_nullKind; +x_13 = lean_unsigned_to_nat(1u); +lean_inc(x_10); +x_14 = l_Lean_Syntax_isNodeOf(x_10, x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__1; -lean_inc(x_13); -x_15 = l_Lean_Syntax_isOfKind(x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_7); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_8); return x_16; } else { -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_Syntax_isNone(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = l_Lean_nullKind; -x_21 = lean_unsigned_to_nat(1u); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_getArg(x_10, x_17); +lean_dec(x_10); +x_19 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__1; +x_20 = lean_name_mk_string(x_4, x_19); lean_inc(x_18); -x_22 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_21); -if (x_22 == 0) +x_21 = l_Lean_Syntax_isOfKind(x_18, x_20); +lean_dec(x_20); +if (x_21 == 0) { -lean_object* x_23; +lean_object* x_22; lean_object* x_23; lean_dec(x_18); -lean_dec(x_13); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_23 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_7); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_8); return x_23; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = l_Lean_Syntax_getArg(x_18, x_12); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); lean_dec(x_18); -x_25 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_24); -x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); -if (x_26 == 0) -{ -lean_object* x_27; -lean_dec(x_24); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_7); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = l_Lean_Syntax_getArg(x_24, x_21); -lean_dec(x_24); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__3; -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_13, x_1, x_8, x_30, x_31, x_29, x_2, x_3, x_7); -lean_dec(x_8); -lean_dec(x_1); -return x_32; +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_27, x_26, x_7, x_8); +return x_28; } } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_18); -x_33 = lean_box(0); -x_34 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__3; -x_35 = lean_box(0); -x_36 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_13, x_1, x_8, x_34, x_35, x_33, x_2, x_3, x_7); -lean_dec(x_8); -lean_dec(x_1); -return x_36; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_10); +lean_dec(x_4); +x_29 = lean_box(0); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_6, x_30, x_29, x_7, x_8); +return x_31; } } } -} -} -static lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__1() { +lean_object* l_Lean_Elab_Command_expandNotation___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_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation___lambda__4), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_expandNotation(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(3u); +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_5; lean_object* x_6; -x_5 = l_Lean_Elab_Command_expandNotation___closed__1; -x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +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_5; -x_5 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_5; +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; } -} -lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_9, x_16); +lean_dec(x_9); +x_18 = l_Lean_Parser_Command_namedName___elambda__1___closed__1; +lean_inc(x_3); +x_19 = lean_name_mk_string(x_3, x_18); +lean_inc(x_17); +x_20 = l_Lean_Syntax_isOfKind(x_17, x_19); +lean_dec(x_19); +if (x_20 == 0) { -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_7); +lean_object* x_21; lean_object* x_22; +lean_dec(x_17); lean_dec(x_6); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -return x_12; +lean_dec(x_2); +x_21 = lean_box(1); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_7); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = l_Lean_Syntax_getArg(x_17, x_8); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_25, x_24, x_6, x_7); +lean_dec(x_24); +return x_26; } } -lean_object* l_Lean_Elab_Command_expandNotation___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) { +} +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_expandNotation___lambda__2(x_1, x_2, x_5, x_3, x_28, x_27, x_6, x_7); +return x_29; +} +} +} +lean_object* l_Lean_Elab_Command_expandNotation(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); lean_dec(x_1); -return x_12; +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__1; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_nullKind; +x_18 = lean_unsigned_to_nat(1u); +lean_inc(x_15); +x_19 = l_Lean_Syntax_isNodeOf(x_15, x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +lean_dec(x_15); +x_23 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_22); +x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = l_Lean_Syntax_getArg(x_22, x_18); +lean_dec(x_22); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__3; +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_29, x_30, x_28, x_2, x_3); +lean_dec(x_1); +return x_31; } } -lean_object* l_Lean_Elab_Command_expandNotation___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) { +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_15); +x_32 = lean_box(0); +x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1360____closed__3; +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_9, x_33, x_34, x_32, x_2, x_3); +lean_dec(x_1); +return x_35; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_9; +x_9 = l_Lean_Elab_Command_expandNotation___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_expandNotation___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_expandNotation___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_5); lean_dec(x_1); -return x_11; +return x_9; +} +} +lean_object* l_Lean_Elab_Command_expandNotation___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandNotation___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation), 3, 0); return x_1; } } @@ -32021,7 +30981,7 @@ lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_2 = l_Lean_Elab_macroAttribute; x_3 = l_Lean_Parser_Command_notation___elambda__1___closed__2; x_4 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); @@ -33460,6 +32420,71 @@ x_6 = x_2 < x_1; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_dec(x_4); x_7 = x_3; x_8 = lean_alloc_ctor(0, 2, 0); @@ -33520,1535 +32545,777 @@ return x_24; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); +lean_object* x_15; lean_inc(x_13); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(lean_object* x_1) { -_start: +x_15 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4(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_expandMacro___spec__4___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_2 < x_1; -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = x_3; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_array_uget(x_3, x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = x_9; -x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = x_2 + x_16; -x_18 = x_14; -x_19 = lean_array_uset(x_11, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_21; -lean_dec(x_11); -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8(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_expandMacro___spec__8___rarg), 1, 0); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___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) { -_start: -{ -lean_object* x_15; lean_object* x_16; 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; -x_470 = lean_st_ref_get(x_13, x_14); -x_471 = lean_ctor_get(x_470, 0); -lean_inc(x_471); -x_472 = lean_ctor_get(x_470, 1); -lean_inc(x_472); -lean_dec(x_470); -x_473 = lean_ctor_get(x_471, 0); -lean_inc(x_473); -lean_dec(x_471); -x_474 = l_Lean_Elab_Command_getScope___rarg(x_13, x_472); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -lean_dec(x_474); -x_477 = lean_ctor_get(x_475, 2); -lean_inc(x_477); -lean_dec(x_475); -x_478 = l_Lean_Elab_Command_getScope___rarg(x_13, x_476); -x_479 = lean_ctor_get(x_478, 0); -lean_inc(x_479); -x_480 = lean_ctor_get(x_478, 1); -lean_inc(x_480); -lean_dec(x_478); -x_481 = lean_ctor_get(x_479, 3); -lean_inc(x_481); -lean_dec(x_479); -lean_inc(x_473); -x_482 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_482, 0, x_473); -lean_inc(x_477); -x_483 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_483, 0, x_477); -lean_inc(x_473); -x_484 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_484, 0, x_473); -lean_inc(x_481); -lean_inc(x_477); -lean_inc(x_473); -x_485 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_485, 0, x_473); -lean_closure_set(x_485, 1, x_477); -lean_closure_set(x_485, 2, x_481); -lean_inc(x_473); -x_486 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_486, 0, x_473); -lean_closure_set(x_486, 1, x_477); -lean_closure_set(x_486, 2, x_481); -x_487 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_487, 0, x_482); -lean_ctor_set(x_487, 1, x_483); -lean_ctor_set(x_487, 2, x_484); -lean_ctor_set(x_487, 3, x_485); -lean_ctor_set(x_487, 4, x_486); -x_488 = x_487; -x_489 = l_Lean_Elab_Command_getRef(x_12, x_13, x_480); -x_490 = lean_ctor_get(x_489, 0); -lean_inc(x_490); -x_491 = lean_ctor_get(x_489, 1); -lean_inc(x_491); -lean_dec(x_489); -x_492 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_491); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); -x_495 = lean_ctor_get(x_12, 2); -lean_inc(x_495); -x_496 = lean_st_ref_get(x_13, x_494); -x_497 = lean_ctor_get(x_496, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_496, 1); -lean_inc(x_498); -lean_dec(x_496); -x_499 = lean_ctor_get(x_497, 4); -lean_inc(x_499); -lean_dec(x_497); -x_500 = lean_st_ref_get(x_13, x_498); -x_501 = lean_ctor_get(x_500, 0); -lean_inc(x_501); -x_502 = lean_ctor_get(x_500, 1); -lean_inc(x_502); -lean_dec(x_500); -x_503 = lean_ctor_get(x_501, 3); -lean_inc(x_503); -lean_dec(x_501); -x_504 = lean_environment_main_module(x_473); -x_505 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_505, 0, x_488); -lean_ctor_set(x_505, 1, x_504); -lean_ctor_set(x_505, 2, x_493); -lean_ctor_set(x_505, 3, x_495); -lean_ctor_set(x_505, 4, x_499); -lean_ctor_set(x_505, 5, x_490); -x_506 = lean_box(0); -x_507 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_507, 0, x_503); -lean_ctor_set(x_507, 1, x_506); -x_508 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_10, x_505, x_507); -if (lean_obj_tag(x_508) == 0) -{ -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; uint8_t x_515; -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_508, 1); -lean_inc(x_510); -lean_dec(x_508); -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_st_ref_take(x_13, x_502); -x_513 = lean_ctor_get(x_512, 0); -lean_inc(x_513); -x_514 = lean_ctor_get(x_512, 1); -lean_inc(x_514); -lean_dec(x_512); -x_515 = !lean_is_exclusive(x_513); -if (x_515 == 0) -{ -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; -x_516 = lean_ctor_get(x_513, 3); -lean_dec(x_516); -lean_ctor_set(x_513, 3, x_511); -x_517 = lean_st_ref_set(x_13, x_513, x_514); -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -lean_dec(x_517); -x_519 = lean_ctor_get(x_510, 1); -lean_inc(x_519); -lean_dec(x_510); -x_520 = l_List_reverse___rarg(x_519); -x_521 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_520, x_12, x_13, x_518); -x_522 = lean_ctor_get(x_521, 1); -lean_inc(x_522); -lean_dec(x_521); -x_15 = x_509; -x_16 = x_522; -goto block_469; -} -else -{ -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; -x_523 = lean_ctor_get(x_513, 0); -x_524 = lean_ctor_get(x_513, 1); -x_525 = lean_ctor_get(x_513, 2); -x_526 = lean_ctor_get(x_513, 4); -x_527 = lean_ctor_get(x_513, 5); -x_528 = lean_ctor_get(x_513, 6); -x_529 = lean_ctor_get(x_513, 7); -x_530 = lean_ctor_get(x_513, 8); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_528); -lean_inc(x_527); -lean_inc(x_526); -lean_inc(x_525); -lean_inc(x_524); -lean_inc(x_523); -lean_dec(x_513); -x_531 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_531, 0, x_523); -lean_ctor_set(x_531, 1, x_524); -lean_ctor_set(x_531, 2, x_525); -lean_ctor_set(x_531, 3, x_511); -lean_ctor_set(x_531, 4, x_526); -lean_ctor_set(x_531, 5, x_527); -lean_ctor_set(x_531, 6, x_528); -lean_ctor_set(x_531, 7, x_529); -lean_ctor_set(x_531, 8, x_530); -x_532 = lean_st_ref_set(x_13, x_531, x_514); -x_533 = lean_ctor_get(x_532, 1); -lean_inc(x_533); -lean_dec(x_532); -x_534 = lean_ctor_get(x_510, 1); -lean_inc(x_534); -lean_dec(x_510); -x_535 = l_List_reverse___rarg(x_534); -x_536 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_535, x_12, x_13, x_533); -x_537 = lean_ctor_get(x_536, 1); -lean_inc(x_537); -lean_dec(x_536); -x_15 = x_509; -x_16 = x_537; -goto block_469; -} -} -else -{ -lean_object* x_538; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_538 = lean_ctor_get(x_508, 0); -lean_inc(x_538); -lean_dec(x_508); -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; uint8_t x_544; -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_alloc_ctor(2, 1, 0); -lean_ctor_set(x_541, 0, x_540); -x_542 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_542, 0, x_541); -x_543 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_539, x_542, x_12, x_13, x_502); -lean_dec(x_539); -x_544 = !lean_is_exclusive(x_543); -if (x_544 == 0) -{ -return x_543; -} -else -{ -lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_545 = lean_ctor_get(x_543, 0); -x_546 = lean_ctor_get(x_543, 1); -lean_inc(x_546); -lean_inc(x_545); -lean_dec(x_543); -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_545); -lean_ctor_set(x_547, 1, x_546); -return x_547; -} -} -else -{ -lean_object* x_548; uint8_t x_549; -lean_dec(x_12); -x_548 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_502); -x_549 = !lean_is_exclusive(x_548); -if (x_549 == 0) -{ -return x_548; -} -else -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_550 = lean_ctor_get(x_548, 0); -x_551 = lean_ctor_get(x_548, 1); -lean_inc(x_551); -lean_inc(x_550); -lean_dec(x_548); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_550); -lean_ctor_set(x_552, 1, x_551); -return x_552; -} -} -} -block_469: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_379; size_t 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; -x_379 = lean_array_get_size(x_9); -x_380 = lean_usize_of_nat(x_379); -lean_dec(x_379); -x_381 = x_9; -x_382 = lean_box_usize(x_380); -x_383 = l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1; -x_384 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); -lean_closure_set(x_384, 0, x_382); -lean_closure_set(x_384, 1, x_383); -lean_closure_set(x_384, 2, x_381); -x_385 = lean_st_ref_get(x_13, x_16); -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -x_388 = lean_ctor_get(x_386, 0); -lean_inc(x_388); -lean_dec(x_386); -x_389 = l_Lean_Elab_Command_getScope___rarg(x_13, x_387); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -x_392 = lean_ctor_get(x_390, 2); -lean_inc(x_392); -lean_dec(x_390); -x_393 = l_Lean_Elab_Command_getScope___rarg(x_13, x_391); -x_394 = lean_ctor_get(x_393, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_393, 1); -lean_inc(x_395); -lean_dec(x_393); -x_396 = lean_ctor_get(x_394, 3); -lean_inc(x_396); -lean_dec(x_394); -lean_inc(x_388); -x_397 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_397, 0, x_388); -lean_inc(x_392); -x_398 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_398, 0, x_392); -lean_inc(x_388); -x_399 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_399, 0, x_388); -lean_inc(x_396); -lean_inc(x_392); -lean_inc(x_388); -x_400 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_400, 0, x_388); -lean_closure_set(x_400, 1, x_392); -lean_closure_set(x_400, 2, x_396); -lean_inc(x_388); -x_401 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_401, 0, x_388); -lean_closure_set(x_401, 1, x_392); -lean_closure_set(x_401, 2, x_396); -x_402 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_402, 0, x_397); -lean_ctor_set(x_402, 1, x_398); -lean_ctor_set(x_402, 2, x_399); -lean_ctor_set(x_402, 3, x_400); -lean_ctor_set(x_402, 4, x_401); -x_403 = x_402; -x_404 = l_Lean_Elab_Command_getRef(x_12, x_13, x_395); -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -lean_dec(x_404); -x_407 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_406); -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); -x_410 = lean_ctor_get(x_12, 2); -lean_inc(x_410); -x_411 = lean_st_ref_get(x_13, x_409); -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -x_414 = lean_ctor_get(x_412, 4); -lean_inc(x_414); -lean_dec(x_412); -x_415 = lean_st_ref_get(x_13, x_413); -x_416 = lean_ctor_get(x_415, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_415, 1); -lean_inc(x_417); -lean_dec(x_415); -x_418 = lean_ctor_get(x_416, 3); -lean_inc(x_418); -lean_dec(x_416); -x_419 = lean_environment_main_module(x_388); -x_420 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_420, 0, x_403); -lean_ctor_set(x_420, 1, x_419); -lean_ctor_set(x_420, 2, x_408); -lean_ctor_set(x_420, 3, x_410); -lean_ctor_set(x_420, 4, x_414); -lean_ctor_set(x_420, 5, x_405); -x_421 = lean_box(0); -x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_418); -lean_ctor_set(x_422, 1, x_421); -x_423 = x_384; -x_424 = lean_apply_2(x_423, x_420, x_422); -if (lean_obj_tag(x_424) == 0) -{ -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; -x_425 = lean_ctor_get(x_424, 0); -lean_inc(x_425); -x_426 = lean_ctor_get(x_424, 1); -lean_inc(x_426); -lean_dec(x_424); -x_427 = lean_ctor_get(x_426, 0); -lean_inc(x_427); -x_428 = lean_st_ref_take(x_13, x_417); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_428, 1); -lean_inc(x_430); -lean_dec(x_428); -x_431 = !lean_is_exclusive(x_429); -if (x_431 == 0) -{ -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; -x_432 = lean_ctor_get(x_429, 3); -lean_dec(x_432); -lean_ctor_set(x_429, 3, x_427); -x_433 = lean_st_ref_set(x_13, x_429, x_430); -x_434 = lean_ctor_get(x_433, 1); -lean_inc(x_434); -lean_dec(x_433); -x_435 = lean_ctor_get(x_426, 1); -lean_inc(x_435); -lean_dec(x_426); -x_436 = l_List_reverse___rarg(x_435); -x_437 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_436, x_12, x_13, x_434); -x_438 = lean_ctor_get(x_437, 1); -lean_inc(x_438); -lean_dec(x_437); -x_17 = x_425; -x_18 = x_438; -goto block_378; -} -else -{ -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; -x_439 = lean_ctor_get(x_429, 0); -x_440 = lean_ctor_get(x_429, 1); -x_441 = lean_ctor_get(x_429, 2); -x_442 = lean_ctor_get(x_429, 4); -x_443 = lean_ctor_get(x_429, 5); -x_444 = lean_ctor_get(x_429, 6); -x_445 = lean_ctor_get(x_429, 7); -x_446 = lean_ctor_get(x_429, 8); -lean_inc(x_446); -lean_inc(x_445); -lean_inc(x_444); -lean_inc(x_443); -lean_inc(x_442); -lean_inc(x_441); -lean_inc(x_440); -lean_inc(x_439); -lean_dec(x_429); -x_447 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_447, 0, x_439); -lean_ctor_set(x_447, 1, x_440); -lean_ctor_set(x_447, 2, x_441); -lean_ctor_set(x_447, 3, x_427); -lean_ctor_set(x_447, 4, x_442); -lean_ctor_set(x_447, 5, x_443); -lean_ctor_set(x_447, 6, x_444); -lean_ctor_set(x_447, 7, x_445); -lean_ctor_set(x_447, 8, x_446); -x_448 = lean_st_ref_set(x_13, x_447, x_430); -x_449 = lean_ctor_get(x_448, 1); -lean_inc(x_449); -lean_dec(x_448); -x_450 = lean_ctor_get(x_426, 1); -lean_inc(x_450); -lean_dec(x_426); -x_451 = l_List_reverse___rarg(x_450); -x_452 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_451, x_12, x_13, x_449); -x_453 = lean_ctor_get(x_452, 1); -lean_inc(x_453); -lean_dec(x_452); -x_17 = x_425; -x_18 = x_453; -goto block_378; -} -} -else -{ -lean_object* x_454; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_454 = lean_ctor_get(x_424, 0); -lean_inc(x_454); -lean_dec(x_424); -if (lean_obj_tag(x_454) == 0) +x_18 = lean_box_usize(x_2); +x_19 = lean_box_usize(x_3); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +lean_closure_set(x_20, 2, x_4); +x_21 = x_20; +lean_inc(x_13); +x_22 = lean_apply_2(x_21, x_13, x_17); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; -x_455 = lean_ctor_get(x_454, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_454, 1); -lean_inc(x_456); -lean_dec(x_454); -x_457 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_457, 0, x_456); -x_458 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_458, 0, x_457); -x_459 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_455, x_458, x_12, x_13, x_417); -lean_dec(x_455); -x_460 = !lean_is_exclusive(x_459); -if (x_460 == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_13); +x_25 = l_Lean_Macro_getCurrNamespace(x_13, x_24); +if (lean_obj_tag(x_25) == 0) { -return x_459; -} -else -{ -lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_461 = lean_ctor_get(x_459, 0); -x_462 = lean_ctor_get(x_459, 1); -lean_inc(x_462); -lean_inc(x_461); -lean_dec(x_459); -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_461); -lean_ctor_set(x_463, 1, x_462); -return x_463; -} -} -else -{ -lean_object* x_464; uint8_t x_465; -lean_dec(x_12); -x_464 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_417); -x_465 = !lean_is_exclusive(x_464); -if (x_465 == 0) -{ -return x_464; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_466 = lean_ctor_get(x_464, 0); -x_467 = lean_ctor_get(x_464, 1); -lean_inc(x_467); -lean_inc(x_466); -lean_dec(x_464); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_466); -lean_ctor_set(x_468, 1, x_467); -return x_468; -} -} -} -block_378: -{ -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; uint8_t x_26; -lean_inc(x_11); -x_19 = l_Lean_Name_append(x_1, x_11); -x_20 = lean_array_push(x_2, x_15); -x_21 = l_Array_append___rarg(x_20, x_17); -lean_dec(x_17); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Syntax_getArgs(x_3); -x_24 = lean_array_get_size(x_23); +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; uint8_t x_35; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_12); +x_28 = l_Lean_Name_append(x_26, x_12); +lean_dec(x_26); +x_29 = lean_array_push(x_5, x_16); +x_30 = l_Array_append___rarg(x_29, x_23); lean_dec(x_23); -x_25 = lean_unsigned_to_nat(11u); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_24); -if (x_26 == 0) +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Syntax_getArgs(x_6); +x_33 = lean_array_get_size(x_32); +lean_dec(x_32); +x_34 = lean_unsigned_to_nat(11u); +x_35 = lean_nat_dec_eq(x_33, x_34); +lean_dec(x_33); +if (x_35 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; 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; size_t x_175; size_t 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; -x_27 = l_Lean_Syntax_getArg(x_3, x_25); -x_129 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_18); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_131); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_134 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_133); -x_135 = lean_ctor_get(x_134, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; 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; size_t 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; +x_36 = l_Lean_Syntax_getArg(x_6, x_34); +x_134 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_13, x_27); +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); lean_dec(x_134); -x_136 = l_Array_empty___closed__1; -x_137 = lean_array_push(x_136, x_4); -x_138 = l_Lean_Parser_categoryParserFnImpl___closed__1; -lean_inc(x_130); -x_139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_139, 0, x_130); -lean_ctor_set(x_139, 1, x_138); -x_140 = lean_array_push(x_137, x_139); -x_141 = l_prec_x28___x29___closed__3; -lean_inc(x_130); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_130); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_136, x_142); -x_144 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; -lean_inc(x_130); -x_145 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_145, 0, x_130); -lean_ctor_set(x_145, 1, x_144); -lean_inc(x_143); -x_146 = lean_array_push(x_143, x_145); -x_147 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_130); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_130); -lean_ctor_set(x_148, 1, x_147); -lean_inc(x_148); -x_149 = lean_array_push(x_146, x_148); -x_150 = l_Lean_mkIdentFrom(x_3, x_11); -x_151 = lean_array_push(x_149, x_150); -x_152 = l_prec_x28___x29___closed__7; -lean_inc(x_130); -x_153 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_153, 0, x_130); -lean_ctor_set(x_153, 1, x_152); -lean_inc(x_153); -x_154 = lean_array_push(x_151, x_153); -x_155 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = lean_array_push(x_136, x_156); -x_158 = l_Lean_nullKind___closed__2; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; -lean_inc(x_130); -x_161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_161, 0, x_130); -lean_ctor_set(x_161, 1, x_160); -x_162 = lean_array_push(x_143, x_161); -x_163 = lean_array_push(x_162, x_148); -x_164 = l_Nat_repr(x_5); -x_165 = l_Lean_numLitKind; -x_166 = lean_box(2); -x_167 = l_Lean_Syntax_mkLit(x_165, x_164, x_166); -x_168 = lean_array_push(x_163, x_167); -x_169 = lean_array_push(x_168, x_153); -x_170 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_136, x_171); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_158); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_array_get_size(x_6); -x_175 = lean_usize_of_nat(x_174); -lean_dec(x_174); -x_176 = 0; -x_177 = x_6; -x_178 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_175, x_176, x_177); +x_137 = l_Array_empty___closed__1; +x_138 = lean_array_push(x_137, x_7); +x_139 = l_Lean_Parser_categoryParserFnImpl___closed__1; +lean_inc(x_135); +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_135); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_array_push(x_138, x_140); +x_142 = l_prec_x28___x29___closed__3; +lean_inc(x_135); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_135); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_137, x_143); +x_145 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; +lean_inc(x_135); +x_146 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_inc(x_144); +x_147 = lean_array_push(x_144, x_146); +x_148 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_135); +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_135); +lean_ctor_set(x_149, 1, x_148); +lean_inc(x_149); +x_150 = lean_array_push(x_147, x_149); +x_151 = l_Lean_mkIdentFrom(x_6, x_12); +x_152 = lean_array_push(x_150, x_151); +x_153 = l_prec_x28___x29___closed__7; +lean_inc(x_135); +x_154 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_154, 0, x_135); +lean_ctor_set(x_154, 1, x_153); +lean_inc(x_154); +x_155 = lean_array_push(x_152, x_154); +x_156 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +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_137, x_157); +x_159 = l_Lean_nullKind___closed__2; +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_Parser_Command_namedPrio___elambda__1___closed__5; +lean_inc(x_135); +x_162 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_162, 0, x_135); +lean_ctor_set(x_162, 1, x_161); +x_163 = lean_array_push(x_144, x_162); +x_164 = lean_array_push(x_163, x_149); +x_165 = l_Nat_repr(x_8); +x_166 = l_Lean_numLitKind; +x_167 = lean_box(2); +x_168 = l_Lean_Syntax_mkLit(x_166, x_165, x_167); +x_169 = lean_array_push(x_164, x_168); +x_170 = lean_array_push(x_169, x_154); +x_171 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_array_push(x_137, x_172); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_159); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_array_get_size(x_9); +x_176 = lean_usize_of_nat(x_175); +lean_dec(x_175); +x_177 = x_9; +x_178 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_176, x_3, x_177); x_179 = x_178; -x_180 = l_Array_appendCore___rarg(x_136, x_179); +x_180 = l_Array_appendCore___rarg(x_137, x_179); lean_dec(x_179); x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_158); +lean_ctor_set(x_181, 0, x_159); lean_ctor_set(x_181, 1, x_180); x_182 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; x_183 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_183, 0, x_130); +lean_ctor_set(x_183, 0, x_135); lean_ctor_set(x_183, 1, x_182); -if (lean_obj_tag(x_7) == 0) +if (lean_obj_tag(x_10) == 0) { lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; x_184 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_185 = lean_array_push(x_140, x_184); -x_186 = lean_array_push(x_185, x_159); -x_187 = lean_array_push(x_186, x_173); +x_185 = lean_array_push(x_141, x_184); +x_186 = lean_array_push(x_185, x_160); +x_187 = lean_array_push(x_186, x_174); x_188 = lean_array_push(x_187, x_181); x_189 = lean_array_push(x_188, x_183); -x_190 = lean_array_push(x_189, x_8); +x_190 = lean_array_push(x_189, x_11); x_191 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); -x_28 = x_192; -x_29 = x_135; -goto block_128; +x_37 = x_192; +x_38 = x_136; +goto block_133; } else { 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; -x_193 = lean_ctor_get(x_7, 0); +x_193 = lean_ctor_get(x_10, 0); lean_inc(x_193); -lean_dec(x_7); -x_194 = lean_array_push(x_136, x_193); -x_195 = l_Array_appendCore___rarg(x_136, x_194); +lean_dec(x_10); +x_194 = lean_array_push(x_137, x_193); +x_195 = l_Array_appendCore___rarg(x_137, x_194); lean_dec(x_194); x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_158); +lean_ctor_set(x_196, 0, x_159); lean_ctor_set(x_196, 1, x_195); -x_197 = lean_array_push(x_140, x_196); -x_198 = lean_array_push(x_197, x_159); -x_199 = lean_array_push(x_198, x_173); +x_197 = lean_array_push(x_141, x_196); +x_198 = lean_array_push(x_197, x_160); +x_199 = lean_array_push(x_198, x_174); x_200 = lean_array_push(x_199, x_181); x_201 = lean_array_push(x_200, x_183); -x_202 = lean_array_push(x_201, x_8); +x_202 = lean_array_push(x_201, x_11); x_203 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; x_204 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_204, 0, x_203); lean_ctor_set(x_204, 1, x_202); -x_28 = x_204; -x_29 = x_135; -goto block_128; +x_37 = x_204; +x_38 = x_136; +goto block_133; } -block_128: +block_133: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_32); -lean_dec(x_12); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_34); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +lean_object* x_39; uint8_t x_40; +x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_13, x_38); +lean_dec(x_13); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -x_38 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_inc(x_31); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Array_empty___closed__1; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_43 = lean_array_push(x_41, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_31); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_31); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_push(x_40, x_45); -x_47 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_31); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_31); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_array_push(x_40, x_48); -lean_inc(x_49); -x_50 = lean_array_push(x_49, x_22); -x_51 = l_prec_x28___x29___closed__7; -lean_inc(x_31); +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; +x_41 = lean_ctor_get(x_39, 0); +x_42 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; +lean_inc(x_41); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Array_empty___closed__1; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_47 = lean_array_push(x_45, x_46); +x_48 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_41); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_array_push(x_44, x_49); +x_51 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_41); x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_31); +lean_ctor_set(x_52, 0, x_41); lean_ctor_set(x_52, 1, x_51); -lean_inc(x_52); -x_53 = lean_array_push(x_50, x_52); -x_54 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_array_push(x_40, x_55); -x_57 = l_Lean_nullKind___closed__2; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = lean_array_push(x_46, x_58); -x_60 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_31); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_push(x_59, x_61); -x_63 = lean_array_push(x_49, x_27); -x_64 = lean_array_push(x_63, x_52); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_54); +x_53 = lean_array_push(x_44, x_52); +lean_inc(x_53); +x_54 = lean_array_push(x_53, x_31); +x_55 = l_prec_x28___x29___closed__7; +lean_inc(x_41); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_41); +lean_ctor_set(x_56, 1, x_55); +lean_inc(x_56); +x_57 = lean_array_push(x_54, x_56); +x_58 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_array_push(x_44, x_59); +x_61 = l_Lean_nullKind___closed__2; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_array_push(x_50, x_62); +x_64 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_41); lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_62, x_65); -x_67 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -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 = lean_array_push(x_40, x_68); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_57); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_array_push(x_40, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = lean_array_push(x_43, x_73); -x_75 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_Syntax_mkApp___closed__1; -x_78 = lean_array_push(x_77, x_28); -x_79 = lean_array_push(x_78, x_76); -x_80 = l_Lean_nullKind; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_35, 0, x_81); -return x_35; +x_66 = lean_array_push(x_63, x_65); +x_67 = lean_array_push(x_53, x_36); +x_68 = lean_array_push(x_67, x_56); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_58); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_66, x_69); +x_71 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_array_push(x_44, x_72); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_61); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_44, x_74); +x_76 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +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_47, x_77); +x_79 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l_Lean_Syntax_mkApp___closed__1; +x_82 = lean_array_push(x_81, x_37); +x_83 = lean_array_push(x_82, x_80); +x_84 = l_Lean_nullKind; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +lean_ctor_set(x_39, 0, x_85); +return x_39; } else { -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; -x_82 = lean_ctor_get(x_35, 1); -lean_inc(x_82); -lean_dec(x_35); -x_83 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_inc(x_31); -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_Array_empty___closed__1; -x_86 = lean_array_push(x_85, x_84); -x_87 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_88 = lean_array_push(x_86, x_87); -x_89 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -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 = lean_array_push(x_85, x_90); -x_92 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_31); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_31); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_85, x_93); -lean_inc(x_94); -x_95 = lean_array_push(x_94, x_22); -x_96 = l_prec_x28___x29___closed__7; -lean_inc(x_31); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_31); -lean_ctor_set(x_97, 1, x_96); -lean_inc(x_97); -x_98 = lean_array_push(x_95, x_97); -x_99 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = lean_array_push(x_85, x_100); -x_102 = l_Lean_nullKind___closed__2; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = lean_array_push(x_91, x_103); -x_105 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -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 = lean_array_push(x_104, x_106); -x_108 = lean_array_push(x_94, x_27); -x_109 = lean_array_push(x_108, x_97); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_99); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_107, x_110); -x_112 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); -x_114 = lean_array_push(x_85, x_113); +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; +x_86 = lean_ctor_get(x_39, 0); +x_87 = lean_ctor_get(x_39, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_39); +x_88 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; +lean_inc(x_86); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Array_empty___closed__1; +x_91 = lean_array_push(x_90, x_89); +x_92 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_93 = lean_array_push(x_91, x_92); +x_94 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_86); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_86); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_90, x_95); +x_97 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_86); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_86); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_array_push(x_90, x_98); +lean_inc(x_99); +x_100 = lean_array_push(x_99, x_31); +x_101 = l_prec_x28___x29___closed__7; +lean_inc(x_86); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_86); +lean_ctor_set(x_102, 1, x_101); +lean_inc(x_102); +x_103 = lean_array_push(x_100, x_102); +x_104 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = lean_array_push(x_90, x_105); +x_107 = l_Lean_nullKind___closed__2; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = lean_array_push(x_96, x_108); +x_110 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_111, 0, x_86); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_109, x_111); +x_113 = lean_array_push(x_99, x_36); +x_114 = lean_array_push(x_113, x_102); x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_102); +lean_ctor_set(x_115, 0, x_104); lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_85, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_116 = lean_array_push(x_112, x_115); +x_117 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); -x_119 = lean_array_push(x_88, x_118); -x_120 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -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_Syntax_mkApp___closed__1; -x_123 = lean_array_push(x_122, x_28); -x_124 = lean_array_push(x_123, x_121); -x_125 = l_Lean_nullKind; +x_119 = lean_array_push(x_90, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_107); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_90, x_120); +x_122 = l_myMacro____x40_Init_Notation___hyg_13978____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_93, x_123); +x_125 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_82); -return x_127; +x_127 = l_Lean_Syntax_mkApp___closed__1; +x_128 = lean_array_push(x_127, x_37); +x_129 = lean_array_push(x_128, x_126); +x_130 = l_Lean_nullKind; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_87); +return x_132; } } } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; 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; size_t x_348; size_t 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_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; 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; size_t 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; x_205 = lean_unsigned_to_nat(10u); -x_206 = l_Lean_Syntax_getArg(x_3, x_205); -x_302 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_18); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_304); -x_306 = lean_ctor_get(x_305, 1); -lean_inc(x_306); -lean_dec(x_305); -x_307 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_306); -x_308 = lean_ctor_get(x_307, 1); +x_206 = l_Lean_Syntax_getArg(x_6, x_205); +x_298 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_13, x_27); +x_299 = lean_ctor_get(x_298, 0); +lean_inc(x_299); +x_300 = lean_ctor_get(x_298, 1); +lean_inc(x_300); +lean_dec(x_298); +x_301 = l_Array_empty___closed__1; +x_302 = lean_array_push(x_301, x_7); +x_303 = l_Lean_Parser_categoryParserFnImpl___closed__1; +lean_inc(x_299); +x_304 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_304, 0, x_299); +lean_ctor_set(x_304, 1, x_303); +x_305 = lean_array_push(x_302, x_304); +x_306 = l_prec_x28___x29___closed__3; +lean_inc(x_299); +x_307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_307, 0, x_299); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_array_push(x_301, x_307); +x_309 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; +lean_inc(x_299); +x_310 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_310, 0, x_299); +lean_ctor_set(x_310, 1, x_309); lean_inc(x_308); -lean_dec(x_307); -x_309 = l_Array_empty___closed__1; -x_310 = lean_array_push(x_309, x_4); -x_311 = l_Lean_Parser_categoryParserFnImpl___closed__1; -lean_inc(x_303); -x_312 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_312, 0, x_303); -lean_ctor_set(x_312, 1, x_311); -x_313 = lean_array_push(x_310, x_312); -x_314 = l_prec_x28___x29___closed__3; -lean_inc(x_303); -x_315 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_315, 0, x_303); -lean_ctor_set(x_315, 1, x_314); -x_316 = lean_array_push(x_309, x_315); -x_317 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__15; -lean_inc(x_303); +x_311 = lean_array_push(x_308, x_310); +x_312 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_299); +x_313 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_313, 0, x_299); +lean_ctor_set(x_313, 1, x_312); +lean_inc(x_313); +x_314 = lean_array_push(x_311, x_313); +x_315 = l_Lean_mkIdentFrom(x_6, x_12); +x_316 = lean_array_push(x_314, x_315); +x_317 = l_prec_x28___x29___closed__7; +lean_inc(x_299); x_318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_318, 0, x_303); +lean_ctor_set(x_318, 0, x_299); lean_ctor_set(x_318, 1, x_317); -lean_inc(x_316); +lean_inc(x_318); x_319 = lean_array_push(x_316, x_318); -x_320 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_303); -x_321 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_321, 0, x_303); -lean_ctor_set(x_321, 1, x_320); -lean_inc(x_321); -x_322 = lean_array_push(x_319, x_321); -x_323 = l_Lean_mkIdentFrom(x_3, x_11); -x_324 = lean_array_push(x_322, x_323); -x_325 = l_prec_x28___x29___closed__7; -lean_inc(x_303); +x_320 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +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_301, x_321); +x_323 = l_Lean_nullKind___closed__2; +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; +lean_inc(x_299); x_326 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_326, 0, x_303); +lean_ctor_set(x_326, 0, x_299); lean_ctor_set(x_326, 1, x_325); -lean_inc(x_326); -x_327 = lean_array_push(x_324, x_326); -x_328 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; -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_array_push(x_309, x_329); -x_331 = l_Lean_nullKind___closed__2; -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 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__5; -lean_inc(x_303); -x_334 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_334, 0, x_303); -lean_ctor_set(x_334, 1, x_333); -x_335 = lean_array_push(x_316, x_334); -x_336 = lean_array_push(x_335, x_321); -x_337 = l_Nat_repr(x_5); -x_338 = l_Lean_numLitKind; -x_339 = lean_box(2); -x_340 = l_Lean_Syntax_mkLit(x_338, x_337, x_339); -x_341 = lean_array_push(x_336, x_340); -x_342 = lean_array_push(x_341, x_326); -x_343 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = lean_array_push(x_309, x_344); -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_331); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_array_get_size(x_6); -x_348 = lean_usize_of_nat(x_347); -lean_dec(x_347); -x_349 = 0; -x_350 = x_6; -x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_348, x_349, x_350); -x_352 = x_351; -x_353 = l_Array_appendCore___rarg(x_309, x_352); -lean_dec(x_352); -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_331); -lean_ctor_set(x_354, 1, x_353); -x_355 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_303); -lean_ctor_set(x_356, 1, x_355); -if (lean_obj_tag(x_7) == 0) +x_327 = lean_array_push(x_308, x_326); +x_328 = lean_array_push(x_327, x_313); +x_329 = l_Nat_repr(x_8); +x_330 = l_Lean_numLitKind; +x_331 = lean_box(2); +x_332 = l_Lean_Syntax_mkLit(x_330, x_329, x_331); +x_333 = lean_array_push(x_328, x_332); +x_334 = lean_array_push(x_333, x_318); +x_335 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_334); +x_337 = lean_array_push(x_301, x_336); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_323); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_get_size(x_9); +x_340 = lean_usize_of_nat(x_339); +lean_dec(x_339); +x_341 = x_9; +x_342 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_5221____spec__3(x_340, x_3, x_341); +x_343 = x_342; +x_344 = l_Array_appendCore___rarg(x_301, x_343); +lean_dec(x_343); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_323); +lean_ctor_set(x_345, 1, x_344); +x_346 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +x_347 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_347, 0, x_299); +lean_ctor_set(x_347, 1, x_346); +if (lean_obj_tag(x_10) == 0) { -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; -x_357 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_358 = lean_array_push(x_313, x_357); -x_359 = lean_array_push(x_358, x_332); -x_360 = lean_array_push(x_359, x_346); -x_361 = lean_array_push(x_360, x_354); -x_362 = lean_array_push(x_361, x_356); -x_363 = lean_array_push(x_362, x_8); -x_364 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_207 = x_365; -x_208 = x_308; -goto block_301; +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; +x_348 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; +x_349 = lean_array_push(x_305, x_348); +x_350 = lean_array_push(x_349, x_324); +x_351 = lean_array_push(x_350, x_338); +x_352 = lean_array_push(x_351, x_345); +x_353 = lean_array_push(x_352, x_347); +x_354 = lean_array_push(x_353, x_11); +x_355 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_354); +x_207 = x_356; +x_208 = x_300; +goto block_297; } else { -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; -x_366 = lean_ctor_get(x_7, 0); -lean_inc(x_366); -lean_dec(x_7); -x_367 = lean_array_push(x_309, x_366); -x_368 = l_Array_appendCore___rarg(x_309, x_367); -lean_dec(x_367); -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_331); -lean_ctor_set(x_369, 1, x_368); -x_370 = lean_array_push(x_313, x_369); -x_371 = lean_array_push(x_370, x_332); -x_372 = lean_array_push(x_371, x_346); -x_373 = lean_array_push(x_372, x_354); -x_374 = lean_array_push(x_373, x_356); -x_375 = lean_array_push(x_374, x_8); -x_376 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_375); -x_207 = x_377; -x_208 = x_308; -goto block_301; +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; +x_357 = lean_ctor_get(x_10, 0); +lean_inc(x_357); +lean_dec(x_10); +x_358 = lean_array_push(x_301, x_357); +x_359 = l_Array_appendCore___rarg(x_301, x_358); +lean_dec(x_358); +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_323); +lean_ctor_set(x_360, 1, x_359); +x_361 = lean_array_push(x_305, x_360); +x_362 = lean_array_push(x_361, x_324); +x_363 = lean_array_push(x_362, x_338); +x_364 = lean_array_push(x_363, x_345); +x_365 = lean_array_push(x_364, x_347); +x_366 = lean_array_push(x_365, x_11); +x_367 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +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_207 = x_368; +x_208 = x_300; +goto block_297; } -block_301: +block_297: { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; -x_209 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_208); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 1); +lean_object* x_209; uint8_t x_210; +x_209 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_15667__expandListLit___spec__1(x_13, x_208); +lean_dec(x_13); +x_210 = !lean_is_exclusive(x_209); +if (x_210 == 0) +{ +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; +x_211 = lean_ctor_get(x_209, 0); +x_212 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; lean_inc(x_211); -lean_dec(x_209); -x_212 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_211); -lean_dec(x_12); -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -x_214 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_213); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -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; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -x_217 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_inc(x_210); -x_218 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_218, 0, x_210); -lean_ctor_set(x_218, 1, x_217); -x_219 = l_Array_empty___closed__1; -x_220 = lean_array_push(x_219, x_218); -x_221 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_222 = lean_array_push(x_220, x_221); -x_223 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_210); -x_224 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_224, 0, x_210); -lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_219, x_224); -x_226 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_210); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_210); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_219, x_227); -x_229 = lean_array_push(x_228, x_22); -x_230 = l_prec_x28___x29___closed__7; -lean_inc(x_210); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_210); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_229, x_231); -x_233 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -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 = lean_array_push(x_219, x_234); -x_236 = l_Lean_nullKind___closed__2; -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_225, x_237); -x_239 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_240, 0, x_210); -lean_ctor_set(x_240, 1, x_239); -x_241 = lean_array_push(x_238, x_240); -x_242 = lean_array_push(x_241, x_206); -x_243 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +x_214 = l_Array_empty___closed__1; +x_215 = lean_array_push(x_214, x_213); +x_216 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_217 = lean_array_push(x_215, x_216); +x_218 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_211); +x_219 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_219, 0, x_211); +lean_ctor_set(x_219, 1, x_218); +x_220 = lean_array_push(x_214, x_219); +x_221 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_211); +x_222 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_222, 0, x_211); +lean_ctor_set(x_222, 1, x_221); +x_223 = lean_array_push(x_214, x_222); +x_224 = lean_array_push(x_223, x_31); +x_225 = l_prec_x28___x29___closed__7; +lean_inc(x_211); +x_226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_226, 0, x_211); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_array_push(x_224, x_226); +x_228 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +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_214, x_229); +x_231 = l_Lean_nullKind___closed__2; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +x_233 = lean_array_push(x_220, x_232); +x_234 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_235, 0, x_211); +lean_ctor_set(x_235, 1, x_234); +x_236 = lean_array_push(x_233, x_235); +x_237 = lean_array_push(x_236, x_206); +x_238 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +x_240 = lean_array_push(x_214, x_239); +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_231); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_214, x_241); +x_243 = l_myMacro____x40_Init_Notation___hyg_13978____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 = lean_array_push(x_219, x_244); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_236); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_array_push(x_219, x_246); -x_248 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = lean_array_push(x_222, x_249); -x_251 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_245 = lean_array_push(x_217, x_244); +x_246 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +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_Syntax_mkApp___closed__1; +x_249 = lean_array_push(x_248, x_207); +x_250 = lean_array_push(x_249, x_247); +x_251 = l_Lean_nullKind; 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_Syntax_mkApp___closed__1; -x_254 = lean_array_push(x_253, x_207); -x_255 = lean_array_push(x_254, x_252); -x_256 = l_Lean_nullKind; -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -lean_ctor_set(x_214, 0, x_257); -return x_214; +lean_ctor_set(x_209, 0, x_252); +return x_209; } else { -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; -x_258 = lean_ctor_get(x_214, 1); -lean_inc(x_258); -lean_dec(x_214); -x_259 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; -lean_inc(x_210); -x_260 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_260, 0, x_210); -lean_ctor_set(x_260, 1, x_259); -x_261 = l_Array_empty___closed__1; -x_262 = lean_array_push(x_261, x_260); -x_263 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_264 = lean_array_push(x_262, x_263); -x_265 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_210); -x_266 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_266, 0, x_210); -lean_ctor_set(x_266, 1, x_265); -x_267 = lean_array_push(x_261, x_266); -x_268 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; -lean_inc(x_210); +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; +x_253 = lean_ctor_get(x_209, 0); +x_254 = lean_ctor_get(x_209, 1); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_209); +x_255 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; +lean_inc(x_253); +x_256 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_256, 0, x_253); +lean_ctor_set(x_256, 1, x_255); +x_257 = l_Array_empty___closed__1; +x_258 = lean_array_push(x_257, x_256); +x_259 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_260 = lean_array_push(x_258, x_259); +x_261 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_253); +x_262 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_262, 0, x_253); +lean_ctor_set(x_262, 1, x_261); +x_263 = lean_array_push(x_257, x_262); +x_264 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +lean_inc(x_253); +x_265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_265, 0, x_253); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_array_push(x_257, x_265); +x_267 = lean_array_push(x_266, x_31); +x_268 = l_prec_x28___x29___closed__7; +lean_inc(x_253); x_269 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_269, 0, x_210); +lean_ctor_set(x_269, 0, x_253); lean_ctor_set(x_269, 1, x_268); -x_270 = lean_array_push(x_261, x_269); -x_271 = lean_array_push(x_270, x_22); -x_272 = l_prec_x28___x29___closed__7; -lean_inc(x_210); -x_273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_273, 0, x_210); -lean_ctor_set(x_273, 1, x_272); -x_274 = lean_array_push(x_271, x_273); -x_275 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = lean_array_push(x_261, x_276); -x_278 = l_Lean_nullKind___closed__2; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_array_push(x_267, x_279); -x_281 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_282, 0, x_210); -lean_ctor_set(x_282, 1, x_281); -x_283 = lean_array_push(x_280, x_282); -x_284 = lean_array_push(x_283, x_206); -x_285 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = lean_array_push(x_261, x_286); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_278); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_array_push(x_261, x_288); -x_290 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -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 = lean_array_push(x_264, x_291); -x_293 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_292); -x_295 = l_Lean_Syntax_mkApp___closed__1; -x_296 = lean_array_push(x_295, x_207); -x_297 = lean_array_push(x_296, x_294); -x_298 = l_Lean_nullKind; -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_258); -return x_300; +x_270 = lean_array_push(x_267, x_269); +x_271 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +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_257, x_272); +x_274 = l_Lean_nullKind___closed__2; +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_263, x_275); +x_277 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_253); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_array_push(x_276, x_278); +x_280 = lean_array_push(x_279, x_206); +x_281 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = lean_array_push(x_257, x_282); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_274); +lean_ctor_set(x_284, 1, x_283); +x_285 = lean_array_push(x_257, x_284); +x_286 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +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_288 = lean_array_push(x_260, x_287); +x_289 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +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 = l_Lean_Syntax_mkApp___closed__1; +x_292 = lean_array_push(x_291, x_207); +x_293 = lean_array_push(x_292, x_290); +x_294 = l_Lean_nullKind; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_254); +return x_296; } } } } +else +{ +uint8_t x_369; +lean_dec(x_23); +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_369 = !lean_is_exclusive(x_25); +if (x_369 == 0) +{ +return x_25; +} +else +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_370 = lean_ctor_get(x_25, 0); +x_371 = lean_ctor_get(x_25, 1); +lean_inc(x_371); +lean_inc(x_370); +lean_dec(x_25); +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; +} +} +} +else +{ +uint8_t x_373; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_373 = !lean_is_exclusive(x_22); +if (x_373 == 0) +{ +return x_22; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_374 = lean_ctor_get(x_22, 0); +x_375 = lean_ctor_get(x_22, 1); +lean_inc(x_375); +lean_inc(x_374); +lean_dec(x_22); +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_374); +lean_ctor_set(x_376, 1, x_375); +return x_376; +} +} +} +else +{ +uint8_t x_377; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_377 = !lean_is_exclusive(x_15); +if (x_377 == 0) +{ +return x_15; +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_378 = lean_ctor_get(x_15, 0); +x_379 = lean_ctor_get(x_15, 1); +lean_inc(x_379); +lean_inc(x_378); +lean_dec(x_15); +x_380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_380, 0, x_378); +lean_ctor_set(x_380, 1, x_379); +return x_380; +} } } } @@ -35061,1073 +33328,264 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_expandMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_expandMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_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; -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_getArg(x_2, x_6); -x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_2, x_8); -x_10 = l_Lean_Syntax_getOptional_x3f(x_9); -lean_dec(x_9); -x_300 = lean_unsigned_to_nat(3u); -x_301 = l_Lean_Syntax_getArg(x_2, x_300); -x_302 = lean_st_ref_get(x_4, x_5); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = lean_ctor_get(x_303, 0); -lean_inc(x_305); -lean_dec(x_303); -x_306 = l_Lean_Elab_Command_getScope___rarg(x_4, x_304); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -x_309 = lean_ctor_get(x_307, 2); -lean_inc(x_309); -lean_dec(x_307); -x_310 = l_Lean_Elab_Command_getScope___rarg(x_4, x_308); -x_311 = lean_ctor_get(x_310, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 1); -lean_inc(x_312); -lean_dec(x_310); -x_313 = lean_ctor_get(x_311, 3); -lean_inc(x_313); -lean_dec(x_311); -lean_inc(x_305); -x_314 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_314, 0, x_305); -lean_inc(x_309); -x_315 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_315, 0, x_309); -lean_inc(x_305); -x_316 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_316, 0, x_305); -lean_inc(x_313); -lean_inc(x_309); -lean_inc(x_305); -x_317 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_317, 0, x_305); -lean_closure_set(x_317, 1, x_309); -lean_closure_set(x_317, 2, x_313); -lean_inc(x_305); -x_318 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_318, 0, x_305); -lean_closure_set(x_318, 1, x_309); -lean_closure_set(x_318, 2, x_313); -x_319 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_319, 0, x_314); -lean_ctor_set(x_319, 1, x_315); -lean_ctor_set(x_319, 2, x_316); -lean_ctor_set(x_319, 3, x_317); -lean_ctor_set(x_319, 4, x_318); -x_320 = x_319; -x_321 = l_Lean_Elab_Command_getRef(x_3, x_4, x_312); -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_Elab_Command_getCurrMacroScope(x_3, x_4, x_323); -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -x_327 = lean_ctor_get(x_3, 2); -lean_inc(x_327); -x_328 = lean_st_ref_get(x_4, x_326); -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec(x_328); -x_331 = lean_ctor_get(x_329, 4); -lean_inc(x_331); -lean_dec(x_329); -x_332 = lean_st_ref_get(x_4, x_330); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_ctor_get(x_333, 3); -lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_environment_main_module(x_305); -x_337 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_337, 0, x_320); -lean_ctor_set(x_337, 1, x_336); -lean_ctor_set(x_337, 2, x_325); -lean_ctor_set(x_337, 3, x_327); -lean_ctor_set(x_337, 4, x_331); -lean_ctor_set(x_337, 5, x_322); -x_338 = lean_box(0); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_335); -lean_ctor_set(x_339, 1, x_338); -x_340 = l_Lean_Elab_expandOptNamedName(x_301, x_337, x_339); -lean_dec(x_337); -lean_dec(x_301); -if (lean_obj_tag(x_340) == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = lean_ctor_get(x_342, 0); -lean_inc(x_343); -x_344 = lean_st_ref_take(x_4, x_334); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 1); -lean_inc(x_346); -lean_dec(x_344); -x_347 = !lean_is_exclusive(x_345); -if (x_347 == 0) -{ -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; -x_348 = lean_ctor_get(x_345, 3); -lean_dec(x_348); -lean_ctor_set(x_345, 3, x_343); -x_349 = lean_st_ref_set(x_4, x_345, x_346); -x_350 = lean_ctor_get(x_349, 1); -lean_inc(x_350); -lean_dec(x_349); -x_351 = lean_ctor_get(x_342, 1); -lean_inc(x_351); -lean_dec(x_342); -x_352 = l_List_reverse___rarg(x_351); -x_353 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_352, x_3, x_4, x_350); -x_354 = lean_ctor_get(x_353, 1); -lean_inc(x_354); -lean_dec(x_353); -x_11 = x_341; -x_12 = x_354; -goto block_299; -} -else -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; 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_355 = lean_ctor_get(x_345, 0); -x_356 = lean_ctor_get(x_345, 1); -x_357 = lean_ctor_get(x_345, 2); -x_358 = lean_ctor_get(x_345, 4); -x_359 = lean_ctor_get(x_345, 5); -x_360 = lean_ctor_get(x_345, 6); -x_361 = lean_ctor_get(x_345, 7); -x_362 = lean_ctor_get(x_345, 8); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_inc(x_359); -lean_inc(x_358); -lean_inc(x_357); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_345); -x_363 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_363, 0, x_355); -lean_ctor_set(x_363, 1, x_356); -lean_ctor_set(x_363, 2, x_357); -lean_ctor_set(x_363, 3, x_343); -lean_ctor_set(x_363, 4, x_358); -lean_ctor_set(x_363, 5, x_359); -lean_ctor_set(x_363, 6, x_360); -lean_ctor_set(x_363, 7, x_361); -lean_ctor_set(x_363, 8, x_362); -x_364 = lean_st_ref_set(x_4, x_363, x_346); -x_365 = lean_ctor_get(x_364, 1); -lean_inc(x_365); -lean_dec(x_364); -x_366 = lean_ctor_get(x_342, 1); -lean_inc(x_366); -lean_dec(x_342); -x_367 = l_List_reverse___rarg(x_366); -x_368 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_367, x_3, x_4, x_365); -x_369 = lean_ctor_get(x_368, 1); -lean_inc(x_369); -lean_dec(x_368); -x_11 = x_341; -x_12 = x_369; -goto block_299; -} -} -else -{ -lean_object* x_370; uint8_t x_371; -lean_dec(x_340); -lean_dec(x_10); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = lean_unsigned_to_nat(2u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +x_8 = l_Lean_Syntax_getOptional_x3f(x_7); lean_dec(x_7); -lean_dec(x_3); -x_370 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_334); -x_371 = !lean_is_exclusive(x_370); -if (x_371 == 0) -{ -return x_370; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_ctor_get(x_370, 0); -x_373 = lean_ctor_get(x_370, 1); -lean_inc(x_373); -lean_inc(x_372); -lean_dec(x_370); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_372); -lean_ctor_set(x_374, 1, x_373); -return x_374; -} -} -block_299: -{ -lean_object* x_13; lean_object* x_14; 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; -x_214 = lean_unsigned_to_nat(4u); -x_215 = l_Lean_Syntax_getArg(x_2, x_214); -x_216 = lean_st_ref_get(x_4, x_12); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_216, 1); -lean_inc(x_218); -lean_dec(x_216); -x_219 = lean_ctor_get(x_217, 0); -lean_inc(x_219); -lean_dec(x_217); -x_220 = l_Lean_Elab_Command_getScope___rarg(x_4, x_218); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_ctor_get(x_221, 2); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_Elab_Command_getScope___rarg(x_4, x_222); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_ctor_get(x_225, 3); -lean_inc(x_227); -lean_dec(x_225); -lean_inc(x_219); -x_228 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_228, 0, x_219); -lean_inc(x_223); -x_229 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_229, 0, x_223); -lean_inc(x_219); -x_230 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_230, 0, x_219); -lean_inc(x_227); -lean_inc(x_223); -lean_inc(x_219); -x_231 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_231, 0, x_219); -lean_closure_set(x_231, 1, x_223); -lean_closure_set(x_231, 2, x_227); -lean_inc(x_219); -x_232 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_232, 0, x_219); -lean_closure_set(x_232, 1, x_223); -lean_closure_set(x_232, 2, x_227); -x_233 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_233, 0, x_228); -lean_ctor_set(x_233, 1, x_229); -lean_ctor_set(x_233, 2, x_230); -lean_ctor_set(x_233, 3, x_231); -lean_ctor_set(x_233, 4, x_232); -x_234 = x_233; -x_235 = l_Lean_Elab_Command_getRef(x_3, x_4, x_226); -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); -lean_inc(x_237); -lean_dec(x_235); -x_238 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_237); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = lean_ctor_get(x_3, 2); -lean_inc(x_241); -x_242 = lean_st_ref_get(x_4, x_240); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_ctor_get(x_243, 4); -lean_inc(x_245); -lean_dec(x_243); -x_246 = lean_st_ref_get(x_4, x_244); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = lean_ctor_get(x_247, 3); -lean_inc(x_249); -lean_dec(x_247); -x_250 = lean_environment_main_module(x_219); -x_251 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_251, 0, x_234); -lean_ctor_set(x_251, 1, x_250); -lean_ctor_set(x_251, 2, x_239); -lean_ctor_set(x_251, 3, x_241); -lean_ctor_set(x_251, 4, x_245); -lean_ctor_set(x_251, 5, x_236); -x_252 = lean_box(0); -x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_249); -lean_ctor_set(x_253, 1, x_252); -x_254 = l_Lean_Elab_expandOptNamedPrio(x_215, x_251, x_253); -lean_dec(x_215); -if (lean_obj_tag(x_254) == 0) -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_st_ref_take(x_4, x_248); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = !lean_is_exclusive(x_259); -if (x_261 == 0) -{ -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_262 = lean_ctor_get(x_259, 3); -lean_dec(x_262); -lean_ctor_set(x_259, 3, x_257); -x_263 = lean_st_ref_set(x_4, x_259, x_260); -x_264 = lean_ctor_get(x_263, 1); -lean_inc(x_264); -lean_dec(x_263); -x_265 = lean_ctor_get(x_256, 1); -lean_inc(x_265); -lean_dec(x_256); -x_266 = l_List_reverse___rarg(x_265); -x_267 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_266, x_3, x_4, x_264); -x_268 = lean_ctor_get(x_267, 1); -lean_inc(x_268); -lean_dec(x_267); -x_13 = x_255; -x_14 = x_268; -goto block_213; -} -else -{ -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; -x_269 = lean_ctor_get(x_259, 0); -x_270 = lean_ctor_get(x_259, 1); -x_271 = lean_ctor_get(x_259, 2); -x_272 = lean_ctor_get(x_259, 4); -x_273 = lean_ctor_get(x_259, 5); -x_274 = lean_ctor_get(x_259, 6); -x_275 = lean_ctor_get(x_259, 7); -x_276 = lean_ctor_get(x_259, 8); -lean_inc(x_276); -lean_inc(x_275); -lean_inc(x_274); -lean_inc(x_273); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_270); -lean_inc(x_269); -lean_dec(x_259); -x_277 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_277, 0, x_269); -lean_ctor_set(x_277, 1, x_270); -lean_ctor_set(x_277, 2, x_271); -lean_ctor_set(x_277, 3, x_257); -lean_ctor_set(x_277, 4, x_272); -lean_ctor_set(x_277, 5, x_273); -lean_ctor_set(x_277, 6, x_274); -lean_ctor_set(x_277, 7, x_275); -lean_ctor_set(x_277, 8, x_276); -x_278 = lean_st_ref_set(x_4, x_277, x_260); -x_279 = lean_ctor_get(x_278, 1); -lean_inc(x_279); -lean_dec(x_278); -x_280 = lean_ctor_get(x_256, 1); -lean_inc(x_280); -lean_dec(x_256); -x_281 = l_List_reverse___rarg(x_280); -x_282 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_281, x_3, x_4, x_279); -x_283 = lean_ctor_get(x_282, 1); -lean_inc(x_283); -lean_dec(x_282); -x_13 = x_255; -x_14 = x_283; -goto block_213; -} -} -else -{ -lean_object* x_284; -lean_dec(x_11); +x_9 = lean_unsigned_to_nat(3u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Elab_expandOptNamedName(x_10, x_2, x_3); lean_dec(x_10); -lean_dec(x_7); -x_284 = lean_ctor_get(x_254, 0); -lean_inc(x_284); -lean_dec(x_254); -if (lean_obj_tag(x_284) == 0) -{ -lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; -x_285 = lean_ctor_get(x_284, 0); -lean_inc(x_285); -x_286 = lean_ctor_get(x_284, 1); -lean_inc(x_286); -lean_dec(x_284); -x_287 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_287, 0, x_286); -x_288 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_285, x_288, x_3, x_4, x_248); -lean_dec(x_285); -x_290 = !lean_is_exclusive(x_289); -if (x_290 == 0) -{ -return x_289; -} -else -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_291 = lean_ctor_get(x_289, 0); -x_292 = lean_ctor_get(x_289, 1); -lean_inc(x_292); -lean_inc(x_291); -lean_dec(x_289); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -return x_293; -} -} -else -{ -lean_object* x_294; uint8_t x_295; -lean_dec(x_3); -x_294 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_248); -x_295 = !lean_is_exclusive(x_294); -if (x_295 == 0) -{ -return x_294; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_296 = lean_ctor_get(x_294, 0); -x_297 = lean_ctor_get(x_294, 1); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_294); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_296); -lean_ctor_set(x_298, 1, x_297); -return x_298; -} -} -} -block_213: -{ -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_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; -x_15 = lean_unsigned_to_nat(5u); -x_16 = l_Lean_Syntax_getArg(x_2, x_15); -x_17 = lean_unsigned_to_nat(6u); -x_18 = l_Lean_Syntax_getArg(x_2, x_17); -x_19 = l_Lean_Syntax_getArgs(x_18); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(8u); -x_21 = l_Lean_Syntax_getArg(x_2, x_20); -x_130 = lean_st_ref_get(x_4, x_14); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_131, 0); -lean_inc(x_133); -lean_dec(x_131); -x_134 = l_Lean_Elab_Command_getScope___rarg(x_4, x_132); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_ctor_get(x_135, 2); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l_Lean_Elab_Command_getScope___rarg(x_4, x_136); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_ctor_get(x_139, 3); -lean_inc(x_141); -lean_dec(x_139); -lean_inc(x_133); -x_142 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_142, 0, x_133); -lean_inc(x_137); -x_143 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_143, 0, x_137); -lean_inc(x_133); -x_144 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_144, 0, x_133); -lean_inc(x_141); -lean_inc(x_137); -lean_inc(x_133); -x_145 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_145, 0, x_133); -lean_closure_set(x_145, 1, x_137); -lean_closure_set(x_145, 2, x_141); -lean_inc(x_133); -x_146 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_146, 0, x_133); -lean_closure_set(x_146, 1, x_137); -lean_closure_set(x_146, 2, x_141); -x_147 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_147, 0, x_142); -lean_ctor_set(x_147, 1, x_143); -lean_ctor_set(x_147, 2, x_144); -lean_ctor_set(x_147, 3, x_145); -lean_ctor_set(x_147, 4, x_146); -x_148 = x_147; -x_149 = l_Lean_Elab_Command_getRef(x_3, x_4, x_140); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_151); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = lean_ctor_get(x_3, 2); -lean_inc(x_155); -x_156 = lean_st_ref_get(x_4, x_154); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -x_159 = lean_ctor_get(x_157, 4); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_st_ref_get(x_4, x_158); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = lean_ctor_get(x_161, 3); -lean_inc(x_163); -lean_dec(x_161); -x_164 = lean_environment_main_module(x_133); -x_165 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_165, 0, x_148); -lean_ctor_set(x_165, 1, x_164); -lean_ctor_set(x_165, 2, x_153); -lean_ctor_set(x_165, 3, x_155); -lean_ctor_set(x_165, 4, x_159); -lean_ctor_set(x_165, 5, x_150); -x_166 = lean_box(0); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_163); -lean_ctor_set(x_167, 1, x_166); -lean_inc(x_16); -x_168 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_165, x_167); -lean_dec(x_165); -if (lean_obj_tag(x_168) == 0) -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_st_ref_take(x_4, x_162); -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_is_exclusive(x_173); -if (x_175 == 0) -{ -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; -x_176 = lean_ctor_get(x_173, 3); -lean_dec(x_176); -lean_ctor_set(x_173, 3, x_171); -x_177 = lean_st_ref_set(x_4, x_173, x_174); -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -lean_dec(x_177); -x_179 = lean_ctor_get(x_170, 1); -lean_inc(x_179); -lean_dec(x_170); -x_180 = l_List_reverse___rarg(x_179); -x_181 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_180, x_3, x_4, x_178); -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -lean_dec(x_181); -x_22 = x_169; -x_23 = x_182; -goto block_129; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_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; -x_183 = lean_ctor_get(x_173, 0); -x_184 = lean_ctor_get(x_173, 1); -x_185 = lean_ctor_get(x_173, 2); -x_186 = lean_ctor_get(x_173, 4); -x_187 = lean_ctor_get(x_173, 5); -x_188 = lean_ctor_get(x_173, 6); -x_189 = lean_ctor_get(x_173, 7); -x_190 = lean_ctor_get(x_173, 8); -lean_inc(x_190); -lean_inc(x_189); -lean_inc(x_188); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_173); -x_191 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_191, 0, x_183); -lean_ctor_set(x_191, 1, x_184); -lean_ctor_set(x_191, 2, x_185); -lean_ctor_set(x_191, 3, x_171); -lean_ctor_set(x_191, 4, x_186); -lean_ctor_set(x_191, 5, x_187); -lean_ctor_set(x_191, 6, x_188); -lean_ctor_set(x_191, 7, x_189); -lean_ctor_set(x_191, 8, x_190); -x_192 = lean_st_ref_set(x_4, x_191, x_174); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_194 = lean_ctor_get(x_170, 1); -lean_inc(x_194); -lean_dec(x_170); -x_195 = l_List_reverse___rarg(x_194); -x_196 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_195, x_3, x_4, x_193); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_22 = x_169; -x_23 = x_197; -goto block_129; -} -} -else -{ -lean_object* x_198; -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_7); -x_198 = lean_ctor_get(x_168, 0); -lean_inc(x_198); -lean_dec(x_168); -if (lean_obj_tag(x_198) == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -lean_dec(x_198); -x_201 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_201, 0, x_200); -x_202 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_202, 0, x_201); -x_203 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_199, x_202, x_3, x_4, x_162); -lean_dec(x_199); -x_204 = !lean_is_exclusive(x_203); -if (x_204 == 0) -{ -return x_203; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_203, 0); -x_206 = lean_ctor_get(x_203, 1); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_203); -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -return x_207; -} -} -else -{ -lean_object* x_208; uint8_t x_209; -lean_dec(x_3); -x_208 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_162); -x_209 = !lean_is_exclusive(x_208); -if (x_209 == 0) -{ -return x_208; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_208, 0); -x_211 = lean_ctor_get(x_208, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_208); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; -} -} -} -block_129: -{ -lean_object* x_24; lean_object* x_25; lean_object* x_39; size_t 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; -x_39 = lean_array_get_size(x_19); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -lean_inc(x_19); -x_41 = x_19; -x_42 = lean_box_usize(x_40); -x_43 = l_Lean_Elab_Command_expandMacro___boxed__const__1; -x_44 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5___boxed), 5, 3); -lean_closure_set(x_44, 0, x_42); -lean_closure_set(x_44, 1, x_43); -lean_closure_set(x_44, 2, x_41); -x_45 = lean_st_ref_get(x_4, x_23); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_Command_getScope___rarg(x_4, x_47); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 2); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getScope___rarg(x_4, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 3); -lean_inc(x_56); -lean_dec(x_54); -lean_inc(x_48); -x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_57, 0, x_48); -lean_inc(x_52); -x_58 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_58, 0, x_52); -lean_inc(x_48); -x_59 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_59, 0, x_48); -lean_inc(x_56); -lean_inc(x_52); -lean_inc(x_48); -x_60 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_60, 0, x_48); -lean_closure_set(x_60, 1, x_52); -lean_closure_set(x_60, 2, x_56); -lean_inc(x_48); -x_61 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_61, 0, x_48); -lean_closure_set(x_61, 1, x_52); -lean_closure_set(x_61, 2, x_56); -x_62 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_62, 0, x_57); -lean_ctor_set(x_62, 1, x_58); -lean_ctor_set(x_62, 2, x_59); -lean_ctor_set(x_62, 3, x_60); -lean_ctor_set(x_62, 4, x_61); -x_63 = x_62; -x_64 = l_Lean_Elab_Command_getRef(x_3, x_4, x_55); -x_65 = lean_ctor_get(x_64, 0); -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_getCurrMacroScope(x_3, x_4, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_3, 2); -lean_inc(x_70); -x_71 = lean_st_ref_get(x_4, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_72, 4); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_st_ref_get(x_4, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 3); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_environment_main_module(x_48); -x_80 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_80, 0, x_63); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_80, 2, x_68); -lean_ctor_set(x_80, 3, x_70); -lean_ctor_set(x_80, 4, x_74); -lean_ctor_set(x_80, 5, x_65); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_78); -lean_ctor_set(x_82, 1, x_81); -x_83 = x_44; -x_84 = lean_apply_2(x_83, x_80, x_82); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_st_ref_take(x_4, x_77); -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 = !lean_is_exclusive(x_89); -if (x_91 == 0) -{ -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; -x_92 = lean_ctor_get(x_89, 3); -lean_dec(x_92); -lean_ctor_set(x_89, 3, x_87); -x_93 = lean_st_ref_set(x_4, x_89, x_90); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_ctor_get(x_86, 1); -lean_inc(x_95); -lean_dec(x_86); -x_96 = l_List_reverse___rarg(x_95); -x_97 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_96, x_3, x_4, x_94); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_24 = x_85; -x_25 = x_98; -goto block_38; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; 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; -x_99 = lean_ctor_get(x_89, 0); -x_100 = lean_ctor_get(x_89, 1); -x_101 = lean_ctor_get(x_89, 2); -x_102 = lean_ctor_get(x_89, 4); -x_103 = lean_ctor_get(x_89, 5); -x_104 = lean_ctor_get(x_89, 6); -x_105 = lean_ctor_get(x_89, 7); -x_106 = lean_ctor_get(x_89, 8); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_89); -x_107 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_107, 0, x_99); -lean_ctor_set(x_107, 1, x_100); -lean_ctor_set(x_107, 2, x_101); -lean_ctor_set(x_107, 3, x_87); -lean_ctor_set(x_107, 4, x_102); -lean_ctor_set(x_107, 5, x_103); -lean_ctor_set(x_107, 6, x_104); -lean_ctor_set(x_107, 7, x_105); -lean_ctor_set(x_107, 8, x_106); -x_108 = lean_st_ref_set(x_4, x_107, x_90); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = lean_ctor_get(x_86, 1); -lean_inc(x_110); -lean_dec(x_86); -x_111 = l_List_reverse___rarg(x_110); -x_112 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_111, x_3, x_4, x_109); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_24 = x_85; -x_25 = x_113; -goto block_38; -} -} -else -{ -lean_object* x_114; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_7); -x_114 = lean_ctor_get(x_84, 0); -lean_inc(x_114); -lean_dec(x_84); -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; uint8_t x_120; -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(2, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_115, x_118, x_3, x_4, x_77); -lean_dec(x_115); -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) -{ -return x_119; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_119, 0); -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_119); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} -} -else -{ -lean_object* x_124; uint8_t x_125; -lean_dec(x_3); -x_124 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_77); -x_125 = !lean_is_exclusive(x_124); -if (x_125 == 0) -{ -return x_124; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_124, 0); -x_127 = lean_ctor_get(x_124, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_124); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -block_38: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = l_Lean_mkOptionalNode___closed__2; -x_27 = lean_array_push(x_26, x_22); -x_28 = l_Array_append___rarg(x_27, x_24); -lean_dec(x_24); if (lean_obj_tag(x_11) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = l_Lean_Syntax_getId(x_21); -x_30 = l_Lean_nullKind; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_unsigned_to_nat(4u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_inc(x_2); +x_16 = l_Lean_Elab_expandOptNamedPrio(x_15, x_2, x_13); +lean_dec(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_unsigned_to_nat(5u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = lean_unsigned_to_nat(6u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +x_23 = l_Lean_Syntax_getArgs(x_22); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(8u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +lean_inc(x_20); +x_26 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_20, x_2, x_18); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t 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; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -x_32 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_29, x_31, x_3, x_4, x_25); -lean_dec(x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Command_expandMacro___lambda__1(x_1, x_26, x_2, x_7, x_13, x_28, x_10, x_21, x_19, x_16, x_33, x_3, x_4, x_34); -return x_35; +lean_dec(x_26); +x_29 = lean_array_get_size(x_23); +x_30 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_31 = 0; +x_32 = x_23; +x_33 = lean_box_usize(x_30); +x_34 = l_Lean_Elab_Command_expandMacro___boxed__const__1; +lean_inc(x_32); +x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); +lean_closure_set(x_35, 0, x_33); +lean_closure_set(x_35, 1, x_34); +lean_closure_set(x_35, 2, x_32); +x_36 = x_35; +lean_inc(x_2); +x_37 = lean_apply_2(x_36, x_2, x_28); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_mkOptionalNode___closed__2; +x_41 = lean_array_push(x_40, x_27); +x_42 = l_Array_append___rarg(x_41, x_38); +lean_dec(x_38); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = l_Lean_Syntax_getId(x_25); +x_44 = l_Lean_nullKind; +lean_inc(x_42); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +lean_inc(x_2); +x_46 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_43, x_45, x_2, x_39); +lean_dec(x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Elab_Command_expandMacro___lambda__1(x_20, x_30, x_31, x_32, x_40, x_1, x_5, x_17, x_42, x_8, x_25, x_47, x_2, x_48); +return x_49; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_11, 0); -lean_inc(x_36); -lean_dec(x_11); -x_37 = l_Lean_Elab_Command_expandMacro___lambda__1(x_1, x_26, x_2, x_7, x_13, x_28, x_10, x_21, x_19, x_16, x_36, x_3, x_4, x_25); +uint8_t x_50; +lean_dec(x_42); +lean_dec(x_32); +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) +{ +return x_46; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 0); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_12, 0); +lean_inc(x_54); +lean_dec(x_12); +x_55 = l_Lean_Elab_Command_expandMacro___lambda__1(x_20, x_30, x_31, x_32, x_40, x_1, x_5, x_17, x_42, x_8, x_25, x_54, x_2, x_39); +return x_55; +} +} +else +{ +uint8_t x_56; +lean_dec(x_32); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_56 = !lean_is_exclusive(x_37); +if (x_56 == 0) +{ return x_37; } +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_37, 0); +x_58 = lean_ctor_get(x_37, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_37); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } +else +{ +uint8_t x_60; +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_26); +if (x_60 == 0) +{ +return x_26; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_26, 0); +x_62 = lean_ctor_get(x_26, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_26); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_64 = !lean_is_exclusive(x_16); +if (x_64 == 0) +{ +return x_16; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_16, 0); +x_66 = lean_ctor_get(x_16, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_16); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +uint8_t x_68; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_68 = !lean_is_exclusive(x_11); +if (x_68 == 0) +{ +return x_11; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_11, 0); +x_70 = lean_ctor_get(x_11, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_11); +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; +} } } } @@ -36140,39 +33598,11 @@ lean_dec(x_1); x_7 = lean_unbox_usize(x_2); lean_dec(x_2); x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); return x_8; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -36180,141 +33610,66 @@ x_6 = lean_unbox_usize(x_1); lean_dec(x_1); x_7 = lean_unbox_usize(x_2); lean_dec(x_2); -x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5(x_6, x_7, x_3, x_4, x_5); -lean_dec(x_4); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(x_6, x_7, x_3, x_4, x_5); return x_8; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__7(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__6(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* l_Lean_Elab_Command_expandMacro___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: { -lean_object* x_15; -x_15 = l_Lean_Elab_Command_expandMacro___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); -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Elab_Command_expandMacro(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_2); lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 2); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_Elab_Command_expandMacro(x_8, x_1, x_2, x_3, x_7); -lean_dec(x_8); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacro___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacro___lambda__1___boxed), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Elab_Command_elabMacro___closed__1; -x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_Command_elabMacro___lambda__1(x_1, x_2, x_3, x_4); +x_16 = lean_unbox_usize(x_3); lean_dec(x_3); +x_17 = l_Lean_Elab_Command_expandMacro___lambda__1(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_6); +return x_17; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_expandMacro(x_1, x_2, x_3); lean_dec(x_1); -return x_5; +return x_4; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacro), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro___boxed), 3, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_2 = l_Lean_Elab_macroAttribute; x_3 = l_Lean_Parser_Command_macro___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_categoryParserFnImpl___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -36439,6 +33794,387 @@ return x_20; } } } +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +lean_inc(x_4); +x_13 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4(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_expandElab___spec__4___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_2 < x_1; +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = x_3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = x_9; +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_12, x_4, x_5); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_14; +x_19 = lean_array_uset(x_11, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___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_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8(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_expandElab___spec__8___rarg), 1, 0); +return x_3; +} +} lean_object* l_Lean_Elab_Command_expandElab___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -37276,7 +35012,7 @@ lean_dec(x_786); x_788 = x_12; x_789 = lean_box_usize(x_787); x_790 = l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; -x_791 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); +x_791 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed), 5, 3); lean_closure_set(x_791, 0, x_789); lean_closure_set(x_791, 1, x_790); lean_closure_set(x_791, 2, x_788); @@ -37495,7 +35231,7 @@ x_864 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_864, 0, x_863); x_865 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_865, 0, x_864); -x_866 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_862, x_865, x_15, x_16, x_824); +x_866 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2(x_862, x_865, x_15, x_16, x_824); lean_dec(x_862); x_867 = !lean_is_exclusive(x_866); if (x_867 == 0) @@ -37520,7 +35256,7 @@ else { lean_object* x_871; uint8_t x_872; lean_dec(x_15); -x_871 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_824); +x_871 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___rarg(x_824); x_872 = !lean_is_exclusive(x_871); if (x_872 == 0) { @@ -39030,211 +36766,445 @@ return x_2; lean_object* l_Lean_Elab_Command_expandElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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_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_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; x_6 = lean_unsigned_to_nat(0u); x_7 = l_Lean_Syntax_getArg(x_2, x_6); x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Syntax_getArg(x_2, x_8); x_10 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_304 = lean_unsigned_to_nat(3u); -x_305 = l_Lean_Syntax_getArg(x_2, x_304); -x_306 = lean_st_ref_get(x_4, x_5); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -x_309 = lean_ctor_get(x_307, 0); -lean_inc(x_309); -lean_dec(x_307); -x_310 = l_Lean_Elab_Command_getScope___rarg(x_4, x_308); -x_311 = lean_ctor_get(x_310, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 1); -lean_inc(x_312); -lean_dec(x_310); -x_313 = lean_ctor_get(x_311, 2); -lean_inc(x_313); -lean_dec(x_311); -x_314 = l_Lean_Elab_Command_getScope___rarg(x_4, x_312); -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); -lean_dec(x_314); -x_317 = lean_ctor_get(x_315, 3); -lean_inc(x_317); -lean_dec(x_315); -lean_inc(x_309); -x_318 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_318, 0, x_309); -lean_inc(x_313); -x_319 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_319, 0, x_313); -lean_inc(x_309); -x_320 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_320, 0, x_309); -lean_inc(x_317); -lean_inc(x_313); -lean_inc(x_309); -x_321 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_321, 0, x_309); -lean_closure_set(x_321, 1, x_313); -lean_closure_set(x_321, 2, x_317); -lean_inc(x_309); -x_322 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_322, 0, x_309); -lean_closure_set(x_322, 1, x_313); -lean_closure_set(x_322, 2, x_317); -x_323 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_323, 0, x_318); -lean_ctor_set(x_323, 1, x_319); -lean_ctor_set(x_323, 2, x_320); -lean_ctor_set(x_323, 3, x_321); -lean_ctor_set(x_323, 4, x_322); -x_324 = x_323; -x_325 = l_Lean_Elab_Command_getRef(x_3, x_4, x_316); -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_getCurrMacroScope(x_3, x_4, x_327); -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec(x_328); -x_331 = lean_ctor_get(x_3, 2); -lean_inc(x_331); -x_332 = lean_st_ref_get(x_4, x_330); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_ctor_get(x_333, 4); -lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_st_ref_get(x_4, x_334); -x_337 = lean_ctor_get(x_336, 0); -lean_inc(x_337); -x_338 = lean_ctor_get(x_336, 1); -lean_inc(x_338); -lean_dec(x_336); -x_339 = lean_ctor_get(x_337, 3); -lean_inc(x_339); -lean_dec(x_337); -x_340 = lean_environment_main_module(x_309); -x_341 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_341, 0, x_324); -lean_ctor_set(x_341, 1, x_340); -lean_ctor_set(x_341, 2, x_329); -lean_ctor_set(x_341, 3, x_331); -lean_ctor_set(x_341, 4, x_335); -lean_ctor_set(x_341, 5, x_326); -x_342 = lean_box(0); -x_343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_343, 0, x_339); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_Elab_expandOptNamedName(x_305, x_341, x_343); -lean_dec(x_341); -lean_dec(x_305); -if (lean_obj_tag(x_344) == 0) +x_385 = lean_unsigned_to_nat(3u); +x_386 = l_Lean_Syntax_getArg(x_2, x_385); +x_387 = lean_st_ref_get(x_4, x_5); +x_388 = lean_ctor_get(x_387, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_387, 1); +lean_inc(x_389); +lean_dec(x_387); +x_390 = lean_ctor_get(x_388, 0); +lean_inc(x_390); +lean_dec(x_388); +x_391 = l_Lean_Elab_Command_getScope___rarg(x_4, x_389); +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 1); +lean_inc(x_393); +lean_dec(x_391); +x_394 = lean_ctor_get(x_392, 2); +lean_inc(x_394); +lean_dec(x_392); +x_395 = l_Lean_Elab_Command_getScope___rarg(x_4, x_393); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_395, 1); +lean_inc(x_397); +lean_dec(x_395); +x_398 = lean_ctor_get(x_396, 3); +lean_inc(x_398); +lean_dec(x_396); +lean_inc(x_390); +x_399 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_399, 0, x_390); +lean_inc(x_394); +x_400 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_400, 0, x_394); +lean_inc(x_390); +x_401 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_401, 0, x_390); +lean_inc(x_398); +lean_inc(x_394); +lean_inc(x_390); +x_402 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_402, 0, x_390); +lean_closure_set(x_402, 1, x_394); +lean_closure_set(x_402, 2, x_398); +lean_inc(x_390); +x_403 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_403, 0, x_390); +lean_closure_set(x_403, 1, x_394); +lean_closure_set(x_403, 2, x_398); +x_404 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_404, 0, x_399); +lean_ctor_set(x_404, 1, x_400); +lean_ctor_set(x_404, 2, x_401); +lean_ctor_set(x_404, 3, x_402); +lean_ctor_set(x_404, 4, x_403); +x_405 = x_404; +x_406 = l_Lean_Elab_Command_getRef(x_3, x_4, x_397); +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_406, 1); +lean_inc(x_408); +lean_dec(x_406); +x_409 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_408); +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +x_412 = lean_ctor_get(x_3, 2); +lean_inc(x_412); +x_413 = lean_st_ref_get(x_4, x_411); +x_414 = lean_ctor_get(x_413, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_413, 1); +lean_inc(x_415); +lean_dec(x_413); +x_416 = lean_ctor_get(x_414, 4); +lean_inc(x_416); +lean_dec(x_414); +x_417 = lean_st_ref_get(x_4, x_415); +x_418 = lean_ctor_get(x_417, 0); +lean_inc(x_418); +x_419 = lean_ctor_get(x_417, 1); +lean_inc(x_419); +lean_dec(x_417); +x_420 = lean_ctor_get(x_418, 3); +lean_inc(x_420); +lean_dec(x_418); +x_421 = lean_environment_main_module(x_390); +x_422 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_422, 0, x_405); +lean_ctor_set(x_422, 1, x_421); +lean_ctor_set(x_422, 2, x_410); +lean_ctor_set(x_422, 3, x_412); +lean_ctor_set(x_422, 4, x_416); +lean_ctor_set(x_422, 5, x_407); +x_423 = lean_box(0); +x_424 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_424, 0, x_420); +lean_ctor_set(x_424, 1, x_423); +x_425 = l_Lean_Elab_expandOptNamedName(x_386, x_422, x_424); +lean_dec(x_422); +lean_dec(x_386); +if (lean_obj_tag(x_425) == 0) { -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 1); -lean_inc(x_346); -lean_dec(x_344); -x_347 = lean_ctor_get(x_346, 0); -lean_inc(x_347); -x_348 = lean_st_ref_take(x_4, x_338); -x_349 = lean_ctor_get(x_348, 0); -lean_inc(x_349); -x_350 = lean_ctor_get(x_348, 1); -lean_inc(x_350); -lean_dec(x_348); -x_351 = !lean_is_exclusive(x_349); -if (x_351 == 0) +lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; +x_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); +lean_dec(x_425); +x_428 = lean_ctor_get(x_427, 0); +lean_inc(x_428); +x_429 = lean_st_ref_take(x_4, x_419); +x_430 = lean_ctor_get(x_429, 0); +lean_inc(x_430); +x_431 = lean_ctor_get(x_429, 1); +lean_inc(x_431); +lean_dec(x_429); +x_432 = !lean_is_exclusive(x_430); +if (x_432 == 0) { -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_352 = lean_ctor_get(x_349, 3); -lean_dec(x_352); -lean_ctor_set(x_349, 3, x_347); -x_353 = lean_st_ref_set(x_4, x_349, x_350); -x_354 = lean_ctor_get(x_353, 1); -lean_inc(x_354); -lean_dec(x_353); -x_355 = lean_ctor_get(x_346, 1); -lean_inc(x_355); -lean_dec(x_346); -x_356 = l_List_reverse___rarg(x_355); -x_357 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_356, x_3, x_4, x_354); -x_358 = lean_ctor_get(x_357, 1); -lean_inc(x_358); -lean_dec(x_357); -x_11 = x_345; -x_12 = x_358; -goto block_303; +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; +x_433 = lean_ctor_get(x_430, 3); +lean_dec(x_433); +lean_ctor_set(x_430, 3, x_428); +x_434 = lean_st_ref_set(x_4, x_430, x_431); +x_435 = lean_ctor_get(x_434, 1); +lean_inc(x_435); +lean_dec(x_434); +x_436 = lean_ctor_get(x_427, 1); +lean_inc(x_436); +lean_dec(x_427); +x_437 = l_List_reverse___rarg(x_436); +x_438 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_437, x_3, x_4, x_435); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +lean_dec(x_438); +x_11 = x_426; +x_12 = x_439; +goto block_384; } else { -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; -x_359 = lean_ctor_get(x_349, 0); -x_360 = lean_ctor_get(x_349, 1); -x_361 = lean_ctor_get(x_349, 2); -x_362 = lean_ctor_get(x_349, 4); -x_363 = lean_ctor_get(x_349, 5); -x_364 = lean_ctor_get(x_349, 6); -x_365 = lean_ctor_get(x_349, 7); -x_366 = lean_ctor_get(x_349, 8); -lean_inc(x_366); -lean_inc(x_365); -lean_inc(x_364); -lean_inc(x_363); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_inc(x_359); -lean_dec(x_349); -x_367 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_367, 0, x_359); -lean_ctor_set(x_367, 1, x_360); -lean_ctor_set(x_367, 2, x_361); -lean_ctor_set(x_367, 3, x_347); -lean_ctor_set(x_367, 4, x_362); -lean_ctor_set(x_367, 5, x_363); -lean_ctor_set(x_367, 6, x_364); -lean_ctor_set(x_367, 7, x_365); -lean_ctor_set(x_367, 8, x_366); -x_368 = lean_st_ref_set(x_4, x_367, x_350); -x_369 = lean_ctor_get(x_368, 1); -lean_inc(x_369); -lean_dec(x_368); -x_370 = lean_ctor_get(x_346, 1); -lean_inc(x_370); -lean_dec(x_346); -x_371 = l_List_reverse___rarg(x_370); -x_372 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_371, x_3, x_4, x_369); -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -lean_dec(x_372); -x_11 = x_345; -x_12 = x_373; -goto block_303; +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; +x_440 = lean_ctor_get(x_430, 0); +x_441 = lean_ctor_get(x_430, 1); +x_442 = lean_ctor_get(x_430, 2); +x_443 = lean_ctor_get(x_430, 4); +x_444 = lean_ctor_get(x_430, 5); +x_445 = lean_ctor_get(x_430, 6); +x_446 = lean_ctor_get(x_430, 7); +x_447 = lean_ctor_get(x_430, 8); +lean_inc(x_447); +lean_inc(x_446); +lean_inc(x_445); +lean_inc(x_444); +lean_inc(x_443); +lean_inc(x_442); +lean_inc(x_441); +lean_inc(x_440); +lean_dec(x_430); +x_448 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_448, 0, x_440); +lean_ctor_set(x_448, 1, x_441); +lean_ctor_set(x_448, 2, x_442); +lean_ctor_set(x_448, 3, x_428); +lean_ctor_set(x_448, 4, x_443); +lean_ctor_set(x_448, 5, x_444); +lean_ctor_set(x_448, 6, x_445); +lean_ctor_set(x_448, 7, x_446); +lean_ctor_set(x_448, 8, x_447); +x_449 = lean_st_ref_set(x_4, x_448, x_431); +x_450 = lean_ctor_get(x_449, 1); +lean_inc(x_450); +lean_dec(x_449); +x_451 = lean_ctor_get(x_427, 1); +lean_inc(x_451); +lean_dec(x_427); +x_452 = l_List_reverse___rarg(x_451); +x_453 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_452, x_3, x_4, x_450); +x_454 = lean_ctor_get(x_453, 1); +lean_inc(x_454); +lean_dec(x_453); +x_11 = x_426; +x_12 = x_454; +goto block_384; } } else { -lean_object* x_374; uint8_t x_375; -lean_dec(x_344); +lean_object* x_455; uint8_t x_456; +lean_dec(x_425); lean_dec(x_10); lean_dec(x_7); lean_dec(x_3); -x_374 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_338); +x_455 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8___rarg(x_419); +x_456 = !lean_is_exclusive(x_455); +if (x_456 == 0) +{ +return x_455; +} +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; +x_457 = lean_ctor_get(x_455, 0); +x_458 = lean_ctor_get(x_455, 1); +lean_inc(x_458); +lean_inc(x_457); +lean_dec(x_455); +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_457); +lean_ctor_set(x_459, 1, x_458); +return x_459; +} +} +block_384: +{ +lean_object* x_13; lean_object* x_14; 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; +x_299 = lean_unsigned_to_nat(4u); +x_300 = l_Lean_Syntax_getArg(x_2, x_299); +x_301 = lean_st_ref_get(x_4, x_12); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_ctor_get(x_302, 0); +lean_inc(x_304); +lean_dec(x_302); +x_305 = l_Lean_Elab_Command_getScope___rarg(x_4, x_303); +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 = lean_ctor_get(x_306, 2); +lean_inc(x_308); +lean_dec(x_306); +x_309 = l_Lean_Elab_Command_getScope___rarg(x_4, x_307); +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_309, 1); +lean_inc(x_311); +lean_dec(x_309); +x_312 = lean_ctor_get(x_310, 3); +lean_inc(x_312); +lean_dec(x_310); +lean_inc(x_304); +x_313 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_313, 0, x_304); +lean_inc(x_308); +x_314 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_314, 0, x_308); +lean_inc(x_304); +x_315 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_315, 0, x_304); +lean_inc(x_312); +lean_inc(x_308); +lean_inc(x_304); +x_316 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_316, 0, x_304); +lean_closure_set(x_316, 1, x_308); +lean_closure_set(x_316, 2, x_312); +lean_inc(x_304); +x_317 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_317, 0, x_304); +lean_closure_set(x_317, 1, x_308); +lean_closure_set(x_317, 2, x_312); +x_318 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_318, 0, x_313); +lean_ctor_set(x_318, 1, x_314); +lean_ctor_set(x_318, 2, x_315); +lean_ctor_set(x_318, 3, x_316); +lean_ctor_set(x_318, 4, x_317); +x_319 = x_318; +x_320 = l_Lean_Elab_Command_getRef(x_3, x_4, x_311); +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_322); +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_323, 1); +lean_inc(x_325); +lean_dec(x_323); +x_326 = lean_ctor_get(x_3, 2); +lean_inc(x_326); +x_327 = lean_st_ref_get(x_4, x_325); +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +lean_dec(x_327); +x_330 = lean_ctor_get(x_328, 4); +lean_inc(x_330); +lean_dec(x_328); +x_331 = lean_st_ref_get(x_4, x_329); +x_332 = lean_ctor_get(x_331, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_331, 1); +lean_inc(x_333); +lean_dec(x_331); +x_334 = lean_ctor_get(x_332, 3); +lean_inc(x_334); +lean_dec(x_332); +x_335 = lean_environment_main_module(x_304); +x_336 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_336, 0, x_319); +lean_ctor_set(x_336, 1, x_335); +lean_ctor_set(x_336, 2, x_324); +lean_ctor_set(x_336, 3, x_326); +lean_ctor_set(x_336, 4, x_330); +lean_ctor_set(x_336, 5, x_321); +x_337 = lean_box(0); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_334); +lean_ctor_set(x_338, 1, x_337); +x_339 = l_Lean_Elab_expandOptNamedPrio(x_300, x_336, x_338); +lean_dec(x_300); +if (lean_obj_tag(x_339) == 0) +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); +lean_inc(x_341); +lean_dec(x_339); +x_342 = lean_ctor_get(x_341, 0); +lean_inc(x_342); +x_343 = lean_st_ref_take(x_4, x_333); +x_344 = lean_ctor_get(x_343, 0); +lean_inc(x_344); +x_345 = lean_ctor_get(x_343, 1); +lean_inc(x_345); +lean_dec(x_343); +x_346 = !lean_is_exclusive(x_344); +if (x_346 == 0) +{ +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; +x_347 = lean_ctor_get(x_344, 3); +lean_dec(x_347); +lean_ctor_set(x_344, 3, x_342); +x_348 = lean_st_ref_set(x_4, x_344, x_345); +x_349 = lean_ctor_get(x_348, 1); +lean_inc(x_349); +lean_dec(x_348); +x_350 = lean_ctor_get(x_341, 1); +lean_inc(x_350); +lean_dec(x_341); +x_351 = l_List_reverse___rarg(x_350); +x_352 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_351, x_3, x_4, x_349); +x_353 = lean_ctor_get(x_352, 1); +lean_inc(x_353); +lean_dec(x_352); +x_13 = x_340; +x_14 = x_353; +goto block_298; +} +else +{ +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; +x_354 = lean_ctor_get(x_344, 0); +x_355 = lean_ctor_get(x_344, 1); +x_356 = lean_ctor_get(x_344, 2); +x_357 = lean_ctor_get(x_344, 4); +x_358 = lean_ctor_get(x_344, 5); +x_359 = lean_ctor_get(x_344, 6); +x_360 = lean_ctor_get(x_344, 7); +x_361 = lean_ctor_get(x_344, 8); +lean_inc(x_361); +lean_inc(x_360); +lean_inc(x_359); +lean_inc(x_358); +lean_inc(x_357); +lean_inc(x_356); +lean_inc(x_355); +lean_inc(x_354); +lean_dec(x_344); +x_362 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_362, 0, x_354); +lean_ctor_set(x_362, 1, x_355); +lean_ctor_set(x_362, 2, x_356); +lean_ctor_set(x_362, 3, x_342); +lean_ctor_set(x_362, 4, x_357); +lean_ctor_set(x_362, 5, x_358); +lean_ctor_set(x_362, 6, x_359); +lean_ctor_set(x_362, 7, x_360); +lean_ctor_set(x_362, 8, x_361); +x_363 = lean_st_ref_set(x_4, x_362, x_345); +x_364 = lean_ctor_get(x_363, 1); +lean_inc(x_364); +lean_dec(x_363); +x_365 = lean_ctor_get(x_341, 1); +lean_inc(x_365); +lean_dec(x_341); +x_366 = l_List_reverse___rarg(x_365); +x_367 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_366, x_3, x_4, x_364); +x_368 = lean_ctor_get(x_367, 1); +lean_inc(x_368); +lean_dec(x_367); +x_13 = x_340; +x_14 = x_368; +goto block_298; +} +} +else +{ +lean_object* x_369; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +x_369 = lean_ctor_get(x_339, 0); +lean_inc(x_369); +lean_dec(x_339); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; +x_370 = lean_ctor_get(x_369, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_369, 1); +lean_inc(x_371); +lean_dec(x_369); +x_372 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_372, 0, x_371); +x_373 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_373, 0, x_372); +x_374 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_370, x_373, x_3, x_4, x_333); +lean_dec(x_370); x_375 = !lean_is_exclusive(x_374); if (x_375 == 0) { @@ -39254,221 +37224,289 @@ lean_ctor_set(x_378, 1, x_377); return x_378; } } -block_303: +else { -lean_object* x_13; lean_object* x_14; 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; -x_218 = lean_unsigned_to_nat(4u); -x_219 = l_Lean_Syntax_getArg(x_2, x_218); -x_220 = lean_st_ref_get(x_4, x_12); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_ctor_get(x_221, 0); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_Elab_Command_getScope___rarg(x_4, x_222); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_ctor_get(x_225, 2); -lean_inc(x_227); -lean_dec(x_225); -x_228 = l_Lean_Elab_Command_getScope___rarg(x_4, x_226); -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_ctor_get(x_229, 3); -lean_inc(x_231); -lean_dec(x_229); -lean_inc(x_223); -x_232 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_232, 0, x_223); -lean_inc(x_227); -x_233 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_233, 0, x_227); -lean_inc(x_223); -x_234 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_234, 0, x_223); -lean_inc(x_231); -lean_inc(x_227); -lean_inc(x_223); -x_235 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_235, 0, x_223); -lean_closure_set(x_235, 1, x_227); -lean_closure_set(x_235, 2, x_231); -lean_inc(x_223); -x_236 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_236, 0, x_223); -lean_closure_set(x_236, 1, x_227); -lean_closure_set(x_236, 2, x_231); -x_237 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_237, 0, x_232); -lean_ctor_set(x_237, 1, x_233); -lean_ctor_set(x_237, 2, x_234); -lean_ctor_set(x_237, 3, x_235); -lean_ctor_set(x_237, 4, x_236); -x_238 = x_237; -x_239 = l_Lean_Elab_Command_getRef(x_3, x_4, x_230); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_241); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_ctor_get(x_3, 2); -lean_inc(x_245); -x_246 = lean_st_ref_get(x_4, x_244); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = lean_ctor_get(x_247, 4); -lean_inc(x_249); -lean_dec(x_247); -x_250 = lean_st_ref_get(x_4, x_248); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_ctor_get(x_251, 3); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_environment_main_module(x_223); -x_255 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_255, 0, x_238); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_255, 2, x_243); -lean_ctor_set(x_255, 3, x_245); -lean_ctor_set(x_255, 4, x_249); -lean_ctor_set(x_255, 5, x_240); -x_256 = lean_box(0); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_253); -lean_ctor_set(x_257, 1, x_256); -x_258 = l_Lean_Elab_expandOptNamedPrio(x_219, x_255, x_257); -lean_dec(x_219); -if (lean_obj_tag(x_258) == 0) +lean_object* x_379; uint8_t x_380; +lean_dec(x_3); +x_379 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_333); +x_380 = !lean_is_exclusive(x_379); +if (x_380 == 0) { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_st_ref_take(x_4, x_252); -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_is_exclusive(x_263); -if (x_265 == 0) -{ -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_266 = lean_ctor_get(x_263, 3); -lean_dec(x_266); -lean_ctor_set(x_263, 3, x_261); -x_267 = lean_st_ref_set(x_4, x_263, x_264); -x_268 = lean_ctor_get(x_267, 1); -lean_inc(x_268); -lean_dec(x_267); -x_269 = lean_ctor_get(x_260, 1); -lean_inc(x_269); -lean_dec(x_260); -x_270 = l_List_reverse___rarg(x_269); -x_271 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_270, x_3, x_4, x_268); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -lean_dec(x_271); -x_13 = x_259; -x_14 = x_272; -goto block_217; +return x_379; } else { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_273 = lean_ctor_get(x_263, 0); -x_274 = lean_ctor_get(x_263, 1); -x_275 = lean_ctor_get(x_263, 2); -x_276 = lean_ctor_get(x_263, 4); -x_277 = lean_ctor_get(x_263, 5); -x_278 = lean_ctor_get(x_263, 6); -x_279 = lean_ctor_get(x_263, 7); -x_280 = lean_ctor_get(x_263, 8); -lean_inc(x_280); -lean_inc(x_279); -lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_276); +lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_381 = lean_ctor_get(x_379, 0); +x_382 = lean_ctor_get(x_379, 1); +lean_inc(x_382); +lean_inc(x_381); +lean_dec(x_379); +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_381); +lean_ctor_set(x_383, 1, x_382); +return x_383; +} +} +} +block_298: +{ +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_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; +x_15 = lean_unsigned_to_nat(5u); +x_16 = l_Lean_Syntax_getArg(x_2, x_15); +x_17 = lean_unsigned_to_nat(6u); +x_18 = l_Lean_Syntax_getArg(x_2, x_17); +x_19 = l_Lean_Syntax_getArgs(x_18); +lean_dec(x_18); +x_20 = lean_unsigned_to_nat(8u); +x_21 = l_Lean_Syntax_getArg(x_2, x_20); +x_22 = lean_unsigned_to_nat(9u); +x_23 = l_Lean_Syntax_getArg(x_2, x_22); +x_24 = lean_unsigned_to_nat(11u); +x_25 = l_Lean_Syntax_getArg(x_2, x_24); +x_26 = l_Lean_Syntax_getId(x_21); +x_215 = lean_st_ref_get(x_4, x_14); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_ctor_get(x_216, 0); +lean_inc(x_218); +lean_dec(x_216); +x_219 = l_Lean_Elab_Command_getScope___rarg(x_4, x_217); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = lean_ctor_get(x_220, 2); +lean_inc(x_222); +lean_dec(x_220); +x_223 = l_Lean_Elab_Command_getScope___rarg(x_4, x_221); +x_224 = lean_ctor_get(x_223, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_223, 1); +lean_inc(x_225); +lean_dec(x_223); +x_226 = lean_ctor_get(x_224, 3); +lean_inc(x_226); +lean_dec(x_224); +lean_inc(x_218); +x_227 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_227, 0, x_218); +lean_inc(x_222); +x_228 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_228, 0, x_222); +lean_inc(x_218); +x_229 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_229, 0, x_218); +lean_inc(x_226); +lean_inc(x_222); +lean_inc(x_218); +x_230 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_230, 0, x_218); +lean_closure_set(x_230, 1, x_222); +lean_closure_set(x_230, 2, x_226); +lean_inc(x_218); +x_231 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_231, 0, x_218); +lean_closure_set(x_231, 1, x_222); +lean_closure_set(x_231, 2, x_226); +x_232 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_232, 0, x_227); +lean_ctor_set(x_232, 1, x_228); +lean_ctor_set(x_232, 2, x_229); +lean_ctor_set(x_232, 3, x_230); +lean_ctor_set(x_232, 4, x_231); +x_233 = x_232; +x_234 = l_Lean_Elab_Command_getRef(x_3, x_4, x_225); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec(x_234); +x_237 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_236); +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 = lean_ctor_get(x_3, 2); +lean_inc(x_240); +x_241 = lean_st_ref_get(x_4, x_239); +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_241, 1); +lean_inc(x_243); +lean_dec(x_241); +x_244 = lean_ctor_get(x_242, 4); +lean_inc(x_244); +lean_dec(x_242); +x_245 = lean_st_ref_get(x_4, x_243); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); +x_248 = lean_ctor_get(x_246, 3); +lean_inc(x_248); +lean_dec(x_246); +x_249 = lean_environment_main_module(x_218); +x_250 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_250, 0, x_233); +lean_ctor_set(x_250, 1, x_249); +lean_ctor_set(x_250, 2, x_238); +lean_ctor_set(x_250, 3, x_240); +lean_ctor_set(x_250, 4, x_244); +lean_ctor_set(x_250, 5, x_235); +x_251 = lean_box(0); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_248); +lean_ctor_set(x_252, 1, x_251); +lean_inc(x_16); +x_253 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_250, x_252); +lean_dec(x_250); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_255); +lean_dec(x_253); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_st_ref_take(x_4, x_247); +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); +x_260 = !lean_is_exclusive(x_258); +if (x_260 == 0) +{ +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_261 = lean_ctor_get(x_258, 3); +lean_dec(x_261); +lean_ctor_set(x_258, 3, x_256); +x_262 = lean_st_ref_set(x_4, x_258, x_259); +x_263 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +lean_dec(x_262); +x_264 = lean_ctor_get(x_255, 1); +lean_inc(x_264); +lean_dec(x_255); +x_265 = l_List_reverse___rarg(x_264); +x_266 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_265, x_3, x_4, x_263); +x_267 = lean_ctor_get(x_266, 1); +lean_inc(x_267); +lean_dec(x_266); +x_27 = x_254; +x_28 = x_267; +goto block_214; +} +else +{ +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; +x_268 = lean_ctor_get(x_258, 0); +x_269 = lean_ctor_get(x_258, 1); +x_270 = lean_ctor_get(x_258, 2); +x_271 = lean_ctor_get(x_258, 4); +x_272 = lean_ctor_get(x_258, 5); +x_273 = lean_ctor_get(x_258, 6); +x_274 = lean_ctor_get(x_258, 7); +x_275 = lean_ctor_get(x_258, 8); lean_inc(x_275); lean_inc(x_274); lean_inc(x_273); -lean_dec(x_263); -x_281 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_281, 0, x_273); -lean_ctor_set(x_281, 1, x_274); -lean_ctor_set(x_281, 2, x_275); -lean_ctor_set(x_281, 3, x_261); -lean_ctor_set(x_281, 4, x_276); -lean_ctor_set(x_281, 5, x_277); -lean_ctor_set(x_281, 6, x_278); -lean_ctor_set(x_281, 7, x_279); -lean_ctor_set(x_281, 8, x_280); -x_282 = lean_st_ref_set(x_4, x_281, x_264); -x_283 = lean_ctor_get(x_282, 1); -lean_inc(x_283); -lean_dec(x_282); -x_284 = lean_ctor_get(x_260, 1); -lean_inc(x_284); -lean_dec(x_260); -x_285 = l_List_reverse___rarg(x_284); -x_286 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_285, x_3, x_4, x_283); -x_287 = lean_ctor_get(x_286, 1); -lean_inc(x_287); -lean_dec(x_286); -x_13 = x_259; -x_14 = x_287; -goto block_217; +lean_inc(x_272); +lean_inc(x_271); +lean_inc(x_270); +lean_inc(x_269); +lean_inc(x_268); +lean_dec(x_258); +x_276 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_276, 0, x_268); +lean_ctor_set(x_276, 1, x_269); +lean_ctor_set(x_276, 2, x_270); +lean_ctor_set(x_276, 3, x_256); +lean_ctor_set(x_276, 4, x_271); +lean_ctor_set(x_276, 5, x_272); +lean_ctor_set(x_276, 6, x_273); +lean_ctor_set(x_276, 7, x_274); +lean_ctor_set(x_276, 8, x_275); +x_277 = lean_st_ref_set(x_4, x_276, x_259); +x_278 = lean_ctor_get(x_277, 1); +lean_inc(x_278); +lean_dec(x_277); +x_279 = lean_ctor_get(x_255, 1); +lean_inc(x_279); +lean_dec(x_255); +x_280 = l_List_reverse___rarg(x_279); +x_281 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_280, x_3, x_4, x_278); +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +lean_dec(x_281); +x_27 = x_254; +x_28 = x_282; +goto block_214; } } else { -lean_object* x_288; +lean_object* x_283; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_288 = lean_ctor_get(x_258, 0); -lean_inc(x_288); -lean_dec(x_258); -if (lean_obj_tag(x_288) == 0) +x_283 = lean_ctor_get(x_253, 0); +lean_inc(x_283); +lean_dec(x_253); +if (lean_obj_tag(x_283) == 0) { -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; +x_284 = lean_ctor_get(x_283, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_283, 1); +lean_inc(x_285); +lean_dec(x_283); +x_286 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_286, 0, x_285); +x_287 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_287, 0, x_286); +x_288 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_284, x_287, x_3, x_4, x_247); +lean_dec(x_284); +x_289 = !lean_is_exclusive(x_288); +if (x_289 == 0) +{ +return x_288; +} +else +{ +lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_290 = lean_ctor_get(x_288, 0); +x_291 = lean_ctor_get(x_288, 1); +lean_inc(x_291); lean_inc(x_290); lean_dec(x_288); -x_291 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_292, 0, x_291); -x_293 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_289, x_292, x_3, x_4, x_252); -lean_dec(x_289); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +return x_292; +} +} +else +{ +lean_object* x_293; uint8_t x_294; +lean_dec(x_3); +x_293 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_247); x_294 = !lean_is_exclusive(x_293); if (x_294 == 0) { @@ -39488,54 +37526,37 @@ lean_ctor_set(x_297, 1, x_296); return x_297; } } -else -{ -lean_object* x_298; uint8_t x_299; -lean_dec(x_3); -x_298 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_252); -x_299 = !lean_is_exclusive(x_298); -if (x_299 == 0) -{ -return x_298; } -else +block_214: { -lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_300 = lean_ctor_get(x_298, 0); -x_301 = lean_ctor_get(x_298, 1); -lean_inc(x_301); -lean_inc(x_300); -lean_dec(x_298); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_300); -lean_ctor_set(x_302, 1, x_301); -return x_302; -} -} -} -block_217: -{ -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_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; -x_15 = lean_unsigned_to_nat(5u); -x_16 = l_Lean_Syntax_getArg(x_2, x_15); -x_17 = lean_unsigned_to_nat(6u); -x_18 = l_Lean_Syntax_getArg(x_2, x_17); -x_19 = l_Lean_Syntax_getArgs(x_18); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(8u); -x_21 = l_Lean_Syntax_getArg(x_2, x_20); -x_22 = lean_unsigned_to_nat(9u); -x_23 = l_Lean_Syntax_getArg(x_2, x_22); -x_24 = lean_unsigned_to_nat(11u); -x_25 = l_Lean_Syntax_getArg(x_2, x_24); -x_26 = l_Lean_Syntax_getId(x_21); -x_134 = lean_st_ref_get(x_4, x_14); +lean_object* x_29; lean_object* x_30; lean_object* x_124; size_t 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; +x_124 = lean_array_get_size(x_19); +x_125 = lean_usize_of_nat(x_124); +lean_dec(x_124); +lean_inc(x_19); +x_126 = x_19; +x_127 = lean_box_usize(x_125); +x_128 = l_Lean_Elab_Command_expandElab___boxed__const__1; +x_129 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5___boxed), 5, 3); +lean_closure_set(x_129, 0, x_127); +lean_closure_set(x_129, 1, x_128); +lean_closure_set(x_129, 2, x_126); +x_130 = lean_st_ref_get(x_4, x_28); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_ctor_get(x_131, 0); +lean_inc(x_133); +lean_dec(x_131); +x_134 = l_Lean_Elab_Command_getScope___rarg(x_4, x_132); x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); x_136 = lean_ctor_get(x_134, 1); lean_inc(x_136); lean_dec(x_134); -x_137 = lean_ctor_get(x_135, 0); +x_137 = lean_ctor_get(x_135, 2); lean_inc(x_137); lean_dec(x_135); x_138 = l_Lean_Elab_Command_getScope___rarg(x_4, x_136); @@ -39544,457 +37565,172 @@ lean_inc(x_139); x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); lean_dec(x_138); -x_141 = lean_ctor_get(x_139, 2); +x_141 = lean_ctor_get(x_139, 3); lean_inc(x_141); lean_dec(x_139); -x_142 = l_Lean_Elab_Command_getScope___rarg(x_4, x_140); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_ctor_get(x_143, 3); -lean_inc(x_145); -lean_dec(x_143); +lean_inc(x_133); +x_142 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_142, 0, x_133); lean_inc(x_137); -x_146 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_146, 0, x_137); -lean_inc(x_141); -x_147 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_147, 0, x_141); -lean_inc(x_137); -x_148 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_148, 0, x_137); -lean_inc(x_145); +x_143 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_143, 0, x_137); +lean_inc(x_133); +x_144 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_144, 0, x_133); lean_inc(x_141); lean_inc(x_137); -x_149 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_149, 0, x_137); -lean_closure_set(x_149, 1, x_141); -lean_closure_set(x_149, 2, x_145); -lean_inc(x_137); -x_150 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_150, 0, x_137); -lean_closure_set(x_150, 1, x_141); -lean_closure_set(x_150, 2, x_145); -x_151 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_151, 0, x_146); -lean_ctor_set(x_151, 1, x_147); -lean_ctor_set(x_151, 2, x_148); -lean_ctor_set(x_151, 3, x_149); -lean_ctor_set(x_151, 4, x_150); -x_152 = x_151; -x_153 = l_Lean_Elab_Command_getRef(x_3, x_4, x_144); -x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_133); +x_145 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_145, 0, x_133); +lean_closure_set(x_145, 1, x_137); +lean_closure_set(x_145, 2, x_141); +lean_inc(x_133); +x_146 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_146, 0, x_133); +lean_closure_set(x_146, 1, x_137); +lean_closure_set(x_146, 2, x_141); +x_147 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_147, 0, x_142); +lean_ctor_set(x_147, 1, x_143); +lean_ctor_set(x_147, 2, x_144); +lean_ctor_set(x_147, 3, x_145); +lean_ctor_set(x_147, 4, x_146); +x_148 = x_147; +x_149 = l_Lean_Elab_Command_getRef(x_3, x_4, x_140); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_151); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); +lean_dec(x_152); +x_155 = lean_ctor_get(x_3, 2); lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_155); +x_156 = lean_st_ref_get(x_4, x_154); x_157 = lean_ctor_get(x_156, 0); lean_inc(x_157); x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); lean_dec(x_156); -x_159 = lean_ctor_get(x_3, 2); +x_159 = lean_ctor_get(x_157, 4); lean_inc(x_159); +lean_dec(x_157); x_160 = lean_st_ref_get(x_4, x_158); x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); lean_dec(x_160); -x_163 = lean_ctor_get(x_161, 4); +x_163 = lean_ctor_get(x_161, 3); lean_inc(x_163); lean_dec(x_161); -x_164 = lean_st_ref_get(x_4, x_162); -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, 3); -lean_inc(x_167); -lean_dec(x_165); -x_168 = lean_environment_main_module(x_137); -x_169 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_169, 0, x_152); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_157); -lean_ctor_set(x_169, 3, x_159); -lean_ctor_set(x_169, 4, x_163); -lean_ctor_set(x_169, 5, x_154); -x_170 = lean_box(0); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_167); -lean_ctor_set(x_171, 1, x_170); -lean_inc(x_16); -x_172 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_169, x_171); +x_164 = lean_environment_main_module(x_133); +x_165 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_165, 0, x_148); +lean_ctor_set(x_165, 1, x_164); +lean_ctor_set(x_165, 2, x_153); +lean_ctor_set(x_165, 3, x_155); +lean_ctor_set(x_165, 4, x_159); +lean_ctor_set(x_165, 5, x_150); +x_166 = lean_box(0); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_163); +lean_ctor_set(x_167, 1, x_166); +x_168 = x_129; +x_169 = lean_apply_2(x_168, x_165, x_167); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); lean_dec(x_169); -if (lean_obj_tag(x_172) == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_st_ref_take(x_4, x_162); +x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_ctor_get(x_174, 0); +x_175 = lean_ctor_get(x_173, 1); lean_inc(x_175); -x_176 = lean_st_ref_take(x_4, x_166); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = !lean_is_exclusive(x_177); -if (x_179 == 0) +lean_dec(x_173); +x_176 = !lean_is_exclusive(x_174); +if (x_176 == 0) { -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; -x_180 = lean_ctor_get(x_177, 3); -lean_dec(x_180); -lean_ctor_set(x_177, 3, x_175); -x_181 = lean_st_ref_set(x_4, x_177, x_178); -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -lean_dec(x_181); -x_183 = lean_ctor_get(x_174, 1); +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; +x_177 = lean_ctor_get(x_174, 3); +lean_dec(x_177); +lean_ctor_set(x_174, 3, x_172); +x_178 = lean_st_ref_set(x_4, x_174, x_175); +x_179 = lean_ctor_get(x_178, 1); +lean_inc(x_179); +lean_dec(x_178); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_List_reverse___rarg(x_180); +x_182 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_181, x_3, x_4, x_179); +x_183 = lean_ctor_get(x_182, 1); lean_inc(x_183); -lean_dec(x_174); -x_184 = l_List_reverse___rarg(x_183); -x_185 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_184, x_3, x_4, x_182); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_27 = x_173; -x_28 = x_186; -goto block_133; +lean_dec(x_182); +x_29 = x_170; +x_30 = x_183; +goto block_123; } 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; -x_187 = lean_ctor_get(x_177, 0); -x_188 = lean_ctor_get(x_177, 1); -x_189 = lean_ctor_get(x_177, 2); -x_190 = lean_ctor_get(x_177, 4); -x_191 = lean_ctor_get(x_177, 5); -x_192 = lean_ctor_get(x_177, 6); -x_193 = lean_ctor_get(x_177, 7); -x_194 = lean_ctor_get(x_177, 8); -lean_inc(x_194); -lean_inc(x_193); -lean_inc(x_192); +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_184 = lean_ctor_get(x_174, 0); +x_185 = lean_ctor_get(x_174, 1); +x_186 = lean_ctor_get(x_174, 2); +x_187 = lean_ctor_get(x_174, 4); +x_188 = lean_ctor_get(x_174, 5); +x_189 = lean_ctor_get(x_174, 6); +x_190 = lean_ctor_get(x_174, 7); +x_191 = lean_ctor_get(x_174, 8); lean_inc(x_191); lean_inc(x_190); lean_inc(x_189); lean_inc(x_188); lean_inc(x_187); -lean_dec(x_177); -x_195 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_195, 0, x_187); -lean_ctor_set(x_195, 1, x_188); -lean_ctor_set(x_195, 2, x_189); -lean_ctor_set(x_195, 3, x_175); -lean_ctor_set(x_195, 4, x_190); -lean_ctor_set(x_195, 5, x_191); -lean_ctor_set(x_195, 6, x_192); -lean_ctor_set(x_195, 7, x_193); -lean_ctor_set(x_195, 8, x_194); -x_196 = lean_st_ref_set(x_4, x_195, x_178); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_198 = lean_ctor_get(x_174, 1); -lean_inc(x_198); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_174); -x_199 = l_List_reverse___rarg(x_198); -x_200 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_199, x_3, x_4, x_197); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_27 = x_173; -x_28 = x_201; -goto block_133; +x_192 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_192, 0, x_184); +lean_ctor_set(x_192, 1, x_185); +lean_ctor_set(x_192, 2, x_186); +lean_ctor_set(x_192, 3, x_172); +lean_ctor_set(x_192, 4, x_187); +lean_ctor_set(x_192, 5, x_188); +lean_ctor_set(x_192, 6, x_189); +lean_ctor_set(x_192, 7, x_190); +lean_ctor_set(x_192, 8, x_191); +x_193 = lean_st_ref_set(x_4, x_192, x_175); +x_194 = lean_ctor_get(x_193, 1); +lean_inc(x_194); +lean_dec(x_193); +x_195 = lean_ctor_get(x_171, 1); +lean_inc(x_195); +lean_dec(x_171); +x_196 = l_List_reverse___rarg(x_195); +x_197 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_196, x_3, x_4, x_194); +x_198 = lean_ctor_get(x_197, 1); +lean_inc(x_198); +lean_dec(x_197); +x_29 = x_170; +x_30 = x_198; +goto block_123; } } else { -lean_object* x_202; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_7); -x_202 = lean_ctor_get(x_172, 0); -lean_inc(x_202); -lean_dec(x_172); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_206, 0, x_205); -x_207 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__16(x_203, x_206, x_3, x_4, x_166); -lean_dec(x_203); -x_208 = !lean_is_exclusive(x_207); -if (x_208 == 0) -{ -return x_207; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get(x_207, 0); -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_207); -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_209); -lean_ctor_set(x_211, 1, x_210); -return x_211; -} -} -else -{ -lean_object* x_212; uint8_t x_213; -lean_dec(x_3); -x_212 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_166); -x_213 = !lean_is_exclusive(x_212); -if (x_213 == 0) -{ -return x_212; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_212, 0); -x_215 = lean_ctor_get(x_212, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_212); -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; -} -} -} -block_133: -{ -lean_object* x_29; lean_object* x_30; lean_object* x_43; size_t 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; -x_43 = lean_array_get_size(x_19); -x_44 = lean_usize_of_nat(x_43); -lean_dec(x_43); -lean_inc(x_19); -x_45 = x_19; -x_46 = lean_box_usize(x_44); -x_47 = l_Lean_Elab_Command_expandElab___boxed__const__1; -x_48 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__5___boxed), 5, 3); -lean_closure_set(x_48, 0, x_46); -lean_closure_set(x_48, 1, x_47); -lean_closure_set(x_48, 2, x_45); -x_49 = lean_st_ref_get(x_4, x_28); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getScope___rarg(x_4, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 2); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_Elab_Command_getScope___rarg(x_4, x_55); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 3); -lean_inc(x_60); -lean_dec(x_58); -lean_inc(x_52); -x_61 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_61, 0, x_52); -lean_inc(x_56); -x_62 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_62, 0, x_56); -lean_inc(x_52); -x_63 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_63, 0, x_52); -lean_inc(x_60); -lean_inc(x_56); -lean_inc(x_52); -x_64 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_64, 0, x_52); -lean_closure_set(x_64, 1, x_56); -lean_closure_set(x_64, 2, x_60); -lean_inc(x_52); -x_65 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_65, 0, x_52); -lean_closure_set(x_65, 1, x_56); -lean_closure_set(x_65, 2, x_60); -x_66 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_66, 0, x_61); -lean_ctor_set(x_66, 1, x_62); -lean_ctor_set(x_66, 2, x_63); -lean_ctor_set(x_66, 3, x_64); -lean_ctor_set(x_66, 4, x_65); -x_67 = x_66; -x_68 = l_Lean_Elab_Command_getRef(x_3, x_4, x_59); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_3, 2); -lean_inc(x_74); -x_75 = lean_st_ref_get(x_4, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 4); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_st_ref_get(x_4, x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_ctor_get(x_80, 3); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_environment_main_module(x_52); -x_84 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_84, 0, x_67); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_72); -lean_ctor_set(x_84, 3, x_74); -lean_ctor_set(x_84, 4, x_78); -lean_ctor_set(x_84, 5, x_69); -x_85 = lean_box(0); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_82); -lean_ctor_set(x_86, 1, x_85); -x_87 = x_48; -x_88 = lean_apply_2(x_87, x_84, x_86); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -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 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_st_ref_take(x_4, x_81); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_96 = lean_ctor_get(x_93, 3); -lean_dec(x_96); -lean_ctor_set(x_93, 3, x_91); -x_97 = lean_st_ref_set(x_4, x_93, x_94); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = lean_ctor_get(x_90, 1); -lean_inc(x_99); -lean_dec(x_90); -x_100 = l_List_reverse___rarg(x_99); -x_101 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_100, x_3, x_4, x_98); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_29 = x_89; -x_30 = x_102; -goto block_42; -} -else -{ -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; -x_103 = lean_ctor_get(x_93, 0); -x_104 = lean_ctor_get(x_93, 1); -x_105 = lean_ctor_get(x_93, 2); -x_106 = lean_ctor_get(x_93, 4); -x_107 = lean_ctor_get(x_93, 5); -x_108 = lean_ctor_get(x_93, 6); -x_109 = lean_ctor_get(x_93, 7); -x_110 = lean_ctor_get(x_93, 8); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_93); -x_111 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_111, 0, x_103); -lean_ctor_set(x_111, 1, x_104); -lean_ctor_set(x_111, 2, x_105); -lean_ctor_set(x_111, 3, x_91); -lean_ctor_set(x_111, 4, x_106); -lean_ctor_set(x_111, 5, x_107); -lean_ctor_set(x_111, 6, x_108); -lean_ctor_set(x_111, 7, x_109); -lean_ctor_set(x_111, 8, x_110); -x_112 = lean_st_ref_set(x_4, x_111, x_94); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_114 = lean_ctor_get(x_90, 1); -lean_inc(x_114); -lean_dec(x_90); -x_115 = l_List_reverse___rarg(x_114); -x_116 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_115, x_3, x_4, x_113); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_29 = x_89; -x_30 = x_117; -goto block_42; -} -} -else -{ -lean_object* x_118; +lean_object* x_199; lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); @@ -40006,68 +37742,68 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_118 = lean_ctor_get(x_88, 0); -lean_inc(x_118); -lean_dec(x_88); -if (lean_obj_tag(x_118) == 0) +x_199 = lean_ctor_get(x_169, 0); +lean_inc(x_199); +lean_dec(x_169); +if (lean_obj_tag(x_199) == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -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(2, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_122 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_122, 0, x_121); -x_123 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_119, x_122, x_3, x_4, x_81); -lean_dec(x_119); -x_124 = !lean_is_exclusive(x_123); -if (x_124 == 0) +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_202, 0, x_201); +x_203 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_203, 0, x_202); +x_204 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2(x_200, x_203, x_3, x_4, x_162); +lean_dec(x_200); +x_205 = !lean_is_exclusive(x_204); +if (x_205 == 0) { -return x_123; +return x_204; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_123, 0); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_123); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_204, 0); +x_207 = lean_ctor_get(x_204, 1); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_204); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +return x_208; } } else { -lean_object* x_128; uint8_t x_129; +lean_object* x_209; uint8_t x_210; lean_dec(x_3); -x_128 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_81); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) +x_209 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___rarg(x_162); +x_210 = !lean_is_exclusive(x_209); +if (x_210 == 0) { -return x_128; +return x_209; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_128); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_209, 0); +x_212 = lean_ctor_get(x_209, 1); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_209); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +return x_213; } } } -block_42: +block_123: { lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = l_Lean_mkOptionalNode___closed__2; @@ -40076,33 +37812,284 @@ x_33 = l_Array_append___rarg(x_32, x_29); lean_dec(x_29); if (lean_obj_tag(x_11) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +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; x_34 = l_Lean_nullKind; lean_inc(x_33); x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -lean_inc(x_26); -x_36 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_26, x_35, x_3, x_4, x_30); -lean_dec(x_35); +x_36 = lean_st_ref_get(x_4, x_30); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_31, x_23, x_26, x_2, x_25, x_7, x_13, x_33, x_10, x_21, x_19, x_16, x_37, x_3, x_4, x_38); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Elab_Command_getScope___rarg(x_4, x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 2); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Elab_Command_getScope___rarg(x_4, x_42); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 3); +lean_inc(x_47); +lean_dec(x_45); +lean_inc(x_39); +x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_48, 0, x_39); +lean_inc(x_43); +x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_49, 0, x_43); +lean_inc(x_39); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_50, 0, x_39); +lean_inc(x_47); +lean_inc(x_43); +lean_inc(x_39); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_51, 0, x_39); +lean_closure_set(x_51, 1, x_43); +lean_closure_set(x_51, 2, x_47); +lean_inc(x_39); +x_52 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +lean_closure_set(x_52, 0, x_39); +lean_closure_set(x_52, 1, x_43); +lean_closure_set(x_52, 2, x_47); +x_53 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_49); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_51); +lean_ctor_set(x_53, 4, x_52); +x_54 = x_53; +x_55 = l_Lean_Elab_Command_getRef(x_3, x_4, x_46); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_ctor_get(x_3, 2); +lean_inc(x_61); +x_62 = lean_st_ref_get(x_4, x_60); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_ctor_get(x_63, 4); +lean_inc(x_65); +lean_dec(x_63); +x_66 = lean_st_ref_get(x_4, x_64); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_ctor_get(x_67, 3); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_environment_main_module(x_39); +x_71 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_71, 0, x_54); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_59); +lean_ctor_set(x_71, 3, x_61); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_56); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_69); +lean_ctor_set(x_73, 1, x_72); +lean_inc(x_26); +x_74 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_26, x_35, x_71, x_73); +lean_dec(x_35); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_st_ref_take(x_4, x_68); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = !lean_is_exclusive(x_79); +if (x_81 == 0) +{ +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; +x_82 = lean_ctor_get(x_79, 3); +lean_dec(x_82); +lean_ctor_set(x_79, 3, x_77); +x_83 = lean_st_ref_set(x_4, x_79, x_80); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_ctor_get(x_76, 1); +lean_inc(x_85); +lean_dec(x_76); +x_86 = l_List_reverse___rarg(x_85); +x_87 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_86, x_3, x_4, x_84); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_31, x_23, x_26, x_2, x_25, x_7, x_13, x_33, x_10, x_21, x_19, x_16, x_75, x_3, x_4, x_88); lean_dec(x_23); -return x_39; +return x_89; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_11, 0); -lean_inc(x_40); -lean_dec(x_11); -x_41 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_31, x_23, x_26, x_2, x_25, x_7, x_13, x_33, x_10, x_21, x_19, x_16, x_40, x_3, x_4, x_30); +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; +x_90 = lean_ctor_get(x_79, 0); +x_91 = lean_ctor_get(x_79, 1); +x_92 = lean_ctor_get(x_79, 2); +x_93 = lean_ctor_get(x_79, 4); +x_94 = lean_ctor_get(x_79, 5); +x_95 = lean_ctor_get(x_79, 6); +x_96 = lean_ctor_get(x_79, 7); +x_97 = lean_ctor_get(x_79, 8); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_79); +x_98 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_98, 0, x_90); +lean_ctor_set(x_98, 1, x_91); +lean_ctor_set(x_98, 2, x_92); +lean_ctor_set(x_98, 3, x_77); +lean_ctor_set(x_98, 4, x_93); +lean_ctor_set(x_98, 5, x_94); +lean_ctor_set(x_98, 6, x_95); +lean_ctor_set(x_98, 7, x_96); +lean_ctor_set(x_98, 8, x_97); +x_99 = lean_st_ref_set(x_4, x_98, x_80); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); +x_101 = lean_ctor_get(x_76, 1); +lean_inc(x_101); +lean_dec(x_76); +x_102 = l_List_reverse___rarg(x_101); +x_103 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__15(x_102, x_3, x_4, x_100); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_31, x_23, x_26, x_2, x_25, x_7, x_13, x_33, x_10, x_21, x_19, x_16, x_75, x_3, x_4, x_104); lean_dec(x_23); -return x_41; +return x_105; +} +} +else +{ +lean_object* x_106; +lean_dec(x_33); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +x_106 = lean_ctor_get(x_74, 0); +lean_inc(x_106); +lean_dec(x_74); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_109, 0, x_108); +x_110 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_110, 0, x_109); +x_111 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(x_107, x_110, x_3, x_4, x_68); +lean_dec(x_107); +x_112 = !lean_is_exclusive(x_111); +if (x_112 == 0) +{ +return x_111; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_111, 0); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_111); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +else +{ +lean_object* x_116; uint8_t x_117; +lean_dec(x_3); +x_116 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(x_68); +x_117 = !lean_is_exclusive(x_116); +if (x_117 == 0) +{ +return x_116; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_116, 0); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_116); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +} +else +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_11, 0); +lean_inc(x_121); +lean_dec(x_11); +x_122 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_31, x_23, x_26, x_2, x_25, x_7, x_13, x_33, x_10, x_21, x_19, x_16, x_121, x_3, x_4, x_30); +lean_dec(x_23); +return x_122; } } } @@ -40110,6 +38097,89 @@ return x_41; } } } +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1(x_6, x_7, x_3, x_4, x_5); +return x_8; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__5(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +return x_8; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__8(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -40691,10 +38761,6 @@ l_Lean_Elab_Command_mkSimpleDelab___closed__15 = _init_l_Lean_Elab_Command_mkSim lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__15); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1); -l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1 = _init_l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_expandNotation___spec__1___closed__1); -l_Lean_Elab_Command_expandNotation___closed__1 = _init_l_Lean_Elab_Command_expandNotation___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__1); l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1); res = l___regBuiltin_Lean_Elab_Command_expandNotation(lean_io_mk_world()); @@ -40702,20 +38768,16 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1); -l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__1___boxed__const__1); l_Lean_Elab_Command_expandMacro___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMacro___boxed__const__1); -l_Lean_Elab_Command_elabMacro___closed__1 = _init_l_Lean_Elab_Command_elabMacro___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacro___closed__1); -l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1); -res = l___regBuiltin_Lean_Elab_Command_elabMacro(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1); +res = l___regBuiltin_Lean_Elab_Command_expandMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16581_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16561_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index a486edab79..37343cee97 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -188,6 +188,7 @@ lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef_match__1(lean_object*); lean_object* l_Lean_Elab_Term_runTactic___closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__2; +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance_match__1___rarg(lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,7 +207,6 @@ lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___closed__1; extern lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1(lean_object*, 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_Term_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3203,7 +3203,7 @@ static lean_object* _init_l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Syn _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Meta_SynthInstance_resume___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8515,7 +8515,7 @@ static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8671,7 +8671,7 @@ x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); x_29 = l_List_reverse___rarg(x_16); -x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_inc(x_8); lean_inc(x_4); x_31 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_30, x_29, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_28); @@ -8890,7 +8890,7 @@ x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); x_92 = l_List_reverse___rarg(x_16); -x_93 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_93 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_inc(x_8); lean_inc(x_4); x_94 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_93, x_92, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_91); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 70e262c369..d70aae8d71 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -267,7 +267,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -314,6 +313,7 @@ lean_object* l_Lean_Elab_Tactic_orElse___rarg(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__11; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9(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*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intros___closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*); @@ -471,6 +471,7 @@ lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(le lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___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*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntros___closed__2; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -527,7 +528,6 @@ lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13978____closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); @@ -4180,7 +4180,7 @@ lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint x_55 = lean_ctor_get(x_50, 1); lean_inc(x_55); lean_dec(x_50); -x_56 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_56 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_57 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_55); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); @@ -4417,7 +4417,7 @@ lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; x_119 = lean_ctor_get(x_114, 1); lean_inc(x_119); lean_dec(x_114); -x_120 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_120 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_121 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_120, x_4, x_5, x_92, x_7, x_8, x_9, x_10, x_11, x_119); x_122 = lean_ctor_get(x_121, 0); lean_inc(x_122); @@ -4674,7 +4674,7 @@ lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; x_185 = lean_ctor_get(x_180, 1); lean_inc(x_185); lean_dec(x_180); -x_186 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_186 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_187 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_186, x_4, x_5, x_158, x_7, x_8, x_9, x_10, x_11, x_185); x_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); @@ -4957,7 +4957,7 @@ lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; x_261 = lean_ctor_get(x_256, 1); lean_inc(x_261); lean_dec(x_256); -x_262 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_262 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_263 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_262, x_4, x_5, x_234, x_7, x_8, x_9, x_10, x_11, x_261); x_264 = lean_ctor_get(x_263, 0); lean_inc(x_264); @@ -5293,7 +5293,7 @@ lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; x_349 = lean_ctor_get(x_344, 1); lean_inc(x_349); lean_dec(x_344); -x_350 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_350 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_351 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_350, x_4, x_5, x_322, x_7, x_8, x_9, x_296, x_11, x_349); x_352 = lean_ctor_get(x_351, 0); lean_inc(x_352); @@ -24057,7 +24057,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basi _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index b34ea42543..a19f67c2b3 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -322,6 +322,7 @@ lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(lean_object*, lean_object*, lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___boxed(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2___boxed(lean_object**); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalAlt___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_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -345,7 +346,6 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0_ extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2; lean_object* l_Lean_Expr_bindingName_x21(lean_object*); lean_object* l_Lean_Elab_Tactic_evalCases___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*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasArgs(lean_object*); lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7364,7 +7364,7 @@ static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Ta _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_Tactic_induction___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -12537,7 +12537,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Indu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_Tactic_cases___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index cda2c40c2d..c3fe5d11d2 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -532,7 +532,6 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCompletion___spec__1(le lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_normLtAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_mkMessage___lambda__2___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_isFieldName_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -628,6 +627,7 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos_ uint8_t l_Lean_Level_any(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__4; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; lean_object* l_Lean_Elab_log___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*); @@ -968,6 +968,7 @@ lean_object* l_List_foldr___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwS lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation___closed__1; lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM; lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1060,7 +1061,6 @@ lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec_ lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; lean_object* l_Lean_Elab_Term_elabScientificLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; -extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9825,7 +9825,7 @@ static lean_object* _init_l_Lean_Elab_Term_MVarErrorInfo_logError___closed__13() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22673,7 +22673,7 @@ static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeE _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Exception___hyg_3____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -25040,7 +25040,7 @@ static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImpli _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -29025,7 +29025,7 @@ lean_dec(x_25); if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_27 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_28 = lean_box(0); x_29 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_24, x_4, x_1, x_2, x_3, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_24); @@ -29108,7 +29108,7 @@ lean_dec(x_49); if (x_50 == 0) { lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_51 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_52 = lean_box(0); x_53 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_48, x_4, x_1, x_2, x_3, x_51, x_52, x_47, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_48); @@ -29231,7 +29231,7 @@ lean_dec(x_83); if (x_84 == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_85 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_86 = lean_box(0); x_87 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_82, x_4, x_1, x_2, x_3, x_85, x_86, x_81, x_6, x_7, x_8, x_9, x_10, x_68); lean_dec(x_82); @@ -33683,7 +33683,7 @@ static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_85 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Lean_Parser_Tactic_letrec___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -55422,7 +55422,7 @@ static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12817__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_myMacro____x40_Init_Coe___hyg_166____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Util.c b/stage0/stdlib/Lean/Elab/Util.c index 70294438a6..3182a4f1de 100644 --- a/stage0/stdlib/Lean/Elab/Util.c +++ b/stage0/stdlib/Lean/Elab/Util.c @@ -29,6 +29,7 @@ extern lean_object* l_Std_Format_format_unicode___closed__1; lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*); lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__7; +lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_format___boxed(lean_object*, lean_object*); lean_object* l_String_toFormat(lean_object*); @@ -55,7 +56,6 @@ lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2(lean_object*, lean_object uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_getMacros___spec__4(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg___closed__1; lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_280____closed__1; @@ -82,7 +82,6 @@ lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__6; lean_object* l_Lean_Elab_checkSyntaxNodeKind___closed__2; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Elab_getMacros___spec__1___boxed(lean_object*, lean_object*); @@ -97,6 +96,7 @@ lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns(lean_object* lean_object* l_Lean_Elab_liftMacroM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_53____spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -107,7 +107,6 @@ lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2___boxed(lean_object**); extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_36____closed__8; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_getMacros___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadMacroAdapter(lean_object*, lean_object*); @@ -116,12 +115,12 @@ lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1___rarg(lean uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_280_(lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_640_(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253_(lean_object*); lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_IO_instInhabitedError___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Syntax_prettyPrint(lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,9 +134,9 @@ lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__1; lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2(lean_object*); lean_object* l_Lean_Elab_instMonadMacroAdapter___rarg(lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack(lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Macro_hasDecl(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM(lean_object*, lean_object*); @@ -157,6 +156,7 @@ extern lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__2; lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_getMacros___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1(lean_object*); lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1; @@ -173,21 +173,19 @@ lean_object* l_Lean_Elab_macroAttribute; lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__2; lean_object* lean_environment_main_module(lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_280____closed__3; -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; lean_object* l_Lean_Elab_checkSyntaxNodeKind___closed__1; lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute(lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2(lean_object*); lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__5; lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkUnusedBaseName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_adaptMacro(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_getBetterRef_match__2(lean_object*); uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); extern lean_object* l_Lean_getSanitizeNames___closed__2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__8(lean_object*, lean_object*, lean_object*, 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_mkUnusedBaseName___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); extern lean_object* l_Lean_getSanitizeNames___closed__1; lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -243,7 +241,7 @@ lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__9(lean_object*, lean_object lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Elab_addMacroStack_match__1(lean_object*); -lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*); +lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3320,136 +3318,219 @@ x_18 = l_Lean_Elab_adaptMacro___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x return x_18; } } -lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -lean_inc(x_4); -lean_inc(x_1); -x_5 = l_Lean_Name_appendIndexAfter(x_1, x_4); -lean_inc(x_5); -x_6 = l_Lean_Name_append(x_2, x_5); -lean_inc(x_3); -x_7 = l_Lean_Environment_contains(x_3, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -else -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_5); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_4, x_8); -lean_dec(x_4); -x_4 = x_9; -goto _start; -} -} -} -lean_object* l_Lean_Elab_mkUnusedBaseName_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -lean_inc(x_2); -x_5 = l_Lean_Name_append(x_1, x_2); -lean_inc(x_4); -x_6 = l_Lean_Environment_contains(x_4, x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_7); -lean_dec(x_3); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_apply_2(x_8, lean_box(0), x_2); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_3, 0); -lean_inc(x_10); -lean_dec(x_3); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Elab_mkUnusedBaseName_loop(x_2, x_1, x_4, x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; -} -} -} -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_inc(x_1); +x_6 = l_Lean_Name_appendIndexAfter(x_1, x_3); lean_inc(x_6); +x_7 = l_Lean_Name_append(x_2, x_6); +lean_inc(x_4); +x_8 = l_Lean_Macro_hasDecl(x_7, x_4, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1___boxed), 4, 3); -lean_closure_set(x_7, 0, x_5); -lean_closure_set(x_7, 1, x_2); -lean_closure_set(x_7, 2, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_8, 0); +lean_dec(x_12); +lean_ctor_set(x_8, 0, x_6); return x_8; } +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_6); +lean_ctor_set(x_14, 1, x_13); +return x_14; } -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +x_15 = lean_ctor_get(x_8, 1); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_3, x_16); +lean_dec(x_3); +x_3 = x_17; +x_5 = x_15; +goto _start; +} +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_8); +if (x_19 == 0) +{ +return x_8; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_8); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Elab_mkUnusedBaseName_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { +lean_object* x_6; +x_6 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_2); +x_4 = l_Lean_Macro_getCurrNamespace(x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); -lean_dec(x_3); -lean_inc(x_5); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_mkUnusedBaseName___rarg___lambda__2), 5, 4); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_4); -lean_closure_set(x_7, 2, x_1); -lean_closure_set(x_7, 3, x_5); -x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7); +lean_dec(x_4); +lean_inc(x_1); +x_7 = l_Lean_Name_append(x_5, x_1); +lean_inc(x_2); +x_8 = l_Lean_Macro_hasDecl(x_7, x_2, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_5); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_8, 0); +lean_dec(x_12); +lean_ctor_set(x_8, 0, x_1); return x_8; } -} -lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object* x_1) { -_start: +else { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_mkUnusedBaseName___rarg), 4, 0); -return x_2; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } -lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 1); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Elab_mkUnusedBaseName_loop(x_1, x_5, x_16, x_2, x_15); +lean_dec(x_5); +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec(x_5); +lean_dec(x_2); lean_dec(x_1); -return x_5; +x_18 = !lean_is_exclusive(x_8); +if (x_18 == 0) +{ +return x_8; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_8, 0); +x_20 = lean_ctor_get(x_8, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_8); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1() { +} +else +{ +uint8_t x_22; +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_4); +if (x_22 == 0) +{ +return x_4; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_4, 0); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_4); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3459,21 +3540,21 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_919____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -3481,7 +3562,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -3596,11 +3677,11 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_macroAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_macroAttribute); lean_dec_ref(res); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248____closed__2); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1248_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253____closed__2); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1253_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 631889c7bd..b1ab5e7261 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -94,7 +94,6 @@ lean_object* l_Lean_Parser_FirstTokens_toOptional_match__1(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__2; lean_object* l_Lean_Parser_strAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Parser_eoi; @@ -129,7 +128,6 @@ lean_object* l_Lean_Parser_hexNumberFn___boxed(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekTokenAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2(lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125____boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__6; lean_object* l_Lean_Parser_errorAtSavedPos___closed__1; @@ -173,6 +171,7 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__17; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_tokenWithAntiquotFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_anyOfFn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -203,11 +202,11 @@ lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___lambda__2(lean_object*, lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_leadingParserAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____lambda__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Parser_hexNumberFn___lambda__1(uint32_t); lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1; lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__2; lean_object* l_Lean_Parser_mkAntiquot___closed__9; uint8_t l_Lean_Parser_octalNumberFn___lambda__1(uint32_t); @@ -220,6 +219,7 @@ lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__4(lean_object*); lean_object* l_Lean_Parser_ParserInfo_collectTokens___default___boxed(lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____lambda__1(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__4; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_Error_expectedToString_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -232,6 +232,7 @@ lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutForbidden___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); lean_object* l_Lean_Parser_notFollowedBy(lean_object*, lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163____boxed(lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_info___default___closed__1; uint8_t l_Char_isWhitespace(uint32_t); @@ -276,7 +277,6 @@ lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__3; lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1; extern lean_object* l_term___x24_______closed__5; lean_object* l_Lean_Parser_strLitFnAux___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; @@ -297,7 +297,6 @@ lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__3; lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed___rarg(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__6(lean_object*); uint32_t l_Lean_Parser_getNext(lean_object*, lean_object*); @@ -342,6 +341,7 @@ lean_object* l_Lean_Parser_manyAux___lambda__2___boxed(lean_object*, lean_object lean_object* l_Lean_Parser_symbolNoAntiquot(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2(lean_object*); lean_object* l_Lean_Parser_checkOutsideQuot___closed__1; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initCacheForInput(lean_object*); lean_object* l_Lean_Parser_evalParserConst___rarg___boxed(lean_object*); @@ -351,10 +351,12 @@ lean_object* l_Lean_Parser_mkIdResult___boxed(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_fieldIdx___closed__1; lean_object* l_Lean_Parser_TokenMap_insert(lean_object*); lean_object* l_Lean_Parser_setExpected___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1; lean_object* l_Lean_Parser_unicodeSymbol(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn___closed__1; lean_object* l_Lean_Parser_checkStackTopFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquotSuffixSplice(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1(lean_object*); @@ -526,6 +528,7 @@ lean_object* l_Lean_Parser_checkWsBefore(lean_object*); lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setCache(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__10; lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr___closed__5; @@ -613,7 +616,6 @@ lean_object* l_Lean_Parser_identFnAux_parse___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_identFnAux_parse___lambda__2___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__3; lean_object* l_Lean_Parser_leadingParserAux_match__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__7___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchMkResult(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__7___rarg___boxed(lean_object*, lean_object*); @@ -730,6 +732,7 @@ lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr_match__1(lean_object*); lean_object* l_Lean_Parser_charLitFn___closed__3; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1(lean_object*); lean_object* l_Lean_Parser_hexDigitFn(lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__16; @@ -746,6 +749,7 @@ lean_object* l_Lean_Parser_categoryParserOfStackFn___boxed(lean_object*, lean_ob lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoImmediateColon___elambda__1___closed__1; lean_object* l_Lean_Parser_runLongestMatchParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquotSplice___closed__6; lean_object* l_Lean_Parser_FirstTokens_merge_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -759,6 +763,7 @@ lean_object* l_Lean_Parser_sepByNoAntiquot___boxed(lean_object*, lean_object*, l lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_trailingTable___default; lean_object* l_Lean_Parser_ParserModuleContext_currNamespace___default; +lean_object* l_Lean_Parser_ParserState_setError(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1(lean_object*); @@ -791,7 +796,7 @@ lean_object* l_Lean_Parser_Error_instToStringError___closed__1; lean_object* l_Lean_Parser_checkTailNoWs_match__1(lean_object*); lean_object* l_Lean_Parser_TokenMap_instEmptyCollectionTokenMap(lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125_(uint8_t, uint8_t); +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163_(uint8_t, uint8_t); extern lean_object* l_Array_instToStringArray___rarg___closed__1; lean_object* l_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t); lean_object* l_Lean_Parser_mkAntiquot___closed__14; @@ -918,8 +923,8 @@ extern lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f_match__1___rarg___close lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__1; extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__6; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476_(lean_object*); uint8_t l_Lean_Parser_instInhabitedLeadingIdentBehavior; lean_object* l_Lean_Parser_fieldIdx___closed__7; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); @@ -1007,10 +1012,8 @@ lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object* lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Parser_indexed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1; lean_object* l_Lean_Parser_rawFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1___elambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1031,7 +1034,6 @@ lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2___rarg(lean_ob lean_object* l_Lean_Parser_mkAntiquot___closed__2; lean_object* l_Lean_Parser_withResultOfInfo(lean_object*); lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14904____closed__9; lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_Parser_Error_toString___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1071,7 +1073,6 @@ lean_object* l_Lean_Parser_numberFnAux___boxed(lean_object*, lean_object*); uint8_t lean_string_dec_lt(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1(lean_object*); lean_object* l_Lean_Parser_fieldIdxFn(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexNumberFn___closed__2; lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*); @@ -3479,6 +3480,61 @@ lean_dec(x_3); return x_4; } } +lean_object* l_Lean_Parser_ParserState_setError(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_1, 4); +lean_dec(x_4); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_5); +x_7 = l_Lean_instInhabitedParserDescr___closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_1, 4, x_9); +return x_1; +} +else +{ +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; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_instInhabitedParserDescr___closed__1; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_11); +lean_ctor_set(x_19, 2, x_12); +lean_ctor_set(x_19, 3, x_13); +lean_ctor_set(x_19, 4, x_18); +return x_19; +} +} +} lean_object* l_Lean_Parser_ParserState_mkError(lean_object* x_1, lean_object* x_2) { _start: { @@ -26914,7 +26970,7 @@ x_1 = 0; return x_1; } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (x_1) { @@ -26996,15 +27052,15 @@ return x_24; } } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1(lean_object* x_1) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg___boxed), 6, 0); return x_2; } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; uint8_t x_8; lean_object* x_9; @@ -27012,11 +27068,11 @@ x_7 = lean_unbox(x_1); lean_dec(x_1); x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6); +x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6); return x_9; } } -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125_(uint8_t x_1, uint8_t x_2) { +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163_(uint8_t x_1, uint8_t x_2) { _start: { switch (x_1) { @@ -27077,7 +27133,7 @@ return x_11; } } } -lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -27085,7 +27141,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125_(x_3, x_4); +x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -27094,7 +27150,7 @@ static lean_object* _init_l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7125____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7163____boxed), 2, 0); return x_1; } } @@ -28356,7 +28412,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -28381,7 +28437,7 @@ return x_7; } } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -28389,34 +28445,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1___boxed), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1; -x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____spec__1(x_2, x_1); +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1; +x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -28442,19 +28498,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -33462,16 +33518,16 @@ l_Lean_Parser_instInhabitedParserCategory___closed__1 = _init_l_Lean_Parser_inst lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory___closed__1); l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedParserCategory(); lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7420_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7458_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7438_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7476_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); diff --git a/stage0/stdlib/Lean/Parser/StrInterpolation.c b/stage0/stdlib/Lean/Parser/StrInterpolation.c index 9019ce53a6..cd79f92ee4 100644 --- a/stage0/stdlib/Lean/Parser/StrInterpolation.c +++ b/stage0/stdlib/Lean/Parser/StrInterpolation.c @@ -18,14 +18,13 @@ lean_object* l_Lean_Parser_quotedCharCoreFn(lean_object*, lean_object*, lean_obj uint8_t l_Lean_Parser_isQuotableCharDefault(uint32_t); lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStrNoAntiquot___closed__1; +lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_interpolatedStrKind; lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); -lean_object* l_Lean_Parser_interpolatedStrFn_parse___lambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkNodeToken(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_strLitFnAux___closed__1; -lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStr___elambda__1___closed__1; lean_object* l_Lean_Parser_interpolatedStr___elambda__1___closed__2; @@ -35,7 +34,6 @@ lean_object* l_Lean_Parser_interpolatedStrFn___closed__1; lean_object* l_Lean_Parser_interpolatedStrFn_parse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStrFn_parse___closed__1; lean_object* l_Lean_Parser_interpolatedStrNoAntiquot(lean_object*); -lean_object* l_Lean_Parser_interpolatedStrFn_parse___closed__3; uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); uint8_t l_Lean_Parser_isQuotableCharForStrInterpolant(uint32_t); @@ -45,8 +43,7 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStr(lean_object*); lean_object* l_Lean_Parser_interpolatedStr___closed__1; uint8_t l_UInt32_decEq(uint32_t, uint32_t); -uint8_t l_Lean_Parser_interpolatedStrFn_parse___lambda__1(uint32_t); -lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_setError(lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStr___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_interpolatedStrFn_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,20 +85,11 @@ x_4 = lean_box(x_3); return x_4; } } -uint8_t l_Lean_Parser_interpolatedStrFn_parse___lambda__1(uint32_t x_1) { -_start: -{ -uint32_t x_2; uint8_t x_3; -x_2 = 125; -x_3 = x_1 == x_2; -return x_3; -} -} static lean_object* _init_l_Lean_Parser_interpolatedStrFn_parse___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_interpolatedStrFn_parse___lambda__1___boxed), 1, 0); +x_1 = lean_mk_string("'}'"); return x_1; } } @@ -109,14 +97,6 @@ static lean_object* _init_l_Lean_Parser_interpolatedStrFn_parse___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string("expected '}'"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_interpolatedStrFn_parse___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_isQuotableCharForStrInterpolant___boxed), 1, 0); return x_1; } @@ -174,28 +154,33 @@ return x_21; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_object* x_25; uint32_t x_26; uint32_t x_27; uint8_t x_28; x_25 = lean_ctor_get(x_21, 2); lean_inc(x_25); -x_26 = l_Lean_Parser_interpolatedStrFn_parse___closed__1; -x_27 = l_Lean_Parser_interpolatedStrFn_parse___closed__2; -x_28 = l_Lean_Parser_satisfyFn(x_26, x_27, x_5, x_21); -x_29 = lean_ctor_get(x_28, 4); -lean_inc(x_29); -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_713____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_23); -lean_dec(x_29); -if (x_30 == 0) +x_26 = lean_string_utf8_get(x_2, x_25); +x_27 = 125; +x_28 = x_26 == x_27; +if (x_28 == 0) { +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_25); lean_dec(x_5); -lean_dec(x_3); lean_dec(x_1); -return x_28; +x_29 = lean_box(0); +x_30 = l_Lean_Parser_ParserState_pushSyntax(x_21, x_29); +x_31 = l_Lean_interpolatedStrKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_3); +x_33 = l_Lean_Parser_interpolatedStrFn_parse___closed__1; +x_34 = l_Lean_Parser_ParserState_setError(x_32, x_33); +return x_34; } else { +lean_object* x_35; lean_object* x_36; +x_35 = lean_string_utf8_next(x_2, x_25); +x_36 = l_Lean_Parser_ParserState_setPos(x_21, x_35); x_4 = x_25; -x_6 = x_28; +x_6 = x_36; goto _start; } } @@ -203,65 +188,58 @@ goto _start; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = l_Lean_Parser_interpolatedStrFn_parse___closed__3; -x_33 = l_Lean_Parser_quotedCharCoreFn(x_32, x_5, x_11); -x_34 = lean_ctor_get(x_33, 4); -lean_inc(x_34); -x_35 = lean_box(0); -x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_713____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_35); -lean_dec(x_34); -if (x_36 == 0) +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = l_Lean_Parser_interpolatedStrFn_parse___closed__2; +x_39 = l_Lean_Parser_quotedCharCoreFn(x_38, x_5, x_11); +x_40 = lean_ctor_get(x_39, 4); +lean_inc(x_40); +x_41 = lean_box(0); +x_42 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_713____at_Lean_Parser_ParserState_hasError___spec__1(x_40, x_41); +lean_dec(x_40); +if (x_42 == 0) { lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_33; +return x_39; } else { -x_6 = x_33; +x_6 = x_39; goto _start; } } } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_dec(x_1); -x_38 = l_Lean_interpolatedStrLitKind; -x_39 = l_Lean_Parser_mkNodeToken(x_38, x_4, x_5, x_11); +x_44 = l_Lean_interpolatedStrLitKind; +x_45 = l_Lean_Parser_mkNodeToken(x_44, x_4, x_5, x_11); lean_dec(x_5); -x_40 = l_Lean_interpolatedStrKind; -x_41 = l_Lean_Parser_ParserState_mkNode(x_39, x_40, x_3); -return x_41; +x_46 = l_Lean_interpolatedStrKind; +x_47 = l_Lean_Parser_ParserState_mkNode(x_45, x_46, x_3); +return x_47; } } else { -lean_object* x_42; lean_object* x_43; +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_dec(x_7); lean_dec(x_5); -lean_dec(x_3); +lean_dec(x_4); lean_dec(x_1); -x_42 = l_Lean_Parser_strLitFnAux___closed__1; -x_43 = l_Lean_Parser_ParserState_mkUnexpectedErrorAt(x_6, x_42, x_4); -return x_43; +x_48 = lean_box(0); +x_49 = l_Lean_Parser_ParserState_pushSyntax(x_6, x_48); +x_50 = l_Lean_interpolatedStrKind; +x_51 = l_Lean_Parser_ParserState_mkNode(x_49, x_50, x_3); +x_52 = l_Lean_Parser_strLitFnAux___closed__1; +x_53 = l_Lean_Parser_ParserState_setError(x_51, x_52); +return x_53; } } } -lean_object* l_Lean_Parser_interpolatedStrFn_parse___lambda__1___boxed(lean_object* x_1) { -_start: -{ -uint32_t x_2; uint8_t x_3; lean_object* x_4; -x_2 = lean_unbox_uint32(x_1); -lean_dec(x_1); -x_3 = l_Lean_Parser_interpolatedStrFn_parse___lambda__1(x_2); -x_4 = lean_box(x_3); -return x_4; -} -} lean_object* l_Lean_Parser_interpolatedStrFn_parse___boxed(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: { @@ -456,8 +434,6 @@ l_Lean_Parser_interpolatedStrFn_parse___closed__1 = _init_l_Lean_Parser_interpol lean_mark_persistent(l_Lean_Parser_interpolatedStrFn_parse___closed__1); l_Lean_Parser_interpolatedStrFn_parse___closed__2 = _init_l_Lean_Parser_interpolatedStrFn_parse___closed__2(); lean_mark_persistent(l_Lean_Parser_interpolatedStrFn_parse___closed__2); -l_Lean_Parser_interpolatedStrFn_parse___closed__3 = _init_l_Lean_Parser_interpolatedStrFn_parse___closed__3(); -lean_mark_persistent(l_Lean_Parser_interpolatedStrFn_parse___closed__3); l_Lean_Parser_interpolatedStrFn___closed__1 = _init_l_Lean_Parser_interpolatedStrFn___closed__1(); lean_mark_persistent(l_Lean_Parser_interpolatedStrFn___closed__1); l_Lean_Parser_interpolatedStrNoAntiquot___closed__1 = _init_l_Lean_Parser_interpolatedStrNoAntiquot___closed__1();