diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index fff6cd699a..f7e850e324 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -357,24 +357,29 @@ let instIdx := s.instImplicitIdx; modify $ fun s => { instImplicitIdx := s.instImplicitIdx + 1, .. s}; pure $ (`_inst).appendIndexAfter instIdx -private partial def isCDot (stx : Syntax) : Bool := -match_syntax stx with -| `(·) => true -| _ => false +private partial def hasCDot : Syntax → Bool +| Syntax.node k args => + if k == `Lean.Parser.Term.paren then false + else if k == `Lean.Parser.Term.cdot then true + else args.any hasCDot +| _ => false /-- Auxiliary function for expandind the `·` notation. The extra state `Array Syntax` contains the new binder names. If `stx` is a `·`, we create a fresh identifier, store in the extra state, and return it. Otherwise, we just return `stx`. -/ -private def expandCDot (stx : Syntax) : StateT (Array Syntax) TermElabM Syntax := -withFreshMacroScope $ - match_syntax stx with - | `(·) => do - id ← `(a); - modify $ fun s => s.push id; - pure id - | _ => pure stx +private partial def expandCDot : Syntax → StateT (Array Syntax) TermElabM Syntax +| stx@(Syntax.node k args) => + if k == `Lean.Parser.Term.paren then pure stx + else if k == `Lean.Parser.Term.cdot then withFreshMacroScope $ do + id ← `(a); + modify $ fun s => s.push id; + pure id + else do + args ← args.mapM expandCDot; + pure $ Syntax.node k args +| stx => pure stx /-- Return `some` if succeeded expanding `·` notation occurring in @@ -383,22 +388,11 @@ withFreshMacroScope $ - `· + 1` => `fun _a_1 => _a_1 + 1` - `f · · b` => `fun _a_1 _a_2 => f _a_1 _a_2 b` -/ def expandCDot? (stx : Syntax) : TermElabM (Option Syntax) := -match_syntax stx with -| `($f $args*) => - if args.any isCDot then do - (args, binders) ← (args.mapM expandCDot).run #[]; - `(fun $binders* => $f $args*) - else - pure none -| _ => match stx with - | Syntax.node k args => - if args.any isCDot then do - (args, binders) ← (args.mapM expandCDot).run #[]; - let newNode := Syntax.node k args; - `(fun $binders* => $newNode) - else - pure none - | _ => pure none +if hasCDot stx then do + (newStx, binders) ← (expandCDot stx).run #[]; + `(fun $binders* => $newStx) +else + pure none private def exceptionToSorry (ref : Syntax) (errMsg : Message) (expectedType? : Option Expr) : TermElabM Expr := do expectedType : Expr ← match expectedType? with @@ -727,6 +721,7 @@ mkPairsAux elems (elems.size - 1) elems.back Recall that in Lean the `·` notation must be surrounded by parentheses. We may change this is the future, but right now, here are valid examples - `(· + 1)` + - `(f ⟨·, 1⟩ ·)` - `(· + ·)` - `(f · a b)` -/ private def elabCDot (stx : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do diff --git a/stage0/src/Init/Lean/Elab/TermApp.lean b/stage0/src/Init/Lean/Elab/TermApp.lean index 1f5131d58e..ae9076e482 100644 --- a/stage0/src/Init/Lean/Elab/TermApp.lean +++ b/stage0/src/Init/Lean/Elab/TermApp.lean @@ -217,9 +217,9 @@ private partial def elabAppArgsAux : ElabAppArgsCtx → Expr → Expr → TermEl if h : ctx.argIdx < ctx.args.size then do argElab ← elabArg ctx.ref e (ctx.args.get ⟨ctx.argIdx, h⟩) d; elabAppArgsAux { argIdx := ctx.argIdx + 1, .. ctx } (mkApp e argElab) (b.instantiate1 argElab) - else match d.getOptParamDefault? with - | some defVal => elabAppArgsAux ctx (mkApp e defVal) (b.instantiate1 defVal) - | none => + else match ctx.explicit, d.getOptParamDefault? with + | false, some defVal => elabAppArgsAux ctx (mkApp e defVal) (b.instantiate1 defVal) + | _, _ => -- TODO: tactic auto param if ctx.namedArgs.isEmpty then finalize () diff --git a/stage0/src/Init/Lean/Expr.lean b/stage0/src/Init/Lean/Expr.lean index 053bbc3d20..3552cc9118 100644 --- a/stage0/src/Init/Lean/Expr.lean +++ b/stage0/src/Init/Lean/Expr.lean @@ -292,6 +292,7 @@ Expr.app f a $ mkData (mixHash 29 $ mixHash (hash f) (hash a)) (f.hasLevelParam || a.hasLevelParam) def mkLambda (x : Name) (bi : BinderInfo) (t : Expr) (b : Expr) : Expr := +let x := x.eraseMacroScopes; Expr.lam x t b $ mkDataForBinder (mixHash 31 $ mixHash (hash t) (hash b)) (Nat.max t.looseBVarRange (b.looseBVarRange - 1)) (t.hasFVar || b.hasFVar) @@ -301,6 +302,7 @@ Expr.lam x t b $ mkDataForBinder (mixHash 31 $ mixHash (hash t) (hash b)) bi def mkForall (x : Name) (bi : BinderInfo) (t : Expr) (b : Expr) : Expr := +let x := x.eraseMacroScopes; Expr.forallE x t b $ mkDataForBinder (mixHash 37 $ mixHash (hash t) (hash b)) (Nat.max t.looseBVarRange (b.looseBVarRange - 1)) (t.hasFVar || b.hasFVar) @@ -310,6 +312,7 @@ Expr.forallE x t b $ mkDataForBinder (mixHash 37 $ mixHash (hash t) (hash b)) bi def mkLet (x : Name) (t : Expr) (v : Expr) (b : Expr) (nonDep : Bool := false) : Expr := +let x := x.eraseMacroScopes; Expr.letE x t v b $ mkDataForLet (mixHash 41 $ mixHash (hash t) $ mixHash (hash v) (hash b)) (Nat.max (Nat.max t.looseBVarRange v.looseBVarRange) (b.looseBVarRange - 1)) (t.hasFVar || v.hasFVar || b.hasFVar) diff --git a/stage0/src/Init/Lean/Parser/Parser.lean b/stage0/src/Init/Lean/Parser/Parser.lean index b9f5cbe53a..8d6e662fb7 100644 --- a/stage0/src/Init/Lean/Parser/Parser.lean +++ b/stage0/src/Init/Lean/Parser/Parser.lean @@ -171,7 +171,7 @@ def mkNode (s : ParserState) (k : SyntaxNodeKind) (iniStackSz : Nat) : ParserSta match s with | ⟨stack, pos, cache, err⟩ => if err != none && stack.size == iniStackSz then - -- If there is an error but there are no new nodes on the stack, we just return `d` + -- If there is an error but there are no new nodes on the stack, we just return `s` s else let newNode := Syntax.node k (stack.extract iniStackSz stack.size); @@ -179,6 +179,14 @@ match s with let stack := stack.push newNode; ⟨stack, pos, cache, err⟩ +def mkTrailingNode (s : ParserState) (k : SyntaxNodeKind) (iniStackSz : Nat) : ParserState := +match s with +| ⟨stack, pos, cache, err⟩ => + let newNode := Syntax.node k (stack.extract (iniStackSz - 1) stack.size); + let stack := stack.shrink iniStackSz; + let stack := stack.push newNode; + ⟨stack, pos, cache, err⟩ + def mkError (s : ParserState) (msg : String) : ParserState := match s with | ⟨stack, pos, cache, _⟩ => ⟨stack, pos, cache, some { expected := [ msg ] }⟩ @@ -205,8 +213,8 @@ match s with end ParserState def ParserArg : ParserKind → Type -| ParserKind.leading => Nat -| ParserKind.trailing => Syntax +| ParserKind.leading => Nat +| ParserKind.trailing => Unit export ParserKind (leading trailing) @@ -271,7 +279,7 @@ abbrev TrailingParser := Parser trailing { firstTokens := FirstTokens.epsilon } @[inline] def pushLeadingFn : ParserFn trailing := -fun a c s => s.pushSyntax a +fun _ c s => s @[inline] def pushLeading : TrailingParser := { info := epsilonInfo, @@ -282,8 +290,8 @@ fun a c s => s.pushSyntax a fn := fun a => p.fn rbp } @[inline] def checkLeadingFn (p : Syntax → Bool) : ParserFn trailing := -fun a c s => - if p a then s +fun _ c s => + if p s.stxStack.back then s else s.mkUnexpectedError "invalid leading token" @[inline] def checkLeading (p : Syntax → Bool) : TrailingParser := @@ -314,7 +322,9 @@ instance hashAndthen {k : ParserKind} : HasAndthen (Parser k) := | a, c, s => let iniSz := s.stackSize; let s := p a c s; - s.mkNode n iniSz + match k with + | ParserKind.trailing => s.mkTrailingNode n iniSz + | ParserKind.leading => s.mkNode n iniSz @[noinline] def nodeInfo (n : SyntaxNodeKind) (p : ParserInfo) : ParserInfo := { collectTokens := p.collectTokens, @@ -1006,7 +1016,8 @@ def symbolNoWsInfo (sym : String) (lbpNoWs : Option Nat) : ParserInfo := firstTokens := FirstTokens.tokens [ { val := sym, lbpNoWs := lbpNoWs } ] } @[inline] def symbolNoWsFnAux (sym : String) (errorMsg : String) : ParserFn trailing := -fun left c s => +fun _ c s => + let left := s.stxStack.back; if checkTailNoWs left then let startPos := s.pos; let input := c.input; @@ -1379,40 +1390,45 @@ fun a c s => if ps.isEmpty then s.mkError (toString kind) else - let s := longestMatchFn ps a c s; + let s := longestMatchFn ps a c s; mkResult s iniSz def trailingLoopStep (tables : PrattParsingTables) (ps : List (Parser trailing)) : ParserFn trailing := -fun left c s => - orelseFn (longestMatchFn ps) (anyOfFn tables.trailingParsers) left c s +fun _ c s => + orelseFn (longestMatchFn ps) (anyOfFn tables.trailingParsers) () c s -partial def trailingLoop (tables : PrattParsingTables) (rbp : Nat) (c : ParserContext) : Syntax → ParserState → ParserState -| left, s => +private def mkTrailingResult (s : ParserState) (iniSz : Nat) : ParserState := +let s := mkResult s iniSz; +-- Stack contains `[..., left, result]` +-- We must remove `left` +let result := s.stxStack.back; +let s := s.popSyntax.popSyntax; +s.pushSyntax result + +partial def trailingLoop (tables : PrattParsingTables) (rbp : Nat) (c : ParserContext) : ParserState → ParserState +| s => + let left := s.stxStack.back; let (s, lbp) := currLbp left c s; - if rbp ≥ lbp then s.pushSyntax left + if rbp ≥ lbp then s else let iniSz := s.stackSize; let identAsSymbol := false; let (s, ps) := indexed tables.trailingTable c s identAsSymbol; if ps.isEmpty && tables.trailingParsers.isEmpty then - s.pushSyntax left -- no available trailing parser + s -- no available trailing parser else - let s := trailingLoopStep tables ps left c s; + let s := trailingLoopStep tables ps () c s; if s.hasError then s else - let s := mkResult s iniSz; - let left := s.stxStack.back; - let s := s.popSyntax; - trailingLoop left s + let s := mkTrailingResult s iniSz; + trailingLoop s def prattParser (kind : Name) (tables : PrattParsingTables) (leadingIdentAsSymbol : Bool) : ParserFn leading := fun rbp c s => let s := leadingParser kind tables leadingIdentAsSymbol rbp c s; if s.hasError then s else - let left := s.stxStack.back; - let s := s.popSyntax; - trailingLoop tables rbp c left s + trailingLoop tables rbp c s abbrev CategoryParserFn := Name → ParserFn leading @@ -1486,7 +1502,7 @@ private def antiquotExpr {k} : Parser k := antiquotId <|> antiquotNestedEx forms can also be used with an appended `*` to turn them into an antiquotation "splice". If `kind` is given, it will additionally be checked when evaluating `match_syntax`. -/ -def mkAntiquot {k : ParserKind} (name : String) (kind : Option SyntaxNodeKind) (anonymous := true) : Parser k := +def mkAntiquotAux (name : String) (kind : Option SyntaxNodeKind) (anonymous := true) : Parser := let kind := (kind.getD Name.anonymous) ++ `antiquot; let nameP := checkNoWsBefore ("no space before ':" ++ name ++ "'") >> symbolAux ":" >> nonReservedSymbol name; -- if parsing the kind fails and `anonymous` is true, check that we're not ignoring a different @@ -1495,6 +1511,11 @@ let nameP := if anonymous then nameP <|> noImmediateColon >> pushNone >> pushNon -- antiquotations are not part of the "standard" syntax, so hide "expected '$'" on error node kind $ try $ setExpected [] dollarSymbol >> checkNoWsBefore "no space before" >> antiquotExpr >> nameP >> optional (checkNoWsBefore "" >> "*") +def mkAntiquot {k : ParserKind} (name : String) (kind : Option SyntaxNodeKind) (anonymous := true) : Parser k := +match k with +| ParserKind.leading => mkAntiquotAux name kind anonymous +| ParserKind.trailing => toTrailing $ mkAntiquotAux name kind anonymous + /- ===================== -/ /- End of Antiquotations -/ /- ===================== -/ diff --git a/stage0/src/Init/Lean/Parser/Term.lean b/stage0/src/Init/Lean/Parser/Term.lean index 2ae423c07a..3cbcd98684 100644 --- a/stage0/src/Init/Lean/Parser/Term.lean +++ b/stage0/src/Init/Lean/Parser/Term.lean @@ -121,8 +121,8 @@ def bracketedDoSeq := parser! "{" >> doSeq >> "}" @[builtinTermParser] def bnot := parser! symbol "!" 40 >> termParser 40 @[builtinTermParser] def uminus := parser! "-" >> termParser 100 -def namedArgument := tparser! try ("(" >> ident >> " := ") >> termParser >> ")" -@[builtinTermParser] def app := tparser! pushLeading >> many1 (namedArgument <|> termParser appPrec) +def namedArgument := parser! try ("(" >> ident >> " := ") >> termParser >> ")" +@[builtinTermParser] def app := tparser! pushLeading >> many1 ((toTrailing namedArgument) <|> termParser appPrec) def checkIsSort := checkLeading (fun leading => leading.isOfKind `Lean.Parser.Term.type || leading.isOfKind `Lean.Parser.Term.sort) @[builtinTermParser] def sortApp := tparser! checkIsSort >> pushLeading >> levelParser appPrec diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index 18a09ec6ef..d757465b3a 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -77,7 +77,6 @@ lean_object* l___regBuiltinMacro_Lean_Elab_Term_ElabFComp___closed__1; extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Term_elabseqLeft___closed__3; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabPow___closed__1; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Lean_Parser_Term_where___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; extern lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__2; @@ -85,6 +84,7 @@ lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabModN___closed__1; extern lean_object* l_Lean_Parser_Term_show___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabMul___closed__2; extern lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_elabPow___closed__3; lean_object* lean_environment_find(lean_object*, lean_object*); @@ -189,6 +189,8 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabModN(lean_object*); extern lean_object* l_Lean_Parser_Term_div___elambda__1___closed__2; lean_object* l___regBuiltinMacro_Lean_Elab_Term_expandSubtype(lean_object*); +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_expandSubtype___closed__6; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -465,7 +467,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParserMacro(lean_object*) lean_object* l_Lean_Elab_Term_elabDo(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabBind___closed__1; lean_object* l_Lean_Elab_Term_elabMapConst___closed__1; -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_elabseqRight(lean_object*, lean_object*); lean_object* l___regBuiltinMacro_Lean_Elab_Term_expandHave(lean_object*); uint8_t l_List_beq___main___at_Lean_Elab_Term_elabParserMacro___spec__1(lean_object*, lean_object*); @@ -485,6 +486,7 @@ extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__3; lean_object* l_Lean_mkCTermIdFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCons(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l_Lean_Elab_Term_elabMod(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__7; extern lean_object* l_Lean_Parser_Term_map___elambda__1___closed__2; @@ -524,13 +526,11 @@ lean_object* l_Lean_Elab_Term_elabProd(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSub___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; -extern lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__2; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabDiv(lean_object*); lean_object* l_Lean_Elab_Term_elabNe___closed__1; lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_elabBEq___closed__1; lean_object* l_Lean_Elab_Term_elabNe___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabSub___closed__3; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_expandWhere___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_mod___elambda__1___closed__2; @@ -854,7 +854,7 @@ x_70 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_71 = lean_array_push(x_70, x_69); x_72 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_73 = lean_array_push(x_71, x_72); -x_74 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_74 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -926,7 +926,7 @@ x_113 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_114 = lean_array_push(x_113, x_112); x_115 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_116 = lean_array_push(x_114, x_115); -x_117 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_117 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); @@ -1024,7 +1024,7 @@ lean_object* l_Lean_Elab_Term_expandDollar(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_46; uint8_t x_47; -x_46 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; +x_46 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; lean_inc(x_1); x_47 = l_Lean_Syntax_isOfKind(x_1, x_46); if (x_47 == 0) @@ -1166,7 +1166,7 @@ lean_object* l___regBuiltinMacro_Lean_Elab_Term_expandDollar(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; x_3 = l___regBuiltinMacro_Lean_Elab_Term_expandDollar___closed__1; x_4 = l_Lean_Elab_addBuiltinMacro(x_2, x_3, x_1); return x_4; @@ -1194,7 +1194,7 @@ x_4 = l_Lean_Syntax_isOfKind(x_1, x_3); if (x_4 == 0) { uint8_t x_5; -x_5 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_5 = l_Lean_Elab_Term_elabParen___closed__4; if (x_5 == 0) { lean_object* x_6; @@ -1613,7 +1613,7 @@ x_90 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_91 = lean_array_push(x_90, x_89); x_92 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_93 = lean_array_push(x_91, x_92); -x_94 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_94 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_93); @@ -1924,7 +1924,7 @@ x_38 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_39 = lean_array_push(x_38, x_37); x_40 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_41 = lean_array_push(x_39, x_40); -x_42 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_42 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -2090,7 +2090,7 @@ x_110 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_111 = lean_array_push(x_110, x_109); x_112 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_113 = lean_array_push(x_111, x_112); -x_114 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_114 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); @@ -2914,7 +2914,7 @@ x_27 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_28 = lean_array_push(x_27, x_26); x_29 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_30 = lean_array_push(x_28, x_29); -x_31 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_31 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -2932,7 +2932,7 @@ x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); x_42 = lean_array_push(x_16, x_41); -x_43 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_43 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_44 = lean_array_push(x_42, x_43); x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_23); @@ -3145,7 +3145,7 @@ x_39 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_40 = lean_array_push(x_39, x_38); x_41 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_42 = lean_array_push(x_40, x_41); -x_43 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_43 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); @@ -3252,7 +3252,7 @@ x_95 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_96 = lean_array_push(x_95, x_94); x_97 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_98 = lean_array_push(x_96, x_97); -x_99 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_99 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); @@ -3394,7 +3394,7 @@ x_162 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_163 = lean_array_push(x_162, x_161); x_164 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_165 = lean_array_push(x_163, x_164); -x_166 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_166 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_167 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_167, 0, x_166); lean_ctor_set(x_167, 1, x_165); @@ -3496,7 +3496,7 @@ x_215 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_216 = lean_array_push(x_215, x_214); x_217 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_218 = lean_array_push(x_216, x_217); -x_219 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_219 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_220 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_220, 0, x_219); lean_ctor_set(x_220, 1, x_218); @@ -4218,7 +4218,7 @@ lean_ctor_set(x_38, 2, x_34); lean_ctor_set(x_38, 3, x_37); x_39 = l_Array_empty___closed__1; x_40 = lean_array_push(x_39, x_38); -x_41 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_41 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_42 = lean_array_push(x_40, x_41); x_43 = l_Lean_mkTermIdFromIdent___closed__2; x_44 = lean_alloc_ctor(1, 2, 0); @@ -4322,7 +4322,7 @@ x_94 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_95 = lean_array_push(x_94, x_93); x_96 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_97 = lean_array_push(x_95, x_96); -x_98 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_98 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -4412,7 +4412,7 @@ x_141 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_142 = lean_array_push(x_141, x_140); x_143 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_144 = lean_array_push(x_142, x_143); -x_145 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_145 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); @@ -4513,7 +4513,7 @@ x_193 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_194 = lean_array_push(x_193, x_192); x_195 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_196 = lean_array_push(x_194, x_195); -x_197 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_197 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_198 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_198, 0, x_197); lean_ctor_set(x_198, 1, x_196); @@ -4621,7 +4621,7 @@ x_250 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_251 = lean_array_push(x_250, x_249); x_252 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_253 = lean_array_push(x_251, x_252); -x_254 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_254 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_254); lean_ctor_set(x_255, 1, x_253); @@ -4936,7 +4936,7 @@ lean_ctor_set(x_28, 2, x_25); lean_ctor_set(x_28, 3, x_27); x_29 = l_Array_empty___closed__1; x_30 = lean_array_push(x_29, x_28); -x_31 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_31 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_32 = lean_array_push(x_30, x_31); x_33 = l_Lean_mkTermIdFromIdent___closed__2; x_34 = lean_alloc_ctor(1, 2, 0); @@ -4977,7 +4977,7 @@ lean_ctor_set(x_50, 2, x_47); lean_ctor_set(x_50, 3, x_49); x_51 = l_Array_empty___closed__1; x_52 = lean_array_push(x_51, x_50); -x_53 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_53 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_54 = lean_array_push(x_52, x_53); x_55 = l_Lean_mkTermIdFromIdent___closed__2; x_56 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index b831708aca..89f44d8e0f 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -31,6 +31,7 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Command_elabComma extern lean_object* l_Lean_Meta_check___closed__1; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getOptions(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; extern lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__3; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__3; @@ -77,7 +78,6 @@ lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_o lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Command_withNamespace___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l___private_Init_Lean_Elab_Command_10__toCommandResult(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__2; @@ -197,6 +197,7 @@ lean_object* l_Lean_Elab_Command_CommandElabM_inhabited(lean_object*); lean_object* l_Lean_Elab_Command_Lean_Elab_MonadMacroAdapter___closed__2; lean_object* l_Lean_Elab_Command_mkBuiltinCommandElabTable(lean_object*); lean_object* l_Lean_Elab_Command_addOpenDecl(lean_object*, lean_object*, lean_object*); +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariables___closed__3; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__9; @@ -324,6 +325,7 @@ extern lean_object* l_Lean_Parser_Command_open___elambda__1___closed__2; uint8_t l_Array_contains___at_Lean_findField_x3f___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__1; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Command_elabEnd___closed__2; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -377,7 +379,6 @@ extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__4; lean_object* l___private_Init_Lean_Elab_Command_2__getState(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Command_elabCommand___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___closed__2; extern lean_object* l_Bool_HasRepr___closed__1; extern lean_object* l_Lean_Syntax_inhabited; @@ -473,7 +474,6 @@ lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(lean_o extern lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__2; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__3(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Command_setOption___closed__3; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Command_4__modifyGetState___rarg(lean_object*, lean_object*, lean_object*); @@ -3395,7 +3395,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -3500,7 +3500,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3827,7 +3827,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); @@ -8999,7 +8999,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_6 = l_Lean_Elab_Term_elabParen___closed__4; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; @@ -9177,7 +9177,7 @@ if (x_11 == 0) { uint8_t x_14; lean_dec(x_9); -x_14 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_14 = l_Lean_Elab_Term_elabParen___closed__4; if (x_14 == 0) { lean_object* x_15; lean_object* x_16; diff --git a/stage0/stdlib/Init/Lean/Elab/Declaration.c b/stage0/stdlib/Init/Lean/Elab/Declaration.c index 46701b79f4..9be6d6476a 100644 --- a/stage0/stdlib/Init/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Init/Lean/Elab/Declaration.c @@ -134,10 +134,10 @@ lean_object* l_Lean_Elab_Command_elabDeclaration___boxed(lean_object*, lean_obje extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__2; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l_Lean_Elab_Command_elabConstant___closed__5; lean_object* l_Lean_Elab_Command_elabInductive(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__1; @@ -532,7 +532,7 @@ lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); x_25 = l_Array_empty___closed__1; x_26 = lean_array_push(x_25, x_24); -x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_28 = lean_array_push(x_26, x_27); x_29 = l_Lean_mkTermIdFromIdent___closed__2; x_30 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Init/Lean/Elab/Level.c b/stage0/stdlib/Init/Lean/Elab/Level.c index e825398f33..65f4c83fd6 100644 --- a/stage0/stdlib/Init/Lean/Elab/Level.c +++ b/stage0/stdlib/Init/Lean/Elab/Level.c @@ -59,7 +59,6 @@ lean_object* l_Lean_Level_addOffsetAux___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_LevelElabM_MonadLog___closed__8; lean_object* l_Lean_Elab_Level_mkFreshId(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___main___closed__3; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Level_LevelElabM_MonadLog___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_LevelElabM_MonadLog___closed__1; uint8_t l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7(lean_object*, lean_object*); @@ -96,6 +95,7 @@ lean_object* l_Lean_Elab_Level_LevelElabM_MonadLog___lambda__2___boxed(lean_obje lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Level_elabLevel___main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___main___closed__4; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Level_elabLevel___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___main___closed__2; lean_object* l_Lean_Elab_Level_elabLevel___main___closed__8; @@ -1264,7 +1264,7 @@ x_75 = l_Lean_Syntax_getArg(x_1, x_74); lean_dec(x_1); x_76 = l_Lean_Syntax_getArgs(x_75); lean_dec(x_75); -x_77 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_76); +x_77 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_76); x_78 = l_Lean_Elab_Level_elabLevel___main(x_77, x_2, x_3); if (lean_obj_tag(x_78) == 0) { @@ -1330,7 +1330,7 @@ x_93 = l_Lean_Syntax_getArg(x_1, x_92); lean_dec(x_1); x_94 = l_Lean_Syntax_getArgs(x_93); lean_dec(x_93); -x_95 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_94); +x_95 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_94); x_96 = l_Lean_Elab_Level_elabLevel___main(x_95, x_2, x_3); if (lean_obj_tag(x_96) == 0) { diff --git a/stage0/stdlib/Init/Lean/Elab/Match.c b/stage0/stdlib/Init/Lean/Elab/Match.c index ee99d19841..be095288ec 100644 --- a/stage0/stdlib/Init/Lean/Elab/Match.c +++ b/stage0/stdlib/Init/Lean/Elab/Match.c @@ -17,7 +17,6 @@ lean_object* l___private_Init_Lean_Elab_Match_2__expandSimpleMatchWithType___clo lean_object* l_Lean_Elab_Term_elabMatch(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatch(lean_object*); extern lean_object* l_Lean_identKind___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__6; lean_object* lean_array_push(lean_object*, lean_object*); @@ -25,6 +24,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatch___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__1; @@ -51,9 +51,9 @@ extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Match_1__expandSimpleMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l___private_Init_Lean_Elab_Match_2__expandSimpleMatchWithType___closed__2; lean_object* _init_l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__1() { _start: @@ -131,7 +131,7 @@ lean_inc(x_11); lean_dec(x_10); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_3); -x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = lean_array_push(x_15, x_14); x_17 = l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__4; @@ -257,7 +257,7 @@ lean_inc(x_12); lean_dec(x_11); x_13 = l_Array_empty___closed__1; x_14 = lean_array_push(x_13, x_3); -x_15 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_15 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_16 = lean_array_push(x_14, x_15); x_17 = l___private_Init_Lean_Elab_Match_2__expandSimpleMatchWithType___closed__2; x_18 = lean_array_push(x_17, x_4); @@ -769,7 +769,7 @@ if (x_54 == 0) { uint8_t x_55; lean_dec(x_52); -x_55 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_55 = l_Lean_Elab_Term_elabParen___closed__4; if (x_55 == 0) { lean_object* x_56; @@ -1064,7 +1064,7 @@ if (x_127 == 0) { uint8_t x_128; lean_dec(x_126); -x_128 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_128 = l_Lean_Elab_Term_elabParen___closed__4; if (x_128 == 0) { lean_object* x_129; @@ -1395,7 +1395,7 @@ if (x_215 == 0) { uint8_t x_216; lean_dec(x_214); -x_216 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_216 = l_Lean_Elab_Term_elabParen___closed__4; if (x_216 == 0) { lean_object* x_217; @@ -1683,7 +1683,7 @@ if (x_285 == 0) { uint8_t x_286; lean_dec(x_284); -x_286 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_286 = l_Lean_Elab_Term_elabParen___closed__4; if (x_286 == 0) { lean_object* x_287; diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 80bf35828e..b3a4ce2fe3 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -86,7 +86,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___cl extern lean_object* l_Lean_nameToExprAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__50; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_7__getHeadInfo___spec__2___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__21; @@ -178,6 +177,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__2___ extern lean_object* l_Nat_HasOfNat___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_elabParen___closed__5; lean_object* l_Lean_Elab_Term_Quotation_oldExpandMatchSyntax___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); @@ -220,8 +220,9 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed_ lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__51; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_elabParen___closed__4; +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_Quotation_elabStxQuot___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -318,7 +319,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed_ lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); extern lean_object* l_Lean_Elab_Exception_hasToString___closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; extern lean_object* l_PersistentArray_empty___closed__3; @@ -391,6 +391,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___close lean_object* l_List_join___main___rarg(lean_object*); lean_object* l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___rarg___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; @@ -517,7 +518,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_10__getPatternVarsAux___main__ extern lean_object* l_List_foldlM___main___at_Lean_parseSearchPath___spec__7___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__7; -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -544,6 +544,7 @@ lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_mkCTermIdFrom(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_Quotation_isAntiquotSplicePat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -591,10 +592,10 @@ lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___cl lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__37; extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm___boxed(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__3___closed__1; extern lean_object* l_Lean_mkAppStx___closed__1; uint8_t l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(lean_object*, lean_object*); +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand(lean_object*, lean_object*, lean_object*); lean_object* l_List_zipWith___main___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__8; @@ -605,7 +606,6 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* lean_expand_match_syntax(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__4___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__6; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8___closed__3; @@ -2701,7 +2701,7 @@ lean_ctor_set(x_25, 2, x_21); lean_ctor_set(x_25, 3, x_24); x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); -x_28 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_28 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_29 = lean_array_push(x_27, x_28); x_30 = l_Lean_mkTermIdFromIdent___closed__2; lean_ctor_set(x_1, 1, x_29); @@ -2857,7 +2857,7 @@ lean_ctor_set(x_95, 2, x_91); lean_ctor_set(x_95, 3, x_94); x_96 = l_Array_empty___closed__1; x_97 = lean_array_push(x_96, x_95); -x_98 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_98 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_99 = lean_array_push(x_97, x_98); x_100 = l_Lean_mkTermIdFromIdent___closed__2; x_101 = lean_alloc_ctor(1, 2, 0); @@ -3026,7 +3026,7 @@ lean_ctor_set(x_157, 2, x_154); lean_ctor_set(x_157, 3, x_156); x_158 = l_Array_empty___closed__1; x_159 = lean_array_push(x_158, x_157); -x_160 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_160 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_161 = lean_array_push(x_159, x_160); x_162 = l_Lean_mkTermIdFromIdent___closed__2; lean_ctor_set_tag(x_1, 1); @@ -3090,7 +3090,7 @@ lean_ctor_set(x_191, 2, x_188); lean_ctor_set(x_191, 3, x_190); x_192 = l_Array_empty___closed__1; x_193 = lean_array_push(x_192, x_191); -x_194 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_194 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_195 = lean_array_push(x_193, x_194); x_196 = l_Lean_mkTermIdFromIdent___closed__2; lean_ctor_set_tag(x_1, 1); @@ -3175,7 +3175,7 @@ lean_ctor_set(x_232, 2, x_229); lean_ctor_set(x_232, 3, x_231); x_233 = l_Array_empty___closed__1; x_234 = lean_array_push(x_233, x_232); -x_235 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_235 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_236 = lean_array_push(x_234, x_235); x_237 = l_Lean_mkTermIdFromIdent___closed__2; x_238 = lean_alloc_ctor(1, 2, 0); @@ -3286,7 +3286,7 @@ lean_ctor_set(x_1, 1, x_288); lean_ctor_set(x_1, 0, x_284); x_290 = l_Array_empty___closed__1; x_291 = lean_array_push(x_290, x_1); -x_292 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_292 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_293 = lean_array_push(x_291, x_292); x_294 = l_Lean_mkTermIdFromIdent___closed__2; x_295 = lean_alloc_ctor(1, 2, 0); @@ -3376,7 +3376,7 @@ x_340 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_341 = lean_array_push(x_340, x_339); x_342 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_343 = lean_array_push(x_341, x_342); -x_344 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_344 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_345 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_345, 0, x_344); lean_ctor_set(x_345, 1, x_343); @@ -3437,7 +3437,7 @@ lean_ctor_set(x_1, 1, x_371); lean_ctor_set(x_1, 0, x_367); x_373 = l_Array_empty___closed__1; x_374 = lean_array_push(x_373, x_1); -x_375 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_375 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_376 = lean_array_push(x_374, x_375); x_377 = l_Lean_mkTermIdFromIdent___closed__2; x_378 = lean_alloc_ctor(1, 2, 0); @@ -3527,7 +3527,7 @@ x_423 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_424 = lean_array_push(x_423, x_422); x_425 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_426 = lean_array_push(x_424, x_425); -x_427 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_427 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_428 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); @@ -3637,7 +3637,7 @@ lean_ctor_set(x_477, 2, x_473); lean_ctor_set(x_477, 3, x_476); x_478 = l_Array_empty___closed__1; x_479 = lean_array_push(x_478, x_477); -x_480 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_480 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_481 = lean_array_push(x_479, x_480); x_482 = l_Lean_mkTermIdFromIdent___closed__2; x_483 = lean_alloc_ctor(1, 2, 0); @@ -3727,7 +3727,7 @@ x_528 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_529 = lean_array_push(x_528, x_527); x_530 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_531 = lean_array_push(x_529, x_530); -x_532 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_532 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_533 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_533, 0, x_532); lean_ctor_set(x_533, 1, x_531); @@ -4194,7 +4194,7 @@ lean_ctor_set(x_22, 2, x_18); lean_ctor_set(x_22, 3, x_21); x_23 = l_Array_empty___closed__1; x_24 = lean_array_push(x_23, x_22); -x_25 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_25 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_26 = lean_array_push(x_24, x_25); x_27 = l_Lean_mkTermIdFromIdent___closed__2; x_28 = lean_alloc_ctor(1, 2, 0); @@ -4318,7 +4318,7 @@ x_93 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_94 = lean_array_push(x_93, x_92); x_95 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_96 = lean_array_push(x_94, x_95); -x_97 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_97 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -4379,7 +4379,7 @@ lean_ctor_set(x_123, 2, x_119); lean_ctor_set(x_123, 3, x_122); x_124 = l_Array_empty___closed__1; x_125 = lean_array_push(x_124, x_123); -x_126 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_126 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_127 = lean_array_push(x_125, x_126); x_128 = l_Lean_mkTermIdFromIdent___closed__2; x_129 = lean_alloc_ctor(1, 2, 0); @@ -4503,7 +4503,7 @@ x_194 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_195 = lean_array_push(x_194, x_193); x_196 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_197 = lean_array_push(x_195, x_196); -x_198 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_198 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_199 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_199, 0, x_198); lean_ctor_set(x_199, 1, x_197); @@ -4943,7 +4943,7 @@ x_10 = lean_ctor_get(x_8, 0); x_11 = lean_box(0); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_1); -x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = lean_array_push(x_15, x_14); x_17 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -4991,7 +4991,7 @@ lean_dec(x_8); x_40 = lean_box(0); x_41 = l_Array_empty___closed__1; x_42 = lean_array_push(x_41, x_1); -x_43 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_43 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_44 = lean_array_push(x_42, x_43); x_45 = lean_array_push(x_44, x_43); x_46 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -5240,7 +5240,7 @@ lean_inc(x_1); x_18 = lean_name_mk_string(x_1, x_17); x_19 = l_Array_empty___closed__1; x_20 = lean_array_push(x_19, x_2); -x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_22 = lean_array_push(x_20, x_21); x_23 = lean_array_push(x_22, x_21); x_24 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -5329,7 +5329,7 @@ lean_inc(x_1); x_69 = lean_name_mk_string(x_1, x_68); x_70 = l_Array_empty___closed__1; x_71 = lean_array_push(x_70, x_2); -x_72 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_72 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_73 = lean_array_push(x_71, x_72); x_74 = lean_array_push(x_73, x_72); x_75 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -5489,7 +5489,7 @@ x_16 = l_Lean_Parser_Term_letIdDecl___closed__1; x_17 = lean_name_mk_string(x_1, x_16); x_18 = l_Array_empty___closed__1; x_19 = lean_array_push(x_18, x_2); -x_20 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_20 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_21 = lean_array_push(x_19, x_20); x_22 = lean_array_push(x_21, x_20); x_23 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -5539,7 +5539,7 @@ x_46 = l_Lean_Parser_Term_letIdDecl___closed__1; x_47 = lean_name_mk_string(x_1, x_46); x_48 = l_Array_empty___closed__1; x_49 = lean_array_push(x_48, x_2); -x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_51 = lean_array_push(x_49, x_50); x_52 = lean_array_push(x_51, x_50); x_53 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -5739,7 +5739,7 @@ x_45 = lean_box(0); x_46 = lean_name_eq(x_44, x_45); lean_dec(x_44); x_47 = l_Lean_Syntax_getArg(x_14, x_13); -x_48 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_48 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_inc(x_47); x_49 = l_Lean_Syntax_isOfKind(x_47, x_48); x_50 = l_Lean_Elab_Term_Quotation_isAntiquotSplice(x_14); @@ -5846,7 +5846,7 @@ x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); if (x_68 == 0) { uint8_t x_69; -x_69 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_69 = l_Lean_Elab_Term_elabParen___closed__4; if (x_69 == 0) { lean_dec(x_66); @@ -5923,7 +5923,7 @@ if (x_86 == 0) { uint8_t x_87; lean_dec(x_85); -x_87 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_87 = l_Lean_Elab_Term_elabParen___closed__4; if (x_87 == 0) { lean_dec(x_84); @@ -7208,7 +7208,7 @@ lean_ctor_set(x_21, 2, x_17); lean_ctor_set(x_21, 3, x_20); x_22 = l_Array_empty___closed__1; x_23 = lean_array_push(x_22, x_21); -x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_25 = lean_array_push(x_23, x_24); x_26 = l_Lean_mkTermIdFromIdent___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); @@ -7310,7 +7310,7 @@ lean_ctor_set(x_70, 2, x_66); lean_ctor_set(x_70, 3, x_69); x_71 = l_Array_empty___closed__1; x_72 = lean_array_push(x_71, x_70); -x_73 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_73 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_74 = lean_array_push(x_72, x_73); x_75 = l_Lean_mkTermIdFromIdent___closed__2; x_76 = lean_alloc_ctor(1, 2, 0); @@ -7881,7 +7881,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__13; -x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -8336,7 +8336,7 @@ lean_ctor_set(x_64, 2, x_62); lean_ctor_set(x_64, 3, x_27); x_65 = l_Array_empty___closed__1; x_66 = lean_array_push(x_65, x_64); -x_67 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_67 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_68 = lean_array_push(x_66, x_67); x_69 = lean_array_push(x_68, x_67); x_70 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -8377,7 +8377,7 @@ lean_ctor_set(x_88, 2, x_86); lean_ctor_set(x_88, 3, x_27); x_89 = l_Array_empty___closed__1; x_90 = lean_array_push(x_89, x_88); -x_91 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_91 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_92 = lean_array_push(x_90, x_91); x_93 = lean_array_push(x_92, x_91); x_94 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -8472,7 +8472,7 @@ lean_ctor_set(x_130, 2, x_127); lean_ctor_set(x_130, 3, x_129); x_131 = l_Array_empty___closed__1; x_132 = lean_array_push(x_131, x_130); -x_133 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_133 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_134 = lean_array_push(x_132, x_133); x_135 = l_Lean_mkTermIdFromIdent___closed__2; x_136 = lean_alloc_ctor(1, 2, 0); @@ -8756,7 +8756,7 @@ lean_ctor_set(x_271, 2, x_268); lean_ctor_set(x_271, 3, x_270); x_272 = l_Array_empty___closed__1; x_273 = lean_array_push(x_272, x_271); -x_274 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_274 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_275 = lean_array_push(x_273, x_274); x_276 = l_Lean_mkTermIdFromIdent___closed__2; x_277 = lean_alloc_ctor(1, 2, 0); @@ -9072,7 +9072,7 @@ lean_ctor_set(x_388, 2, x_386); lean_ctor_set(x_388, 3, x_27); x_389 = l_Array_empty___closed__1; x_390 = lean_array_push(x_389, x_388); -x_391 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_391 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_392 = lean_array_push(x_390, x_391); x_393 = lean_array_push(x_392, x_391); x_394 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -9199,7 +9199,7 @@ lean_ctor_set(x_436, 2, x_433); lean_ctor_set(x_436, 3, x_435); x_437 = l_Array_empty___closed__1; x_438 = lean_array_push(x_437, x_436); -x_439 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_439 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_440 = lean_array_push(x_438, x_439); x_441 = l_Lean_mkTermIdFromIdent___closed__2; x_442 = lean_alloc_ctor(1, 2, 0); @@ -9553,7 +9553,7 @@ lean_ctor_set(x_563, 2, x_561); lean_ctor_set(x_563, 3, x_526); x_564 = l_Array_empty___closed__1; x_565 = lean_array_push(x_564, x_563); -x_566 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_566 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_567 = lean_array_push(x_565, x_566); x_568 = lean_array_push(x_567, x_566); x_569 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -9594,7 +9594,7 @@ lean_ctor_set(x_587, 2, x_585); lean_ctor_set(x_587, 3, x_526); x_588 = l_Array_empty___closed__1; x_589 = lean_array_push(x_588, x_587); -x_590 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_590 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_591 = lean_array_push(x_589, x_590); x_592 = lean_array_push(x_591, x_590); x_593 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -9689,7 +9689,7 @@ lean_ctor_set(x_629, 2, x_626); lean_ctor_set(x_629, 3, x_628); x_630 = l_Array_empty___closed__1; x_631 = lean_array_push(x_630, x_629); -x_632 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_632 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_633 = lean_array_push(x_631, x_632); x_634 = l_Lean_mkTermIdFromIdent___closed__2; x_635 = lean_alloc_ctor(1, 2, 0); @@ -9775,7 +9775,7 @@ x_679 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_680 = lean_array_push(x_679, x_678); x_681 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_682 = lean_array_push(x_680, x_681); -x_683 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_683 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_684 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_684, 0, x_683); lean_ctor_set(x_684, 1, x_682); @@ -10062,7 +10062,7 @@ lean_ctor_set(x_823, 2, x_820); lean_ctor_set(x_823, 3, x_822); x_824 = l_Array_empty___closed__1; x_825 = lean_array_push(x_824, x_823); -x_826 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_826 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_827 = lean_array_push(x_825, x_826); x_828 = l_Lean_mkTermIdFromIdent___closed__2; x_829 = lean_alloc_ctor(1, 2, 0); @@ -10148,7 +10148,7 @@ x_873 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_874 = lean_array_push(x_873, x_872); x_875 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_876 = lean_array_push(x_874, x_875); -x_877 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_877 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_878 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_878, 0, x_877); lean_ctor_set(x_878, 1, x_876); @@ -10469,7 +10469,7 @@ lean_ctor_set(x_993, 2, x_991); lean_ctor_set(x_993, 3, x_526); x_994 = l_Array_empty___closed__1; x_995 = lean_array_push(x_994, x_993); -x_996 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_996 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_997 = lean_array_push(x_995, x_996); x_998 = lean_array_push(x_997, x_996); x_999 = l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__4; @@ -10596,7 +10596,7 @@ lean_ctor_set(x_1041, 2, x_1038); lean_ctor_set(x_1041, 3, x_1040); x_1042 = l_Array_empty___closed__1; x_1043 = lean_array_push(x_1042, x_1041); -x_1044 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1044 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1045 = lean_array_push(x_1043, x_1044); x_1046 = l_Lean_mkTermIdFromIdent___closed__2; x_1047 = lean_alloc_ctor(1, 2, 0); @@ -10682,7 +10682,7 @@ x_1091 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43 x_1092 = lean_array_push(x_1091, x_1090); x_1093 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_1094 = lean_array_push(x_1092, x_1093); -x_1095 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1095 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_1096 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1096, 0, x_1095); lean_ctor_set(x_1096, 1, x_1094); @@ -11078,7 +11078,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_7 = l_Lean_Syntax_inhabited; x_8 = lean_unsigned_to_nat(1u); x_9 = lean_array_get(x_7, x_2, x_8); -x_10 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_10 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -11195,7 +11195,7 @@ if (x_31 == 0) { uint8_t x_32; lean_dec(x_29); -x_32 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_32 = l_Lean_Elab_Term_elabParen___closed__4; if (x_32 == 0) { lean_object* x_33; uint8_t x_34; @@ -11471,7 +11471,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; -x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -11490,7 +11490,7 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_2 = l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11657,7 +11657,7 @@ lean_ctor_set(x_27, 2, x_24); lean_ctor_set(x_27, 3, x_25); x_28 = l_Array_empty___closed__1; x_29 = lean_array_push(x_28, x_27); -x_30 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_30 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_31 = lean_array_push(x_29, x_30); x_32 = l_Lean_mkTermIdFromIdent___closed__2; x_33 = lean_alloc_ctor(1, 2, 0); @@ -12623,7 +12623,7 @@ lean_ctor_set(x_425, 2, x_422); lean_ctor_set(x_425, 3, x_423); x_426 = l_Array_empty___closed__1; x_427 = lean_array_push(x_426, x_425); -x_428 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_428 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_429 = lean_array_push(x_427, x_428); x_430 = l_Lean_mkTermIdFromIdent___closed__2; x_431 = lean_alloc_ctor(1, 2, 0); @@ -13093,7 +13093,7 @@ lean_ctor_set(x_603, 2, x_600); lean_ctor_set(x_603, 3, x_601); x_604 = l_Array_empty___closed__1; x_605 = lean_array_push(x_604, x_603); -x_606 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_606 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_607 = lean_array_push(x_605, x_606); x_608 = l_Lean_mkTermIdFromIdent___closed__2; x_609 = lean_alloc_ctor(1, 2, 0); @@ -15067,7 +15067,7 @@ x_72 = lean_string_dec_eq(x_28, x_71); if (x_72 == 0) { lean_object* x_73; uint8_t x_74; -x_73 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_73 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_74 = lean_string_dec_eq(x_28, x_73); if (x_74 == 0) { @@ -15308,7 +15308,7 @@ lean_dec(x_142); lean_dec(x_2); x_148 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_149 = lean_name_mk_string(x_27, x_148); -x_150 = l_Lean_Elab_Term_elabParen___closed__4; +x_150 = l_Lean_Elab_Term_elabParen___closed__5; x_151 = lean_name_mk_string(x_149, x_150); x_152 = lean_box(0); x_153 = l_Lean_mkConst(x_151, x_152); @@ -17509,7 +17509,7 @@ x_771 = lean_string_dec_eq(x_28, x_770); if (x_771 == 0) { lean_object* x_772; uint8_t x_773; -x_772 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_772 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_773 = lean_string_dec_eq(x_28, x_772); if (x_773 == 0) { @@ -17748,7 +17748,7 @@ lean_dec(x_842); lean_dec(x_2); x_848 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_849 = lean_name_mk_string(x_27, x_848); -x_850 = l_Lean_Elab_Term_elabParen___closed__4; +x_850 = l_Lean_Elab_Term_elabParen___closed__5; x_851 = lean_name_mk_string(x_849, x_850); x_852 = lean_box(0); x_853 = l_Lean_mkConst(x_851, x_852); @@ -19357,7 +19357,7 @@ x_1280 = lean_string_dec_eq(x_28, x_1279); if (x_1280 == 0) { lean_object* x_1281; uint8_t x_1282; -x_1281 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1281 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_1282 = lean_string_dec_eq(x_28, x_1281); if (x_1282 == 0) { @@ -19604,7 +19604,7 @@ lean_dec(x_1352); lean_dec(x_2); x_1358 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_1359 = lean_name_mk_string(x_27, x_1358); -x_1360 = l_Lean_Elab_Term_elabParen___closed__4; +x_1360 = l_Lean_Elab_Term_elabParen___closed__5; x_1361 = lean_name_mk_string(x_1359, x_1360); x_1362 = lean_box(0); x_1363 = l_Lean_mkConst(x_1361, x_1362); @@ -21239,7 +21239,7 @@ x_1795 = lean_string_dec_eq(x_28, x_1794); if (x_1795 == 0) { lean_object* x_1796; uint8_t x_1797; -x_1796 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1796 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_1797 = lean_string_dec_eq(x_28, x_1796); if (x_1797 == 0) { @@ -21493,7 +21493,7 @@ lean_dec(x_1868); lean_dec(x_2); x_1874 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_1875 = lean_name_mk_string(x_27, x_1874); -x_1876 = l_Lean_Elab_Term_elabParen___closed__4; +x_1876 = l_Lean_Elab_Term_elabParen___closed__5; x_1877 = lean_name_mk_string(x_1875, x_1876); x_1878 = lean_box(0); x_1879 = l_Lean_mkConst(x_1877, x_1878); @@ -23154,7 +23154,7 @@ x_2317 = lean_string_dec_eq(x_28, x_2316); if (x_2317 == 0) { lean_object* x_2318; uint8_t x_2319; -x_2318 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2318 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_2319 = lean_string_dec_eq(x_28, x_2318); if (x_2319 == 0) { @@ -23414,7 +23414,7 @@ lean_dec(x_2391); lean_dec(x_2); x_2397 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_2398 = lean_name_mk_string(x_27, x_2397); -x_2399 = l_Lean_Elab_Term_elabParen___closed__4; +x_2399 = l_Lean_Elab_Term_elabParen___closed__5; x_2400 = lean_name_mk_string(x_2398, x_2399); x_2401 = lean_box(0); x_2402 = l_Lean_mkConst(x_2400, x_2401); @@ -25040,7 +25040,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); lean_dec(x_11); -x_15 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_13); +x_15 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_13); lean_dec(x_13); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 7cef4ff232..c3386a6b3c 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -17,7 +17,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__45; lean_object* l_Lean_Elab_Command_elabSyntax___closed__11; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__95; -extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__2; @@ -38,7 +37,6 @@ lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_4__withFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___closed__2; -extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__2; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandNotation___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getOptions(lean_object*, lean_object*); extern lean_object* l_Lean_Macro_throwUnsupported___closed__1; @@ -52,7 +50,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__75; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; -extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(lean_object*); extern lean_object* l_Lean_Elab_Term_elabArrayLit___closed__13; lean_object* l_Lean_mkTermIdFromIdent(lean_object*); @@ -77,17 +74,17 @@ extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersA lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; extern lean_object* l_Lean_Elab_registerBuiltinMacroAttr___lambda__1___closed__5; uint8_t lean_name_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_Macro_mkFreshKind(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_4__withFirst___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__104; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__13; extern lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; @@ -95,7 +92,6 @@ lean_object* l_Lean_Elab_Command_elabSyntax___closed__7; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__5(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__101; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_5__withNoPushLeading(lean_object*); @@ -130,6 +126,7 @@ lean_object* l___private_Init_Lean_Elab_Syntax_8__regTraceClasses(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__20; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +extern lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__81; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__6; @@ -195,6 +192,7 @@ lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__100; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__53; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*); +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__42; @@ -246,7 +244,6 @@ extern lean_object* l_Lean_strLitKind___closed__1; extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__1; @@ -264,6 +261,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__56; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__66; lean_object* l_Nat_repr(lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__11; +extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; extern lean_object* l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*); @@ -272,6 +270,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__37; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__4; lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); +extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__7; lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; @@ -404,11 +403,12 @@ lean_object* l_Lean_Elab_Command_getMainModule(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_3__markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; extern lean_object* l_Lean_Elab_Term_elabArrayLit___closed__12; -extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__1; extern lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__8; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -489,7 +489,6 @@ lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___main___boxed(lean_ lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__84; lean_object* l_Lean_Elab_Command_setEnv(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; @@ -513,6 +512,7 @@ extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___main___closed__2; lean_object* l___private_Init_LeanInit_14__filterSepElemsMAux___main___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; lean_object* l_Lean_Elab_Command_mkFreshKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMixfix(lean_object*, lean_object*); @@ -546,6 +546,7 @@ extern lean_object* l_Lean_mkAppStx___closed__2; extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__23; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__1; +extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; extern lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___rarg___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__44; @@ -576,7 +577,6 @@ lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_o lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__59; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__82; extern lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__2; -extern lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Elab_Command_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(lean_object* x_1) { _start: @@ -764,7 +764,7 @@ lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); x_25 = l_Array_empty___closed__1; x_26 = lean_array_push(x_25, x_24); -x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_28 = lean_array_push(x_26, x_27); x_29 = l_Lean_mkTermIdFromIdent___closed__2; x_30 = lean_alloc_ctor(1, 2, 0); @@ -1382,7 +1382,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Parser_Syntax_optional___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1392,7 +1392,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Parser_Syntax_optional___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1457,7 +1457,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Parser_Syntax_many1___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1467,7 +1467,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Parser_Syntax_many1___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1532,7 +1532,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Parser_Syntax_many___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1542,7 +1542,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Parser_Syntax_many___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2737,22 +2737,22 @@ x_32 = lean_name_eq(x_6, x_31); if (x_32 == 0) { lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; +x_33 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; x_34 = lean_name_eq(x_6, x_33); if (x_34 == 0) { lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +x_35 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; x_36 = lean_name_eq(x_6, x_35); if (x_36 == 0) { lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +x_37 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; x_38 = lean_name_eq(x_6, x_37); if (x_38 == 0) { lean_object* x_39; uint8_t x_40; -x_39 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +x_39 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; x_40 = lean_name_eq(x_6, x_39); if (x_40 == 0) { @@ -2858,7 +2858,7 @@ lean_ctor_set(x_77, 2, x_74); lean_ctor_set(x_77, 3, x_76); x_78 = l_Array_empty___closed__1; x_79 = lean_array_push(x_78, x_77); -x_80 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_80 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_81 = lean_array_push(x_79, x_80); x_82 = l_Lean_mkTermIdFromIdent___closed__2; x_83 = lean_alloc_ctor(1, 2, 0); @@ -2900,7 +2900,7 @@ lean_ctor_set(x_99, 2, x_96); lean_ctor_set(x_99, 3, x_98); x_100 = l_Array_empty___closed__1; x_101 = lean_array_push(x_100, x_99); -x_102 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_102 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_103 = lean_array_push(x_101, x_102); x_104 = l_Lean_mkTermIdFromIdent___closed__2; x_105 = lean_alloc_ctor(1, 2, 0); @@ -2965,7 +2965,7 @@ lean_ctor_set(x_129, 2, x_126); lean_ctor_set(x_129, 3, x_128); x_130 = l_Array_empty___closed__1; x_131 = lean_array_push(x_130, x_129); -x_132 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_132 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_133 = lean_array_push(x_131, x_132); x_134 = l_Lean_mkTermIdFromIdent___closed__2; x_135 = lean_alloc_ctor(1, 2, 0); @@ -3136,7 +3136,7 @@ lean_ctor_set(x_185, 2, x_182); lean_ctor_set(x_185, 3, x_184); x_186 = l_Array_empty___closed__1; x_187 = lean_array_push(x_186, x_185); -x_188 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_188 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_189 = lean_array_push(x_187, x_188); x_190 = l_Lean_mkTermIdFromIdent___closed__2; x_191 = lean_alloc_ctor(1, 2, 0); @@ -3280,7 +3280,7 @@ lean_ctor_set(x_230, 2, x_227); lean_ctor_set(x_230, 3, x_229); x_231 = l_Array_empty___closed__1; x_232 = lean_array_push(x_231, x_230); -x_233 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_233 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_234 = lean_array_push(x_232, x_233); x_235 = l_Lean_mkTermIdFromIdent___closed__2; x_236 = lean_alloc_ctor(1, 2, 0); @@ -3321,7 +3321,7 @@ lean_ctor_set(x_251, 2, x_248); lean_ctor_set(x_251, 3, x_250); x_252 = l_Array_empty___closed__1; x_253 = lean_array_push(x_252, x_251); -x_254 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_254 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_255 = lean_array_push(x_253, x_254); x_256 = l_Lean_mkTermIdFromIdent___closed__2; x_257 = lean_alloc_ctor(1, 2, 0); @@ -3385,7 +3385,7 @@ lean_ctor_set(x_280, 2, x_277); lean_ctor_set(x_280, 3, x_279); x_281 = l_Array_empty___closed__1; x_282 = lean_array_push(x_281, x_280); -x_283 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_283 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_284 = lean_array_push(x_282, x_283); x_285 = l_Lean_mkTermIdFromIdent___closed__2; x_286 = lean_alloc_ctor(1, 2, 0); @@ -3507,7 +3507,7 @@ lean_ctor_set(x_323, 2, x_320); lean_ctor_set(x_323, 3, x_322); x_324 = l_Array_empty___closed__1; x_325 = lean_array_push(x_324, x_323); -x_326 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_326 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_327 = lean_array_push(x_325, x_326); x_328 = l_Lean_mkTermIdFromIdent___closed__2; x_329 = lean_alloc_ctor(1, 2, 0); @@ -3621,7 +3621,7 @@ lean_ctor_set(x_363, 2, x_360); lean_ctor_set(x_363, 3, x_362); x_364 = l_Array_empty___closed__1; x_365 = lean_array_push(x_364, x_363); -x_366 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_366 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_367 = lean_array_push(x_365, x_366); x_368 = l_Lean_mkTermIdFromIdent___closed__2; x_369 = lean_alloc_ctor(1, 2, 0); @@ -3662,7 +3662,7 @@ lean_ctor_set(x_384, 2, x_381); lean_ctor_set(x_384, 3, x_383); x_385 = l_Array_empty___closed__1; x_386 = lean_array_push(x_385, x_384); -x_387 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_387 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_388 = lean_array_push(x_386, x_387); x_389 = l_Lean_mkTermIdFromIdent___closed__2; x_390 = lean_alloc_ctor(1, 2, 0); @@ -3726,7 +3726,7 @@ lean_ctor_set(x_413, 2, x_410); lean_ctor_set(x_413, 3, x_412); x_414 = l_Array_empty___closed__1; x_415 = lean_array_push(x_414, x_413); -x_416 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_416 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_417 = lean_array_push(x_415, x_416); x_418 = l_Lean_mkTermIdFromIdent___closed__2; x_419 = lean_alloc_ctor(1, 2, 0); @@ -3848,7 +3848,7 @@ lean_ctor_set(x_456, 2, x_453); lean_ctor_set(x_456, 3, x_455); x_457 = l_Array_empty___closed__1; x_458 = lean_array_push(x_457, x_456); -x_459 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_459 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_460 = lean_array_push(x_458, x_459); x_461 = l_Lean_mkTermIdFromIdent___closed__2; x_462 = lean_alloc_ctor(1, 2, 0); @@ -3962,7 +3962,7 @@ lean_ctor_set(x_496, 2, x_493); lean_ctor_set(x_496, 3, x_495); x_497 = l_Array_empty___closed__1; x_498 = lean_array_push(x_497, x_496); -x_499 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_499 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_500 = lean_array_push(x_498, x_499); x_501 = l_Lean_mkTermIdFromIdent___closed__2; x_502 = lean_alloc_ctor(1, 2, 0); @@ -4003,7 +4003,7 @@ lean_ctor_set(x_517, 2, x_514); lean_ctor_set(x_517, 3, x_516); x_518 = l_Array_empty___closed__1; x_519 = lean_array_push(x_518, x_517); -x_520 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_520 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_521 = lean_array_push(x_519, x_520); x_522 = l_Lean_mkTermIdFromIdent___closed__2; x_523 = lean_alloc_ctor(1, 2, 0); @@ -4067,7 +4067,7 @@ lean_ctor_set(x_546, 2, x_543); lean_ctor_set(x_546, 3, x_545); x_547 = l_Array_empty___closed__1; x_548 = lean_array_push(x_547, x_546); -x_549 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_549 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_550 = lean_array_push(x_548, x_549); x_551 = l_Lean_mkTermIdFromIdent___closed__2; x_552 = lean_alloc_ctor(1, 2, 0); @@ -4189,7 +4189,7 @@ lean_ctor_set(x_589, 2, x_586); lean_ctor_set(x_589, 3, x_588); x_590 = l_Array_empty___closed__1; x_591 = lean_array_push(x_590, x_589); -x_592 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_592 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_593 = lean_array_push(x_591, x_592); x_594 = l_Lean_mkTermIdFromIdent___closed__2; x_595 = lean_alloc_ctor(1, 2, 0); @@ -4323,7 +4323,7 @@ lean_ctor_set(x_637, 2, x_634); lean_ctor_set(x_637, 3, x_636); x_638 = l_Array_empty___closed__1; x_639 = lean_array_push(x_638, x_637); -x_640 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_640 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_641 = lean_array_push(x_639, x_640); x_642 = l_Lean_mkTermIdFromIdent___closed__2; x_643 = lean_alloc_ctor(1, 2, 0); @@ -4365,7 +4365,7 @@ lean_ctor_set(x_659, 2, x_656); lean_ctor_set(x_659, 3, x_658); x_660 = l_Array_empty___closed__1; x_661 = lean_array_push(x_660, x_659); -x_662 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_662 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_663 = lean_array_push(x_661, x_662); x_664 = l_Lean_mkTermIdFromIdent___closed__2; x_665 = lean_alloc_ctor(1, 2, 0); @@ -4430,7 +4430,7 @@ lean_ctor_set(x_689, 2, x_686); lean_ctor_set(x_689, 3, x_688); x_690 = l_Array_empty___closed__1; x_691 = lean_array_push(x_690, x_689); -x_692 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_692 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_693 = lean_array_push(x_691, x_692); x_694 = l_Lean_mkTermIdFromIdent___closed__2; x_695 = lean_alloc_ctor(1, 2, 0); @@ -4601,7 +4601,7 @@ lean_ctor_set(x_745, 2, x_742); lean_ctor_set(x_745, 3, x_744); x_746 = l_Array_empty___closed__1; x_747 = lean_array_push(x_746, x_745); -x_748 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_748 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_749 = lean_array_push(x_747, x_748); x_750 = l_Lean_mkTermIdFromIdent___closed__2; x_751 = lean_alloc_ctor(1, 2, 0); @@ -4765,7 +4765,7 @@ lean_ctor_set(x_798, 2, x_795); lean_ctor_set(x_798, 3, x_797); x_799 = l_Array_empty___closed__1; x_800 = lean_array_push(x_799, x_798); -x_801 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_801 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_802 = lean_array_push(x_800, x_801); x_803 = l_Lean_mkTermIdFromIdent___closed__2; x_804 = lean_alloc_ctor(1, 2, 0); @@ -4807,7 +4807,7 @@ lean_ctor_set(x_820, 2, x_817); lean_ctor_set(x_820, 3, x_819); x_821 = l_Array_empty___closed__1; x_822 = lean_array_push(x_821, x_820); -x_823 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_823 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_824 = lean_array_push(x_822, x_823); x_825 = l_Lean_mkTermIdFromIdent___closed__2; x_826 = lean_alloc_ctor(1, 2, 0); @@ -4872,7 +4872,7 @@ lean_ctor_set(x_850, 2, x_847); lean_ctor_set(x_850, 3, x_849); x_851 = l_Array_empty___closed__1; x_852 = lean_array_push(x_851, x_850); -x_853 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_853 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_854 = lean_array_push(x_852, x_853); x_855 = l_Lean_mkTermIdFromIdent___closed__2; x_856 = lean_alloc_ctor(1, 2, 0); @@ -5043,7 +5043,7 @@ lean_ctor_set(x_906, 2, x_903); lean_ctor_set(x_906, 3, x_905); x_907 = l_Array_empty___closed__1; x_908 = lean_array_push(x_907, x_906); -x_909 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_909 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_910 = lean_array_push(x_908, x_909); x_911 = l_Lean_mkTermIdFromIdent___closed__2; x_912 = lean_alloc_ctor(1, 2, 0); @@ -5187,7 +5187,7 @@ lean_ctor_set(x_951, 2, x_948); lean_ctor_set(x_951, 3, x_950); x_952 = l_Array_empty___closed__1; x_953 = lean_array_push(x_952, x_951); -x_954 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_954 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_955 = lean_array_push(x_953, x_954); x_956 = l_Lean_mkTermIdFromIdent___closed__2; x_957 = lean_alloc_ctor(1, 2, 0); @@ -5228,7 +5228,7 @@ lean_ctor_set(x_972, 2, x_969); lean_ctor_set(x_972, 3, x_971); x_973 = l_Array_empty___closed__1; x_974 = lean_array_push(x_973, x_972); -x_975 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_975 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_976 = lean_array_push(x_974, x_975); x_977 = l_Lean_mkTermIdFromIdent___closed__2; x_978 = lean_alloc_ctor(1, 2, 0); @@ -5292,7 +5292,7 @@ lean_ctor_set(x_1001, 2, x_998); lean_ctor_set(x_1001, 3, x_1000); x_1002 = l_Array_empty___closed__1; x_1003 = lean_array_push(x_1002, x_1001); -x_1004 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1004 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1005 = lean_array_push(x_1003, x_1004); x_1006 = l_Lean_mkTermIdFromIdent___closed__2; x_1007 = lean_alloc_ctor(1, 2, 0); @@ -5414,7 +5414,7 @@ lean_ctor_set(x_1044, 2, x_1041); lean_ctor_set(x_1044, 3, x_1043); x_1045 = l_Array_empty___closed__1; x_1046 = lean_array_push(x_1045, x_1044); -x_1047 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1047 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1048 = lean_array_push(x_1046, x_1047); x_1049 = l_Lean_mkTermIdFromIdent___closed__2; x_1050 = lean_alloc_ctor(1, 2, 0); @@ -5528,7 +5528,7 @@ lean_ctor_set(x_1084, 2, x_1081); lean_ctor_set(x_1084, 3, x_1083); x_1085 = l_Array_empty___closed__1; x_1086 = lean_array_push(x_1085, x_1084); -x_1087 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1087 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1088 = lean_array_push(x_1086, x_1087); x_1089 = l_Lean_mkTermIdFromIdent___closed__2; x_1090 = lean_alloc_ctor(1, 2, 0); @@ -5569,7 +5569,7 @@ lean_ctor_set(x_1105, 2, x_1102); lean_ctor_set(x_1105, 3, x_1104); x_1106 = l_Array_empty___closed__1; x_1107 = lean_array_push(x_1106, x_1105); -x_1108 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1108 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1109 = lean_array_push(x_1107, x_1108); x_1110 = l_Lean_mkTermIdFromIdent___closed__2; x_1111 = lean_alloc_ctor(1, 2, 0); @@ -5633,7 +5633,7 @@ lean_ctor_set(x_1134, 2, x_1131); lean_ctor_set(x_1134, 3, x_1133); x_1135 = l_Array_empty___closed__1; x_1136 = lean_array_push(x_1135, x_1134); -x_1137 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1137 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1138 = lean_array_push(x_1136, x_1137); x_1139 = l_Lean_mkTermIdFromIdent___closed__2; x_1140 = lean_alloc_ctor(1, 2, 0); @@ -5755,7 +5755,7 @@ lean_ctor_set(x_1177, 2, x_1174); lean_ctor_set(x_1177, 3, x_1176); x_1178 = l_Array_empty___closed__1; x_1179 = lean_array_push(x_1178, x_1177); -x_1180 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1180 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1181 = lean_array_push(x_1179, x_1180); x_1182 = l_Lean_mkTermIdFromIdent___closed__2; x_1183 = lean_alloc_ctor(1, 2, 0); @@ -5847,7 +5847,7 @@ lean_ctor_set(x_1208, 2, x_1205); lean_ctor_set(x_1208, 3, x_1207); x_1209 = l_Array_empty___closed__1; x_1210 = lean_array_push(x_1209, x_1208); -x_1211 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1211 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1212 = lean_array_push(x_1210, x_1211); x_1213 = l_Lean_mkTermIdFromIdent___closed__2; x_1214 = lean_alloc_ctor(1, 2, 0); @@ -5880,7 +5880,7 @@ lean_ctor_set(x_1224, 2, x_1221); lean_ctor_set(x_1224, 3, x_1223); x_1225 = l_Array_empty___closed__1; x_1226 = lean_array_push(x_1225, x_1224); -x_1227 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1227 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1228 = lean_array_push(x_1226, x_1227); x_1229 = l_Lean_mkTermIdFromIdent___closed__2; x_1230 = lean_alloc_ctor(1, 2, 0); @@ -5928,7 +5928,7 @@ lean_ctor_set(x_1245, 2, x_1242); lean_ctor_set(x_1245, 3, x_1244); x_1246 = l_Array_empty___closed__1; x_1247 = lean_array_push(x_1246, x_1245); -x_1248 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1248 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1249 = lean_array_push(x_1247, x_1248); x_1250 = l_Lean_mkTermIdFromIdent___closed__2; x_1251 = lean_alloc_ctor(1, 2, 0); @@ -5961,7 +5961,7 @@ lean_ctor_set(x_1261, 2, x_1258); lean_ctor_set(x_1261, 3, x_1260); x_1262 = l_Array_empty___closed__1; x_1263 = lean_array_push(x_1262, x_1261); -x_1264 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1264 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1265 = lean_array_push(x_1263, x_1264); x_1266 = l_Lean_mkTermIdFromIdent___closed__2; x_1267 = lean_alloc_ctor(1, 2, 0); @@ -6009,7 +6009,7 @@ lean_ctor_set(x_1282, 2, x_1279); lean_ctor_set(x_1282, 3, x_1281); x_1283 = l_Array_empty___closed__1; x_1284 = lean_array_push(x_1283, x_1282); -x_1285 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1285 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1286 = lean_array_push(x_1284, x_1285); x_1287 = l_Lean_mkTermIdFromIdent___closed__2; x_1288 = lean_alloc_ctor(1, 2, 0); @@ -6042,7 +6042,7 @@ lean_ctor_set(x_1298, 2, x_1295); lean_ctor_set(x_1298, 3, x_1297); x_1299 = l_Array_empty___closed__1; x_1300 = lean_array_push(x_1299, x_1298); -x_1301 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1301 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1302 = lean_array_push(x_1300, x_1301); x_1303 = l_Lean_mkTermIdFromIdent___closed__2; x_1304 = lean_alloc_ctor(1, 2, 0); @@ -6090,7 +6090,7 @@ lean_ctor_set(x_1319, 2, x_1316); lean_ctor_set(x_1319, 3, x_1318); x_1320 = l_Array_empty___closed__1; x_1321 = lean_array_push(x_1320, x_1319); -x_1322 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1322 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1323 = lean_array_push(x_1321, x_1322); x_1324 = l_Lean_mkTermIdFromIdent___closed__2; x_1325 = lean_alloc_ctor(1, 2, 0); @@ -6123,7 +6123,7 @@ lean_ctor_set(x_1335, 2, x_1332); lean_ctor_set(x_1335, 3, x_1334); x_1336 = l_Array_empty___closed__1; x_1337 = lean_array_push(x_1336, x_1335); -x_1338 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1338 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1339 = lean_array_push(x_1337, x_1338); x_1340 = l_Lean_mkTermIdFromIdent___closed__2; x_1341 = lean_alloc_ctor(1, 2, 0); @@ -6237,7 +6237,7 @@ lean_ctor_set(x_1471, 2, x_1468); lean_ctor_set(x_1471, 3, x_1470); x_1472 = l_Array_empty___closed__1; x_1473 = lean_array_push(x_1472, x_1471); -x_1474 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1474 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1475 = lean_array_push(x_1473, x_1474); x_1476 = l_Lean_mkTermIdFromIdent___closed__2; x_1477 = lean_alloc_ctor(1, 2, 0); @@ -6305,7 +6305,7 @@ lean_ctor_set(x_1508, 2, x_1505); lean_ctor_set(x_1508, 3, x_1507); x_1509 = l_Array_empty___closed__1; x_1510 = lean_array_push(x_1509, x_1508); -x_1511 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1511 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1512 = lean_array_push(x_1510, x_1511); x_1513 = l_Lean_mkTermIdFromIdent___closed__2; x_1514 = lean_alloc_ctor(1, 2, 0); @@ -6399,7 +6399,7 @@ lean_ctor_set(x_1369, 2, x_1366); lean_ctor_set(x_1369, 3, x_1368); x_1370 = l_Array_empty___closed__1; x_1371 = lean_array_push(x_1370, x_1369); -x_1372 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1372 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1373 = lean_array_push(x_1371, x_1372); x_1374 = l_Lean_mkTermIdFromIdent___closed__2; x_1375 = lean_alloc_ctor(1, 2, 0); @@ -6449,7 +6449,7 @@ lean_ctor_set(x_1397, 2, x_1394); lean_ctor_set(x_1397, 3, x_1396); x_1398 = l_Array_empty___closed__1; x_1399 = lean_array_push(x_1398, x_1397); -x_1400 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1400 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1401 = lean_array_push(x_1399, x_1400); x_1402 = l_Lean_mkTermIdFromIdent___closed__2; x_1403 = lean_alloc_ctor(1, 2, 0); @@ -6515,7 +6515,7 @@ lean_ctor_set(x_1430, 2, x_1427); lean_ctor_set(x_1430, 3, x_1429); x_1431 = l_Array_empty___closed__1; x_1432 = lean_array_push(x_1431, x_1430); -x_1433 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1433 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1434 = lean_array_push(x_1432, x_1433); x_1435 = l_Lean_mkTermIdFromIdent___closed__2; x_1436 = lean_alloc_ctor(1, 2, 0); @@ -6789,7 +6789,7 @@ lean_ctor_set(x_1650, 2, x_1647); lean_ctor_set(x_1650, 3, x_1649); x_1651 = l_Array_empty___closed__1; x_1652 = lean_array_push(x_1651, x_1650); -x_1653 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1653 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1654 = lean_array_push(x_1652, x_1653); x_1655 = l_Lean_mkTermIdFromIdent___closed__2; x_1656 = lean_alloc_ctor(1, 2, 0); @@ -6819,7 +6819,7 @@ lean_ctor_set(x_1664, 2, x_1661); lean_ctor_set(x_1664, 3, x_1663); x_1665 = l_Array_empty___closed__1; x_1666 = lean_array_push(x_1665, x_1664); -x_1667 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1667 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1668 = lean_array_push(x_1666, x_1667); x_1669 = l_Lean_mkTermIdFromIdent___closed__2; x_1670 = lean_alloc_ctor(1, 2, 0); @@ -6870,7 +6870,7 @@ lean_ctor_set(x_1685, 2, x_1682); lean_ctor_set(x_1685, 3, x_1684); x_1686 = l_Array_empty___closed__1; x_1687 = lean_array_push(x_1686, x_1685); -x_1688 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1688 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1689 = lean_array_push(x_1687, x_1688); x_1690 = l_Lean_mkTermIdFromIdent___closed__2; x_1691 = lean_alloc_ctor(1, 2, 0); @@ -6949,7 +6949,7 @@ lean_ctor_set(x_1569, 2, x_1566); lean_ctor_set(x_1569, 3, x_1568); x_1570 = l_Array_empty___closed__1; x_1571 = lean_array_push(x_1570, x_1569); -x_1572 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1572 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1573 = lean_array_push(x_1571, x_1572); x_1574 = l_Lean_mkTermIdFromIdent___closed__2; x_1575 = lean_alloc_ctor(1, 2, 0); @@ -7007,7 +7007,7 @@ lean_ctor_set(x_1600, 2, x_1597); lean_ctor_set(x_1600, 3, x_1599); x_1601 = l_Array_empty___closed__1; x_1602 = lean_array_push(x_1601, x_1600); -x_1603 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1603 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1604 = lean_array_push(x_1602, x_1603); x_1605 = l_Lean_mkTermIdFromIdent___closed__2; x_1606 = lean_alloc_ctor(1, 2, 0); @@ -7710,7 +7710,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -8523,7 +8523,7 @@ lean_ctor_set(x_36, 2, x_32); lean_ctor_set(x_36, 3, x_35); x_37 = l_Array_empty___closed__1; x_38 = lean_array_push(x_37, x_36); -x_39 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_39 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_40 = lean_array_push(x_38, x_39); x_41 = l_Lean_mkTermIdFromIdent___closed__2; x_42 = lean_alloc_ctor(1, 2, 0); @@ -8893,7 +8893,7 @@ lean_ctor_set(x_174, 2, x_170); lean_ctor_set(x_174, 3, x_173); x_175 = l_Array_empty___closed__1; x_176 = lean_array_push(x_175, x_174); -x_177 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_177 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_178 = lean_array_push(x_176, x_177); x_179 = l_Lean_mkTermIdFromIdent___closed__2; x_180 = lean_alloc_ctor(1, 2, 0); @@ -10223,7 +10223,7 @@ lean_ctor_set(x_39, 0, x_25); lean_ctor_set(x_39, 1, x_38); x_40 = l_Lean_Elab_Command_elabSyntax___closed__6; x_41 = lean_array_push(x_40, x_39); -x_42 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_42 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_42); x_45 = lean_array_push(x_44, x_42); @@ -10448,7 +10448,7 @@ lean_ctor_set(x_171, 0, x_157); lean_ctor_set(x_171, 1, x_170); x_172 = l_Lean_Elab_Command_elabSyntax___closed__6; x_173 = lean_array_push(x_172, x_171); -x_174 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_174 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_175 = lean_array_push(x_173, x_174); x_176 = lean_array_push(x_175, x_174); x_177 = lean_array_push(x_176, x_174); @@ -10728,7 +10728,7 @@ x_8 = l_Lean_Syntax_isOfKind(x_6, x_7); if (x_8 == 0) { uint8_t x_9; -x_9 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_9 = l_Lean_Elab_Term_elabParen___closed__4; if (x_9 == 0) { lean_object* x_10; lean_object* x_11; @@ -11700,7 +11700,7 @@ if (x_18 == 0) { uint8_t x_21; lean_dec(x_16); -x_21 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_21 = l_Lean_Elab_Term_elabParen___closed__4; if (x_21 == 0) { lean_object* x_22; lean_object* x_23; @@ -11847,7 +11847,7 @@ if (x_63 == 0) { uint8_t x_66; lean_dec(x_62); -x_66 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_66 = l_Lean_Elab_Term_elabParen___closed__4; if (x_66 == 0) { lean_object* x_67; lean_object* x_68; @@ -12503,7 +12503,7 @@ if (x_44 == 0) { uint8_t x_45; lean_dec(x_27); -x_45 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_45 = l_Lean_Elab_Term_elabParen___closed__4; if (x_45 == 0) { lean_dec(x_15); @@ -12644,7 +12644,7 @@ x_36 = lean_array_push(x_35, x_34); x_37 = l_Lean_mkOptionalNode___closed__1; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Parser_mkAntiquot___closed__1; +x_40 = l_Lean_Parser_mkAntiquotAux___closed__1; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -12982,7 +12982,7 @@ x_21 = lean_array_push(x_20, x_19); x_22 = l_Lean_mkOptionalNode___closed__1; x_23 = lean_array_push(x_21, x_22); x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_mkAntiquot___closed__1; +x_25 = l_Lean_Parser_mkAntiquotAux___closed__1; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -13946,7 +13946,7 @@ x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_mkOptionalNode___closed__1; x_16 = lean_array_push(x_14, x_15); x_17 = lean_array_push(x_16, x_15); -x_18 = l_Lean_Parser_mkAntiquot___closed__1; +x_18 = l_Lean_Parser_mkAntiquotAux___closed__1; x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index 5b2085834c..2eaaca0332 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -24,6 +24,7 @@ lean_object* l_Lean_Elab_Tactic_getLocalInsts___boxed(lean_object*, lean_object* lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__4(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__3; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(lean_object*, lean_object*); @@ -59,7 +60,6 @@ lean_object* l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing(lean_obj lean_object* l_Lean_Elab_Tactic_focus(lean_object*); lean_object* l_Lean_Elab_Tactic_getLCtx___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadQuotation___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l___private_Init_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,6 +143,7 @@ lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__7; extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; lean_object* l_List_findM_x3f___main___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__2; +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1___boxed(lean_object*, lean_object*); @@ -216,6 +217,7 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalTraceState___closed__3; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalCase___closed__3; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; +extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__8; extern lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__2; @@ -237,6 +239,7 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalSkip___closed__1; extern lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_monadLog___closed__1; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_save___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__5; lean_object* l_mkHashMapImp___rarg(lean_object*); @@ -272,7 +275,6 @@ lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__4; lean_object* l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__1; @@ -326,7 +328,6 @@ uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxN lean_object* l_Lean_Elab_Tactic_addBuiltinTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_modifyMCtx(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_getOptions___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__2; lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -365,7 +366,6 @@ lean_object* l_Lean_Elab_Tactic_EStateM_Backtrackable___closed__2; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3166,7 +3166,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Tactic_addBuiltinTactic___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -3271,7 +3271,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Tactic_addBuiltinTactic___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3590,7 +3590,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); @@ -13522,7 +13522,7 @@ if (x_12 == 0) if (x_10 == 0) { uint8_t x_13; -x_13 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_13 = l_Lean_Elab_Term_elabParen___closed__4; if (x_13 == 0) { lean_object* x_14; @@ -14896,13 +14896,13 @@ lean_object* l_Lean_Elab_Tactic_evalOrelse(lean_object* x_1, lean_object* x_2, l _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; +x_4 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_6 = l_Lean_Elab_Term_elabParen___closed__4; if (x_6 == 0) { lean_object* x_7; @@ -15021,7 +15021,7 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse(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_Parser_Tactic_orelse___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__2; x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__3; x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index 1152f1270c..4bd6790615 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -29,7 +29,6 @@ lean_object* l_Lean_Elab_Term_monadQuotation; lean_object* l_Lean_Elab_Term_elabRawNumLit___closed__1; lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; -uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum(lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry___main(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__1; @@ -44,6 +43,7 @@ lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawCharLit___closed__3; lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Elab_Term_State_inhabited; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_object*); @@ -57,6 +57,7 @@ lean_object* l_Lean_Elab_Term_elabArrayLit___closed__13; lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__1; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_5__expandCDot___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__6; lean_object* l_Lean_Elab_Term_monadLog___lambda__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; @@ -97,11 +98,10 @@ lean_object* l_mkHashMap___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__2(le lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__2; -uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; uint8_t l_List_elem___main___at_Lean_addAliasEntry___spec__18(lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_4__isCDot___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole___closed__1; @@ -177,15 +177,16 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fr lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l_Lean_Elab_Term_withIncRecDepth(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1; lean_object* l_Lean_Elab_Term_elabSort___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMCtx(lean_object*); size_t l_USize_shiftRight(size_t, size_t); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; lean_object* l_Lean_Elab_Term_withLCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__6; lean_object* l_Lean_Elab_Term_monadLog___closed__10; @@ -213,7 +214,6 @@ lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__3; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; @@ -259,12 +259,13 @@ lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___boxed(lean_object*, lean_ lean_object* l_Lean_Elab_Term_tryCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabParen___closed__4; +uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_termIdToAntiquot___closed__4; lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -394,7 +395,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawCharLit___closed__3; lean_object* l_Lean_Elab_Term_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___rarg___closed__1; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); extern lean_object* l_Lean_Elab_Exception_hasToString___closed__1; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__3(lean_object*, size_t, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; @@ -426,8 +426,8 @@ lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2 lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__6; extern lean_object* l_Lean_Options_empty; +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__7; -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*); @@ -450,6 +450,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit___closed__2; lean_object* l_Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__1; @@ -517,11 +518,12 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object*); lean_object* l_Lean_Elab_Term_withLCtx(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__1; @@ -548,7 +550,6 @@ lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__5; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; uint8_t l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2(lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__3; @@ -558,7 +559,6 @@ lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__9; lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1; lean_object* l_Lean_Elab_Term_mkConst___closed__5; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__5(lean_object*, lean_object*); @@ -590,7 +590,6 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object* lean_object* l_Lean_Elab_Term_elabNamedHole(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_setState___closed__1; lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -615,7 +614,6 @@ extern lean_object* l_Lean_Meta_evalNat___main___closed__8; lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_4__isCDot(lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*); @@ -625,7 +623,6 @@ lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Term_elabListLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_LevelDefEq_10__processPostponedStep___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__2; lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1; @@ -634,6 +631,8 @@ extern lean_object* l_Lean_mkAppStx___closed__9; lean_object* l_Lean_Elab_Term_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object*); extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); @@ -662,7 +661,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawCharLit___closed__1; lean_object* l_Lean_Elab_Term_monadLog___closed__11; lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__2; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr(lean_object*); @@ -686,7 +684,6 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__11; -lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_isDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx___boxed(lean_object*, lean_object*); @@ -719,6 +716,7 @@ extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__2; uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_9__tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__4; +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l___private_Init_Lean_Elab_Term_9__tryCoeSort___closed__2; extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3; @@ -756,7 +754,6 @@ extern lean_object* l_Lean_levelOne; lean_object* l_Lean_Message_toString(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_char___elambda__1___closed__2; -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Term_trace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__3___boxed(lean_object*, lean_object*); @@ -773,6 +770,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); @@ -785,6 +783,7 @@ lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___boxed(lean_object* extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; extern lean_object* l_Lean_initAttr; extern lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___closed__3; @@ -798,16 +797,17 @@ lean_object* l_Lean_Elab_Term_getMCtx___rarg(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__4; lean_object* l_Lean_Elab_Term_monadLog___closed__4; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__7; +lean_object* l_Lean_Elab_Term_elabParen___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_9__tryCoeSort___closed__1; @@ -2804,7 +2804,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Term_addBuiltinTermElab___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -2909,7 +2909,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Term_addBuiltinTermElab___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3236,7 +3236,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); @@ -9743,759 +9743,7 @@ lean_dec(x_1); return x_2; } } -uint8_t _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__1() { -_start: -{ -uint8_t x_1; uint8_t x_2; -x_1 = 0; -x_2 = l_coeDecidableEq(x_1); -return x_2; -} -} -uint8_t _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__2() { -_start: -{ -uint8_t x_1; -x_1 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_1 == 0) -{ -uint8_t x_2; -x_2 = 0; -return x_2; -} -else -{ -uint8_t x_3; -x_3 = 1; -return x_3; -} -} -} -uint8_t l___private_Init_Lean_Elab_Term_4__isCDot(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; -x_2 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; -lean_inc(x_1); -x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); -if (x_3 == 0) -{ -uint8_t x_4; -lean_dec(x_1); -x_4 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__2; -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; -x_5 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_6 = lean_array_get_size(x_5); -lean_dec(x_5); -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_dec_eq(x_6, x_7); -lean_dec(x_6); -x_9 = l_coeDecidableEq(x_8); -if (x_9 == 0) -{ -uint8_t x_10; -x_10 = 0; -return x_10; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_4__isCDot___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_4__isCDot(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_IO_Prim_fopenFlags___closed__12; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_IO_Prim_fopenFlags___closed__12; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_IO_Prim_fopenFlags___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Array_empty___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot(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; uint8_t x_7; -x_5 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; -lean_inc(x_1); -x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_ctor_get(x_4, 5); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_8, x_9); -lean_ctor_set(x_4, 5, x_10); -x_11 = !lean_is_exclusive(x_3); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_3, 9); -lean_dec(x_12); -lean_ctor_set(x_3, 9, x_8); -if (x_6 == 0) -{ -uint8_t x_72; -x_72 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_3); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_1); -lean_ctor_set(x_73, 1, x_2); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_4); -return x_74; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_1); -x_75 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4); -lean_dec(x_3); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_2); -x_13 = x_78; -x_14 = x_77; -goto block_71; -} -} -else -{ -lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_82; -x_79 = l_Lean_Syntax_getArgs(x_1); -x_80 = lean_array_get_size(x_79); -lean_dec(x_79); -x_81 = lean_nat_dec_eq(x_80, x_9); -lean_dec(x_80); -x_82 = l_coeDecidableEq(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; -lean_dec(x_3); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_1); -lean_ctor_set(x_83, 1, x_2); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_4); -return x_84; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_1); -x_85 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4); -lean_dec(x_3); -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(0, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_2); -x_13 = x_88; -x_14 = x_87; -goto block_71; -} -} -block_71: -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_13); -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_13, 0); -x_17 = lean_ctor_get(x_13, 1); -x_18 = l_Lean_Elab_Term_getMainModule___rarg(x_14); -x_19 = !lean_is_exclusive(x_18); -if (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; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_box(0); -x_22 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_23 = l_Lean_addMacroScope(x_20, x_22, x_16); -x_24 = lean_box(0); -x_25 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_26 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_24); -x_27 = l_Array_empty___closed__1; -x_28 = lean_array_push(x_27, x_26); -x_29 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_30 = lean_array_push(x_28, x_29); -x_31 = l_Lean_mkTermIdFromIdent___closed__2; -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -lean_inc(x_32); -x_33 = lean_array_push(x_17, x_32); -lean_ctor_set(x_13, 1, x_33); -lean_ctor_set(x_13, 0, x_32); -lean_ctor_set(x_18, 0, x_13); -return x_18; -} -else -{ -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_34 = lean_ctor_get(x_18, 0); -x_35 = lean_ctor_get(x_18, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_18); -x_36 = lean_box(0); -x_37 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_38 = l_Lean_addMacroScope(x_34, x_37, x_16); -x_39 = lean_box(0); -x_40 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_41 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_38); -lean_ctor_set(x_41, 3, x_39); -x_42 = l_Array_empty___closed__1; -x_43 = lean_array_push(x_42, x_41); -x_44 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_45 = lean_array_push(x_43, x_44); -x_46 = l_Lean_mkTermIdFromIdent___closed__2; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -lean_inc(x_47); -x_48 = lean_array_push(x_17, x_47); -lean_ctor_set(x_13, 1, x_48); -lean_ctor_set(x_13, 0, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_13); -lean_ctor_set(x_49, 1, x_35); -return x_49; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_50 = lean_ctor_get(x_13, 0); -x_51 = lean_ctor_get(x_13, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_13); -x_52 = l_Lean_Elab_Term_getMainModule___rarg(x_14); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_55 = x_52; -} else { - lean_dec_ref(x_52); - x_55 = lean_box(0); -} -x_56 = lean_box(0); -x_57 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_58 = l_Lean_addMacroScope(x_53, x_57, x_50); -x_59 = lean_box(0); -x_60 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_56); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_58); -lean_ctor_set(x_61, 3, x_59); -x_62 = l_Array_empty___closed__1; -x_63 = lean_array_push(x_62, x_61); -x_64 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_65 = lean_array_push(x_63, x_64); -x_66 = l_Lean_mkTermIdFromIdent___closed__2; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -lean_inc(x_67); -x_68 = lean_array_push(x_51, x_67); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -if (lean_is_scalar(x_55)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_55; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_54); -return x_70; -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_89 = lean_ctor_get(x_3, 0); -x_90 = lean_ctor_get(x_3, 1); -x_91 = lean_ctor_get(x_3, 2); -x_92 = lean_ctor_get(x_3, 3); -x_93 = lean_ctor_get(x_3, 4); -x_94 = lean_ctor_get(x_3, 5); -x_95 = lean_ctor_get(x_3, 6); -x_96 = lean_ctor_get(x_3, 7); -x_97 = lean_ctor_get(x_3, 8); -x_98 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_99 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); -x_100 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 2); -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_inc(x_89); -lean_dec(x_3); -x_101 = lean_alloc_ctor(0, 10, 3); -lean_ctor_set(x_101, 0, x_89); -lean_ctor_set(x_101, 1, x_90); -lean_ctor_set(x_101, 2, x_91); -lean_ctor_set(x_101, 3, x_92); -lean_ctor_set(x_101, 4, x_93); -lean_ctor_set(x_101, 5, x_94); -lean_ctor_set(x_101, 6, x_95); -lean_ctor_set(x_101, 7, x_96); -lean_ctor_set(x_101, 8, x_97); -lean_ctor_set(x_101, 9, x_8); -lean_ctor_set_uint8(x_101, sizeof(void*)*10, x_98); -lean_ctor_set_uint8(x_101, sizeof(void*)*10 + 1, x_99); -lean_ctor_set_uint8(x_101, sizeof(void*)*10 + 2, x_100); -if (x_6 == 0) -{ -uint8_t x_127; -x_127 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; -lean_dec(x_101); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_1); -lean_ctor_set(x_128, 1, x_2); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_4); -return x_129; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_1); -x_130 = l_Lean_Elab_Term_getCurrMacroScope(x_101, x_4); -lean_dec(x_101); -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(0, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_2); -x_102 = x_133; -x_103 = x_132; -goto block_126; -} -} -else -{ -lean_object* x_134; lean_object* x_135; uint8_t x_136; uint8_t x_137; -x_134 = l_Lean_Syntax_getArgs(x_1); -x_135 = lean_array_get_size(x_134); -lean_dec(x_134); -x_136 = lean_nat_dec_eq(x_135, x_9); -lean_dec(x_135); -x_137 = l_coeDecidableEq(x_136); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -lean_dec(x_101); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_1); -lean_ctor_set(x_138, 1, x_2); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_4); -return x_139; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_1); -x_140 = l_Lean_Elab_Term_getCurrMacroScope(x_101, x_4); -lean_dec(x_101); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_2); -x_102 = x_143; -x_103 = x_142; -goto block_126; -} -} -block_126: -{ -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; -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_106 = x_102; -} else { - lean_dec_ref(x_102); - x_106 = lean_box(0); -} -x_107 = l_Lean_Elab_Term_getMainModule___rarg(x_103); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; -} else { - lean_dec_ref(x_107); - x_110 = lean_box(0); -} -x_111 = lean_box(0); -x_112 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_113 = l_Lean_addMacroScope(x_108, x_112, x_104); -x_114 = lean_box(0); -x_115 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_116, 0, x_111); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set(x_116, 2, x_113); -lean_ctor_set(x_116, 3, x_114); -x_117 = l_Array_empty___closed__1; -x_118 = lean_array_push(x_117, x_116); -x_119 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_120 = lean_array_push(x_118, x_119); -x_121 = l_Lean_mkTermIdFromIdent___closed__2; -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -lean_inc(x_122); -x_123 = lean_array_push(x_105, x_122); -if (lean_is_scalar(x_106)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_106; -} -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -if (lean_is_scalar(x_110)) { - x_125 = lean_alloc_ctor(0, 2, 0); -} else { - x_125 = x_110; -} -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_109); -return x_125; -} -} -} -else -{ -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; uint8_t x_162; uint8_t x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_144 = lean_ctor_get(x_4, 0); -x_145 = lean_ctor_get(x_4, 1); -x_146 = lean_ctor_get(x_4, 2); -x_147 = lean_ctor_get(x_4, 3); -x_148 = lean_ctor_get(x_4, 4); -x_149 = lean_ctor_get(x_4, 5); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_4); -x_150 = lean_unsigned_to_nat(1u); -x_151 = lean_nat_add(x_149, x_150); -x_152 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_152, 0, x_144); -lean_ctor_set(x_152, 1, x_145); -lean_ctor_set(x_152, 2, x_146); -lean_ctor_set(x_152, 3, x_147); -lean_ctor_set(x_152, 4, x_148); -lean_ctor_set(x_152, 5, x_151); -x_153 = lean_ctor_get(x_3, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_3, 1); -lean_inc(x_154); -x_155 = lean_ctor_get(x_3, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_3, 3); -lean_inc(x_156); -x_157 = lean_ctor_get(x_3, 4); -lean_inc(x_157); -x_158 = lean_ctor_get(x_3, 5); -lean_inc(x_158); -x_159 = lean_ctor_get(x_3, 6); -lean_inc(x_159); -x_160 = lean_ctor_get(x_3, 7); -lean_inc(x_160); -x_161 = lean_ctor_get(x_3, 8); -lean_inc(x_161); -x_162 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); -x_163 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); -x_164 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 2); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - lean_ctor_release(x_3, 5); - lean_ctor_release(x_3, 6); - lean_ctor_release(x_3, 7); - lean_ctor_release(x_3, 8); - lean_ctor_release(x_3, 9); - x_165 = x_3; -} else { - lean_dec_ref(x_3); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(0, 10, 3); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_153); -lean_ctor_set(x_166, 1, x_154); -lean_ctor_set(x_166, 2, x_155); -lean_ctor_set(x_166, 3, x_156); -lean_ctor_set(x_166, 4, x_157); -lean_ctor_set(x_166, 5, x_158); -lean_ctor_set(x_166, 6, x_159); -lean_ctor_set(x_166, 7, x_160); -lean_ctor_set(x_166, 8, x_161); -lean_ctor_set(x_166, 9, x_149); -lean_ctor_set_uint8(x_166, sizeof(void*)*10, x_162); -lean_ctor_set_uint8(x_166, sizeof(void*)*10 + 1, x_163); -lean_ctor_set_uint8(x_166, sizeof(void*)*10 + 2, x_164); -if (x_6 == 0) -{ -uint8_t x_192; -x_192 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_192 == 0) -{ -lean_object* x_193; lean_object* x_194; -lean_dec(x_166); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_1); -lean_ctor_set(x_193, 1, x_2); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_152); -return x_194; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -lean_dec(x_1); -x_195 = l_Lean_Elab_Term_getCurrMacroScope(x_166, x_152); -lean_dec(x_166); -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_196); -lean_ctor_set(x_198, 1, x_2); -x_167 = x_198; -x_168 = x_197; -goto block_191; -} -} -else -{ -lean_object* x_199; lean_object* x_200; uint8_t x_201; uint8_t x_202; -x_199 = l_Lean_Syntax_getArgs(x_1); -x_200 = lean_array_get_size(x_199); -lean_dec(x_199); -x_201 = lean_nat_dec_eq(x_200, x_150); -lean_dec(x_200); -x_202 = l_coeDecidableEq(x_201); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_166); -x_203 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_203, 0, x_1); -lean_ctor_set(x_203, 1, x_2); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_152); -return x_204; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_1); -x_205 = l_Lean_Elab_Term_getCurrMacroScope(x_166, x_152); -lean_dec(x_166); -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_2); -x_167 = x_208; -x_168 = x_207; -goto block_191; -} -} -block_191: -{ -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; -x_169 = lean_ctor_get(x_167, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_167, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_171 = x_167; -} else { - lean_dec_ref(x_167); - x_171 = lean_box(0); -} -x_172 = l_Lean_Elab_Term_getMainModule___rarg(x_168); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_175 = x_172; -} else { - lean_dec_ref(x_172); - x_175 = lean_box(0); -} -x_176 = lean_box(0); -x_177 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; -x_178 = l_Lean_addMacroScope(x_173, x_177, x_169); -x_179 = lean_box(0); -x_180 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_176); -lean_ctor_set(x_181, 1, x_180); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_179); -x_182 = l_Array_empty___closed__1; -x_183 = lean_array_push(x_182, x_181); -x_184 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_185 = lean_array_push(x_183, x_184); -x_186 = l_Lean_mkTermIdFromIdent___closed__2; -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -lean_inc(x_187); -x_188 = lean_array_push(x_170, x_187); -if (lean_is_scalar(x_171)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_171; -} -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -if (lean_is_scalar(x_175)) { - x_190 = lean_alloc_ctor(0, 2, 0); -} else { - x_190 = x_175; -} -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_174); -return x_190; -} -} -} -} -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -10511,7 +9759,8 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_4); -x_8 = l___private_Init_Lean_Elab_Term_4__isCDot(x_7); +x_8 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_7); +lean_dec(x_7); if (x_8 == 0) { lean_object* x_9; lean_object* x_10; @@ -10529,7 +9778,93 @@ return x_8; } } } -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +x_5 = lean_name_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; +x_7 = lean_name_eq(x_2, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_array_get_size(x_3); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1(x_3, x_3, x_8, x_9); +lean_dec(x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1___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_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); +return x_2; +} +} +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_5__expandCDot___main___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; uint8_t x_7; @@ -10560,7 +9895,7 @@ x_14 = x_13; x_15 = lean_array_fset(x_2, x_1, x_14); lean_inc(x_4); lean_inc(x_12); -x_16 = l___private_Init_Lean_Elab_Term_5__expandCDot(x_12, x_3, x_4, x_5); +x_16 = l___private_Init_Lean_Elab_Term_5__expandCDot___main(x_12, x_3, x_4, x_5); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -10585,39 +9920,704 @@ goto _start; } } } -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1() { _start: { -uint8_t x_5; -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_4); -x_6 = 0; -return x_6; +lean_object* x_1; lean_object* x_2; +x_1 = l_IO_Prim_fopenFlags___closed__12; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } -else +} +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2() { +_start: { -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_4); -x_8 = l___private_Init_Lean_Elab_Term_4__isCDot(x_7); +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_IO_Prim_fopenFlags___closed__12; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_IO_Prim_fopenFlags___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Array_empty___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +x_8 = lean_name_eq(x_5, x_7); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_4, x_9); -lean_dec(x_4); -x_4 = x_10; -goto _start; +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; +x_13 = lean_name_eq(x_5, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_5__expandCDot___main___spec__1(x_14, x_6, x_2, x_3, x_4); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_1, 1, x_19); +lean_ctor_set(x_17, 0, x_1); +return x_15; } else { +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_17, 0); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set(x_1, 1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_15, 0, x_22); +return x_15; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_27 = x_23; +} else { + lean_dec_ref(x_23); + x_27 = lean_box(0); +} +lean_ctor_set(x_1, 1, x_25); +if (lean_is_scalar(x_27)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_27; +} +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_6); +lean_dec(x_5); +x_30 = !lean_is_exclusive(x_4); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_4, 5); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_31, x_32); +lean_ctor_set(x_4, 5, x_33); +x_34 = !lean_is_exclusive(x_3); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_3, 9); +lean_dec(x_35); +lean_ctor_set(x_3, 9, x_31); +x_36 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4); +lean_dec(x_3); +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_Term_getMainModule___rarg(x_38); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_box(0); +x_43 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +x_44 = l_Lean_addMacroScope(x_41, x_43, x_37); +x_45 = lean_box(0); +x_46 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; +x_47 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_45); +x_48 = l_Array_empty___closed__1; +x_49 = lean_array_push(x_48, x_47); +x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_51 = lean_array_push(x_49, x_50); +x_52 = l_Lean_mkTermIdFromIdent___closed__2; +lean_ctor_set(x_1, 1, x_51); +lean_ctor_set(x_1, 0, x_52); +lean_inc(x_1); +x_53 = lean_array_push(x_2, x_1); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_1); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_39, 0, x_54); +return x_39; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; +x_55 = lean_ctor_get(x_39, 0); +x_56 = lean_ctor_get(x_39, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_39); +x_57 = lean_box(0); +x_58 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +x_59 = l_Lean_addMacroScope(x_55, x_58, x_37); +x_60 = lean_box(0); +x_61 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; +x_62 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_62, 0, x_57); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set(x_62, 3, x_60); +x_63 = l_Array_empty___closed__1; +x_64 = lean_array_push(x_63, x_62); +x_65 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_66 = lean_array_push(x_64, x_65); +x_67 = l_Lean_mkTermIdFromIdent___closed__2; +lean_ctor_set(x_1, 1, x_66); +lean_ctor_set(x_1, 0, x_67); +lean_inc(x_1); +x_68 = lean_array_push(x_2, x_1); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_1); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_56); +return x_70; +} +} +else +{ +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; uint8_t x_80; uint8_t x_81; uint8_t 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_71 = lean_ctor_get(x_3, 0); +x_72 = lean_ctor_get(x_3, 1); +x_73 = lean_ctor_get(x_3, 2); +x_74 = lean_ctor_get(x_3, 3); +x_75 = lean_ctor_get(x_3, 4); +x_76 = lean_ctor_get(x_3, 5); +x_77 = lean_ctor_get(x_3, 6); +x_78 = lean_ctor_get(x_3, 7); +x_79 = lean_ctor_get(x_3, 8); +x_80 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_81 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_82 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 2); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +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_dec(x_3); +x_83 = lean_alloc_ctor(0, 10, 3); +lean_ctor_set(x_83, 0, x_71); +lean_ctor_set(x_83, 1, x_72); +lean_ctor_set(x_83, 2, x_73); +lean_ctor_set(x_83, 3, x_74); +lean_ctor_set(x_83, 4, x_75); +lean_ctor_set(x_83, 5, x_76); +lean_ctor_set(x_83, 6, x_77); +lean_ctor_set(x_83, 7, x_78); +lean_ctor_set(x_83, 8, x_79); +lean_ctor_set(x_83, 9, x_31); +lean_ctor_set_uint8(x_83, sizeof(void*)*10, x_80); +lean_ctor_set_uint8(x_83, sizeof(void*)*10 + 1, x_81); +lean_ctor_set_uint8(x_83, sizeof(void*)*10 + 2, x_82); +x_84 = l_Lean_Elab_Term_getCurrMacroScope(x_83, x_4); +lean_dec(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); +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_getMainModule___rarg(x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; +} else { + lean_dec_ref(x_87); + x_90 = lean_box(0); +} +x_91 = lean_box(0); +x_92 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +x_93 = l_Lean_addMacroScope(x_88, x_92, x_85); +x_94 = lean_box(0); +x_95 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; +x_96 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_93); +lean_ctor_set(x_96, 3, x_94); +x_97 = l_Array_empty___closed__1; +x_98 = lean_array_push(x_97, x_96); +x_99 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_100 = lean_array_push(x_98, x_99); +x_101 = l_Lean_mkTermIdFromIdent___closed__2; +lean_ctor_set(x_1, 1, x_100); +lean_ctor_set(x_1, 0, x_101); +lean_inc(x_1); +x_102 = lean_array_push(x_2, x_1); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_1); +lean_ctor_set(x_103, 1, x_102); +if (lean_is_scalar(x_90)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_90; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_89); +return x_104; +} +} +else +{ +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; uint8_t x_123; uint8_t x_124; uint8_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; +x_105 = lean_ctor_get(x_4, 0); +x_106 = lean_ctor_get(x_4, 1); +x_107 = lean_ctor_get(x_4, 2); +x_108 = lean_ctor_get(x_4, 3); +x_109 = lean_ctor_get(x_4, 4); +x_110 = lean_ctor_get(x_4, 5); +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_dec(x_4); -return x_8; +x_111 = lean_unsigned_to_nat(1u); +x_112 = lean_nat_add(x_110, x_111); +x_113 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_113, 0, x_105); +lean_ctor_set(x_113, 1, x_106); +lean_ctor_set(x_113, 2, x_107); +lean_ctor_set(x_113, 3, x_108); +lean_ctor_set(x_113, 4, x_109); +lean_ctor_set(x_113, 5, x_112); +x_114 = lean_ctor_get(x_3, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_3, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_3, 2); +lean_inc(x_116); +x_117 = lean_ctor_get(x_3, 3); +lean_inc(x_117); +x_118 = lean_ctor_get(x_3, 4); +lean_inc(x_118); +x_119 = lean_ctor_get(x_3, 5); +lean_inc(x_119); +x_120 = lean_ctor_get(x_3, 6); +lean_inc(x_120); +x_121 = lean_ctor_get(x_3, 7); +lean_inc(x_121); +x_122 = lean_ctor_get(x_3, 8); +lean_inc(x_122); +x_123 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_124 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_125 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 2); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + lean_ctor_release(x_3, 2); + lean_ctor_release(x_3, 3); + lean_ctor_release(x_3, 4); + lean_ctor_release(x_3, 5); + lean_ctor_release(x_3, 6); + lean_ctor_release(x_3, 7); + lean_ctor_release(x_3, 8); + lean_ctor_release(x_3, 9); + x_126 = x_3; +} else { + lean_dec_ref(x_3); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(0, 10, 3); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_114); +lean_ctor_set(x_127, 1, x_115); +lean_ctor_set(x_127, 2, x_116); +lean_ctor_set(x_127, 3, x_117); +lean_ctor_set(x_127, 4, x_118); +lean_ctor_set(x_127, 5, x_119); +lean_ctor_set(x_127, 6, x_120); +lean_ctor_set(x_127, 7, x_121); +lean_ctor_set(x_127, 8, x_122); +lean_ctor_set(x_127, 9, x_110); +lean_ctor_set_uint8(x_127, sizeof(void*)*10, x_123); +lean_ctor_set_uint8(x_127, sizeof(void*)*10 + 1, x_124); +lean_ctor_set_uint8(x_127, sizeof(void*)*10 + 2, x_125); +x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_127, x_113); +lean_dec(x_127); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = l_Lean_Elab_Term_getMainModule___rarg(x_130); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_134 = x_131; +} else { + lean_dec_ref(x_131); + x_134 = lean_box(0); +} +x_135 = lean_box(0); +x_136 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +x_137 = l_Lean_addMacroScope(x_132, x_136, x_129); +x_138 = lean_box(0); +x_139 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; +x_140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_140, 0, x_135); +lean_ctor_set(x_140, 1, x_139); +lean_ctor_set(x_140, 2, x_137); +lean_ctor_set(x_140, 3, x_138); +x_141 = l_Array_empty___closed__1; +x_142 = lean_array_push(x_141, x_140); +x_143 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_144 = lean_array_push(x_142, x_143); +x_145 = l_Lean_mkTermIdFromIdent___closed__2; +lean_ctor_set(x_1, 1, x_144); +lean_ctor_set(x_1, 0, x_145); +lean_inc(x_1); +x_146 = lean_array_push(x_2, x_1); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_1); +lean_ctor_set(x_147, 1, x_146); +if (lean_is_scalar(x_134)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_134; +} +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_133); +return x_148; } } } +else +{ +lean_object* x_149; uint8_t x_150; +lean_dec(x_1); +x_149 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; +x_150 = lean_name_eq(x_5, x_149); +if (x_150 == 0) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_151 = lean_unsigned_to_nat(0u); +x_152 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_5__expandCDot___main___spec__1(x_151, x_6, x_2, x_3, x_4); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_155 = x_152; +} else { + lean_dec_ref(x_152); + x_155 = lean_box(0); +} +x_156 = lean_ctor_get(x_153, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_153, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_158 = x_153; +} else { + lean_dec_ref(x_153); + x_158 = lean_box(0); +} +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_5); +lean_ctor_set(x_159, 1, x_156); +if (lean_is_scalar(x_158)) { + x_160 = lean_alloc_ctor(0, 2, 0); +} else { + x_160 = x_158; +} +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_157); +if (lean_is_scalar(x_155)) { + x_161 = lean_alloc_ctor(0, 2, 0); +} else { + x_161 = x_155; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_154); +return x_161; +} +else +{ +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; uint8_t x_181; uint8_t x_182; uint8_t 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_dec(x_6); +lean_dec(x_5); +x_162 = lean_ctor_get(x_4, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_4, 1); +lean_inc(x_163); +x_164 = lean_ctor_get(x_4, 2); +lean_inc(x_164); +x_165 = lean_ctor_get(x_4, 3); +lean_inc(x_165); +x_166 = lean_ctor_get(x_4, 4); +lean_inc(x_166); +x_167 = lean_ctor_get(x_4, 5); +lean_inc(x_167); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + x_168 = x_4; +} else { + lean_dec_ref(x_4); + x_168 = lean_box(0); +} +x_169 = lean_unsigned_to_nat(1u); +x_170 = lean_nat_add(x_167, x_169); +if (lean_is_scalar(x_168)) { + x_171 = lean_alloc_ctor(0, 6, 0); +} else { + x_171 = x_168; +} +lean_ctor_set(x_171, 0, x_162); +lean_ctor_set(x_171, 1, x_163); +lean_ctor_set(x_171, 2, x_164); +lean_ctor_set(x_171, 3, x_165); +lean_ctor_set(x_171, 4, x_166); +lean_ctor_set(x_171, 5, x_170); +x_172 = lean_ctor_get(x_3, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_3, 1); +lean_inc(x_173); +x_174 = lean_ctor_get(x_3, 2); +lean_inc(x_174); +x_175 = lean_ctor_get(x_3, 3); +lean_inc(x_175); +x_176 = lean_ctor_get(x_3, 4); +lean_inc(x_176); +x_177 = lean_ctor_get(x_3, 5); +lean_inc(x_177); +x_178 = lean_ctor_get(x_3, 6); +lean_inc(x_178); +x_179 = lean_ctor_get(x_3, 7); +lean_inc(x_179); +x_180 = lean_ctor_get(x_3, 8); +lean_inc(x_180); +x_181 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +x_182 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 1); +x_183 = lean_ctor_get_uint8(x_3, sizeof(void*)*10 + 2); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + lean_ctor_release(x_3, 2); + lean_ctor_release(x_3, 3); + lean_ctor_release(x_3, 4); + lean_ctor_release(x_3, 5); + lean_ctor_release(x_3, 6); + lean_ctor_release(x_3, 7); + lean_ctor_release(x_3, 8); + lean_ctor_release(x_3, 9); + x_184 = x_3; +} else { + lean_dec_ref(x_3); + x_184 = lean_box(0); +} +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(0, 10, 3); +} else { + x_185 = x_184; +} +lean_ctor_set(x_185, 0, x_172); +lean_ctor_set(x_185, 1, x_173); +lean_ctor_set(x_185, 2, x_174); +lean_ctor_set(x_185, 3, x_175); +lean_ctor_set(x_185, 4, x_176); +lean_ctor_set(x_185, 5, x_177); +lean_ctor_set(x_185, 6, x_178); +lean_ctor_set(x_185, 7, x_179); +lean_ctor_set(x_185, 8, x_180); +lean_ctor_set(x_185, 9, x_167); +lean_ctor_set_uint8(x_185, sizeof(void*)*10, x_181); +lean_ctor_set_uint8(x_185, sizeof(void*)*10 + 1, x_182); +lean_ctor_set_uint8(x_185, sizeof(void*)*10 + 2, x_183); +x_186 = l_Lean_Elab_Term_getCurrMacroScope(x_185, x_171); +lean_dec(x_185); +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 = l_Lean_Elab_Term_getMainModule___rarg(x_188); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + x_192 = x_189; +} else { + lean_dec_ref(x_189); + x_192 = lean_box(0); +} +x_193 = lean_box(0); +x_194 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +x_195 = l_Lean_addMacroScope(x_190, x_194, x_187); +x_196 = lean_box(0); +x_197 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; +x_198 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_198, 0, x_193); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_198, 2, x_195); +lean_ctor_set(x_198, 3, x_196); +x_199 = l_Array_empty___closed__1; +x_200 = lean_array_push(x_199, x_198); +x_201 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_202 = lean_array_push(x_200, x_201); +x_203 = l_Lean_mkTermIdFromIdent___closed__2; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +lean_inc(x_204); +x_205 = lean_array_push(x_2, x_204); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +if (lean_is_scalar(x_192)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_192; +} +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_191); +return x_207; +} +} +} +else +{ +lean_object* x_208; lean_object* x_209; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_1); +lean_ctor_set(x_208, 1, x_2); +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_4); +return x_209; +} +} +else +{ +lean_object* x_210; lean_object* x_211; +lean_dec(x_3); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_1); +lean_ctor_set(x_210, 1, x_2); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_4); +return x_211; +} +} +} +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot(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_Init_Lean_Elab_Term_5__expandCDot___main(x_1, x_2, x_3, x_4); +return x_5; +} } lean_object* _init_l_Lean_Elab_Term_expandCDot_x3f___closed__1() { _start: @@ -10656,390 +10656,99 @@ return x_3; lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_139; uint8_t x_140; -x_139 = l_Lean_mkAppStx___closed__8; -lean_inc(x_1); -x_140 = l_Lean_Syntax_isOfKind(x_1, x_139); -if (x_140 == 0) +uint8_t x_4; +x_4 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); +if (x_4 == 0) { -uint8_t x_141; -x_141 = 0; -x_4 = x_141; -goto block_138; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_142 = l_Lean_Syntax_getArgs(x_1); -x_143 = lean_array_get_size(x_142); -lean_dec(x_142); -x_144 = lean_unsigned_to_nat(2u); -x_145 = lean_nat_dec_eq(x_143, x_144); -lean_dec(x_143); -x_4 = x_145; -goto block_138; -} -block_138: -{ -uint8_t x_5; -x_5 = l_coeDecidableEq(x_4); -if (x_5 == 0) -{ -if (lean_obj_tag(x_1) == 1) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_7 = lean_ctor_get(x_1, 0); -x_8 = lean_ctor_get(x_1, 1); -x_9 = lean_array_get_size(x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_8, x_8, x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_5; lean_object* x_6; lean_dec(x_2); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); -return x_13; +lean_dec(x_1); +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_3); +return x_6; } 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; uint8_t x_23; -x_14 = l_Array_empty___closed__1; +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_Array_empty___closed__1; lean_inc(x_2); -x_15 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_10, x_8, x_14, x_2, x_3); -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, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_1, 1, x_18); -x_20 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_17); +x_8 = l___private_Init_Lean_Elab_Term_5__expandCDot___main(x_1, x_7, x_2, x_3); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_10); lean_dec(x_2); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_21); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Term_getMainModule___rarg(x_14); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_10, x_14); -lean_dec(x_19); -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 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_31 = lean_array_push(x_29, x_30); -x_32 = lean_array_push(x_31, x_1); -x_33 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_12, x_12, x_18, x_7); +lean_dec(x_12); +x_20 = l_Lean_nullKind___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_23 = lean_array_push(x_22, x_21); +x_24 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_25 = lean_array_push(x_23, x_24); +x_26 = lean_array_push(x_25, x_11); +x_27 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_15, 0, x_29); +return x_15; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_dec(x_15); +x_31 = lean_unsigned_to_nat(0u); +x_32 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_12, x_12, x_31, x_7); +lean_dec(x_12); +x_33 = l_Lean_nullKind___closed__2; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_22, 0, x_35); -return x_22; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); -lean_dec(x_22); -x_37 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_10, x_14); -lean_dec(x_19); -x_38 = l_Lean_nullKind___closed__2; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_43 = lean_array_push(x_41, x_42); -x_44 = lean_array_push(x_43, x_1); -x_45 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_36); -return x_48; +x_35 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_36 = lean_array_push(x_35, x_34); +x_37 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_38 = lean_array_push(x_36, x_37); +x_39 = lean_array_push(x_38, x_11); +x_40 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_30); +return x_43; } } } -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_1, 0); -x_50 = lean_ctor_get(x_1, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_1); -x_51 = lean_array_get_size(x_50); -x_52 = lean_unsigned_to_nat(0u); -x_53 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_50, x_50, x_51, x_52); -lean_dec(x_51); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -lean_dec(x_50); -lean_dec(x_49); -lean_dec(x_2); -x_54 = lean_box(0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_3); -return x_55; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; 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_56 = l_Array_empty___closed__1; -lean_inc(x_2); -x_57 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_52, x_50, x_56, x_2, x_3); -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, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_61); -lean_dec(x_58); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_49); -lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_59); -lean_dec(x_2); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = l_Lean_Elab_Term_getMainModule___rarg(x_64); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_67 = x_65; -} else { - lean_dec_ref(x_65); - x_67 = lean_box(0); -} -x_68 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_61, x_61, x_52, x_56); -lean_dec(x_61); -x_69 = l_Lean_nullKind___closed__2; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_74 = lean_array_push(x_72, x_73); -x_75 = lean_array_push(x_74, x_62); -x_76 = l_Lean_Parser_Term_fun___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 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -if (lean_is_scalar(x_67)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_67; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_66); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_2); -lean_dec(x_1); -x_80 = lean_box(0); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_3); -return x_81; -} -} -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; uint8_t x_88; -x_82 = lean_unsigned_to_nat(0u); -x_83 = l_Lean_Syntax_getArg(x_1, x_82); -x_84 = lean_unsigned_to_nat(1u); -x_85 = l_Lean_Syntax_getArg(x_1, x_84); -x_86 = l_Lean_Syntax_getArgs(x_85); -lean_dec(x_85); -x_87 = lean_array_get_size(x_86); -x_88 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(x_1, x_86, x_87, x_82); -lean_dec(x_87); -lean_dec(x_1); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; -lean_dec(x_86); -lean_dec(x_83); -lean_dec(x_2); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_3); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; -x_91 = l_Array_empty___closed__1; -lean_inc(x_2); -x_92 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_82, x_86, x_91, x_2, x_3); -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, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_94); -lean_dec(x_2); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = l_Lean_Elab_Term_getMainModule___rarg(x_98); -x_100 = !lean_is_exclusive(x_99); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_101 = lean_ctor_get(x_99, 0); -lean_dec(x_101); -x_102 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_96, x_96, x_82, x_91); -lean_dec(x_96); -x_103 = l_Lean_nullKind___closed__2; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_106 = lean_array_push(x_105, x_104); -x_107 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_108 = lean_array_push(x_106, x_107); -x_109 = lean_array_push(x_91, x_83); -x_110 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_95, x_95, x_82, x_91); -lean_dec(x_95); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_103); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_array_push(x_109, x_111); -x_113 = l_Lean_mkAppStx___closed__8; -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_108, x_114); -x_116 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_99, 0, x_118); -return x_99; -} -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; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_119 = lean_ctor_get(x_99, 1); -lean_inc(x_119); -lean_dec(x_99); -x_120 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_96, x_96, x_82, x_91); -lean_dec(x_96); -x_121 = l_Lean_nullKind___closed__2; -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -x_123 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_124 = lean_array_push(x_123, x_122); -x_125 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_126 = lean_array_push(x_124, x_125); -x_127 = lean_array_push(x_91, x_83); -x_128 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_95, x_95, x_82, x_91); -lean_dec(x_95); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_121); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_127, x_129); -x_131 = l_Lean_mkAppStx___closed__8; -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_126, x_132); -x_134 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_136, 0, x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_119); -return x_137; -} -} -} -} -} -} -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1___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_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(x_5); -return x_6; -} -} -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___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_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(x_5); -return x_6; -} } lean_object* _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1() { _start: @@ -18963,7 +18672,7 @@ lean_ctor_set(x_24, 2, x_21); lean_ctor_set(x_24, 3, x_23); x_25 = l_Array_empty___closed__1; x_26 = lean_array_push(x_25, x_24); -x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_27 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_28 = lean_array_push(x_26, x_27); x_29 = l_Lean_mkTermIdFromIdent___closed__2; x_30 = lean_alloc_ctor(1, 2, 0); @@ -19024,7 +18733,7 @@ x_4 = lean_array_get_size(x_1); x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_1); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_1); x_8 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); return x_8; } @@ -19192,7 +18901,16 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__4() { +uint8_t _init_l_Lean_Elab_Term_elabParen___closed__4() { +_start: +{ +uint8_t x_1; uint8_t x_2; +x_1 = 0; +x_2 = l_coeDecidableEq(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__5() { _start: { lean_object* x_1; @@ -19200,22 +18918,22 @@ x_1 = lean_mk_string("unit"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_declareBuiltinParser___closed__5; -x_2 = l_Lean_Elab_Term_elabParen___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_elabParen___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Parser_declareBuiltinParser___closed__5; x_2 = l_Lean_Elab_Term_elabParen___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabParen___closed__6; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } @@ -19224,7 +18942,7 @@ lean_object* l_Lean_Elab_Term_elabParen(lean_object* x_1, lean_object* x_2, lean _start: { uint8_t x_5; lean_object* x_148; uint8_t x_149; -x_148 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_148 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_inc(x_1); x_149 = l_Lean_Syntax_isOfKind(x_1, x_148); if (x_149 == 0) @@ -19270,7 +18988,7 @@ x_133 = l_Lean_Syntax_isOfKind(x_10, x_132); if (x_133 == 0) { uint8_t x_134; -x_134 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_134 = l_Lean_Elab_Term_elabParen___closed__4; if (x_134 == 0) { uint8_t x_135; @@ -19285,7 +19003,7 @@ lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_136 = l_Lean_Elab_Term_elabParen___closed__6; +x_136 = l_Lean_Elab_Term_elabParen___closed__7; x_137 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_137, 0, x_136); lean_ctor_set(x_137, 1, x_4); @@ -19318,7 +19036,7 @@ lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_145 = l_Lean_Elab_Term_elabParen___closed__6; +x_145 = l_Lean_Elab_Term_elabParen___closed__7; x_146 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_4); @@ -19377,7 +19095,7 @@ if (x_19 == 0) { uint8_t x_22; lean_dec(x_17); -x_22 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_22 = l_Lean_Elab_Term_elabParen___closed__4; if (x_22 == 0) { lean_object* x_23; lean_object* x_24; @@ -19436,7 +19154,7 @@ x_75 = l_Lean_Syntax_isOfKind(x_33, x_74); if (x_75 == 0) { uint8_t x_76; -x_76 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_76 = l_Lean_Elab_Term_elabParen___closed__4; if (x_76 == 0) { lean_object* x_77; uint8_t x_78; @@ -19818,7 +19536,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2; x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__3; x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); @@ -20249,7 +19967,7 @@ lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_23); -x_26 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_26 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_27 = lean_array_push(x_25, x_26); x_28 = l_Lean_mkTermIdFromIdent___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); @@ -22449,16 +22167,14 @@ l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1); l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2); -l___private_Init_Lean_Elab_Term_4__isCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__1(); -l___private_Init_Lean_Elab_Term_4__isCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__2(); -l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1); -l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2); -l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3); -l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4); +l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1); +l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2); +l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3); +l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4); l_Lean_Elab_Term_expandCDot_x3f___closed__1 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__1); l_Lean_Elab_Term_expandCDot_x3f___closed__2 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__2(); @@ -22648,11 +22364,12 @@ lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__2); l_Lean_Elab_Term_elabParen___closed__3 = _init_l_Lean_Elab_Term_elabParen___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__3); l_Lean_Elab_Term_elabParen___closed__4 = _init_l_Lean_Elab_Term_elabParen___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__4); l_Lean_Elab_Term_elabParen___closed__5 = _init_l_Lean_Elab_Term_elabParen___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__5); l_Lean_Elab_Term_elabParen___closed__6 = _init_l_Lean_Elab_Term_elabParen___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__6); +l_Lean_Elab_Term_elabParen___closed__7 = _init_l_Lean_Elab_Term_elabParen___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__7); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index 0bba9a6a3d..8d3ebb1ce1 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -56,7 +56,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_19__elabAppLValsAux___boxed(lean lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_21__elabAppFnId___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___private_Init_Lean_Elab_TermApp_21__elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -139,6 +138,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_15__resolveLValLoop___main(lean_ extern lean_object* l_Array_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__1; +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_5__tryCoeFun___closed__5; lean_object* l___private_Init_Lean_Elab_TermApp_3__elabArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -234,10 +234,10 @@ lean_object* l___private_Init_Lean_Elab_TermApp_14__resolveLValAux___closed__7; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_26__elabAppAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_formatEntry___closed__1; extern lean_object* l_Lean_Elab_Term_TermElabResult_inhabited; +extern lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__1; -extern lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; lean_object* l_Lean_Name_replacePrefix___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_26__elabAppAux___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_23__getSuccess(lean_object*); @@ -369,7 +369,6 @@ lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_27__expandApp___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_18__addLValArg___main___closed__6; -extern lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__2; lean_object* l_Lean_Name_components(lean_object*); lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_15__resolveLValLoop___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabExplicitUniv___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -383,6 +382,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_14__resolveLValAux___closed__16; lean_object* l___private_Init_Lean_Elab_TermApp_14__resolveLValAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_18__addLValArg___main___closed__4; lean_object* l___private_Init_Lean_Elab_TermApp_7__getForallBody(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_Arg_inhabited; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_TermApp_24__toMessageData___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -930,6 +930,7 @@ lean_object* x_7; uint8_t x_8; lean_object* x_9; x_7 = lean_ctor_get(x_5, 0); x_8 = 0; x_9 = l_Lean_mkForall(x_7, x_8, x_1, x_2); +lean_dec(x_7); lean_ctor_set(x_5, 0, x_9); return x_5; } @@ -943,6 +944,7 @@ lean_inc(x_10); lean_dec(x_5); x_12 = 0; x_13 = l_Lean_mkForall(x_10, x_12, x_1, x_2); +lean_dec(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_11); @@ -3846,70 +3848,57 @@ x_325 = lean_ctor_get(x_1, 0); lean_dec(x_325); if (lean_obj_tag(x_317) == 0) { -lean_object* x_326; uint8_t x_327; lean_object* x_328; uint8_t x_329; +lean_object* x_326; lean_object* x_327; uint8_t x_328; x_326 = lean_ctor_get(x_317, 1); lean_inc(x_326); lean_dec(x_317); -x_327 = 1; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_327); -x_328 = lean_array_get_size(x_7); -x_329 = lean_nat_dec_lt(x_10, x_328); -lean_dec(x_328); -if (x_329 == 0) +x_327 = lean_array_get_size(x_7); +x_328 = lean_nat_dec_lt(x_10, x_327); +lean_dec(x_327); +if (x_328 == 0) { -lean_object* x_330; +uint8_t x_329; +lean_free_object(x_1); +lean_dec(x_82); +lean_dec(x_81); lean_dec(x_13); lean_dec(x_10); lean_dec(x_7); -x_330 = l_Lean_Expr_getOptParamDefault_x3f(x_81); -lean_dec(x_81); -if (lean_obj_tag(x_330) == 0) +x_329 = l_Array_isEmpty___rarg(x_11); +if (x_329 == 0) { -uint8_t x_331; -lean_dec(x_1); -lean_dec(x_82); -x_331 = l_Array_isEmpty___rarg(x_11); -if (x_331 == 0) -{ -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_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_dec(x_12); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_332 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_332, 0, x_80); -x_333 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__3; +x_330 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_330, 0, x_80); +x_331 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__3; +x_332 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_330); +x_333 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__6; x_334 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_332); -x_335 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__6; -x_336 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -x_337 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___spec__2(x_84, x_11); -x_338 = l_Array_toList___rarg(x_337); +lean_ctor_set(x_334, 0, x_332); +lean_ctor_set(x_334, 1, x_333); +x_335 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___spec__2(x_84, x_11); +x_336 = l_Array_toList___rarg(x_335); +lean_dec(x_335); +x_337 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_336); +x_338 = l_Array_HasRepr___rarg___closed__1; +x_339 = lean_string_append(x_338, x_337); lean_dec(x_337); -x_339 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_338); -x_340 = l_Array_HasRepr___rarg___closed__1; -x_341 = lean_string_append(x_340, x_339); -lean_dec(x_339); -x_342 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_342, 0, x_341); -x_343 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_343, 0, x_342); -x_344 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_344, 0, x_336); -lean_ctor_set(x_344, 1, x_343); -x_345 = l_Lean_Elab_Term_throwError___rarg(x_6, x_344, x_4, x_326); +x_340 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_340, 0, x_339); +x_341 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_341, 0, x_340); +x_342 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_342, 0, x_334); +lean_ctor_set(x_342, 1, x_341); +x_343 = l_Lean_Elab_Term_throwError___rarg(x_6, x_342, x_4, x_326); lean_dec(x_6); -return x_345; +return x_343; } else { @@ -3917,220 +3906,189 @@ lean_dec(x_80); lean_dec(x_11); if (lean_obj_tag(x_8) == 0) { -lean_object* x_346; +lean_object* x_344; lean_dec(x_3); -x_346 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_326); +x_344 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_326); lean_dec(x_12); -if (lean_obj_tag(x_346) == 0) +if (lean_obj_tag(x_344) == 0) { -uint8_t x_347; -x_347 = !lean_is_exclusive(x_346); -if (x_347 == 0) +uint8_t x_345; +x_345 = !lean_is_exclusive(x_344); +if (x_345 == 0) { -lean_object* x_348; -x_348 = lean_ctor_get(x_346, 0); -lean_dec(x_348); -lean_ctor_set(x_346, 0, x_2); -return x_346; -} -else -{ -lean_object* x_349; lean_object* x_350; -x_349 = lean_ctor_get(x_346, 1); -lean_inc(x_349); +lean_object* x_346; +x_346 = lean_ctor_get(x_344, 0); lean_dec(x_346); -x_350 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_350, 0, x_2); -lean_ctor_set(x_350, 1, x_349); -return x_350; +lean_ctor_set(x_344, 0, x_2); +return x_344; +} +else +{ +lean_object* x_347; lean_object* x_348; +x_347 = lean_ctor_get(x_344, 1); +lean_inc(x_347); +lean_dec(x_344); +x_348 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_348, 0, x_2); +lean_ctor_set(x_348, 1, x_347); +return x_348; } } else { -uint8_t x_351; +uint8_t x_349; lean_dec(x_2); -x_351 = !lean_is_exclusive(x_346); -if (x_351 == 0) +x_349 = !lean_is_exclusive(x_344); +if (x_349 == 0) { -return x_346; +return x_344; } else { -lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_352 = lean_ctor_get(x_346, 0); -x_353 = lean_ctor_get(x_346, 1); +lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_350 = lean_ctor_get(x_344, 0); +x_351 = lean_ctor_get(x_344, 1); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_344); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_350); +lean_ctor_set(x_352, 1, x_351); +return x_352; +} +} +} +else +{ +lean_object* x_353; lean_object* x_354; +x_353 = lean_ctor_get(x_8, 0); lean_inc(x_353); -lean_inc(x_352); -lean_dec(x_346); -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_352); -lean_ctor_set(x_354, 1, x_353); -return x_354; -} -} -} -else -{ -lean_object* x_355; lean_object* x_356; -x_355 = lean_ctor_get(x_8, 0); -lean_inc(x_355); lean_dec(x_8); lean_inc(x_4); -x_356 = l_Lean_Elab_Term_isDefEq(x_6, x_355, x_3, x_4, x_326); +x_354 = l_Lean_Elab_Term_isDefEq(x_6, x_353, x_3, x_4, x_326); +if (lean_obj_tag(x_354) == 0) +{ +lean_object* x_355; lean_object* x_356; +x_355 = lean_ctor_get(x_354, 1); +lean_inc(x_355); +lean_dec(x_354); +x_356 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_355); +lean_dec(x_12); if (lean_obj_tag(x_356) == 0) { -lean_object* x_357; lean_object* x_358; -x_357 = lean_ctor_get(x_356, 1); -lean_inc(x_357); +uint8_t x_357; +x_357 = !lean_is_exclusive(x_356); +if (x_357 == 0) +{ +lean_object* x_358; +x_358 = lean_ctor_get(x_356, 0); +lean_dec(x_358); +lean_ctor_set(x_356, 0, x_2); +return x_356; +} +else +{ +lean_object* x_359; lean_object* x_360; +x_359 = lean_ctor_get(x_356, 1); +lean_inc(x_359); lean_dec(x_356); -x_358 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_357); -lean_dec(x_12); -if (lean_obj_tag(x_358) == 0) -{ -uint8_t x_359; -x_359 = !lean_is_exclusive(x_358); -if (x_359 == 0) -{ -lean_object* x_360; -x_360 = lean_ctor_get(x_358, 0); -lean_dec(x_360); -lean_ctor_set(x_358, 0, x_2); -return x_358; -} -else -{ -lean_object* x_361; lean_object* x_362; -x_361 = lean_ctor_get(x_358, 1); -lean_inc(x_361); -lean_dec(x_358); -x_362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_362, 0, x_2); -lean_ctor_set(x_362, 1, x_361); -return x_362; +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_2); +lean_ctor_set(x_360, 1, x_359); +return x_360; } } else { -uint8_t x_363; +uint8_t x_361; lean_dec(x_2); -x_363 = !lean_is_exclusive(x_358); -if (x_363 == 0) -{ -return x_358; -} -else -{ -lean_object* x_364; lean_object* x_365; lean_object* x_366; -x_364 = lean_ctor_get(x_358, 0); -x_365 = lean_ctor_get(x_358, 1); -lean_inc(x_365); -lean_inc(x_364); -lean_dec(x_358); -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_364); -lean_ctor_set(x_366, 1, x_365); -return x_366; -} -} -} -else -{ -uint8_t x_367; -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_367 = !lean_is_exclusive(x_356); -if (x_367 == 0) +x_361 = !lean_is_exclusive(x_356); +if (x_361 == 0) { return x_356; } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_368 = lean_ctor_get(x_356, 0); -x_369 = lean_ctor_get(x_356, 1); -lean_inc(x_369); -lean_inc(x_368); +lean_object* x_362; lean_object* x_363; lean_object* x_364; +x_362 = lean_ctor_get(x_356, 0); +x_363 = lean_ctor_get(x_356, 1); +lean_inc(x_363); +lean_inc(x_362); lean_dec(x_356); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_368); -lean_ctor_set(x_370, 1, x_369); -return x_370; -} -} +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_362); +lean_ctor_set(x_364, 1, x_363); +return x_364; } } } else { -lean_object* x_371; lean_object* x_372; lean_object* x_373; -lean_dec(x_80); +uint8_t x_365; lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); lean_dec(x_6); -lean_dec(x_3); -x_371 = lean_ctor_get(x_330, 0); -lean_inc(x_371); -lean_dec(x_330); -lean_inc(x_371); -x_372 = l_Lean_mkApp(x_2, x_371); -x_373 = lean_expr_instantiate1(x_82, x_371); -lean_dec(x_371); -lean_dec(x_82); -x_2 = x_372; -x_3 = x_373; -x_5 = x_326; -goto _start; +lean_dec(x_4); +lean_dec(x_2); +x_365 = !lean_is_exclusive(x_354); +if (x_365 == 0) +{ +return x_354; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_366 = lean_ctor_get(x_354, 0); +x_367 = lean_ctor_get(x_354, 1); +lean_inc(x_367); +lean_inc(x_366); +lean_dec(x_354); +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_366); +lean_ctor_set(x_368, 1, x_367); +return x_368; +} +} +} } } else { -lean_object* x_375; lean_object* x_376; -lean_dec(x_1); +lean_object* x_369; lean_object* x_370; lean_dec(x_80); lean_dec(x_3); -x_375 = lean_array_fget(x_7, x_10); +x_369 = lean_array_fget(x_7, x_10); lean_inc(x_4); lean_inc(x_2); lean_inc(x_6); -x_376 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_375, x_81, x_4, x_326); -if (lean_obj_tag(x_376) == 0) +x_370 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_369, x_81, x_4, x_326); +if (lean_obj_tag(x_370) == 0) { -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; -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = lean_unsigned_to_nat(1u); -x_380 = lean_nat_add(x_10, x_379); +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_object* x_376; lean_object* x_377; +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +lean_dec(x_370); +x_373 = lean_unsigned_to_nat(1u); +x_374 = lean_nat_add(x_10, x_373); lean_dec(x_10); -x_381 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_381, 0, x_6); -lean_ctor_set(x_381, 1, x_7); -lean_ctor_set(x_381, 2, x_8); -lean_ctor_set(x_381, 3, x_380); -lean_ctor_set(x_381, 4, x_11); -lean_ctor_set(x_381, 5, x_12); -lean_ctor_set(x_381, 6, x_13); -lean_ctor_set_uint8(x_381, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_381, sizeof(void*)*7 + 1, x_327); -lean_inc(x_377); -x_382 = l_Lean_mkApp(x_2, x_377); -x_383 = lean_expr_instantiate1(x_82, x_377); -lean_dec(x_377); +x_375 = 1; +lean_ctor_set(x_1, 3, x_374); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_375); +lean_inc(x_371); +x_376 = l_Lean_mkApp(x_2, x_371); +x_377 = lean_expr_instantiate1(x_82, x_371); +lean_dec(x_371); lean_dec(x_82); -x_1 = x_381; -x_2 = x_382; -x_3 = x_383; -x_5 = x_378; +x_2 = x_376; +x_3 = x_377; +x_5 = x_372; goto _start; } else { -uint8_t x_385; +uint8_t x_379; +lean_free_object(x_1); lean_dec(x_82); lean_dec(x_13); lean_dec(x_12); @@ -4141,30 +4099,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_385 = !lean_is_exclusive(x_376); -if (x_385 == 0) +x_379 = !lean_is_exclusive(x_370); +if (x_379 == 0) { -return x_376; +return x_370; } else { -lean_object* x_386; lean_object* x_387; lean_object* x_388; -x_386 = lean_ctor_get(x_376, 0); -x_387 = lean_ctor_get(x_376, 1); -lean_inc(x_387); -lean_inc(x_386); -lean_dec(x_376); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_386); -lean_ctor_set(x_388, 1, x_387); -return x_388; +lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_380 = lean_ctor_get(x_370, 0); +x_381 = lean_ctor_get(x_370, 1); +lean_inc(x_381); +lean_inc(x_380); +lean_dec(x_370); +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_380); +lean_ctor_set(x_382, 1, x_381); +return x_382; } } } } else { -uint8_t x_389; +uint8_t x_383; lean_free_object(x_1); lean_dec(x_82); lean_dec(x_81); @@ -4179,23 +4137,23 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_389 = !lean_is_exclusive(x_317); -if (x_389 == 0) +x_383 = !lean_is_exclusive(x_317); +if (x_383 == 0) { return x_317; } else { -lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_390 = lean_ctor_get(x_317, 0); -x_391 = lean_ctor_get(x_317, 1); -lean_inc(x_391); -lean_inc(x_390); +lean_object* x_384; lean_object* x_385; lean_object* x_386; +x_384 = lean_ctor_get(x_317, 0); +x_385 = lean_ctor_get(x_317, 1); +lean_inc(x_385); +lean_inc(x_384); lean_dec(x_317); -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -return x_392; +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_384); +lean_ctor_set(x_386, 1, x_385); +return x_386; } } } @@ -4204,79 +4162,56 @@ else lean_dec(x_1); if (lean_obj_tag(x_317) == 0) { -lean_object* x_393; uint8_t x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; -x_393 = lean_ctor_get(x_317, 1); -lean_inc(x_393); +lean_object* x_387; lean_object* x_388; uint8_t x_389; +x_387 = lean_ctor_get(x_317, 1); +lean_inc(x_387); lean_dec(x_317); -x_394 = 1; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_395 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_395, 0, x_6); -lean_ctor_set(x_395, 1, x_7); -lean_ctor_set(x_395, 2, x_8); -lean_ctor_set(x_395, 3, x_10); -lean_ctor_set(x_395, 4, x_11); -lean_ctor_set(x_395, 5, x_12); -lean_ctor_set(x_395, 6, x_13); -lean_ctor_set_uint8(x_395, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_395, sizeof(void*)*7 + 1, x_394); -x_396 = lean_array_get_size(x_7); -x_397 = lean_nat_dec_lt(x_10, x_396); -lean_dec(x_396); -if (x_397 == 0) +x_388 = lean_array_get_size(x_7); +x_389 = lean_nat_dec_lt(x_10, x_388); +lean_dec(x_388); +if (x_389 == 0) { -lean_object* x_398; +uint8_t x_390; +lean_dec(x_82); +lean_dec(x_81); lean_dec(x_13); lean_dec(x_10); lean_dec(x_7); -x_398 = l_Lean_Expr_getOptParamDefault_x3f(x_81); -lean_dec(x_81); -if (lean_obj_tag(x_398) == 0) +x_390 = l_Array_isEmpty___rarg(x_11); +if (x_390 == 0) { -uint8_t x_399; -lean_dec(x_395); -lean_dec(x_82); -x_399 = l_Array_isEmpty___rarg(x_11); -if (x_399 == 0) -{ -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_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_dec(x_12); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_400 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_400, 0, x_80); -x_401 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__3; -x_402 = lean_alloc_ctor(9, 2, 0); +x_391 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_391, 0, x_80); +x_392 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__3; +x_393 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_391); +x_394 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__6; +x_395 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_395, 0, x_393); +lean_ctor_set(x_395, 1, x_394); +x_396 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___spec__2(x_84, x_11); +x_397 = l_Array_toList___rarg(x_396); +lean_dec(x_396); +x_398 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_397); +x_399 = l_Array_HasRepr___rarg___closed__1; +x_400 = lean_string_append(x_399, x_398); +lean_dec(x_398); +x_401 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_401, 0, x_400); +x_402 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -x_403 = l___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___closed__6; -x_404 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_404, 0, x_402); -lean_ctor_set(x_404, 1, x_403); -x_405 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_11__elabAppArgsAux___main___spec__2(x_84, x_11); -x_406 = l_Array_toList___rarg(x_405); -lean_dec(x_405); -x_407 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_406); -x_408 = l_Array_HasRepr___rarg___closed__1; -x_409 = lean_string_append(x_408, x_407); -lean_dec(x_407); -x_410 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_410, 0, x_409); -x_411 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_411, 0, x_410); -x_412 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_412, 0, x_404); -lean_ctor_set(x_412, 1, x_411); -x_413 = l_Lean_Elab_Term_throwError___rarg(x_6, x_412, x_4, x_393); +x_403 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_403, 0, x_395); +lean_ctor_set(x_403, 1, x_402); +x_404 = l_Lean_Elab_Term_throwError___rarg(x_6, x_403, x_4, x_387); lean_dec(x_6); -return x_413; +return x_404; } else { @@ -4284,223 +4219,199 @@ lean_dec(x_80); lean_dec(x_11); if (lean_obj_tag(x_8) == 0) { -lean_object* x_414; +lean_object* x_405; lean_dec(x_3); -x_414 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_393); +x_405 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_387); lean_dec(x_12); -if (lean_obj_tag(x_414) == 0) +if (lean_obj_tag(x_405) == 0) { -lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_415 = lean_ctor_get(x_414, 1); -lean_inc(x_415); -if (lean_is_exclusive(x_414)) { - lean_ctor_release(x_414, 0); - lean_ctor_release(x_414, 1); - x_416 = x_414; +lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_406 = lean_ctor_get(x_405, 1); +lean_inc(x_406); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_407 = x_405; } else { - lean_dec_ref(x_414); - x_416 = lean_box(0); + lean_dec_ref(x_405); + x_407 = lean_box(0); } -if (lean_is_scalar(x_416)) { - x_417 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_407)) { + x_408 = lean_alloc_ctor(0, 2, 0); } else { - x_417 = x_416; + x_408 = x_407; } -lean_ctor_set(x_417, 0, x_2); -lean_ctor_set(x_417, 1, x_415); -return x_417; +lean_ctor_set(x_408, 0, x_2); +lean_ctor_set(x_408, 1, x_406); +return x_408; } else { -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_dec(x_2); -x_418 = lean_ctor_get(x_414, 0); -lean_inc(x_418); -x_419 = lean_ctor_get(x_414, 1); -lean_inc(x_419); -if (lean_is_exclusive(x_414)) { - lean_ctor_release(x_414, 0); - lean_ctor_release(x_414, 1); - x_420 = x_414; +x_409 = lean_ctor_get(x_405, 0); +lean_inc(x_409); +x_410 = lean_ctor_get(x_405, 1); +lean_inc(x_410); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_411 = x_405; } else { - lean_dec_ref(x_414); - x_420 = lean_box(0); + lean_dec_ref(x_405); + x_411 = lean_box(0); } -if (lean_is_scalar(x_420)) { - x_421 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_411)) { + x_412 = lean_alloc_ctor(1, 2, 0); } else { - x_421 = x_420; + x_412 = x_411; } -lean_ctor_set(x_421, 0, x_418); -lean_ctor_set(x_421, 1, x_419); -return x_421; +lean_ctor_set(x_412, 0, x_409); +lean_ctor_set(x_412, 1, x_410); +return x_412; } } else { -lean_object* x_422; lean_object* x_423; -x_422 = lean_ctor_get(x_8, 0); -lean_inc(x_422); +lean_object* x_413; lean_object* x_414; +x_413 = lean_ctor_get(x_8, 0); +lean_inc(x_413); lean_dec(x_8); lean_inc(x_4); -x_423 = l_Lean_Elab_Term_isDefEq(x_6, x_422, x_3, x_4, x_393); -if (lean_obj_tag(x_423) == 0) +x_414 = l_Lean_Elab_Term_isDefEq(x_6, x_413, x_3, x_4, x_387); +if (lean_obj_tag(x_414) == 0) { -lean_object* x_424; lean_object* x_425; -x_424 = lean_ctor_get(x_423, 1); -lean_inc(x_424); -lean_dec(x_423); -x_425 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_424); +lean_object* x_415; lean_object* x_416; +x_415 = lean_ctor_get(x_414, 1); +lean_inc(x_415); +lean_dec(x_414); +x_416 = l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_415); lean_dec(x_12); -if (lean_obj_tag(x_425) == 0) +if (lean_obj_tag(x_416) == 0) { -lean_object* x_426; lean_object* x_427; lean_object* x_428; -x_426 = lean_ctor_get(x_425, 1); -lean_inc(x_426); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - x_427 = x_425; +lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_417 = lean_ctor_get(x_416, 1); +lean_inc(x_417); +if (lean_is_exclusive(x_416)) { + lean_ctor_release(x_416, 0); + lean_ctor_release(x_416, 1); + x_418 = x_416; } else { - lean_dec_ref(x_425); - x_427 = lean_box(0); + lean_dec_ref(x_416); + x_418 = lean_box(0); } -if (lean_is_scalar(x_427)) { - x_428 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_418)) { + x_419 = lean_alloc_ctor(0, 2, 0); } else { - x_428 = x_427; + x_419 = x_418; } -lean_ctor_set(x_428, 0, x_2); -lean_ctor_set(x_428, 1, x_426); -return x_428; +lean_ctor_set(x_419, 0, x_2); +lean_ctor_set(x_419, 1, x_417); +return x_419; } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_dec(x_2); -x_429 = lean_ctor_get(x_425, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_425, 1); -lean_inc(x_430); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - x_431 = x_425; +x_420 = lean_ctor_get(x_416, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_416, 1); +lean_inc(x_421); +if (lean_is_exclusive(x_416)) { + lean_ctor_release(x_416, 0); + lean_ctor_release(x_416, 1); + x_422 = x_416; } else { - lean_dec_ref(x_425); - x_431 = lean_box(0); + lean_dec_ref(x_416); + x_422 = lean_box(0); } -if (lean_is_scalar(x_431)) { - x_432 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_422)) { + x_423 = lean_alloc_ctor(1, 2, 0); } else { - x_432 = x_431; + x_423 = x_422; } -lean_ctor_set(x_432, 0, x_429); -lean_ctor_set(x_432, 1, x_430); -return x_432; +lean_ctor_set(x_423, 0, x_420); +lean_ctor_set(x_423, 1, x_421); +return x_423; } } else { -lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_dec(x_12); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_433 = lean_ctor_get(x_423, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_423, 1); -lean_inc(x_434); -if (lean_is_exclusive(x_423)) { - lean_ctor_release(x_423, 0); - lean_ctor_release(x_423, 1); - x_435 = x_423; +x_424 = lean_ctor_get(x_414, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_414, 1); +lean_inc(x_425); +if (lean_is_exclusive(x_414)) { + lean_ctor_release(x_414, 0); + lean_ctor_release(x_414, 1); + x_426 = x_414; } else { - lean_dec_ref(x_423); - x_435 = lean_box(0); + lean_dec_ref(x_414); + x_426 = lean_box(0); } -if (lean_is_scalar(x_435)) { - x_436 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_426)) { + x_427 = lean_alloc_ctor(1, 2, 0); } else { - x_436 = x_435; + x_427 = x_426; } -lean_ctor_set(x_436, 0, x_433); -lean_ctor_set(x_436, 1, x_434); -return x_436; +lean_ctor_set(x_427, 0, x_424); +lean_ctor_set(x_427, 1, x_425); +return x_427; } } } } else { -lean_object* x_437; lean_object* x_438; lean_object* x_439; -lean_dec(x_80); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_3); -x_437 = lean_ctor_get(x_398, 0); -lean_inc(x_437); -lean_dec(x_398); -lean_inc(x_437); -x_438 = l_Lean_mkApp(x_2, x_437); -x_439 = lean_expr_instantiate1(x_82, x_437); -lean_dec(x_437); -lean_dec(x_82); -x_1 = x_395; -x_2 = x_438; -x_3 = x_439; -x_5 = x_393; -goto _start; -} -} -else -{ -lean_object* x_441; lean_object* x_442; -lean_dec(x_395); +lean_object* x_428; lean_object* x_429; lean_dec(x_80); lean_dec(x_3); -x_441 = lean_array_fget(x_7, x_10); +x_428 = lean_array_fget(x_7, x_10); lean_inc(x_4); lean_inc(x_2); lean_inc(x_6); -x_442 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_441, x_81, x_4, x_393); -if (lean_obj_tag(x_442) == 0) +x_429 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_428, x_81, x_4, x_387); +if (lean_obj_tag(x_429) == 0) { -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); -lean_inc(x_444); -lean_dec(x_442); -x_445 = lean_unsigned_to_nat(1u); -x_446 = lean_nat_add(x_10, x_445); +lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +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_unsigned_to_nat(1u); +x_433 = lean_nat_add(x_10, x_432); lean_dec(x_10); -x_447 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_447, 0, x_6); -lean_ctor_set(x_447, 1, x_7); -lean_ctor_set(x_447, 2, x_8); -lean_ctor_set(x_447, 3, x_446); -lean_ctor_set(x_447, 4, x_11); -lean_ctor_set(x_447, 5, x_12); -lean_ctor_set(x_447, 6, x_13); -lean_ctor_set_uint8(x_447, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_447, sizeof(void*)*7 + 1, x_394); -lean_inc(x_443); -x_448 = l_Lean_mkApp(x_2, x_443); -x_449 = lean_expr_instantiate1(x_82, x_443); -lean_dec(x_443); +x_434 = 1; +x_435 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_435, 0, x_6); +lean_ctor_set(x_435, 1, x_7); +lean_ctor_set(x_435, 2, x_8); +lean_ctor_set(x_435, 3, x_433); +lean_ctor_set(x_435, 4, x_11); +lean_ctor_set(x_435, 5, x_12); +lean_ctor_set(x_435, 6, x_13); +lean_ctor_set_uint8(x_435, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_435, sizeof(void*)*7 + 1, x_434); +lean_inc(x_430); +x_436 = l_Lean_mkApp(x_2, x_430); +x_437 = lean_expr_instantiate1(x_82, x_430); +lean_dec(x_430); lean_dec(x_82); -x_1 = x_447; -x_2 = x_448; -x_3 = x_449; -x_5 = x_444; +x_1 = x_435; +x_2 = x_436; +x_3 = x_437; +x_5 = x_431; goto _start; } else { -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_dec(x_82); lean_dec(x_13); lean_dec(x_12); @@ -4511,32 +4422,32 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_451 = lean_ctor_get(x_442, 0); -lean_inc(x_451); -x_452 = lean_ctor_get(x_442, 1); -lean_inc(x_452); -if (lean_is_exclusive(x_442)) { - lean_ctor_release(x_442, 0); - lean_ctor_release(x_442, 1); - x_453 = x_442; +x_439 = lean_ctor_get(x_429, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_429, 1); +lean_inc(x_440); +if (lean_is_exclusive(x_429)) { + lean_ctor_release(x_429, 0); + lean_ctor_release(x_429, 1); + x_441 = x_429; } else { - lean_dec_ref(x_442); - x_453 = lean_box(0); + lean_dec_ref(x_429); + x_441 = lean_box(0); } -if (lean_is_scalar(x_453)) { - x_454 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_441)) { + x_442 = lean_alloc_ctor(1, 2, 0); } else { - x_454 = x_453; + x_442 = x_441; } -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_452); -return x_454; +lean_ctor_set(x_442, 0, x_439); +lean_ctor_set(x_442, 1, x_440); +return x_442; } } } else { -lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_dec(x_82); lean_dec(x_81); lean_dec(x_80); @@ -4550,103 +4461,103 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_455 = lean_ctor_get(x_317, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_317, 1); -lean_inc(x_456); +x_443 = lean_ctor_get(x_317, 0); +lean_inc(x_443); +x_444 = lean_ctor_get(x_317, 1); +lean_inc(x_444); if (lean_is_exclusive(x_317)) { lean_ctor_release(x_317, 0); lean_ctor_release(x_317, 1); - x_457 = x_317; + x_445 = x_317; } else { lean_dec_ref(x_317); - x_457 = lean_box(0); + x_445 = lean_box(0); } -if (lean_is_scalar(x_457)) { - x_458 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_445)) { + x_446 = lean_alloc_ctor(1, 2, 0); } else { - x_458 = x_457; + x_446 = x_445; } -lean_ctor_set(x_458, 0, x_455); -lean_ctor_set(x_458, 1, x_456); -return x_458; +lean_ctor_set(x_446, 0, x_443); +lean_ctor_set(x_446, 1, x_444); +return x_446; } } } } else { -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_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_dec(x_80); lean_dec(x_3); -x_459 = lean_ctor_get(x_85, 0); -lean_inc(x_459); +x_447 = lean_ctor_get(x_85, 0); +lean_inc(x_447); lean_dec(x_85); -x_460 = l_Lean_Elab_Term_NamedArg_inhabited; -x_461 = lean_array_get(x_460, x_11, x_459); -x_462 = l_Array_eraseIdx___rarg(x_11, x_459); -lean_dec(x_459); -x_463 = lean_ctor_get(x_461, 1); -lean_inc(x_463); -lean_dec(x_461); +x_448 = l_Lean_Elab_Term_NamedArg_inhabited; +x_449 = lean_array_get(x_448, x_11, x_447); +x_450 = l_Array_eraseIdx___rarg(x_11, x_447); +lean_dec(x_447); +x_451 = lean_ctor_get(x_449, 1); +lean_inc(x_451); +lean_dec(x_449); lean_inc(x_4); lean_inc(x_2); lean_inc(x_6); -x_464 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_463, x_81, x_4, x_17); -if (lean_obj_tag(x_464) == 0) +x_452 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_6, x_2, x_451, x_81, x_4, x_17); +if (lean_obj_tag(x_452) == 0) { -lean_object* x_465; lean_object* x_466; lean_object* x_467; uint8_t x_468; -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_464, 1); -lean_inc(x_466); -lean_dec(x_464); +lean_object* x_453; lean_object* x_454; lean_object* x_455; uint8_t x_456; +x_453 = lean_ctor_get(x_452, 0); +lean_inc(x_453); +x_454 = lean_ctor_get(x_452, 1); +lean_inc(x_454); +lean_dec(x_452); lean_inc(x_4); lean_inc(x_1); -x_467 = l___private_Init_Lean_Elab_TermApp_10__propagateExpectedType(x_1, x_16, x_4, x_466); -x_468 = !lean_is_exclusive(x_1); -if (x_468 == 0) +x_455 = l___private_Init_Lean_Elab_TermApp_10__propagateExpectedType(x_1, x_16, x_4, x_454); +x_456 = !lean_is_exclusive(x_1); +if (x_456 == 0) { -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; -x_469 = lean_ctor_get(x_1, 6); -lean_dec(x_469); -x_470 = lean_ctor_get(x_1, 5); -lean_dec(x_470); -x_471 = lean_ctor_get(x_1, 4); -lean_dec(x_471); -x_472 = lean_ctor_get(x_1, 3); -lean_dec(x_472); -x_473 = lean_ctor_get(x_1, 2); -lean_dec(x_473); -x_474 = lean_ctor_get(x_1, 1); -lean_dec(x_474); -x_475 = lean_ctor_get(x_1, 0); -lean_dec(x_475); -if (lean_obj_tag(x_467) == 0) +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; +x_457 = lean_ctor_get(x_1, 6); +lean_dec(x_457); +x_458 = lean_ctor_get(x_1, 5); +lean_dec(x_458); +x_459 = lean_ctor_get(x_1, 4); +lean_dec(x_459); +x_460 = lean_ctor_get(x_1, 3); +lean_dec(x_460); +x_461 = lean_ctor_get(x_1, 2); +lean_dec(x_461); +x_462 = lean_ctor_get(x_1, 1); +lean_dec(x_462); +x_463 = lean_ctor_get(x_1, 0); +lean_dec(x_463); +if (lean_obj_tag(x_455) == 0) { -lean_object* x_476; uint8_t x_477; lean_object* x_478; lean_object* x_479; -x_476 = lean_ctor_get(x_467, 1); -lean_inc(x_476); -lean_dec(x_467); -x_477 = 1; -lean_ctor_set(x_1, 4, x_462); -lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_477); -lean_inc(x_465); -x_478 = l_Lean_mkApp(x_2, x_465); -x_479 = lean_expr_instantiate1(x_82, x_465); -lean_dec(x_465); +lean_object* x_464; uint8_t x_465; lean_object* x_466; lean_object* x_467; +x_464 = lean_ctor_get(x_455, 1); +lean_inc(x_464); +lean_dec(x_455); +x_465 = 1; +lean_ctor_set(x_1, 4, x_450); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_465); +lean_inc(x_453); +x_466 = l_Lean_mkApp(x_2, x_453); +x_467 = lean_expr_instantiate1(x_82, x_453); +lean_dec(x_453); lean_dec(x_82); -x_2 = x_478; -x_3 = x_479; -x_5 = x_476; +x_2 = x_466; +x_3 = x_467; +x_5 = x_464; goto _start; } else { -uint8_t x_481; +uint8_t x_469; lean_free_object(x_1); -lean_dec(x_465); -lean_dec(x_462); +lean_dec(x_453); +lean_dec(x_450); lean_dec(x_82); lean_dec(x_13); lean_dec(x_12); @@ -4656,62 +4567,62 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_481 = !lean_is_exclusive(x_467); -if (x_481 == 0) +x_469 = !lean_is_exclusive(x_455); +if (x_469 == 0) { -return x_467; +return x_455; } else { -lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_482 = lean_ctor_get(x_467, 0); -x_483 = lean_ctor_get(x_467, 1); -lean_inc(x_483); -lean_inc(x_482); -lean_dec(x_467); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -return x_484; +lean_object* x_470; lean_object* x_471; lean_object* x_472; +x_470 = lean_ctor_get(x_455, 0); +x_471 = lean_ctor_get(x_455, 1); +lean_inc(x_471); +lean_inc(x_470); +lean_dec(x_455); +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_470); +lean_ctor_set(x_472, 1, x_471); +return x_472; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_467) == 0) +if (lean_obj_tag(x_455) == 0) { -lean_object* x_485; uint8_t x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_485 = lean_ctor_get(x_467, 1); -lean_inc(x_485); -lean_dec(x_467); -x_486 = 1; -x_487 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_487, 0, x_6); -lean_ctor_set(x_487, 1, x_7); -lean_ctor_set(x_487, 2, x_8); -lean_ctor_set(x_487, 3, x_10); -lean_ctor_set(x_487, 4, x_462); -lean_ctor_set(x_487, 5, x_12); -lean_ctor_set(x_487, 6, x_13); -lean_ctor_set_uint8(x_487, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_487, sizeof(void*)*7 + 1, x_486); -lean_inc(x_465); -x_488 = l_Lean_mkApp(x_2, x_465); -x_489 = lean_expr_instantiate1(x_82, x_465); -lean_dec(x_465); +lean_object* x_473; uint8_t x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_473 = lean_ctor_get(x_455, 1); +lean_inc(x_473); +lean_dec(x_455); +x_474 = 1; +x_475 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_475, 0, x_6); +lean_ctor_set(x_475, 1, x_7); +lean_ctor_set(x_475, 2, x_8); +lean_ctor_set(x_475, 3, x_10); +lean_ctor_set(x_475, 4, x_450); +lean_ctor_set(x_475, 5, x_12); +lean_ctor_set(x_475, 6, x_13); +lean_ctor_set_uint8(x_475, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_475, sizeof(void*)*7 + 1, x_474); +lean_inc(x_453); +x_476 = l_Lean_mkApp(x_2, x_453); +x_477 = lean_expr_instantiate1(x_82, x_453); +lean_dec(x_453); lean_dec(x_82); -x_1 = x_487; -x_2 = x_488; -x_3 = x_489; -x_5 = x_485; +x_1 = x_475; +x_2 = x_476; +x_3 = x_477; +x_5 = x_473; goto _start; } else { -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -lean_dec(x_465); -lean_dec(x_462); +lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; +lean_dec(x_453); +lean_dec(x_450); lean_dec(x_82); lean_dec(x_13); lean_dec(x_12); @@ -4721,33 +4632,33 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_491 = lean_ctor_get(x_467, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_467, 1); -lean_inc(x_492); -if (lean_is_exclusive(x_467)) { - lean_ctor_release(x_467, 0); - lean_ctor_release(x_467, 1); - x_493 = x_467; +x_479 = lean_ctor_get(x_455, 0); +lean_inc(x_479); +x_480 = lean_ctor_get(x_455, 1); +lean_inc(x_480); +if (lean_is_exclusive(x_455)) { + lean_ctor_release(x_455, 0); + lean_ctor_release(x_455, 1); + x_481 = x_455; } else { - lean_dec_ref(x_467); - x_493 = lean_box(0); + lean_dec_ref(x_455); + x_481 = lean_box(0); } -if (lean_is_scalar(x_493)) { - x_494 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_481)) { + x_482 = lean_alloc_ctor(1, 2, 0); } else { - x_494 = x_493; + x_482 = x_481; } -lean_ctor_set(x_494, 0, x_491); -lean_ctor_set(x_494, 1, x_492); -return x_494; +lean_ctor_set(x_482, 0, x_479); +lean_ctor_set(x_482, 1, x_480); +return x_482; } } } else { -uint8_t x_495; -lean_dec(x_462); +uint8_t x_483; +lean_dec(x_450); lean_dec(x_82); lean_dec(x_16); lean_dec(x_13); @@ -4759,33 +4670,33 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_495 = !lean_is_exclusive(x_464); -if (x_495 == 0) +x_483 = !lean_is_exclusive(x_452); +if (x_483 == 0) { -return x_464; +return x_452; } else { -lean_object* x_496; lean_object* x_497; lean_object* x_498; -x_496 = lean_ctor_get(x_464, 0); -x_497 = lean_ctor_get(x_464, 1); -lean_inc(x_497); -lean_inc(x_496); -lean_dec(x_464); -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_496); -lean_ctor_set(x_498, 1, x_497); -return x_498; +lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_484 = lean_ctor_get(x_452, 0); +x_485 = lean_ctor_get(x_452, 1); +lean_inc(x_485); +lean_inc(x_484); +lean_dec(x_452); +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_484); +lean_ctor_set(x_486, 1, x_485); +return x_486; } } } } else { -lean_object* x_499; +lean_object* x_487; lean_dec(x_13); -x_499 = lean_box(0); -x_18 = x_499; +x_487 = lean_box(0); +x_18 = x_487; goto block_79; } block_79: @@ -5131,7 +5042,7 @@ return x_78; } else { -uint8_t x_500; +uint8_t x_488; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -5143,23 +5054,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_500 = !lean_is_exclusive(x_15); -if (x_500 == 0) +x_488 = !lean_is_exclusive(x_15); +if (x_488 == 0) { return x_15; } else { -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_15, 0); -x_502 = lean_ctor_get(x_15, 1); -lean_inc(x_502); -lean_inc(x_501); +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_15, 0); +x_490 = lean_ctor_get(x_15, 1); +lean_inc(x_490); +lean_inc(x_489); lean_dec(x_15); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -return x_503; +x_491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_491, 0, x_489); +lean_ctor_set(x_491, 1, x_490); +return x_491; } } } @@ -9469,13 +9380,13 @@ x_186 = l_coeDecidableEq(x_185); if (x_186 == 0) { lean_object* x_187; uint8_t x_188; -x_187 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; +x_187 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; lean_inc(x_2); x_188 = l_Lean_Syntax_isOfKind(x_2, x_187); if (x_188 == 0) { uint8_t x_189; -x_189 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_189 = l_Lean_Elab_Term_elabParen___closed__4; if (x_189 == 0) { lean_object* x_190; uint8_t x_191; @@ -12728,7 +12639,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef(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_Parser_Term_arrayRef___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__2; x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__3; x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); @@ -12917,7 +12828,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp(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_Parser_Term_sortApp___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__2; x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__3; x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index 7ea9e956d3..1c6ea52256 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -41,8 +41,8 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; lean_object* l_Lean_Elab_Term_elabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; -extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -63,7 +63,7 @@ extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_5__matchBinder___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_7__elabBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_11__expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -86,6 +86,7 @@ lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*, uint8_t); lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_object*); +extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -161,6 +162,7 @@ lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* l___private_Init_Lean_Elab_TermBinders_7__elabBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_5__matchBinder(lean_object*, lean_object*, lean_object*); @@ -180,7 +182,6 @@ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_2__expandBinderIdent___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l_Lean_Elab_Term_elabLetIdDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -226,11 +227,11 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_2__expandBinderIdent(lean_ob extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3; extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3; @@ -244,7 +245,6 @@ extern lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabLetDecl___closed__7; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l___private_Init_Lean_Elab_TermBinders_3__expandOptIdent(lean_object*, lean_object*, lean_object*); @@ -296,7 +296,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_6 = l_Lean_Elab_Term_elabParen___closed__4; if (x_6 == 0) { lean_object* x_7; @@ -552,7 +552,7 @@ lean_ctor_set(x_29, 2, x_26); lean_ctor_set(x_29, 3, x_28); x_30 = l_Array_empty___closed__1; x_31 = lean_array_push(x_30, x_29); -x_32 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_32 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_33 = lean_array_push(x_31, x_32); x_34 = l_Lean_mkTermIdFromIdent___closed__2; x_35 = lean_alloc_ctor(1, 2, 0); @@ -593,7 +593,7 @@ lean_ctor_set(x_51, 2, x_48); lean_ctor_set(x_51, 3, x_50); x_52 = l_Array_empty___closed__1; x_53 = lean_array_push(x_52, x_51); -x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_55 = lean_array_push(x_53, x_54); x_56 = l_Lean_mkTermIdFromIdent___closed__2; x_57 = lean_alloc_ctor(1, 2, 0); @@ -3420,7 +3420,7 @@ x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { uint8_t x_7; -x_7 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_7 = l_Lean_Elab_Term_elabParen___closed__4; if (x_7 == 0) { lean_object* x_8; @@ -3686,10 +3686,10 @@ if (x_15 == 0) lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 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; x_16 = lean_ctor_get(x_14, 0); x_17 = lean_box(0); -x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; +x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; x_19 = l_Lean_addMacroScope(x_16, x_18, x_12); x_20 = lean_box(0); -x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; +x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; x_22 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_22, 0, x_17); lean_ctor_set(x_22, 1, x_21); @@ -3709,7 +3709,7 @@ x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_25); lean_ctor_set(x_31, 1, x_30); x_32 = lean_array_push(x_28, x_31); -x_33 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_33 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_34 = lean_array_push(x_32, x_33); x_35 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; x_36 = lean_array_push(x_34, x_35); @@ -3742,10 +3742,10 @@ lean_inc(x_49); lean_inc(x_48); lean_dec(x_14); x_50 = lean_box(0); -x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; +x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; x_52 = l_Lean_addMacroScope(x_48, x_51, x_12); x_53 = lean_box(0); -x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; +x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_50); lean_ctor_set(x_55, 1, x_54); @@ -3765,7 +3765,7 @@ x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_58); lean_ctor_set(x_64, 1, x_63); x_65 = lean_array_push(x_61, x_64); -x_66 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_66 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_67 = lean_array_push(x_65, x_66); x_68 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; x_69 = lean_array_push(x_67, x_68); @@ -3961,7 +3961,7 @@ x_9 = l_Lean_Syntax_isOfKind(x_2, x_8); if (x_9 == 0) { uint8_t x_10; -x_10 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_10 = l_Lean_Elab_Term_elabParen___closed__4; if (x_10 == 0) { uint8_t x_11; lean_object* x_12; @@ -4146,7 +4146,7 @@ x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); if (x_65 == 0) { uint8_t x_66; -x_66 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_66 = l_Lean_Elab_Term_elabParen___closed__4; if (x_66 == 0) { uint8_t x_67; lean_object* x_68; @@ -4718,7 +4718,7 @@ x_51 = lean_ctor_get(x_49, 0); lean_dec(x_51); x_52 = l_Array_empty___closed__1; x_53 = lean_array_push(x_52, x_35); -x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_55 = lean_array_push(x_53, x_54); x_56 = l_Lean_mkTermIdFromIdent___closed__2; x_57 = lean_alloc_ctor(1, 2, 0); @@ -4806,7 +4806,7 @@ lean_inc(x_95); lean_dec(x_49); x_96 = l_Array_empty___closed__1; x_97 = lean_array_push(x_96, x_35); -x_98 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_98 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_99 = lean_array_push(x_97, x_98); x_100 = l_Lean_mkTermIdFromIdent___closed__2; x_101 = lean_alloc_ctor(1, 2, 0); @@ -4891,7 +4891,7 @@ if (lean_is_exclusive(x_131)) { } x_134 = l_Array_empty___closed__1; x_135 = lean_array_push(x_134, x_35); -x_136 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_136 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_137 = lean_array_push(x_135, x_136); x_138 = l_Lean_mkTermIdFromIdent___closed__2; x_139 = lean_alloc_ctor(1, 2, 0); @@ -5101,7 +5101,7 @@ x_208 = lean_ctor_get(x_206, 0); lean_dec(x_208); x_209 = l_Array_empty___closed__1; x_210 = lean_array_push(x_209, x_192); -x_211 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_211 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_212 = lean_array_push(x_210, x_211); x_213 = l_Lean_mkTermIdFromIdent___closed__2; x_214 = lean_alloc_ctor(1, 2, 0); @@ -5189,7 +5189,7 @@ lean_inc(x_252); lean_dec(x_206); x_253 = l_Array_empty___closed__1; x_254 = lean_array_push(x_253, x_192); -x_255 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_255 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_256 = lean_array_push(x_254, x_255); x_257 = l_Lean_mkTermIdFromIdent___closed__2; x_258 = lean_alloc_ctor(1, 2, 0); @@ -5274,7 +5274,7 @@ if (lean_is_exclusive(x_288)) { } x_291 = l_Array_empty___closed__1; x_292 = lean_array_push(x_291, x_192); -x_293 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_293 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_294 = lean_array_push(x_292, x_293); x_295 = l_Lean_mkTermIdFromIdent___closed__2; x_296 = lean_alloc_ctor(1, 2, 0); @@ -5487,7 +5487,7 @@ x_365 = lean_ctor_get(x_363, 0); lean_dec(x_365); x_366 = l_Array_empty___closed__1; x_367 = lean_array_push(x_366, x_349); -x_368 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_368 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_369 = lean_array_push(x_367, x_368); x_370 = l_Lean_mkTermIdFromIdent___closed__2; x_371 = lean_alloc_ctor(1, 2, 0); @@ -5575,7 +5575,7 @@ lean_inc(x_409); lean_dec(x_363); x_410 = l_Array_empty___closed__1; x_411 = lean_array_push(x_410, x_349); -x_412 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_412 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_413 = lean_array_push(x_411, x_412); x_414 = l_Lean_mkTermIdFromIdent___closed__2; x_415 = lean_alloc_ctor(1, 2, 0); @@ -5660,7 +5660,7 @@ if (lean_is_exclusive(x_445)) { } x_448 = l_Array_empty___closed__1; x_449 = lean_array_push(x_448, x_349); -x_450 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_450 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_451 = lean_array_push(x_449, x_450); x_452 = l_Lean_mkTermIdFromIdent___closed__2; x_453 = lean_alloc_ctor(1, 2, 0); @@ -5819,7 +5819,7 @@ x_501 = lean_string_dec_eq(x_19, x_500); if (x_501 == 0) { lean_object* x_502; uint8_t x_503; -x_502 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_502 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_503 = lean_string_dec_eq(x_19, x_502); if (x_503 == 0) { @@ -5879,7 +5879,7 @@ x_524 = lean_ctor_get(x_522, 0); lean_dec(x_524); x_525 = l_Array_empty___closed__1; x_526 = lean_array_push(x_525, x_508); -x_527 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_527 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_528 = lean_array_push(x_526, x_527); x_529 = l_Lean_mkTermIdFromIdent___closed__2; x_530 = lean_alloc_ctor(1, 2, 0); @@ -5967,7 +5967,7 @@ lean_inc(x_568); lean_dec(x_522); x_569 = l_Array_empty___closed__1; x_570 = lean_array_push(x_569, x_508); -x_571 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_571 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_572 = lean_array_push(x_570, x_571); x_573 = l_Lean_mkTermIdFromIdent___closed__2; x_574 = lean_alloc_ctor(1, 2, 0); @@ -6052,7 +6052,7 @@ if (lean_is_exclusive(x_604)) { } x_607 = l_Array_empty___closed__1; x_608 = lean_array_push(x_607, x_508); -x_609 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_609 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_610 = lean_array_push(x_608, x_609); x_611 = l_Lean_mkTermIdFromIdent___closed__2; x_612 = lean_alloc_ctor(1, 2, 0); @@ -6283,7 +6283,7 @@ x_690 = lean_ctor_get(x_688, 0); lean_dec(x_690); x_691 = l_Array_empty___closed__1; x_692 = lean_array_push(x_691, x_675); -x_693 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_693 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_694 = lean_array_push(x_692, x_693); x_695 = l_Lean_mkTermIdFromIdent___closed__2; x_696 = lean_alloc_ctor(1, 2, 0); @@ -6371,7 +6371,7 @@ lean_inc(x_734); lean_dec(x_688); x_735 = l_Array_empty___closed__1; x_736 = lean_array_push(x_735, x_675); -x_737 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_737 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_738 = lean_array_push(x_736, x_737); x_739 = l_Lean_mkTermIdFromIdent___closed__2; x_740 = lean_alloc_ctor(1, 2, 0); @@ -6456,7 +6456,7 @@ if (lean_is_exclusive(x_770)) { } x_773 = l_Array_empty___closed__1; x_774 = lean_array_push(x_773, x_675); -x_775 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_775 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_776 = lean_array_push(x_774, x_775); x_777 = l_Lean_mkTermIdFromIdent___closed__2; x_778 = lean_alloc_ctor(1, 2, 0); @@ -6603,7 +6603,7 @@ x_829 = lean_ctor_get(x_827, 0); lean_dec(x_829); x_830 = l_Array_empty___closed__1; x_831 = lean_array_push(x_830, x_814); -x_832 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_832 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_833 = lean_array_push(x_831, x_832); x_834 = l_Lean_mkTermIdFromIdent___closed__2; x_835 = lean_alloc_ctor(1, 2, 0); @@ -6691,7 +6691,7 @@ lean_inc(x_873); lean_dec(x_827); x_874 = l_Array_empty___closed__1; x_875 = lean_array_push(x_874, x_814); -x_876 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_876 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_877 = lean_array_push(x_875, x_876); x_878 = l_Lean_mkTermIdFromIdent___closed__2; x_879 = lean_alloc_ctor(1, 2, 0); @@ -6776,7 +6776,7 @@ if (lean_is_exclusive(x_909)) { } x_912 = l_Array_empty___closed__1; x_913 = lean_array_push(x_912, x_814); -x_914 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_914 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_915 = lean_array_push(x_913, x_914); x_916 = l_Lean_mkTermIdFromIdent___closed__2; x_917 = lean_alloc_ctor(1, 2, 0); @@ -6935,7 +6935,7 @@ x_970 = lean_ctor_get(x_968, 0); lean_dec(x_970); x_971 = l_Array_empty___closed__1; x_972 = lean_array_push(x_971, x_955); -x_973 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_973 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_974 = lean_array_push(x_972, x_973); x_975 = l_Lean_mkTermIdFromIdent___closed__2; x_976 = lean_alloc_ctor(1, 2, 0); @@ -7023,7 +7023,7 @@ lean_inc(x_1014); lean_dec(x_968); x_1015 = l_Array_empty___closed__1; x_1016 = lean_array_push(x_1015, x_955); -x_1017 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1017 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1018 = lean_array_push(x_1016, x_1017); x_1019 = l_Lean_mkTermIdFromIdent___closed__2; x_1020 = lean_alloc_ctor(1, 2, 0); @@ -7108,7 +7108,7 @@ if (lean_is_exclusive(x_1050)) { } x_1053 = l_Array_empty___closed__1; x_1054 = lean_array_push(x_1053, x_955); -x_1055 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1055 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1056 = lean_array_push(x_1054, x_1055); x_1057 = l_Lean_mkTermIdFromIdent___closed__2; x_1058 = lean_alloc_ctor(1, 2, 0); @@ -7245,7 +7245,7 @@ x_1105 = lean_ctor_get(x_1103, 0); lean_dec(x_1105); x_1106 = l_Array_empty___closed__1; x_1107 = lean_array_push(x_1106, x_1090); -x_1108 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1108 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1109 = lean_array_push(x_1107, x_1108); x_1110 = l_Lean_mkTermIdFromIdent___closed__2; x_1111 = lean_alloc_ctor(1, 2, 0); @@ -7333,7 +7333,7 @@ lean_inc(x_1149); lean_dec(x_1103); x_1150 = l_Array_empty___closed__1; x_1151 = lean_array_push(x_1150, x_1090); -x_1152 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1152 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1153 = lean_array_push(x_1151, x_1152); x_1154 = l_Lean_mkTermIdFromIdent___closed__2; x_1155 = lean_alloc_ctor(1, 2, 0); @@ -7418,7 +7418,7 @@ if (lean_is_exclusive(x_1185)) { } x_1188 = l_Array_empty___closed__1; x_1189 = lean_array_push(x_1188, x_1090); -x_1190 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1190 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1191 = lean_array_push(x_1189, x_1190); x_1192 = l_Lean_mkTermIdFromIdent___closed__2; x_1193 = lean_alloc_ctor(1, 2, 0); @@ -7619,7 +7619,7 @@ if (lean_is_exclusive(x_1254)) { } x_1257 = l_Array_empty___closed__1; x_1258 = lean_array_push(x_1257, x_1239); -x_1259 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1259 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1260 = lean_array_push(x_1258, x_1259); x_1261 = l_Lean_mkTermIdFromIdent___closed__2; x_1262 = lean_alloc_ctor(1, 2, 0); @@ -7851,7 +7851,7 @@ if (lean_is_exclusive(x_1331)) { } x_1334 = l_Array_empty___closed__1; x_1335 = lean_array_push(x_1334, x_1316); -x_1336 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1336 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1337 = lean_array_push(x_1335, x_1336); x_1338 = l_Lean_mkTermIdFromIdent___closed__2; x_1339 = lean_alloc_ctor(1, 2, 0); @@ -8086,7 +8086,7 @@ if (lean_is_exclusive(x_1408)) { } x_1411 = l_Array_empty___closed__1; x_1412 = lean_array_push(x_1411, x_1393); -x_1413 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1413 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1414 = lean_array_push(x_1412, x_1413); x_1415 = l_Lean_mkTermIdFromIdent___closed__2; x_1416 = lean_alloc_ctor(1, 2, 0); @@ -8252,7 +8252,7 @@ x_1464 = lean_string_dec_eq(x_19, x_1463); if (x_1464 == 0) { lean_object* x_1465; uint8_t x_1466; -x_1465 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1465 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_1466 = lean_string_dec_eq(x_19, x_1465); if (x_1466 == 0) { @@ -8327,7 +8327,7 @@ if (lean_is_exclusive(x_1487)) { } x_1490 = l_Array_empty___closed__1; x_1491 = lean_array_push(x_1490, x_1472); -x_1492 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1492 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1493 = lean_array_push(x_1491, x_1492); x_1494 = l_Lean_mkTermIdFromIdent___closed__2; x_1495 = lean_alloc_ctor(1, 2, 0); @@ -8575,7 +8575,7 @@ if (lean_is_exclusive(x_1572)) { } x_1575 = l_Array_empty___closed__1; x_1576 = lean_array_push(x_1575, x_1558); -x_1577 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1577 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1578 = lean_array_push(x_1576, x_1577); x_1579 = l_Lean_mkTermIdFromIdent___closed__2; x_1580 = lean_alloc_ctor(1, 2, 0); @@ -8738,7 +8738,7 @@ if (lean_is_exclusive(x_1630)) { } x_1633 = l_Array_empty___closed__1; x_1634 = lean_array_push(x_1633, x_1616); -x_1635 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1635 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1636 = lean_array_push(x_1634, x_1635); x_1637 = l_Lean_mkTermIdFromIdent___closed__2; x_1638 = lean_alloc_ctor(1, 2, 0); @@ -8913,7 +8913,7 @@ if (lean_is_exclusive(x_1690)) { } x_1693 = l_Array_empty___closed__1; x_1694 = lean_array_push(x_1693, x_1676); -x_1695 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1695 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1696 = lean_array_push(x_1694, x_1695); x_1697 = l_Lean_mkTermIdFromIdent___closed__2; x_1698 = lean_alloc_ctor(1, 2, 0); @@ -9066,7 +9066,7 @@ if (lean_is_exclusive(x_1744)) { } x_1747 = l_Array_empty___closed__1; x_1748 = lean_array_push(x_1747, x_1730); -x_1749 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1749 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1750 = lean_array_push(x_1748, x_1749); x_1751 = l_Lean_mkTermIdFromIdent___closed__2; x_1752 = lean_alloc_ctor(1, 2, 0); @@ -9283,7 +9283,7 @@ if (lean_is_exclusive(x_1816)) { } x_1819 = l_Array_empty___closed__1; x_1820 = lean_array_push(x_1819, x_1801); -x_1821 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1821 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1822 = lean_array_push(x_1820, x_1821); x_1823 = l_Lean_mkTermIdFromIdent___closed__2; x_1824 = lean_alloc_ctor(1, 2, 0); @@ -9523,7 +9523,7 @@ if (lean_is_exclusive(x_1894)) { } x_1897 = l_Array_empty___closed__1; x_1898 = lean_array_push(x_1897, x_1879); -x_1899 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1899 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1900 = lean_array_push(x_1898, x_1899); x_1901 = l_Lean_mkTermIdFromIdent___closed__2; x_1902 = lean_alloc_ctor(1, 2, 0); @@ -9765,7 +9765,7 @@ if (lean_is_exclusive(x_1972)) { } x_1975 = l_Array_empty___closed__1; x_1976 = lean_array_push(x_1975, x_1957); -x_1977 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1977 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_1978 = lean_array_push(x_1976, x_1977); x_1979 = l_Lean_mkTermIdFromIdent___closed__2; x_1980 = lean_alloc_ctor(1, 2, 0); @@ -9931,7 +9931,7 @@ x_2028 = lean_string_dec_eq(x_19, x_2027); if (x_2028 == 0) { lean_object* x_2029; uint8_t x_2030; -x_2029 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2029 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_2030 = lean_string_dec_eq(x_19, x_2029); if (x_2030 == 0) { @@ -10013,7 +10013,7 @@ if (lean_is_exclusive(x_2052)) { } x_2055 = l_Array_empty___closed__1; x_2056 = lean_array_push(x_2055, x_2037); -x_2057 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2057 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2058 = lean_array_push(x_2056, x_2057); x_2059 = l_Lean_mkTermIdFromIdent___closed__2; x_2060 = lean_alloc_ctor(1, 2, 0); @@ -10261,7 +10261,7 @@ if (lean_is_exclusive(x_2137)) { } x_2140 = l_Array_empty___closed__1; x_2141 = lean_array_push(x_2140, x_2123); -x_2142 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2142 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2143 = lean_array_push(x_2141, x_2142); x_2144 = l_Lean_mkTermIdFromIdent___closed__2; x_2145 = lean_alloc_ctor(1, 2, 0); @@ -10424,7 +10424,7 @@ if (lean_is_exclusive(x_2195)) { } x_2198 = l_Array_empty___closed__1; x_2199 = lean_array_push(x_2198, x_2181); -x_2200 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2200 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2201 = lean_array_push(x_2199, x_2200); x_2202 = l_Lean_mkTermIdFromIdent___closed__2; x_2203 = lean_alloc_ctor(1, 2, 0); @@ -10599,7 +10599,7 @@ if (lean_is_exclusive(x_2255)) { } x_2258 = l_Array_empty___closed__1; x_2259 = lean_array_push(x_2258, x_2241); -x_2260 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2260 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2261 = lean_array_push(x_2259, x_2260); x_2262 = l_Lean_mkTermIdFromIdent___closed__2; x_2263 = lean_alloc_ctor(1, 2, 0); @@ -10752,7 +10752,7 @@ if (lean_is_exclusive(x_2309)) { } x_2312 = l_Array_empty___closed__1; x_2313 = lean_array_push(x_2312, x_2295); -x_2314 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2314 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2315 = lean_array_push(x_2313, x_2314); x_2316 = l_Lean_mkTermIdFromIdent___closed__2; x_2317 = lean_alloc_ctor(1, 2, 0); @@ -10980,7 +10980,7 @@ if (lean_is_exclusive(x_2384)) { } x_2387 = l_Array_empty___closed__1; x_2388 = lean_array_push(x_2387, x_2369); -x_2389 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2389 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2390 = lean_array_push(x_2388, x_2389); x_2391 = l_Lean_mkTermIdFromIdent___closed__2; x_2392 = lean_alloc_ctor(1, 2, 0); @@ -11228,7 +11228,7 @@ if (lean_is_exclusive(x_2463)) { } x_2466 = l_Array_empty___closed__1; x_2467 = lean_array_push(x_2466, x_2448); -x_2468 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2468 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2469 = lean_array_push(x_2467, x_2468); x_2470 = l_Lean_mkTermIdFromIdent___closed__2; x_2471 = lean_alloc_ctor(1, 2, 0); @@ -11478,7 +11478,7 @@ if (lean_is_exclusive(x_2542)) { } x_2545 = l_Array_empty___closed__1; x_2546 = lean_array_push(x_2545, x_2527); -x_2547 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2547 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2548 = lean_array_push(x_2546, x_2547); x_2549 = l_Lean_mkTermIdFromIdent___closed__2; x_2550 = lean_alloc_ctor(1, 2, 0); @@ -11644,7 +11644,7 @@ x_2598 = lean_string_dec_eq(x_19, x_2597); if (x_2598 == 0) { lean_object* x_2599; uint8_t x_2600; -x_2599 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2599 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_2600 = lean_string_dec_eq(x_19, x_2599); if (x_2600 == 0) { @@ -11733,7 +11733,7 @@ if (lean_is_exclusive(x_2623)) { } x_2626 = l_Array_empty___closed__1; x_2627 = lean_array_push(x_2626, x_2608); -x_2628 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2628 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2629 = lean_array_push(x_2627, x_2628); x_2630 = l_Lean_mkTermIdFromIdent___closed__2; x_2631 = lean_alloc_ctor(1, 2, 0); @@ -11981,7 +11981,7 @@ if (lean_is_exclusive(x_2708)) { } x_2711 = l_Array_empty___closed__1; x_2712 = lean_array_push(x_2711, x_2694); -x_2713 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2713 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2714 = lean_array_push(x_2712, x_2713); x_2715 = l_Lean_mkTermIdFromIdent___closed__2; x_2716 = lean_alloc_ctor(1, 2, 0); @@ -12144,7 +12144,7 @@ if (lean_is_exclusive(x_2766)) { } x_2769 = l_Array_empty___closed__1; x_2770 = lean_array_push(x_2769, x_2752); -x_2771 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2771 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2772 = lean_array_push(x_2770, x_2771); x_2773 = l_Lean_mkTermIdFromIdent___closed__2; x_2774 = lean_alloc_ctor(1, 2, 0); @@ -12319,7 +12319,7 @@ if (lean_is_exclusive(x_2826)) { } x_2829 = l_Array_empty___closed__1; x_2830 = lean_array_push(x_2829, x_2812); -x_2831 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2831 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2832 = lean_array_push(x_2830, x_2831); x_2833 = l_Lean_mkTermIdFromIdent___closed__2; x_2834 = lean_alloc_ctor(1, 2, 0); @@ -12472,7 +12472,7 @@ if (lean_is_exclusive(x_2880)) { } x_2883 = l_Array_empty___closed__1; x_2884 = lean_array_push(x_2883, x_2866); -x_2885 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2885 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2886 = lean_array_push(x_2884, x_2885); x_2887 = l_Lean_mkTermIdFromIdent___closed__2; x_2888 = lean_alloc_ctor(1, 2, 0); @@ -12711,7 +12711,7 @@ if (lean_is_exclusive(x_2958)) { } x_2961 = l_Array_empty___closed__1; x_2962 = lean_array_push(x_2961, x_2943); -x_2963 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2963 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_2964 = lean_array_push(x_2962, x_2963); x_2965 = l_Lean_mkTermIdFromIdent___closed__2; x_2966 = lean_alloc_ctor(1, 2, 0); @@ -12966,7 +12966,7 @@ if (lean_is_exclusive(x_3038)) { } x_3041 = l_Array_empty___closed__1; x_3042 = lean_array_push(x_3041, x_3023); -x_3043 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3043 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3044 = lean_array_push(x_3042, x_3043); x_3045 = l_Lean_mkTermIdFromIdent___closed__2; x_3046 = lean_alloc_ctor(1, 2, 0); @@ -13223,7 +13223,7 @@ if (lean_is_exclusive(x_3118)) { } x_3121 = l_Array_empty___closed__1; x_3122 = lean_array_push(x_3121, x_3103); -x_3123 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3123 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3124 = lean_array_push(x_3122, x_3123); x_3125 = l_Lean_mkTermIdFromIdent___closed__2; x_3126 = lean_alloc_ctor(1, 2, 0); @@ -13389,7 +13389,7 @@ x_3174 = lean_string_dec_eq(x_2927, x_3173); if (x_3174 == 0) { lean_object* x_3175; uint8_t x_3176; -x_3175 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_3175 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3176 = lean_string_dec_eq(x_2927, x_3175); if (x_3176 == 0) { @@ -13485,7 +13485,7 @@ if (lean_is_exclusive(x_3200)) { } x_3203 = l_Array_empty___closed__1; x_3204 = lean_array_push(x_3203, x_3185); -x_3205 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3205 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3206 = lean_array_push(x_3204, x_3205); x_3207 = l_Lean_mkTermIdFromIdent___closed__2; x_3208 = lean_alloc_ctor(1, 2, 0); @@ -13733,7 +13733,7 @@ if (lean_is_exclusive(x_3285)) { } x_3288 = l_Array_empty___closed__1; x_3289 = lean_array_push(x_3288, x_3271); -x_3290 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3290 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3291 = lean_array_push(x_3289, x_3290); x_3292 = l_Lean_mkTermIdFromIdent___closed__2; x_3293 = lean_alloc_ctor(1, 2, 0); @@ -13896,7 +13896,7 @@ if (lean_is_exclusive(x_3343)) { } x_3346 = l_Array_empty___closed__1; x_3347 = lean_array_push(x_3346, x_3329); -x_3348 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3348 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3349 = lean_array_push(x_3347, x_3348); x_3350 = l_Lean_mkTermIdFromIdent___closed__2; x_3351 = lean_alloc_ctor(1, 2, 0); @@ -14071,7 +14071,7 @@ if (lean_is_exclusive(x_3403)) { } x_3406 = l_Array_empty___closed__1; x_3407 = lean_array_push(x_3406, x_3389); -x_3408 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3408 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3409 = lean_array_push(x_3407, x_3408); x_3410 = l_Lean_mkTermIdFromIdent___closed__2; x_3411 = lean_alloc_ctor(1, 2, 0); @@ -14224,7 +14224,7 @@ if (lean_is_exclusive(x_3457)) { } x_3460 = l_Array_empty___closed__1; x_3461 = lean_array_push(x_3460, x_3443); -x_3462 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3462 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3463 = lean_array_push(x_3461, x_3462); x_3464 = l_Lean_mkTermIdFromIdent___closed__2; x_3465 = lean_alloc_ctor(1, 2, 0); @@ -14407,7 +14407,7 @@ x_3523 = lean_ctor_get(x_3521, 0); lean_dec(x_3523); x_3524 = l_Array_empty___closed__1; x_3525 = lean_array_push(x_3524, x_3507); -x_3526 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3526 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3527 = lean_array_push(x_3525, x_3526); x_3528 = l_Lean_mkTermIdFromIdent___closed__2; x_3529 = lean_alloc_ctor(1, 2, 0); @@ -14495,7 +14495,7 @@ lean_inc(x_3567); lean_dec(x_3521); x_3568 = l_Array_empty___closed__1; x_3569 = lean_array_push(x_3568, x_3507); -x_3570 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3570 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3571 = lean_array_push(x_3569, x_3570); x_3572 = l_Lean_mkTermIdFromIdent___closed__2; x_3573 = lean_alloc_ctor(1, 2, 0); @@ -14580,7 +14580,7 @@ if (lean_is_exclusive(x_3603)) { } x_3606 = l_Array_empty___closed__1; x_3607 = lean_array_push(x_3606, x_3507); -x_3608 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3608 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3609 = lean_array_push(x_3607, x_3608); x_3610 = l_Lean_mkTermIdFromIdent___closed__2; x_3611 = lean_alloc_ctor(1, 2, 0); @@ -14785,7 +14785,7 @@ x_3677 = lean_ctor_get(x_3675, 0); lean_dec(x_3677); x_3678 = l_Array_empty___closed__1; x_3679 = lean_array_push(x_3678, x_3661); -x_3680 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3680 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3681 = lean_array_push(x_3679, x_3680); x_3682 = l_Lean_mkTermIdFromIdent___closed__2; x_3683 = lean_alloc_ctor(1, 2, 0); @@ -14873,7 +14873,7 @@ lean_inc(x_3721); lean_dec(x_3675); x_3722 = l_Array_empty___closed__1; x_3723 = lean_array_push(x_3722, x_3661); -x_3724 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3724 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3725 = lean_array_push(x_3723, x_3724); x_3726 = l_Lean_mkTermIdFromIdent___closed__2; x_3727 = lean_alloc_ctor(1, 2, 0); @@ -14958,7 +14958,7 @@ if (lean_is_exclusive(x_3757)) { } x_3760 = l_Array_empty___closed__1; x_3761 = lean_array_push(x_3760, x_3661); -x_3762 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3762 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3763 = lean_array_push(x_3761, x_3762); x_3764 = l_Lean_mkTermIdFromIdent___closed__2; x_3765 = lean_alloc_ctor(1, 2, 0); @@ -15162,7 +15162,7 @@ x_3831 = lean_ctor_get(x_3829, 0); lean_dec(x_3831); x_3832 = l_Array_empty___closed__1; x_3833 = lean_array_push(x_3832, x_3815); -x_3834 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3834 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3835 = lean_array_push(x_3833, x_3834); x_3836 = l_Lean_mkTermIdFromIdent___closed__2; x_3837 = lean_alloc_ctor(1, 2, 0); @@ -15250,7 +15250,7 @@ lean_inc(x_3875); lean_dec(x_3829); x_3876 = l_Array_empty___closed__1; x_3877 = lean_array_push(x_3876, x_3815); -x_3878 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3878 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3879 = lean_array_push(x_3877, x_3878); x_3880 = l_Lean_mkTermIdFromIdent___closed__2; x_3881 = lean_alloc_ctor(1, 2, 0); @@ -15335,7 +15335,7 @@ if (lean_is_exclusive(x_3911)) { } x_3914 = l_Array_empty___closed__1; x_3915 = lean_array_push(x_3914, x_3815); -x_3916 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3916 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3917 = lean_array_push(x_3915, x_3916); x_3918 = l_Lean_mkTermIdFromIdent___closed__2; x_3919 = lean_alloc_ctor(1, 2, 0); @@ -15538,7 +15538,7 @@ x_3985 = lean_ctor_get(x_3983, 0); lean_dec(x_3985); x_3986 = l_Array_empty___closed__1; x_3987 = lean_array_push(x_3986, x_3969); -x_3988 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3988 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_3989 = lean_array_push(x_3987, x_3988); x_3990 = l_Lean_mkTermIdFromIdent___closed__2; x_3991 = lean_alloc_ctor(1, 2, 0); @@ -15626,7 +15626,7 @@ lean_inc(x_4029); lean_dec(x_3983); x_4030 = l_Array_empty___closed__1; x_4031 = lean_array_push(x_4030, x_3969); -x_4032 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4032 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4033 = lean_array_push(x_4031, x_4032); x_4034 = l_Lean_mkTermIdFromIdent___closed__2; x_4035 = lean_alloc_ctor(1, 2, 0); @@ -15711,7 +15711,7 @@ if (lean_is_exclusive(x_4065)) { } x_4068 = l_Array_empty___closed__1; x_4069 = lean_array_push(x_4068, x_3969); -x_4070 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4070 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4071 = lean_array_push(x_4069, x_4070); x_4072 = l_Lean_mkTermIdFromIdent___closed__2; x_4073 = lean_alloc_ctor(1, 2, 0); @@ -15913,7 +15913,7 @@ x_4139 = lean_ctor_get(x_4137, 0); lean_dec(x_4139); x_4140 = l_Array_empty___closed__1; x_4141 = lean_array_push(x_4140, x_4123); -x_4142 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4142 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4143 = lean_array_push(x_4141, x_4142); x_4144 = l_Lean_mkTermIdFromIdent___closed__2; x_4145 = lean_alloc_ctor(1, 2, 0); @@ -16001,7 +16001,7 @@ lean_inc(x_4183); lean_dec(x_4137); x_4184 = l_Array_empty___closed__1; x_4185 = lean_array_push(x_4184, x_4123); -x_4186 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4186 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4187 = lean_array_push(x_4185, x_4186); x_4188 = l_Lean_mkTermIdFromIdent___closed__2; x_4189 = lean_alloc_ctor(1, 2, 0); @@ -16086,7 +16086,7 @@ if (lean_is_exclusive(x_4219)) { } x_4222 = l_Array_empty___closed__1; x_4223 = lean_array_push(x_4222, x_4123); -x_4224 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4224 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4225 = lean_array_push(x_4223, x_4224); x_4226 = l_Lean_mkTermIdFromIdent___closed__2; x_4227 = lean_alloc_ctor(1, 2, 0); @@ -16287,7 +16287,7 @@ x_4293 = lean_ctor_get(x_4291, 0); lean_dec(x_4293); x_4294 = l_Array_empty___closed__1; x_4295 = lean_array_push(x_4294, x_4277); -x_4296 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4296 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4297 = lean_array_push(x_4295, x_4296); x_4298 = l_Lean_mkTermIdFromIdent___closed__2; x_4299 = lean_alloc_ctor(1, 2, 0); @@ -16376,7 +16376,7 @@ lean_inc(x_4337); lean_dec(x_4291); x_4338 = l_Array_empty___closed__1; x_4339 = lean_array_push(x_4338, x_4277); -x_4340 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4340 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4341 = lean_array_push(x_4339, x_4340); x_4342 = l_Lean_mkTermIdFromIdent___closed__2; x_4343 = lean_alloc_ctor(1, 2, 0); @@ -16462,7 +16462,7 @@ if (lean_is_exclusive(x_4373)) { } x_4376 = l_Array_empty___closed__1; x_4377 = lean_array_push(x_4376, x_4277); -x_4378 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4378 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4379 = lean_array_push(x_4377, x_4378); x_4380 = l_Lean_mkTermIdFromIdent___closed__2; x_4381 = lean_alloc_ctor(1, 2, 0); @@ -16663,7 +16663,7 @@ x_4447 = lean_ctor_get(x_4445, 0); lean_dec(x_4447); x_4448 = l_Array_empty___closed__1; x_4449 = lean_array_push(x_4448, x_4431); -x_4450 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4450 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4451 = lean_array_push(x_4449, x_4450); x_4452 = l_Lean_mkTermIdFromIdent___closed__2; x_4453 = lean_alloc_ctor(1, 2, 0); @@ -16714,7 +16714,7 @@ lean_inc(x_4477); lean_dec(x_4445); x_4478 = l_Array_empty___closed__1; x_4479 = lean_array_push(x_4478, x_4431); -x_4480 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4480 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4481 = lean_array_push(x_4479, x_4480); x_4482 = l_Lean_mkTermIdFromIdent___closed__2; x_4483 = lean_alloc_ctor(1, 2, 0); @@ -16786,7 +16786,7 @@ if (lean_is_exclusive(x_4512)) { } x_4515 = l_Array_empty___closed__1; x_4516 = lean_array_push(x_4515, x_4431); -x_4517 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4517 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; x_4518 = lean_array_push(x_4516, x_4517); x_4519 = l_Lean_mkTermIdFromIdent___closed__2; x_4520 = lean_alloc_ctor(1, 2, 0); @@ -18748,7 +18748,7 @@ x_261 = l_Lean_Syntax_isOfKind(x_229, x_260); if (x_261 == 0) { uint8_t x_262; -x_262 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_262 = l_Lean_Elab_Term_elabParen___closed__4; if (x_262 == 0) { uint8_t x_263; @@ -18839,7 +18839,7 @@ x_235 = l_Lean_Syntax_isOfKind(x_233, x_234); if (x_235 == 0) { uint8_t x_236; -x_236 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +x_236 = l_Lean_Elab_Term_elabParen___closed__4; if (x_236 == 0) { lean_object* x_237; diff --git a/stage0/stdlib/Init/Lean/Elab/Util.c b/stage0/stdlib/Init/Lean/Elab/Util.c index 7967a82324..cb24d03e14 100644 --- a/stage0/stdlib/Init/Lean/Elab/Util.c +++ b/stage0/stdlib/Init/Lean/Elab/Util.c @@ -25,6 +25,7 @@ lean_object* l___private_Init_Lean_Elab_Util_6__ElabAttribute_add___rarg___boxed extern lean_object* l_Lean_Macro_throwUnsupported___closed__1; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_AssocList_contains___main___at_Lean_Elab_ElabFnTable_insert___spec__26___rarg___boxed(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_SMap_insert___at_Lean_Elab_ElabFnTable_insert___spec__20___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*); @@ -295,7 +296,6 @@ lean_object* l_Lean_SMap_insert___at_Lean_Elab_ElabFnTable_insert___spec__9(lean lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_mkBuiltinMacroFnTable___spec__3; lean_object* l_mkHashMap___at_Lean_Elab_mkElabAttributeAux___spec__5___rarg(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_declareBuiltinMacro___closed__8; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_getMacros___spec__3(lean_object*, size_t, lean_object*); @@ -5859,7 +5859,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); diff --git a/stage0/stdlib/Init/Lean/Expr.c b/stage0/stdlib/Init/Lean/Expr.c index bcaeabef03..b115b18e5c 100644 --- a/stage0/stdlib/Init/Lean/Expr.c +++ b/stage0/stdlib/Init/Lean/Expr.c @@ -26,6 +26,7 @@ lean_object* l_List_hash___at_Lean_mkConst___spec__1___boxed(lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21___boxed(lean_object*); lean_object* l_Lean_Expr_letName_x21(lean_object*); +lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l_Lean_Expr_updateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgs___boxed(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -3302,291 +3303,292 @@ return x_76; lean_object* l_Lean_mkLambda(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_5; size_t x_6; size_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; -x_5 = 31; -x_6 = l_Lean_Expr_hash(x_3); -x_7 = l_Lean_Expr_hash(x_4); -x_8 = lean_usize_mix_hash(x_6, x_7); -x_9 = lean_usize_mix_hash(x_5, x_8); -x_10 = l_Lean_Expr_looseBVarRange(x_3); -x_11 = l_Lean_Expr_looseBVarRange(x_4); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_sub(x_11, x_12); +lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; +x_5 = l_Lean_Name_eraseMacroScopes(x_1); +x_6 = 31; +x_7 = l_Lean_Expr_hash(x_3); +x_8 = l_Lean_Expr_hash(x_4); +x_9 = lean_usize_mix_hash(x_7, x_8); +x_10 = lean_usize_mix_hash(x_6, x_9); +x_11 = l_Lean_Expr_looseBVarRange(x_3); +x_12 = l_Lean_Expr_looseBVarRange(x_4); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = l_Nat_max(x_11, x_14); +lean_dec(x_14); lean_dec(x_11); -x_14 = l_Nat_max(x_10, x_13); -lean_dec(x_13); -lean_dec(x_10); -x_15 = l_Lean_Expr_hasFVar(x_3); -x_16 = l_Lean_Expr_hasExprMVar(x_3); -x_17 = l_Lean_Expr_hasLevelMVar(x_3); -x_18 = l_Lean_Expr_hasLevelParam(x_3); -if (x_15 == 0) -{ -uint8_t x_19; -x_19 = l_Lean_Expr_hasFVar(x_4); +x_16 = l_Lean_Expr_hasFVar(x_3); +x_17 = l_Lean_Expr_hasExprMVar(x_3); +x_18 = l_Lean_Expr_hasLevelMVar(x_3); +x_19 = l_Lean_Expr_hasLevelParam(x_3); if (x_16 == 0) { uint8_t x_20; -x_20 = l_Lean_Expr_hasExprMVar(x_4); +x_20 = l_Lean_Expr_hasFVar(x_4); if (x_17 == 0) { uint8_t x_21; -x_21 = l_Lean_Expr_hasLevelMVar(x_4); +x_21 = l_Lean_Expr_hasExprMVar(x_4); if (x_18 == 0) { -uint8_t x_22; uint64_t x_23; lean_object* x_24; -x_22 = l_Lean_Expr_hasLevelParam(x_4); -x_23 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_21, x_22, x_2); -lean_dec(x_14); -x_24 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_3); -lean_ctor_set(x_24, 2, x_4); -lean_ctor_set_uint64(x_24, sizeof(void*)*3, x_23); -return x_24; +uint8_t x_22; +x_22 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_23; uint64_t x_24; lean_object* x_25; +x_23 = l_Lean_Expr_hasLevelParam(x_4); +x_24 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_22, x_23, x_2); +lean_dec(x_15); +x_25 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_3); +lean_ctor_set(x_25, 2, x_4); +lean_ctor_set_uint64(x_25, sizeof(void*)*3, x_24); +return x_25; } else { -uint8_t x_25; uint64_t x_26; lean_object* x_27; -x_25 = 1; -x_26 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_21, x_25, x_2); -lean_dec(x_14); -x_27 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_27, 2, x_4); -lean_ctor_set_uint64(x_27, sizeof(void*)*3, x_26); -return x_27; +uint8_t x_26; uint64_t x_27; lean_object* x_28; +x_26 = 1; +x_27 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_22, x_26, x_2); +lean_dec(x_15); +x_28 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_4); +lean_ctor_set_uint64(x_28, sizeof(void*)*3, x_27); +return x_28; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_29; uint8_t x_30; uint64_t x_31; lean_object* x_32; +x_29 = l_Lean_Expr_hasLevelParam(x_4); +x_30 = 1; +x_31 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_30, x_29, x_2); +lean_dec(x_15); +x_32 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_32, 0, x_5); +lean_ctor_set(x_32, 1, x_3); +lean_ctor_set(x_32, 2, x_4); +lean_ctor_set_uint64(x_32, sizeof(void*)*3, x_31); +return x_32; +} +else +{ +uint8_t x_33; uint64_t x_34; lean_object* x_35; +x_33 = 1; +x_34 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_33, x_33, x_2); +lean_dec(x_15); +x_35 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_35, 0, x_5); +lean_ctor_set(x_35, 1, x_3); +lean_ctor_set(x_35, 2, x_4); +lean_ctor_set_uint64(x_35, sizeof(void*)*3, x_34); +return x_35; +} } } else { if (x_18 == 0) { -uint8_t x_28; uint8_t x_29; uint64_t x_30; lean_object* x_31; -x_28 = l_Lean_Expr_hasLevelParam(x_4); -x_29 = 1; -x_30 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_29, x_28, x_2); -lean_dec(x_14); -x_31 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_3); -lean_ctor_set(x_31, 2, x_4); -lean_ctor_set_uint64(x_31, sizeof(void*)*3, x_30); -return x_31; +uint8_t x_36; +x_36 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_37; uint8_t x_38; uint64_t x_39; lean_object* x_40; +x_37 = l_Lean_Expr_hasLevelParam(x_4); +x_38 = 1; +x_39 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_38, x_36, x_37, x_2); +lean_dec(x_15); +x_40 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_40, 0, x_5); +lean_ctor_set(x_40, 1, x_3); +lean_ctor_set(x_40, 2, x_4); +lean_ctor_set_uint64(x_40, sizeof(void*)*3, x_39); +return x_40; } else { -uint8_t x_32; uint64_t x_33; lean_object* x_34; -x_32 = 1; -x_33 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_32, x_32, x_2); -lean_dec(x_14); -x_34 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_3); -lean_ctor_set(x_34, 2, x_4); -lean_ctor_set_uint64(x_34, sizeof(void*)*3, x_33); -return x_34; -} +uint8_t x_41; uint64_t x_42; lean_object* x_43; +x_41 = 1; +x_42 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_41, x_36, x_41, x_2); +lean_dec(x_15); +x_43 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_43, 0, x_5); +lean_ctor_set(x_43, 1, x_3); +lean_ctor_set(x_43, 2, x_4); +lean_ctor_set_uint64(x_43, sizeof(void*)*3, x_42); +return x_43; } } else { -if (x_17 == 0) +if (x_19 == 0) { -uint8_t x_35; -x_35 = l_Lean_Expr_hasLevelMVar(x_4); -if (x_18 == 0) -{ -uint8_t x_36; uint8_t x_37; uint64_t x_38; lean_object* x_39; -x_36 = l_Lean_Expr_hasLevelParam(x_4); -x_37 = 1; -x_38 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_37, x_35, x_36, x_2); -lean_dec(x_14); -x_39 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_3); -lean_ctor_set(x_39, 2, x_4); -lean_ctor_set_uint64(x_39, sizeof(void*)*3, x_38); -return x_39; +uint8_t x_44; uint8_t x_45; uint64_t x_46; lean_object* x_47; +x_44 = l_Lean_Expr_hasLevelParam(x_4); +x_45 = 1; +x_46 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_45, x_45, x_44, x_2); +lean_dec(x_15); +x_47 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_47, 0, x_5); +lean_ctor_set(x_47, 1, x_3); +lean_ctor_set(x_47, 2, x_4); +lean_ctor_set_uint64(x_47, sizeof(void*)*3, x_46); +return x_47; } else { -uint8_t x_40; uint64_t x_41; lean_object* x_42; -x_40 = 1; -x_41 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_40, x_35, x_40, x_2); -lean_dec(x_14); -x_42 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_42, 0, x_1); -lean_ctor_set(x_42, 1, x_3); -lean_ctor_set(x_42, 2, x_4); -lean_ctor_set_uint64(x_42, sizeof(void*)*3, x_41); -return x_42; +uint8_t x_48; uint64_t x_49; lean_object* x_50; +x_48 = 1; +x_49 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_48, x_48, x_48, x_2); +lean_dec(x_15); +x_50 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_50, 0, x_5); +lean_ctor_set(x_50, 1, x_3); +lean_ctor_set(x_50, 2, x_4); +lean_ctor_set_uint64(x_50, sizeof(void*)*3, x_49); +return x_50; } } -else -{ -if (x_18 == 0) -{ -uint8_t x_43; uint8_t x_44; uint64_t x_45; lean_object* x_46; -x_43 = l_Lean_Expr_hasLevelParam(x_4); -x_44 = 1; -x_45 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_44, x_44, x_43, x_2); -lean_dec(x_14); -x_46 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_46, 0, x_1); -lean_ctor_set(x_46, 1, x_3); -lean_ctor_set(x_46, 2, x_4); -lean_ctor_set_uint64(x_46, sizeof(void*)*3, x_45); -return x_46; -} -else -{ -uint8_t x_47; uint64_t x_48; lean_object* x_49; -x_47 = 1; -x_48 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_47, x_47, x_47, x_2); -lean_dec(x_14); -x_49 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_49, 0, x_1); -lean_ctor_set(x_49, 1, x_3); -lean_ctor_set(x_49, 2, x_4); -lean_ctor_set_uint64(x_49, sizeof(void*)*3, x_48); -return x_49; -} -} -} -} -else -{ -if (x_16 == 0) -{ -uint8_t x_50; -x_50 = l_Lean_Expr_hasExprMVar(x_4); -if (x_17 == 0) -{ -uint8_t x_51; -x_51 = l_Lean_Expr_hasLevelMVar(x_4); -if (x_18 == 0) -{ -uint8_t x_52; uint8_t x_53; uint64_t x_54; lean_object* x_55; -x_52 = l_Lean_Expr_hasLevelParam(x_4); -x_53 = 1; -x_54 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_53, x_50, x_51, x_52, x_2); -lean_dec(x_14); -x_55 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_3); -lean_ctor_set(x_55, 2, x_4); -lean_ctor_set_uint64(x_55, sizeof(void*)*3, x_54); -return x_55; -} -else -{ -uint8_t x_56; uint64_t x_57; lean_object* x_58; -x_56 = 1; -x_57 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_56, x_50, x_51, x_56, x_2); -lean_dec(x_14); -x_58 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_58, 0, x_1); -lean_ctor_set(x_58, 1, x_3); -lean_ctor_set(x_58, 2, x_4); -lean_ctor_set_uint64(x_58, sizeof(void*)*3, x_57); -return x_58; -} -} -else -{ -if (x_18 == 0) -{ -uint8_t x_59; uint8_t x_60; uint64_t x_61; lean_object* x_62; -x_59 = l_Lean_Expr_hasLevelParam(x_4); -x_60 = 1; -x_61 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_60, x_50, x_60, x_59, x_2); -lean_dec(x_14); -x_62 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_3); -lean_ctor_set(x_62, 2, x_4); -lean_ctor_set_uint64(x_62, sizeof(void*)*3, x_61); -return x_62; -} -else -{ -uint8_t x_63; uint64_t x_64; lean_object* x_65; -x_63 = 1; -x_64 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_63, x_50, x_63, x_63, x_2); -lean_dec(x_14); -x_65 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_3); -lean_ctor_set(x_65, 2, x_4); -lean_ctor_set_uint64(x_65, sizeof(void*)*3, x_64); -return x_65; -} } } else { if (x_17 == 0) { -uint8_t x_66; -x_66 = l_Lean_Expr_hasLevelMVar(x_4); +uint8_t x_51; +x_51 = l_Lean_Expr_hasExprMVar(x_4); if (x_18 == 0) { -uint8_t x_67; uint8_t x_68; uint64_t x_69; lean_object* x_70; -x_67 = l_Lean_Expr_hasLevelParam(x_4); -x_68 = 1; -x_69 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_68, x_68, x_66, x_67, x_2); -lean_dec(x_14); -x_70 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_3); -lean_ctor_set(x_70, 2, x_4); -lean_ctor_set_uint64(x_70, sizeof(void*)*3, x_69); -return x_70; +uint8_t x_52; +x_52 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_53; uint8_t x_54; uint64_t x_55; lean_object* x_56; +x_53 = l_Lean_Expr_hasLevelParam(x_4); +x_54 = 1; +x_55 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_54, x_51, x_52, x_53, x_2); +lean_dec(x_15); +x_56 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_56, 0, x_5); +lean_ctor_set(x_56, 1, x_3); +lean_ctor_set(x_56, 2, x_4); +lean_ctor_set_uint64(x_56, sizeof(void*)*3, x_55); +return x_56; } else { -uint8_t x_71; uint64_t x_72; lean_object* x_73; -x_71 = 1; -x_72 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_71, x_71, x_66, x_71, x_2); -lean_dec(x_14); -x_73 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_73, 0, x_1); -lean_ctor_set(x_73, 1, x_3); -lean_ctor_set(x_73, 2, x_4); -lean_ctor_set_uint64(x_73, sizeof(void*)*3, x_72); -return x_73; +uint8_t x_57; uint64_t x_58; lean_object* x_59; +x_57 = 1; +x_58 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_57, x_51, x_52, x_57, x_2); +lean_dec(x_15); +x_59 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_59, 0, x_5); +lean_ctor_set(x_59, 1, x_3); +lean_ctor_set(x_59, 2, x_4); +lean_ctor_set_uint64(x_59, sizeof(void*)*3, x_58); +return x_59; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_60; uint8_t x_61; uint64_t x_62; lean_object* x_63; +x_60 = l_Lean_Expr_hasLevelParam(x_4); +x_61 = 1; +x_62 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_61, x_51, x_61, x_60, x_2); +lean_dec(x_15); +x_63 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_63, 0, x_5); +lean_ctor_set(x_63, 1, x_3); +lean_ctor_set(x_63, 2, x_4); +lean_ctor_set_uint64(x_63, sizeof(void*)*3, x_62); +return x_63; +} +else +{ +uint8_t x_64; uint64_t x_65; lean_object* x_66; +x_64 = 1; +x_65 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_64, x_51, x_64, x_64, x_2); +lean_dec(x_15); +x_66 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_66, 0, x_5); +lean_ctor_set(x_66, 1, x_3); +lean_ctor_set(x_66, 2, x_4); +lean_ctor_set_uint64(x_66, sizeof(void*)*3, x_65); +return x_66; +} } } else { if (x_18 == 0) { -uint8_t x_74; uint8_t x_75; uint64_t x_76; lean_object* x_77; -x_74 = l_Lean_Expr_hasLevelParam(x_4); -x_75 = 1; -x_76 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_75, x_75, x_75, x_74, x_2); -lean_dec(x_14); -x_77 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_77, 0, x_1); -lean_ctor_set(x_77, 1, x_3); -lean_ctor_set(x_77, 2, x_4); -lean_ctor_set_uint64(x_77, sizeof(void*)*3, x_76); -return x_77; +uint8_t x_67; +x_67 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_68; uint8_t x_69; uint64_t x_70; lean_object* x_71; +x_68 = l_Lean_Expr_hasLevelParam(x_4); +x_69 = 1; +x_70 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_69, x_69, x_67, x_68, x_2); +lean_dec(x_15); +x_71 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_71, 0, x_5); +lean_ctor_set(x_71, 1, x_3); +lean_ctor_set(x_71, 2, x_4); +lean_ctor_set_uint64(x_71, sizeof(void*)*3, x_70); +return x_71; } else { -uint8_t x_78; uint64_t x_79; lean_object* x_80; -x_78 = 1; -x_79 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_78, x_78, x_78, x_78, x_2); -lean_dec(x_14); -x_80 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_80, 0, x_1); -lean_ctor_set(x_80, 1, x_3); -lean_ctor_set(x_80, 2, x_4); -lean_ctor_set_uint64(x_80, sizeof(void*)*3, x_79); -return x_80; +uint8_t x_72; uint64_t x_73; lean_object* x_74; +x_72 = 1; +x_73 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_72, x_72, x_67, x_72, x_2); +lean_dec(x_15); +x_74 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_74, 0, x_5); +lean_ctor_set(x_74, 1, x_3); +lean_ctor_set(x_74, 2, x_4); +lean_ctor_set_uint64(x_74, sizeof(void*)*3, x_73); +return x_74; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_75; uint8_t x_76; uint64_t x_77; lean_object* x_78; +x_75 = l_Lean_Expr_hasLevelParam(x_4); +x_76 = 1; +x_77 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_76, x_76, x_76, x_75, x_2); +lean_dec(x_15); +x_78 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_78, 0, x_5); +lean_ctor_set(x_78, 1, x_3); +lean_ctor_set(x_78, 2, x_4); +lean_ctor_set_uint64(x_78, sizeof(void*)*3, x_77); +return x_78; +} +else +{ +uint8_t x_79; uint64_t x_80; lean_object* x_81; +x_79 = 1; +x_80 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_79, x_79, x_79, x_79, x_2); +lean_dec(x_15); +x_81 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_81, 0, x_5); +lean_ctor_set(x_81, 1, x_3); +lean_ctor_set(x_81, 2, x_4); +lean_ctor_set_uint64(x_81, sizeof(void*)*3, x_80); +return x_81; } } } @@ -3600,297 +3602,299 @@ uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_2); lean_dec(x_2); x_6 = l_Lean_mkLambda(x_1, x_5, x_3, x_4); +lean_dec(x_1); return x_6; } } lean_object* l_Lean_mkForall(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_5; size_t x_6; size_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; -x_5 = 37; -x_6 = l_Lean_Expr_hash(x_3); -x_7 = l_Lean_Expr_hash(x_4); -x_8 = lean_usize_mix_hash(x_6, x_7); -x_9 = lean_usize_mix_hash(x_5, x_8); -x_10 = l_Lean_Expr_looseBVarRange(x_3); -x_11 = l_Lean_Expr_looseBVarRange(x_4); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_sub(x_11, x_12); +lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; +x_5 = l_Lean_Name_eraseMacroScopes(x_1); +x_6 = 37; +x_7 = l_Lean_Expr_hash(x_3); +x_8 = l_Lean_Expr_hash(x_4); +x_9 = lean_usize_mix_hash(x_7, x_8); +x_10 = lean_usize_mix_hash(x_6, x_9); +x_11 = l_Lean_Expr_looseBVarRange(x_3); +x_12 = l_Lean_Expr_looseBVarRange(x_4); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = l_Nat_max(x_11, x_14); +lean_dec(x_14); lean_dec(x_11); -x_14 = l_Nat_max(x_10, x_13); -lean_dec(x_13); -lean_dec(x_10); -x_15 = l_Lean_Expr_hasFVar(x_3); -x_16 = l_Lean_Expr_hasExprMVar(x_3); -x_17 = l_Lean_Expr_hasLevelMVar(x_3); -x_18 = l_Lean_Expr_hasLevelParam(x_3); -if (x_15 == 0) -{ -uint8_t x_19; -x_19 = l_Lean_Expr_hasFVar(x_4); +x_16 = l_Lean_Expr_hasFVar(x_3); +x_17 = l_Lean_Expr_hasExprMVar(x_3); +x_18 = l_Lean_Expr_hasLevelMVar(x_3); +x_19 = l_Lean_Expr_hasLevelParam(x_3); if (x_16 == 0) { uint8_t x_20; -x_20 = l_Lean_Expr_hasExprMVar(x_4); +x_20 = l_Lean_Expr_hasFVar(x_4); if (x_17 == 0) { uint8_t x_21; -x_21 = l_Lean_Expr_hasLevelMVar(x_4); +x_21 = l_Lean_Expr_hasExprMVar(x_4); if (x_18 == 0) { -uint8_t x_22; uint64_t x_23; lean_object* x_24; -x_22 = l_Lean_Expr_hasLevelParam(x_4); -x_23 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_21, x_22, x_2); -lean_dec(x_14); -x_24 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_3); -lean_ctor_set(x_24, 2, x_4); -lean_ctor_set_uint64(x_24, sizeof(void*)*3, x_23); -return x_24; +uint8_t x_22; +x_22 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_23; uint64_t x_24; lean_object* x_25; +x_23 = l_Lean_Expr_hasLevelParam(x_4); +x_24 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_22, x_23, x_2); +lean_dec(x_15); +x_25 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_3); +lean_ctor_set(x_25, 2, x_4); +lean_ctor_set_uint64(x_25, sizeof(void*)*3, x_24); +return x_25; } else { -uint8_t x_25; uint64_t x_26; lean_object* x_27; -x_25 = 1; -x_26 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_21, x_25, x_2); -lean_dec(x_14); -x_27 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_3); -lean_ctor_set(x_27, 2, x_4); -lean_ctor_set_uint64(x_27, sizeof(void*)*3, x_26); -return x_27; +uint8_t x_26; uint64_t x_27; lean_object* x_28; +x_26 = 1; +x_27 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_22, x_26, x_2); +lean_dec(x_15); +x_28 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_4); +lean_ctor_set_uint64(x_28, sizeof(void*)*3, x_27); +return x_28; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_29; uint8_t x_30; uint64_t x_31; lean_object* x_32; +x_29 = l_Lean_Expr_hasLevelParam(x_4); +x_30 = 1; +x_31 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_30, x_29, x_2); +lean_dec(x_15); +x_32 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_32, 0, x_5); +lean_ctor_set(x_32, 1, x_3); +lean_ctor_set(x_32, 2, x_4); +lean_ctor_set_uint64(x_32, sizeof(void*)*3, x_31); +return x_32; +} +else +{ +uint8_t x_33; uint64_t x_34; lean_object* x_35; +x_33 = 1; +x_34 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_21, x_33, x_33, x_2); +lean_dec(x_15); +x_35 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_35, 0, x_5); +lean_ctor_set(x_35, 1, x_3); +lean_ctor_set(x_35, 2, x_4); +lean_ctor_set_uint64(x_35, sizeof(void*)*3, x_34); +return x_35; +} } } else { if (x_18 == 0) { -uint8_t x_28; uint8_t x_29; uint64_t x_30; lean_object* x_31; -x_28 = l_Lean_Expr_hasLevelParam(x_4); -x_29 = 1; -x_30 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_29, x_28, x_2); -lean_dec(x_14); -x_31 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_3); -lean_ctor_set(x_31, 2, x_4); -lean_ctor_set_uint64(x_31, sizeof(void*)*3, x_30); -return x_31; +uint8_t x_36; +x_36 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_37; uint8_t x_38; uint64_t x_39; lean_object* x_40; +x_37 = l_Lean_Expr_hasLevelParam(x_4); +x_38 = 1; +x_39 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_38, x_36, x_37, x_2); +lean_dec(x_15); +x_40 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_40, 0, x_5); +lean_ctor_set(x_40, 1, x_3); +lean_ctor_set(x_40, 2, x_4); +lean_ctor_set_uint64(x_40, sizeof(void*)*3, x_39); +return x_40; } else { -uint8_t x_32; uint64_t x_33; lean_object* x_34; -x_32 = 1; -x_33 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_20, x_32, x_32, x_2); -lean_dec(x_14); -x_34 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_3); -lean_ctor_set(x_34, 2, x_4); -lean_ctor_set_uint64(x_34, sizeof(void*)*3, x_33); -return x_34; -} +uint8_t x_41; uint64_t x_42; lean_object* x_43; +x_41 = 1; +x_42 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_41, x_36, x_41, x_2); +lean_dec(x_15); +x_43 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_43, 0, x_5); +lean_ctor_set(x_43, 1, x_3); +lean_ctor_set(x_43, 2, x_4); +lean_ctor_set_uint64(x_43, sizeof(void*)*3, x_42); +return x_43; } } else { -if (x_17 == 0) +if (x_19 == 0) { -uint8_t x_35; -x_35 = l_Lean_Expr_hasLevelMVar(x_4); -if (x_18 == 0) -{ -uint8_t x_36; uint8_t x_37; uint64_t x_38; lean_object* x_39; -x_36 = l_Lean_Expr_hasLevelParam(x_4); -x_37 = 1; -x_38 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_37, x_35, x_36, x_2); -lean_dec(x_14); -x_39 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_3); -lean_ctor_set(x_39, 2, x_4); -lean_ctor_set_uint64(x_39, sizeof(void*)*3, x_38); -return x_39; +uint8_t x_44; uint8_t x_45; uint64_t x_46; lean_object* x_47; +x_44 = l_Lean_Expr_hasLevelParam(x_4); +x_45 = 1; +x_46 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_45, x_45, x_44, x_2); +lean_dec(x_15); +x_47 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_47, 0, x_5); +lean_ctor_set(x_47, 1, x_3); +lean_ctor_set(x_47, 2, x_4); +lean_ctor_set_uint64(x_47, sizeof(void*)*3, x_46); +return x_47; } else { -uint8_t x_40; uint64_t x_41; lean_object* x_42; -x_40 = 1; -x_41 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_40, x_35, x_40, x_2); -lean_dec(x_14); -x_42 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_42, 0, x_1); -lean_ctor_set(x_42, 1, x_3); -lean_ctor_set(x_42, 2, x_4); -lean_ctor_set_uint64(x_42, sizeof(void*)*3, x_41); -return x_42; +uint8_t x_48; uint64_t x_49; lean_object* x_50; +x_48 = 1; +x_49 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_20, x_48, x_48, x_48, x_2); +lean_dec(x_15); +x_50 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_50, 0, x_5); +lean_ctor_set(x_50, 1, x_3); +lean_ctor_set(x_50, 2, x_4); +lean_ctor_set_uint64(x_50, sizeof(void*)*3, x_49); +return x_50; } } -else -{ -if (x_18 == 0) -{ -uint8_t x_43; uint8_t x_44; uint64_t x_45; lean_object* x_46; -x_43 = l_Lean_Expr_hasLevelParam(x_4); -x_44 = 1; -x_45 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_44, x_44, x_43, x_2); -lean_dec(x_14); -x_46 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_46, 0, x_1); -lean_ctor_set(x_46, 1, x_3); -lean_ctor_set(x_46, 2, x_4); -lean_ctor_set_uint64(x_46, sizeof(void*)*3, x_45); -return x_46; -} -else -{ -uint8_t x_47; uint64_t x_48; lean_object* x_49; -x_47 = 1; -x_48 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_19, x_47, x_47, x_47, x_2); -lean_dec(x_14); -x_49 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_49, 0, x_1); -lean_ctor_set(x_49, 1, x_3); -lean_ctor_set(x_49, 2, x_4); -lean_ctor_set_uint64(x_49, sizeof(void*)*3, x_48); -return x_49; -} -} -} -} -else -{ -if (x_16 == 0) -{ -uint8_t x_50; -x_50 = l_Lean_Expr_hasExprMVar(x_4); -if (x_17 == 0) -{ -uint8_t x_51; -x_51 = l_Lean_Expr_hasLevelMVar(x_4); -if (x_18 == 0) -{ -uint8_t x_52; uint8_t x_53; uint64_t x_54; lean_object* x_55; -x_52 = l_Lean_Expr_hasLevelParam(x_4); -x_53 = 1; -x_54 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_53, x_50, x_51, x_52, x_2); -lean_dec(x_14); -x_55 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_3); -lean_ctor_set(x_55, 2, x_4); -lean_ctor_set_uint64(x_55, sizeof(void*)*3, x_54); -return x_55; -} -else -{ -uint8_t x_56; uint64_t x_57; lean_object* x_58; -x_56 = 1; -x_57 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_56, x_50, x_51, x_56, x_2); -lean_dec(x_14); -x_58 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_58, 0, x_1); -lean_ctor_set(x_58, 1, x_3); -lean_ctor_set(x_58, 2, x_4); -lean_ctor_set_uint64(x_58, sizeof(void*)*3, x_57); -return x_58; -} -} -else -{ -if (x_18 == 0) -{ -uint8_t x_59; uint8_t x_60; uint64_t x_61; lean_object* x_62; -x_59 = l_Lean_Expr_hasLevelParam(x_4); -x_60 = 1; -x_61 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_60, x_50, x_60, x_59, x_2); -lean_dec(x_14); -x_62 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_3); -lean_ctor_set(x_62, 2, x_4); -lean_ctor_set_uint64(x_62, sizeof(void*)*3, x_61); -return x_62; -} -else -{ -uint8_t x_63; uint64_t x_64; lean_object* x_65; -x_63 = 1; -x_64 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_63, x_50, x_63, x_63, x_2); -lean_dec(x_14); -x_65 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_3); -lean_ctor_set(x_65, 2, x_4); -lean_ctor_set_uint64(x_65, sizeof(void*)*3, x_64); -return x_65; -} } } else { if (x_17 == 0) { -uint8_t x_66; -x_66 = l_Lean_Expr_hasLevelMVar(x_4); +uint8_t x_51; +x_51 = l_Lean_Expr_hasExprMVar(x_4); if (x_18 == 0) { -uint8_t x_67; uint8_t x_68; uint64_t x_69; lean_object* x_70; -x_67 = l_Lean_Expr_hasLevelParam(x_4); -x_68 = 1; -x_69 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_68, x_68, x_66, x_67, x_2); -lean_dec(x_14); -x_70 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_3); -lean_ctor_set(x_70, 2, x_4); -lean_ctor_set_uint64(x_70, sizeof(void*)*3, x_69); -return x_70; +uint8_t x_52; +x_52 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_53; uint8_t x_54; uint64_t x_55; lean_object* x_56; +x_53 = l_Lean_Expr_hasLevelParam(x_4); +x_54 = 1; +x_55 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_54, x_51, x_52, x_53, x_2); +lean_dec(x_15); +x_56 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_56, 0, x_5); +lean_ctor_set(x_56, 1, x_3); +lean_ctor_set(x_56, 2, x_4); +lean_ctor_set_uint64(x_56, sizeof(void*)*3, x_55); +return x_56; } else { -uint8_t x_71; uint64_t x_72; lean_object* x_73; -x_71 = 1; -x_72 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_71, x_71, x_66, x_71, x_2); -lean_dec(x_14); -x_73 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_73, 0, x_1); -lean_ctor_set(x_73, 1, x_3); -lean_ctor_set(x_73, 2, x_4); -lean_ctor_set_uint64(x_73, sizeof(void*)*3, x_72); -return x_73; +uint8_t x_57; uint64_t x_58; lean_object* x_59; +x_57 = 1; +x_58 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_57, x_51, x_52, x_57, x_2); +lean_dec(x_15); +x_59 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_59, 0, x_5); +lean_ctor_set(x_59, 1, x_3); +lean_ctor_set(x_59, 2, x_4); +lean_ctor_set_uint64(x_59, sizeof(void*)*3, x_58); +return x_59; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_60; uint8_t x_61; uint64_t x_62; lean_object* x_63; +x_60 = l_Lean_Expr_hasLevelParam(x_4); +x_61 = 1; +x_62 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_61, x_51, x_61, x_60, x_2); +lean_dec(x_15); +x_63 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_63, 0, x_5); +lean_ctor_set(x_63, 1, x_3); +lean_ctor_set(x_63, 2, x_4); +lean_ctor_set_uint64(x_63, sizeof(void*)*3, x_62); +return x_63; +} +else +{ +uint8_t x_64; uint64_t x_65; lean_object* x_66; +x_64 = 1; +x_65 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_64, x_51, x_64, x_64, x_2); +lean_dec(x_15); +x_66 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_66, 0, x_5); +lean_ctor_set(x_66, 1, x_3); +lean_ctor_set(x_66, 2, x_4); +lean_ctor_set_uint64(x_66, sizeof(void*)*3, x_65); +return x_66; +} } } else { if (x_18 == 0) { -uint8_t x_74; uint8_t x_75; uint64_t x_76; lean_object* x_77; -x_74 = l_Lean_Expr_hasLevelParam(x_4); -x_75 = 1; -x_76 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_75, x_75, x_75, x_74, x_2); -lean_dec(x_14); -x_77 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_77, 0, x_1); -lean_ctor_set(x_77, 1, x_3); -lean_ctor_set(x_77, 2, x_4); -lean_ctor_set_uint64(x_77, sizeof(void*)*3, x_76); -return x_77; +uint8_t x_67; +x_67 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_19 == 0) +{ +uint8_t x_68; uint8_t x_69; uint64_t x_70; lean_object* x_71; +x_68 = l_Lean_Expr_hasLevelParam(x_4); +x_69 = 1; +x_70 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_69, x_69, x_67, x_68, x_2); +lean_dec(x_15); +x_71 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_71, 0, x_5); +lean_ctor_set(x_71, 1, x_3); +lean_ctor_set(x_71, 2, x_4); +lean_ctor_set_uint64(x_71, sizeof(void*)*3, x_70); +return x_71; } else { -uint8_t x_78; uint64_t x_79; lean_object* x_80; -x_78 = 1; -x_79 = l_Lean_Expr_mkDataForBinder(x_9, x_14, x_78, x_78, x_78, x_78, x_2); -lean_dec(x_14); -x_80 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_80, 0, x_1); -lean_ctor_set(x_80, 1, x_3); -lean_ctor_set(x_80, 2, x_4); -lean_ctor_set_uint64(x_80, sizeof(void*)*3, x_79); -return x_80; +uint8_t x_72; uint64_t x_73; lean_object* x_74; +x_72 = 1; +x_73 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_72, x_72, x_67, x_72, x_2); +lean_dec(x_15); +x_74 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_74, 0, x_5); +lean_ctor_set(x_74, 1, x_3); +lean_ctor_set(x_74, 2, x_4); +lean_ctor_set_uint64(x_74, sizeof(void*)*3, x_73); +return x_74; +} +} +else +{ +if (x_19 == 0) +{ +uint8_t x_75; uint8_t x_76; uint64_t x_77; lean_object* x_78; +x_75 = l_Lean_Expr_hasLevelParam(x_4); +x_76 = 1; +x_77 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_76, x_76, x_76, x_75, x_2); +lean_dec(x_15); +x_78 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_78, 0, x_5); +lean_ctor_set(x_78, 1, x_3); +lean_ctor_set(x_78, 2, x_4); +lean_ctor_set_uint64(x_78, sizeof(void*)*3, x_77); +return x_78; +} +else +{ +uint8_t x_79; uint64_t x_80; lean_object* x_81; +x_79 = 1; +x_80 = l_Lean_Expr_mkDataForBinder(x_10, x_15, x_79, x_79, x_79, x_79, x_2); +lean_dec(x_15); +x_81 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_81, 0, x_5); +lean_ctor_set(x_81, 1, x_3); +lean_ctor_set(x_81, 2, x_4); +lean_ctor_set_uint64(x_81, sizeof(void*)*3, x_80); +return x_81; } } } @@ -3904,358 +3908,360 @@ uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_2); lean_dec(x_2); x_6 = l_Lean_mkForall(x_1, x_5, x_3, x_4); +lean_dec(x_1); return x_6; } } lean_object* l_Lean_mkLet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { _start: { -size_t x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; -x_6 = 41; -x_7 = l_Lean_Expr_hash(x_2); -x_8 = l_Lean_Expr_hash(x_3); -x_9 = l_Lean_Expr_hash(x_4); -x_10 = lean_usize_mix_hash(x_8, x_9); -x_11 = lean_usize_mix_hash(x_7, x_10); -x_12 = lean_usize_mix_hash(x_6, x_11); -x_13 = l_Lean_Expr_looseBVarRange(x_2); -x_14 = l_Lean_Expr_looseBVarRange(x_3); -x_15 = l_Nat_max(x_13, x_14); -lean_dec(x_14); -lean_dec(x_13); -x_16 = l_Lean_Expr_looseBVarRange(x_4); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_16, x_17); -lean_dec(x_16); -x_19 = l_Nat_max(x_15, x_18); -lean_dec(x_18); +lean_object* x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; +x_6 = l_Lean_Name_eraseMacroScopes(x_1); +x_7 = 41; +x_8 = l_Lean_Expr_hash(x_2); +x_9 = l_Lean_Expr_hash(x_3); +x_10 = l_Lean_Expr_hash(x_4); +x_11 = lean_usize_mix_hash(x_9, x_10); +x_12 = lean_usize_mix_hash(x_8, x_11); +x_13 = lean_usize_mix_hash(x_7, x_12); +x_14 = l_Lean_Expr_looseBVarRange(x_2); +x_15 = l_Lean_Expr_looseBVarRange(x_3); +x_16 = l_Nat_max(x_14, x_15); lean_dec(x_15); -x_20 = l_Lean_Expr_hasFVar(x_2); -x_21 = l_Lean_Expr_hasExprMVar(x_2); -x_22 = l_Lean_Expr_hasLevelMVar(x_2); -x_23 = l_Lean_Expr_hasLevelParam(x_2); -if (x_20 == 0) -{ -uint8_t x_88; -x_88 = l_Lean_Expr_hasFVar(x_3); -if (x_88 == 0) +lean_dec(x_14); +x_17 = l_Lean_Expr_looseBVarRange(x_4); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_17, x_18); +lean_dec(x_17); +x_20 = l_Nat_max(x_16, x_19); +lean_dec(x_19); +lean_dec(x_16); +x_21 = l_Lean_Expr_hasFVar(x_2); +x_22 = l_Lean_Expr_hasExprMVar(x_2); +x_23 = l_Lean_Expr_hasLevelMVar(x_2); +x_24 = l_Lean_Expr_hasLevelParam(x_2); +if (x_21 == 0) { uint8_t x_89; -x_89 = l_Lean_Expr_hasFVar(x_4); -x_24 = x_89; -goto block_87; -} -else +x_89 = l_Lean_Expr_hasFVar(x_3); +if (x_89 == 0) { uint8_t x_90; -x_90 = 1; -x_24 = x_90; -goto block_87; -} +x_90 = l_Lean_Expr_hasFVar(x_4); +x_25 = x_90; +goto block_88; } else { uint8_t x_91; x_91 = 1; -x_24 = x_91; -goto block_87; +x_25 = x_91; +goto block_88; } -block_87: +} +else { -uint8_t x_25; -if (x_21 == 0) +uint8_t x_92; +x_92 = 1; +x_25 = x_92; +goto block_88; +} +block_88: { -uint8_t x_50; -x_50 = l_Lean_Expr_hasExprMVar(x_3); -if (x_50 == 0) +uint8_t x_26; +if (x_22 == 0) { uint8_t x_51; -x_51 = l_Lean_Expr_hasExprMVar(x_4); -if (x_22 == 0) -{ -x_25 = x_51; -goto block_49; -} -else -{ -if (x_23 == 0) +x_51 = l_Lean_Expr_hasExprMVar(x_3); +if (x_51 == 0) { uint8_t x_52; -x_52 = l_Lean_Expr_hasLevelParam(x_3); -if (x_52 == 0) +x_52 = l_Lean_Expr_hasExprMVar(x_4); +if (x_23 == 0) { -uint8_t x_53; uint8_t x_54; uint64_t x_55; lean_object* x_56; -x_53 = l_Lean_Expr_hasLevelParam(x_4); -x_54 = 1; -x_55 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_51, x_54, x_53, x_5); -lean_dec(x_19); -x_56 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_56, 0, x_1); -lean_ctor_set(x_56, 1, x_2); -lean_ctor_set(x_56, 2, x_3); -lean_ctor_set(x_56, 3, x_4); -lean_ctor_set_uint64(x_56, sizeof(void*)*4, x_55); -return x_56; +x_26 = x_52; +goto block_50; } else { -uint8_t x_57; uint64_t x_58; lean_object* x_59; -x_57 = 1; -x_58 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_51, x_57, x_57, x_5); -lean_dec(x_19); -x_59 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_2); -lean_ctor_set(x_59, 2, x_3); -lean_ctor_set(x_59, 3, x_4); -lean_ctor_set_uint64(x_59, sizeof(void*)*4, x_58); -return x_59; +if (x_24 == 0) +{ +uint8_t x_53; +x_53 = l_Lean_Expr_hasLevelParam(x_3); +if (x_53 == 0) +{ +uint8_t x_54; uint8_t x_55; uint64_t x_56; lean_object* x_57; +x_54 = l_Lean_Expr_hasLevelParam(x_4); +x_55 = 1; +x_56 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_52, x_55, x_54, x_5); +lean_dec(x_20); +x_57 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_57, 0, x_6); +lean_ctor_set(x_57, 1, x_2); +lean_ctor_set(x_57, 2, x_3); +lean_ctor_set(x_57, 3, x_4); +lean_ctor_set_uint64(x_57, sizeof(void*)*4, x_56); +return x_57; +} +else +{ +uint8_t x_58; uint64_t x_59; lean_object* x_60; +x_58 = 1; +x_59 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_52, x_58, x_58, x_5); +lean_dec(x_20); +x_60 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_60, 0, x_6); +lean_ctor_set(x_60, 1, x_2); +lean_ctor_set(x_60, 2, x_3); +lean_ctor_set(x_60, 3, x_4); +lean_ctor_set_uint64(x_60, sizeof(void*)*4, x_59); +return x_60; } } else { -uint8_t x_60; uint64_t x_61; lean_object* x_62; -x_60 = 1; -x_61 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_51, x_60, x_60, x_5); -lean_dec(x_19); -x_62 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_2); -lean_ctor_set(x_62, 2, x_3); -lean_ctor_set(x_62, 3, x_4); -lean_ctor_set_uint64(x_62, sizeof(void*)*4, x_61); -return x_62; +uint8_t x_61; uint64_t x_62; lean_object* x_63; +x_61 = 1; +x_62 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_52, x_61, x_61, x_5); +lean_dec(x_20); +x_63 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_63, 0, x_6); +lean_ctor_set(x_63, 1, x_2); +lean_ctor_set(x_63, 2, x_3); +lean_ctor_set(x_63, 3, x_4); +lean_ctor_set_uint64(x_63, sizeof(void*)*4, x_62); +return x_63; } } } else { -if (x_22 == 0) -{ -uint8_t x_63; -x_63 = 1; -x_25 = x_63; -goto block_49; -} -else -{ if (x_23 == 0) { uint8_t x_64; -x_64 = l_Lean_Expr_hasLevelParam(x_3); -if (x_64 == 0) -{ -uint8_t x_65; uint8_t x_66; uint64_t x_67; lean_object* x_68; -x_65 = l_Lean_Expr_hasLevelParam(x_4); -x_66 = 1; -x_67 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_66, x_66, x_65, x_5); -lean_dec(x_19); -x_68 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_68, 0, x_1); -lean_ctor_set(x_68, 1, x_2); -lean_ctor_set(x_68, 2, x_3); -lean_ctor_set(x_68, 3, x_4); -lean_ctor_set_uint64(x_68, sizeof(void*)*4, x_67); -return x_68; +x_64 = 1; +x_26 = x_64; +goto block_50; } else { -uint8_t x_69; uint64_t x_70; lean_object* x_71; -x_69 = 1; -x_70 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_69, x_69, x_69, x_5); -lean_dec(x_19); -x_71 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_71, 0, x_1); -lean_ctor_set(x_71, 1, x_2); -lean_ctor_set(x_71, 2, x_3); -lean_ctor_set(x_71, 3, x_4); -lean_ctor_set_uint64(x_71, sizeof(void*)*4, x_70); -return x_71; +if (x_24 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasLevelParam(x_3); +if (x_65 == 0) +{ +uint8_t x_66; uint8_t x_67; uint64_t x_68; lean_object* x_69; +x_66 = l_Lean_Expr_hasLevelParam(x_4); +x_67 = 1; +x_68 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_67, x_67, x_66, x_5); +lean_dec(x_20); +x_69 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_69, 0, x_6); +lean_ctor_set(x_69, 1, x_2); +lean_ctor_set(x_69, 2, x_3); +lean_ctor_set(x_69, 3, x_4); +lean_ctor_set_uint64(x_69, sizeof(void*)*4, x_68); +return x_69; +} +else +{ +uint8_t x_70; uint64_t x_71; lean_object* x_72; +x_70 = 1; +x_71 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_70, x_70, x_70, x_5); +lean_dec(x_20); +x_72 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_72, 0, x_6); +lean_ctor_set(x_72, 1, x_2); +lean_ctor_set(x_72, 2, x_3); +lean_ctor_set(x_72, 3, x_4); +lean_ctor_set_uint64(x_72, sizeof(void*)*4, x_71); +return x_72; } } else { -uint8_t x_72; uint64_t x_73; lean_object* x_74; -x_72 = 1; -x_73 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_72, x_72, x_72, x_5); -lean_dec(x_19); -x_74 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_2); -lean_ctor_set(x_74, 2, x_3); -lean_ctor_set(x_74, 3, x_4); -lean_ctor_set_uint64(x_74, sizeof(void*)*4, x_73); -return x_74; +uint8_t x_73; uint64_t x_74; lean_object* x_75; +x_73 = 1; +x_74 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_73, x_73, x_73, x_5); +lean_dec(x_20); +x_75 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_75, 0, x_6); +lean_ctor_set(x_75, 1, x_2); +lean_ctor_set(x_75, 2, x_3); +lean_ctor_set(x_75, 3, x_4); +lean_ctor_set_uint64(x_75, sizeof(void*)*4, x_74); +return x_75; } } } } else { -if (x_22 == 0) -{ -uint8_t x_75; -x_75 = 1; -x_25 = x_75; -goto block_49; -} -else -{ if (x_23 == 0) { uint8_t x_76; -x_76 = l_Lean_Expr_hasLevelParam(x_3); -if (x_76 == 0) -{ -uint8_t x_77; uint8_t x_78; uint64_t x_79; lean_object* x_80; -x_77 = l_Lean_Expr_hasLevelParam(x_4); -x_78 = 1; -x_79 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_78, x_78, x_77, x_5); -lean_dec(x_19); -x_80 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_80, 0, x_1); -lean_ctor_set(x_80, 1, x_2); -lean_ctor_set(x_80, 2, x_3); -lean_ctor_set(x_80, 3, x_4); -lean_ctor_set_uint64(x_80, sizeof(void*)*4, x_79); -return x_80; +x_76 = 1; +x_26 = x_76; +goto block_50; } else { -uint8_t x_81; uint64_t x_82; lean_object* x_83; -x_81 = 1; -x_82 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_81, x_81, x_81, x_5); -lean_dec(x_19); -x_83 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_83, 0, x_1); -lean_ctor_set(x_83, 1, x_2); -lean_ctor_set(x_83, 2, x_3); -lean_ctor_set(x_83, 3, x_4); -lean_ctor_set_uint64(x_83, sizeof(void*)*4, x_82); -return x_83; +if (x_24 == 0) +{ +uint8_t x_77; +x_77 = l_Lean_Expr_hasLevelParam(x_3); +if (x_77 == 0) +{ +uint8_t x_78; uint8_t x_79; uint64_t x_80; lean_object* x_81; +x_78 = l_Lean_Expr_hasLevelParam(x_4); +x_79 = 1; +x_80 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_79, x_79, x_78, x_5); +lean_dec(x_20); +x_81 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_81, 0, x_6); +lean_ctor_set(x_81, 1, x_2); +lean_ctor_set(x_81, 2, x_3); +lean_ctor_set(x_81, 3, x_4); +lean_ctor_set_uint64(x_81, sizeof(void*)*4, x_80); +return x_81; +} +else +{ +uint8_t x_82; uint64_t x_83; lean_object* x_84; +x_82 = 1; +x_83 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_82, x_82, x_82, x_5); +lean_dec(x_20); +x_84 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_84, 0, x_6); +lean_ctor_set(x_84, 1, x_2); +lean_ctor_set(x_84, 2, x_3); +lean_ctor_set(x_84, 3, x_4); +lean_ctor_set_uint64(x_84, sizeof(void*)*4, x_83); +return x_84; } } else { -uint8_t x_84; uint64_t x_85; lean_object* x_86; -x_84 = 1; -x_85 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_84, x_84, x_84, x_5); -lean_dec(x_19); -x_86 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_86, 0, x_1); -lean_ctor_set(x_86, 1, x_2); -lean_ctor_set(x_86, 2, x_3); -lean_ctor_set(x_86, 3, x_4); -lean_ctor_set_uint64(x_86, sizeof(void*)*4, x_85); -return x_86; +uint8_t x_85; uint64_t x_86; lean_object* x_87; +x_85 = 1; +x_86 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_85, x_85, x_85, x_5); +lean_dec(x_20); +x_87 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_87, 0, x_6); +lean_ctor_set(x_87, 1, x_2); +lean_ctor_set(x_87, 2, x_3); +lean_ctor_set(x_87, 3, x_4); +lean_ctor_set_uint64(x_87, sizeof(void*)*4, x_86); +return x_87; } } } -block_49: -{ -uint8_t x_26; -x_26 = l_Lean_Expr_hasLevelMVar(x_3); -if (x_26 == 0) +block_50: { uint8_t x_27; -x_27 = l_Lean_Expr_hasLevelMVar(x_4); -if (x_23 == 0) +x_27 = l_Lean_Expr_hasLevelMVar(x_3); +if (x_27 == 0) { uint8_t x_28; -x_28 = l_Lean_Expr_hasLevelParam(x_3); -if (x_28 == 0) +x_28 = l_Lean_Expr_hasLevelMVar(x_4); +if (x_24 == 0) { -uint8_t x_29; uint64_t x_30; lean_object* x_31; -x_29 = l_Lean_Expr_hasLevelParam(x_4); -x_30 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_27, x_29, x_5); -lean_dec(x_19); -x_31 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_2); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_4); -lean_ctor_set_uint64(x_31, sizeof(void*)*4, x_30); -return x_31; +uint8_t x_29; +x_29 = l_Lean_Expr_hasLevelParam(x_3); +if (x_29 == 0) +{ +uint8_t x_30; uint64_t x_31; lean_object* x_32; +x_30 = l_Lean_Expr_hasLevelParam(x_4); +x_31 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_28, x_30, x_5); +lean_dec(x_20); +x_32 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_2); +lean_ctor_set(x_32, 2, x_3); +lean_ctor_set(x_32, 3, x_4); +lean_ctor_set_uint64(x_32, sizeof(void*)*4, x_31); +return x_32; } else { -uint8_t x_32; uint64_t x_33; lean_object* x_34; -x_32 = 1; -x_33 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_27, x_32, x_5); -lean_dec(x_19); -x_34 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_2); -lean_ctor_set(x_34, 2, x_3); -lean_ctor_set(x_34, 3, x_4); -lean_ctor_set_uint64(x_34, sizeof(void*)*4, x_33); -return x_34; +uint8_t x_33; uint64_t x_34; lean_object* x_35; +x_33 = 1; +x_34 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_28, x_33, x_5); +lean_dec(x_20); +x_35 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_35, 0, x_6); +lean_ctor_set(x_35, 1, x_2); +lean_ctor_set(x_35, 2, x_3); +lean_ctor_set(x_35, 3, x_4); +lean_ctor_set_uint64(x_35, sizeof(void*)*4, x_34); +return x_35; } } else { -uint8_t x_35; uint64_t x_36; lean_object* x_37; -x_35 = 1; -x_36 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_27, x_35, x_5); -lean_dec(x_19); -x_37 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_37, 0, x_1); -lean_ctor_set(x_37, 1, x_2); -lean_ctor_set(x_37, 2, x_3); -lean_ctor_set(x_37, 3, x_4); -lean_ctor_set_uint64(x_37, sizeof(void*)*4, x_36); -return x_37; +uint8_t x_36; uint64_t x_37; lean_object* x_38; +x_36 = 1; +x_37 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_28, x_36, x_5); +lean_dec(x_20); +x_38 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_38, 0, x_6); +lean_ctor_set(x_38, 1, x_2); +lean_ctor_set(x_38, 2, x_3); +lean_ctor_set(x_38, 3, x_4); +lean_ctor_set_uint64(x_38, sizeof(void*)*4, x_37); +return x_38; } } else { -if (x_23 == 0) +if (x_24 == 0) { -uint8_t x_38; -x_38 = l_Lean_Expr_hasLevelParam(x_3); -if (x_38 == 0) +uint8_t x_39; +x_39 = l_Lean_Expr_hasLevelParam(x_3); +if (x_39 == 0) { -uint8_t x_39; uint8_t x_40; uint64_t x_41; lean_object* x_42; -x_39 = l_Lean_Expr_hasLevelParam(x_4); -x_40 = 1; -x_41 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_40, x_39, x_5); -lean_dec(x_19); -x_42 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_42, 0, x_1); -lean_ctor_set(x_42, 1, x_2); -lean_ctor_set(x_42, 2, x_3); -lean_ctor_set(x_42, 3, x_4); -lean_ctor_set_uint64(x_42, sizeof(void*)*4, x_41); -return x_42; +uint8_t x_40; uint8_t x_41; uint64_t x_42; lean_object* x_43; +x_40 = l_Lean_Expr_hasLevelParam(x_4); +x_41 = 1; +x_42 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_41, x_40, x_5); +lean_dec(x_20); +x_43 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_43, 0, x_6); +lean_ctor_set(x_43, 1, x_2); +lean_ctor_set(x_43, 2, x_3); +lean_ctor_set(x_43, 3, x_4); +lean_ctor_set_uint64(x_43, sizeof(void*)*4, x_42); +return x_43; } else { -uint8_t x_43; uint64_t x_44; lean_object* x_45; -x_43 = 1; -x_44 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_43, x_43, x_5); -lean_dec(x_19); -x_45 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_2); -lean_ctor_set(x_45, 2, x_3); -lean_ctor_set(x_45, 3, x_4); -lean_ctor_set_uint64(x_45, sizeof(void*)*4, x_44); -return x_45; +uint8_t x_44; uint64_t x_45; lean_object* x_46; +x_44 = 1; +x_45 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_44, x_44, x_5); +lean_dec(x_20); +x_46 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_46, 0, x_6); +lean_ctor_set(x_46, 1, x_2); +lean_ctor_set(x_46, 2, x_3); +lean_ctor_set(x_46, 3, x_4); +lean_ctor_set_uint64(x_46, sizeof(void*)*4, x_45); +return x_46; } } else { -uint8_t x_46; uint64_t x_47; lean_object* x_48; -x_46 = 1; -x_47 = l_Lean_Expr_mkDataForLet(x_12, x_19, x_24, x_25, x_46, x_46, x_5); -lean_dec(x_19); -x_48 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_2); -lean_ctor_set(x_48, 2, x_3); -lean_ctor_set(x_48, 3, x_4); -lean_ctor_set_uint64(x_48, sizeof(void*)*4, x_47); -return x_48; +uint8_t x_47; uint64_t x_48; lean_object* x_49; +x_47 = 1; +x_48 = l_Lean_Expr_mkDataForLet(x_13, x_20, x_25, x_26, x_47, x_47, x_5); +lean_dec(x_20); +x_49 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_49, 0, x_6); +lean_ctor_set(x_49, 1, x_2); +lean_ctor_set(x_49, 2, x_3); +lean_ctor_set(x_49, 3, x_4); +lean_ctor_set_uint64(x_49, sizeof(void*)*4, x_48); +return x_49; } } } @@ -4269,6 +4275,7 @@ uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_5); lean_dec(x_5); x_7 = l_Lean_mkLet(x_1, x_2, x_3, x_4, x_6); +lean_dec(x_1); return x_7; } } @@ -4357,6 +4364,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_mkLambda(x_1, x_4, x_2, x_3); +lean_dec(x_1); return x_5; } } @@ -4375,6 +4383,7 @@ _start: { lean_object* x_5; x_5 = l_Lean_mkForall(x_1, x_4, x_2, x_3); +lean_dec(x_1); return x_5; } } @@ -4394,6 +4403,7 @@ _start: uint8_t x_5; lean_object* x_6; x_5 = 0; x_6 = l_Lean_mkLet(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); return x_6; } } @@ -5472,7 +5482,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(479u); +x_2 = lean_unsigned_to_nat(482u); x_3 = lean_unsigned_to_nat(20u); x_4 = l_List_get_x21___main___rarg___closed__2; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5726,7 +5736,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(499u); +x_2 = lean_unsigned_to_nat(502u); x_3 = lean_unsigned_to_nat(15u); x_4 = l_Lean_Expr_appFn_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5767,7 +5777,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(503u); +x_2 = lean_unsigned_to_nat(506u); x_3 = lean_unsigned_to_nat(15u); x_4 = l_Lean_Expr_appFn_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5816,7 +5826,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(507u); +x_2 = lean_unsigned_to_nat(510u); x_3 = lean_unsigned_to_nat(17u); x_4 = l_Lean_Expr_constName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5867,7 +5877,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(511u); +x_2 = lean_unsigned_to_nat(514u); x_3 = lean_unsigned_to_nat(18u); x_4 = l_Lean_Expr_constName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5916,7 +5926,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(515u); +x_2 = lean_unsigned_to_nat(518u); x_3 = lean_unsigned_to_nat(16u); x_4 = l_Lean_Expr_bvarIdx_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5965,7 +5975,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(519u); +x_2 = lean_unsigned_to_nat(522u); x_3 = lean_unsigned_to_nat(14u); x_4 = l_Lean_Expr_fvarId_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -6014,7 +6024,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(523u); +x_2 = lean_unsigned_to_nat(526u); x_3 = lean_unsigned_to_nat(14u); x_4 = l_Lean_Expr_mvarId_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -6063,7 +6073,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(528u); +x_2 = lean_unsigned_to_nat(531u); x_3 = lean_unsigned_to_nat(21u); x_4 = l_Lean_Expr_bindingName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -6113,7 +6123,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(533u); +x_2 = lean_unsigned_to_nat(536u); x_3 = lean_unsigned_to_nat(21u); x_4 = l_Lean_Expr_bindingName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -6163,7 +6173,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(538u); +x_2 = lean_unsigned_to_nat(541u); x_3 = lean_unsigned_to_nat(21u); x_4 = l_Lean_Expr_bindingName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -6221,7 +6231,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(542u); +x_2 = lean_unsigned_to_nat(545u); x_3 = lean_unsigned_to_nat(20u); x_4 = l_Lean_Expr_letName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7506,7 +7516,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(766u); +x_2 = lean_unsigned_to_nat(769u); x_3 = lean_unsigned_to_nat(18u); x_4 = l_Lean_Expr_appFn_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7548,7 +7558,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(775u); +x_2 = lean_unsigned_to_nat(778u); x_3 = lean_unsigned_to_nat(18u); x_4 = l_Lean_Expr_constName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7597,7 +7607,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(784u); +x_2 = lean_unsigned_to_nat(787u); x_3 = lean_unsigned_to_nat(14u); x_4 = l_Lean_Expr_updateSort_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7654,7 +7664,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(801u); +x_2 = lean_unsigned_to_nat(804u); x_3 = lean_unsigned_to_nat(17u); x_4 = l_Lean_Expr_updateMData_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7695,7 +7705,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(806u); +x_2 = lean_unsigned_to_nat(809u); x_3 = lean_unsigned_to_nat(18u); x_4 = l_Lean_Expr_updateProj_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7746,7 +7756,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(815u); +x_2 = lean_unsigned_to_nat(818u); x_3 = lean_unsigned_to_nat(21u); x_4 = l_Lean_Expr_updateForall_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7790,7 +7800,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(820u); +x_2 = lean_unsigned_to_nat(823u); x_3 = lean_unsigned_to_nat(21u); x_4 = l_Lean_Expr_updateForall_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7844,7 +7854,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(829u); +x_2 = lean_unsigned_to_nat(832u); x_3 = lean_unsigned_to_nat(17u); x_4 = l_Lean_Expr_updateLambda_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7888,7 +7898,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(834u); +x_2 = lean_unsigned_to_nat(837u); x_3 = lean_unsigned_to_nat(17u); x_4 = l_Lean_Expr_updateLambda_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -7932,7 +7942,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1; -x_2 = lean_unsigned_to_nat(843u); +x_2 = lean_unsigned_to_nat(846u); x_3 = lean_unsigned_to_nat(20u); x_4 = l_Lean_Expr_letName_x21___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); diff --git a/stage0/stdlib/Init/Lean/LocalContext.c b/stage0/stdlib/Init/Lean/LocalContext.c index a585f10096..8721b5a300 100644 --- a/stage0/stdlib/Init/Lean/LocalContext.c +++ b/stage0/stdlib/Init/Lean/LocalContext.c @@ -5236,6 +5236,7 @@ if (x_1 == 0) { lean_object* x_21; x_21 = l_Lean_mkForall(x_17, x_19, x_20, x_5); +lean_dec(x_17); x_4 = x_9; x_5 = x_21; goto _start; @@ -5244,6 +5245,7 @@ else { lean_object* x_23; x_23 = l_Lean_mkLambda(x_17, x_19, x_20, x_5); +lean_dec(x_17); x_4 = x_9; x_5 = x_23; goto _start; @@ -5277,6 +5279,7 @@ x_31 = lean_expr_abstract_range(x_27, x_9, x_3); lean_dec(x_27); x_32 = 0; x_33 = l_Lean_mkLet(x_25, x_30, x_31, x_5, x_32); +lean_dec(x_25); x_4 = x_9; x_5 = x_33; goto _start; @@ -5370,6 +5373,7 @@ lean_dec(x_15); x_19 = lean_expr_abstract_range(x_17, x_8, x_2); lean_dec(x_17); x_20 = l_Lean_mkLambda(x_16, x_18, x_19, x_4); +lean_dec(x_16); x_3 = x_8; x_4 = x_20; goto _start; @@ -5402,6 +5406,7 @@ x_28 = lean_expr_abstract_range(x_24, x_8, x_2); lean_dec(x_24); x_29 = 0; x_30 = l_Lean_mkLet(x_22, x_27, x_28, x_4, x_29); +lean_dec(x_22); x_3 = x_8; x_4 = x_30; goto _start; @@ -5491,6 +5496,7 @@ lean_dec(x_15); x_19 = lean_expr_abstract_range(x_17, x_8, x_2); lean_dec(x_17); x_20 = l_Lean_mkForall(x_16, x_18, x_19, x_4); +lean_dec(x_16); x_3 = x_8; x_4 = x_20; goto _start; @@ -5523,6 +5529,7 @@ x_28 = lean_expr_abstract_range(x_24, x_8, x_2); lean_dec(x_24); x_29 = 0; x_30 = l_Lean_mkLet(x_22, x_27, x_28, x_4, x_29); +lean_dec(x_22); x_3 = x_8; x_4 = x_30; goto _start; diff --git a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c index f24b82950c..d9822e6614 100644 --- a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c @@ -3257,6 +3257,7 @@ lean_dec(x_38); x_59 = 0; lean_inc(x_57); x_60 = l_Lean_mkLambda(x_56, x_59, x_57, x_58); +lean_dec(x_56); lean_inc(x_3); lean_inc(x_57); x_61 = l_Lean_Meta_getLevel(x_57, x_3, x_39); @@ -3557,6 +3558,7 @@ lean_dec(x_128); x_149 = 0; lean_inc(x_147); x_150 = l_Lean_mkLambda(x_146, x_149, x_147, x_148); +lean_dec(x_146); lean_inc(x_3); lean_inc(x_147); x_151 = l_Lean_Meta_getLevel(x_147, x_3, x_129); diff --git a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c index f2ae579f7d..03c8ad93c1 100644 --- a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c @@ -811,6 +811,7 @@ lean_inc(x_17); x_18 = lean_ctor_get_uint64(x_14, sizeof(void*)*3); lean_dec(x_14); x_19 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1(x_1, x_2, x_16, x_17, x_18, x_3, x_15); +lean_dec(x_16); return x_19; } else @@ -921,6 +922,7 @@ uint64_t x_8; lean_object* x_9; x_8 = lean_unbox_uint64(x_5); lean_dec(x_5); x_9 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +lean_dec(x_3); return x_9; } } diff --git a/stage0/stdlib/Init/Lean/MetavarContext.c b/stage0/stdlib/Init/Lean/MetavarContext.c index e5fa27962d..f89da3a4ce 100644 --- a/stage0/stdlib/Init/Lean/MetavarContext.c +++ b/stage0/stdlib/Init/Lean/MetavarContext.c @@ -24112,6 +24112,7 @@ lean_dec(x_18); x_21 = lean_expr_abstract_range(x_19, x_11, x_3); lean_dec(x_19); x_22 = l_Lean_mkForall(x_15, x_17, x_21, x_6); +lean_dec(x_15); x_5 = x_11; x_6 = x_22; x_7 = x_20; @@ -24181,7 +24182,6 @@ x_38 = lean_expr_abstract_range(x_36, x_11, x_3); lean_dec(x_36); x_39 = 0; lean_inc(x_34); -lean_inc(x_28); x_40 = l_Lean_mkLet(x_28, x_34, x_38, x_6, x_39); x_41 = lean_box(x_4); if (lean_obj_tag(x_41) == 2) @@ -24191,6 +24191,7 @@ x_42 = lean_expr_lift_loose_bvars(x_40, x_8, x_10); lean_dec(x_40); x_43 = 0; x_44 = l_Lean_mkForall(x_28, x_43, x_34, x_42); +lean_dec(x_28); x_5 = x_11; x_6 = x_44; x_7 = x_37; @@ -32179,6 +32180,7 @@ if (x_4 == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = l_Lean_mkForall(x_14, x_16, x_20, x_9); +lean_dec(x_14); x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_add(x_10, x_22); lean_dec(x_10); @@ -32191,6 +32193,7 @@ else { lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = l_Lean_mkLambda(x_14, x_16, x_20, x_9); +lean_dec(x_14); x_25 = lean_unsigned_to_nat(1u); x_26 = lean_nat_add(x_10, x_25); lean_dec(x_10); @@ -32215,6 +32218,7 @@ if (x_4 == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = l_Lean_mkForall(x_14, x_16, x_29, x_9); +lean_dec(x_14); x_31 = lean_unsigned_to_nat(1u); x_32 = lean_nat_add(x_10, x_31); lean_dec(x_10); @@ -32229,6 +32233,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = l_Lean_mkLambda(x_14, x_16, x_29, x_9); +lean_dec(x_14); x_35 = lean_unsigned_to_nat(1u); x_36 = lean_nat_add(x_10, x_35); lean_dec(x_10); @@ -32315,6 +32320,7 @@ if (x_4 == 0) { lean_object* x_54; lean_object* x_55; lean_object* x_56; x_54 = l_Lean_mkForall(x_42, x_44, x_53, x_9); +lean_dec(x_42); x_55 = lean_unsigned_to_nat(1u); x_56 = lean_nat_add(x_10, x_55); lean_dec(x_10); @@ -32327,6 +32333,7 @@ else { lean_object* x_57; lean_object* x_58; lean_object* x_59; x_57 = l_Lean_mkLambda(x_42, x_44, x_53, x_9); +lean_dec(x_42); x_58 = lean_unsigned_to_nat(1u); x_59 = lean_nat_add(x_10, x_58); lean_dec(x_10); @@ -32351,6 +32358,7 @@ if (x_4 == 0) { lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; x_63 = l_Lean_mkForall(x_42, x_44, x_62, x_9); +lean_dec(x_42); x_64 = lean_unsigned_to_nat(1u); x_65 = lean_nat_add(x_10, x_64); lean_dec(x_10); @@ -32365,6 +32373,7 @@ else { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_67 = l_Lean_mkLambda(x_42, x_44, x_62, x_9); +lean_dec(x_42); x_68 = lean_unsigned_to_nat(1u); x_69 = lean_nat_add(x_10, x_68); lean_dec(x_10); @@ -32465,6 +32474,7 @@ lean_dec(x_1); lean_dec(x_89); x_91 = 0; x_92 = l_Lean_mkLet(x_75, x_86, x_90, x_9, x_91); +lean_dec(x_75); x_93 = lean_unsigned_to_nat(1u); x_94 = lean_nat_add(x_10, x_93); lean_dec(x_10); @@ -32486,6 +32496,7 @@ lean_dec(x_1); lean_dec(x_95); x_98 = 0; x_99 = l_Lean_mkLet(x_75, x_86, x_97, x_9, x_98); +lean_dec(x_75); x_100 = lean_unsigned_to_nat(1u); x_101 = lean_nat_add(x_10, x_100); lean_dec(x_10); @@ -32604,6 +32615,7 @@ if (x_4 == 0) { lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; x_124 = l_Lean_mkForall(x_116, x_118, x_123, x_111); +lean_dec(x_116); x_125 = lean_unsigned_to_nat(1u); x_126 = lean_nat_add(x_112, x_125); lean_dec(x_112); @@ -32623,6 +32635,7 @@ else { lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; x_129 = l_Lean_mkLambda(x_116, x_118, x_123, x_111); +lean_dec(x_116); x_130 = lean_unsigned_to_nat(1u); x_131 = lean_nat_add(x_112, x_130); lean_dec(x_112); @@ -32723,6 +32736,7 @@ if (x_4 == 0) { lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; x_152 = l_Lean_mkForall(x_138, x_140, x_151, x_111); +lean_dec(x_138); x_153 = lean_unsigned_to_nat(1u); x_154 = lean_nat_add(x_112, x_153); lean_dec(x_112); @@ -32742,6 +32756,7 @@ else { lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; x_157 = l_Lean_mkLambda(x_138, x_140, x_151, x_111); +lean_dec(x_138); x_158 = lean_unsigned_to_nat(1u); x_159 = lean_nat_add(x_112, x_158); lean_dec(x_112); @@ -32856,6 +32871,7 @@ lean_dec(x_1); lean_dec(x_180); x_184 = 0; x_185 = l_Lean_mkLet(x_166, x_178, x_183, x_111, x_184); +lean_dec(x_166); x_186 = lean_unsigned_to_nat(1u); x_187 = lean_nat_add(x_112, x_186); lean_dec(x_112); diff --git a/stage0/stdlib/Init/Lean/Parser/Command.c b/stage0/stdlib/Init/Lean/Parser/Command.c index 0983a3c409..8ac82c4e43 100644 --- a/stage0/stdlib/Init/Lean/Parser/Command.c +++ b/stage0/stdlib/Init/Lean/Parser/Command.c @@ -104,6 +104,7 @@ lean_object* l_Lean_Parser_Command_openHiding; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declModifiers___closed__8; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__8; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_export___closed__8; @@ -548,7 +549,6 @@ lean_object* l_Lean_Parser_Command_unsafe___closed__1; lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_partial___closed__5; lean_object* l_Lean_Parser_Command_classTk___closed__2; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__9; lean_object* l_Lean_Parser_rawIdent(uint8_t); lean_object* l_Lean_Parser_Command_set__option___closed__5; @@ -652,7 +652,6 @@ lean_object* l_Lean_Parser_Command_abbrev___closed__8; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_classTk___elambda__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1(lean_object*, lean_object*, lean_object*); @@ -675,7 +674,6 @@ lean_object* l_Lean_Parser_Command_private___closed__2; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__12; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Command_declValSimple___closed__2; lean_object* l_Lean_Parser_Command_attributes___closed__4; lean_object* l_Lean_Parser_Command_export; @@ -794,6 +792,7 @@ lean_object* l_Lean_Parser_Command_declVal___closed__3; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_structCtor___closed__5; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_private___closed__4; @@ -834,7 +833,6 @@ lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_declaration___closed__1; lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_inductive___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Command_declValSimple___closed__4; lean_object* l_Lean_Parser_Command_theorem___closed__1; lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__8; @@ -854,6 +852,7 @@ lean_object* l_Lean_Parser_Command_introRule___closed__2; lean_object* l_Lean_Parser_Command_def___closed__1; lean_object* l_Lean_Parser_Command_attrInstance___closed__3; lean_object* l_Lean_Parser_Command_export___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_structure___closed__4; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; @@ -915,6 +914,7 @@ lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__2; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Command_attributes___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_openRenaming___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_declaration___closed__8; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4; @@ -1042,7 +1042,6 @@ lean_object* l_Lean_Parser_Command_init__quot; lean_object* l_Lean_Parser_Command_openRenaming___closed__6; lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_axiom; lean_object* l_Lean_Parser_Command_exit___closed__2; lean_object* l_Lean_Parser_Command_openOnly___closed__4; @@ -1111,6 +1110,7 @@ lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__2; lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__3; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_attributes___closed__2; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Command_private___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_section___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_universes___closed__3; @@ -1468,7 +1468,7 @@ if (lean_obj_tag(x_92) == 0) lean_object* x_93; lean_object* x_94; x_93 = lean_ctor_get(x_91, 0); lean_inc(x_93); -x_94 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_93); +x_94 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_93); lean_dec(x_93); if (lean_obj_tag(x_94) == 2) { @@ -1533,7 +1533,7 @@ if (lean_obj_tag(x_21) == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -x_23 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_22); +x_23 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_22); lean_dec(x_22); if (lean_obj_tag(x_23) == 2) { @@ -1541,7 +1541,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -1796,7 +1796,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_stxQuot___closed__3; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -2160,7 +2160,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 2) { @@ -2817,7 +2817,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_34 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_33); +x_34 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_33); lean_dec(x_33); if (lean_obj_tag(x_34) == 2) { @@ -3147,7 +3147,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -3221,7 +3221,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -3580,7 +3580,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -3853,7 +3853,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -4224,7 +4224,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -4497,7 +4497,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -4770,7 +4770,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5592,7 +5592,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -5892,7 +5892,7 @@ if (lean_obj_tag(x_67) == 0) lean_object* x_68; lean_object* x_69; x_68 = lean_ctor_get(x_66, 0); lean_inc(x_68); -x_69 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_68); +x_69 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_68); lean_dec(x_68); if (lean_obj_tag(x_69) == 2) { @@ -6017,7 +6017,7 @@ if (lean_obj_tag(x_53) == 0) lean_object* x_54; lean_object* x_55; x_54 = lean_ctor_get(x_52, 0); lean_inc(x_54); -x_55 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_54); +x_55 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_54); lean_dec(x_54); if (lean_obj_tag(x_55) == 2) { @@ -6713,7 +6713,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -7256,7 +7256,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -7626,7 +7626,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -7970,7 +7970,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -8340,7 +8340,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -8767,7 +8767,7 @@ if (lean_obj_tag(x_77) == 0) lean_object* x_78; lean_object* x_79; x_78 = lean_ctor_get(x_76, 0); lean_inc(x_78); -x_79 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_78); +x_79 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_78); lean_dec(x_78); if (lean_obj_tag(x_79) == 2) { @@ -9260,7 +9260,7 @@ if (lean_obj_tag(x_33) == 0) lean_object* x_34; lean_object* x_35; x_34 = lean_ctor_get(x_32, 0); lean_inc(x_34); -x_35 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_34); +x_35 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_34); lean_dec(x_34); if (lean_obj_tag(x_35) == 2) { @@ -9597,7 +9597,7 @@ if (lean_obj_tag(x_33) == 0) lean_object* x_34; lean_object* x_35; x_34 = lean_ctor_get(x_32, 0); lean_inc(x_34); -x_35 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_34); +x_35 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_34); lean_dec(x_34); if (lean_obj_tag(x_35) == 2) { @@ -9881,7 +9881,7 @@ if (lean_obj_tag(x_64) == 0) lean_object* x_65; lean_object* x_66; x_65 = lean_ctor_get(x_63, 0); lean_inc(x_65); -x_66 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_65); +x_66 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_65); lean_dec(x_65); if (lean_obj_tag(x_66) == 2) { @@ -9982,7 +9982,7 @@ if (lean_obj_tag(x_35) == 0) lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_37 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_36); +x_37 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_36); lean_dec(x_36); if (lean_obj_tag(x_37) == 2) { @@ -10261,7 +10261,7 @@ if (lean_obj_tag(x_64) == 0) lean_object* x_65; lean_object* x_66; x_65 = lean_ctor_get(x_63, 0); lean_inc(x_65); -x_66 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_65); +x_66 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_65); lean_dec(x_65); if (lean_obj_tag(x_66) == 2) { @@ -10269,7 +10269,7 @@ lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); lean_dec(x_66); -x_68 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_68 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_69 = lean_string_dec_eq(x_67, x_68); lean_dec(x_67); if (x_69 == 0) @@ -10362,7 +10362,7 @@ if (lean_obj_tag(x_35) == 0) lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_37 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_36); +x_37 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_36); lean_dec(x_36); if (lean_obj_tag(x_37) == 2) { @@ -10370,7 +10370,7 @@ lean_object* x_38; lean_object* x_39; uint8_t x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_39 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_40 = lean_string_dec_eq(x_38, x_39); lean_dec(x_38); if (x_40 == 0) @@ -10471,8 +10471,8 @@ lean_object* _init_l_Lean_Parser_Command_strictInferMod___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -10734,7 +10734,7 @@ if (lean_obj_tag(x_69) == 0) lean_object* x_70; lean_object* x_71; x_70 = lean_ctor_get(x_68, 0); lean_inc(x_70); -x_71 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_70); +x_71 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_70); lean_dec(x_70); if (lean_obj_tag(x_71) == 2) { @@ -11255,7 +11255,7 @@ if (lean_obj_tag(x_43) == 0) lean_object* x_44; lean_object* x_45; x_44 = lean_ctor_get(x_42, 0); lean_inc(x_44); -x_45 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_44); +x_45 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_44); lean_dec(x_44); if (lean_obj_tag(x_45) == 2) { @@ -11664,7 +11664,7 @@ if (lean_obj_tag(x_84) == 0) lean_object* x_85; lean_object* x_86; x_85 = lean_ctor_get(x_83, 0); lean_inc(x_85); -x_86 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_85); +x_86 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_85); lean_dec(x_85); if (lean_obj_tag(x_86) == 2) { @@ -11836,7 +11836,7 @@ if (lean_obj_tag(x_55) == 0) lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); +x_57 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_56); lean_dec(x_56); if (lean_obj_tag(x_57) == 2) { @@ -12129,7 +12129,7 @@ if (lean_obj_tag(x_104) == 0) lean_object* x_105; lean_object* x_106; x_105 = lean_ctor_get(x_103, 0); lean_inc(x_105); -x_106 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_105); +x_106 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_105); lean_dec(x_105); if (lean_obj_tag(x_106) == 2) { @@ -12137,7 +12137,7 @@ lean_object* x_107; lean_object* x_108; uint8_t x_109; x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); lean_dec(x_106); -x_108 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_108 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_109 = lean_string_dec_eq(x_107, x_108); lean_dec(x_107); if (x_109 == 0) @@ -12194,7 +12194,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -12202,7 +12202,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -12480,7 +12480,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_structExplicitBinder___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -12521,7 +12521,7 @@ lean_object* _init_l_Lean_Parser_Command_structExplicitBinder___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Command_structExplicitBinder___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -12686,7 +12686,7 @@ if (lean_obj_tag(x_84) == 0) lean_object* x_85; lean_object* x_86; x_85 = lean_ctor_get(x_83, 0); lean_inc(x_85); -x_86 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_85); +x_86 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_85); lean_dec(x_85); if (lean_obj_tag(x_86) == 2) { @@ -12758,7 +12758,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -13142,7 +13142,7 @@ if (lean_obj_tag(x_84) == 0) lean_object* x_85; lean_object* x_86; x_85 = lean_ctor_get(x_83, 0); lean_inc(x_85); -x_86 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_85); +x_86 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_85); lean_dec(x_85); if (lean_obj_tag(x_86) == 2) { @@ -13214,7 +13214,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -14069,7 +14069,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -14375,7 +14375,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -14599,7 +14599,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -14866,7 +14866,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -15319,7 +15319,7 @@ if (lean_obj_tag(x_69) == 0) lean_object* x_70; lean_object* x_71; x_70 = lean_ctor_get(x_68, 0); lean_inc(x_70); -x_71 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_70); +x_71 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_70); lean_dec(x_70); if (lean_obj_tag(x_71) == 2) { @@ -16712,7 +16712,7 @@ if (lean_obj_tag(x_49) == 0) lean_object* x_50; lean_object* x_51; x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); -x_51 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_50); +x_51 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_50); lean_dec(x_50); if (lean_obj_tag(x_51) == 2) { @@ -17091,7 +17091,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -17413,7 +17413,7 @@ if (lean_obj_tag(x_49) == 0) lean_object* x_50; lean_object* x_51; x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); -x_51 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_50); +x_51 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_50); lean_dec(x_50); if (lean_obj_tag(x_51) == 2) { @@ -17781,7 +17781,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -18103,7 +18103,7 @@ if (lean_obj_tag(x_42) == 0) lean_object* x_43; lean_object* x_44; x_43 = lean_ctor_get(x_41, 0); lean_inc(x_43); -x_44 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_43); +x_44 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_43); lean_dec(x_43); if (lean_obj_tag(x_44) == 2) { @@ -18457,7 +18457,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -18779,7 +18779,7 @@ if (lean_obj_tag(x_42) == 0) lean_object* x_43; lean_object* x_44; x_43 = lean_ctor_get(x_41, 0); lean_inc(x_43); -x_44 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_43); +x_44 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_43); lean_dec(x_43); if (lean_obj_tag(x_44) == 2) { @@ -19125,7 +19125,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -19439,7 +19439,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -19752,7 +19752,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -20046,7 +20046,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -20351,7 +20351,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -20713,7 +20713,7 @@ if (lean_obj_tag(x_95) == 0) lean_object* x_96; lean_object* x_97; x_96 = lean_ctor_get(x_94, 0); lean_inc(x_96); -x_97 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_96); +x_97 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_96); lean_dec(x_96); if (lean_obj_tag(x_97) == 2) { @@ -21345,7 +21345,7 @@ if (lean_obj_tag(x_121) == 0) lean_object* x_122; lean_object* x_123; x_122 = lean_ctor_get(x_120, 0); lean_inc(x_122); -x_123 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_122); +x_123 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_122); lean_dec(x_122); if (lean_obj_tag(x_123) == 2) { @@ -21482,7 +21482,7 @@ if (lean_obj_tag(x_49) == 0) lean_object* x_50; lean_object* x_51; x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); -x_51 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_50); +x_51 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_50); lean_dec(x_50); if (lean_obj_tag(x_51) == 2) { @@ -21575,7 +21575,7 @@ if (lean_obj_tag(x_72) == 0) lean_object* x_73; lean_object* x_74; x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); -x_74 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_73); +x_74 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_73); lean_dec(x_73); if (lean_obj_tag(x_74) == 2) { @@ -21654,7 +21654,7 @@ if (lean_obj_tag(x_92) == 0) lean_object* x_93; lean_object* x_94; x_93 = lean_ctor_get(x_91, 0); lean_inc(x_93); -x_94 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_93); +x_94 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_93); lean_dec(x_93); if (lean_obj_tag(x_94) == 2) { @@ -22063,7 +22063,7 @@ if (lean_obj_tag(x_93) == 0) lean_object* x_94; lean_object* x_95; x_94 = lean_ctor_get(x_92, 0); lean_inc(x_94); -x_95 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_94); +x_95 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_94); lean_dec(x_94); if (lean_obj_tag(x_95) == 2) { @@ -22128,7 +22128,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -22136,7 +22136,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -22282,7 +22282,7 @@ if (lean_obj_tag(x_73) == 0) lean_object* x_74; lean_object* x_75; x_74 = lean_ctor_get(x_72, 0); lean_inc(x_74); -x_75 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_74); +x_75 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_74); lean_dec(x_74); if (lean_obj_tag(x_75) == 2) { @@ -22290,7 +22290,7 @@ lean_object* x_76; lean_object* x_77; uint8_t x_78; x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); lean_dec(x_75); -x_77 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_77 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_78 = lean_string_dec_eq(x_76, x_77); lean_dec(x_76); if (x_78 == 0) @@ -22377,7 +22377,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -22386,7 +22386,7 @@ lean_object* _init_l_Lean_Parser_Command_export___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Command_export___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -22658,7 +22658,7 @@ if (lean_obj_tag(x_54) == 0) lean_object* x_55; lean_object* x_56; x_55 = lean_ctor_get(x_53, 0); lean_inc(x_55); -x_56 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_55); +x_56 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_55); lean_dec(x_55); if (lean_obj_tag(x_56) == 2) { @@ -23299,7 +23299,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_34 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_33); +x_34 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_33); lean_dec(x_33); if (lean_obj_tag(x_34) == 2) { @@ -23657,7 +23657,7 @@ if (lean_obj_tag(x_44) == 0) lean_object* x_45; lean_object* x_46; x_45 = lean_ctor_get(x_43, 0); lean_inc(x_45); -x_46 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_45); +x_46 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_45); lean_dec(x_45); if (lean_obj_tag(x_46) == 2) { @@ -24076,7 +24076,7 @@ if (lean_obj_tag(x_80) == 0) lean_object* x_81; lean_object* x_82; x_81 = lean_ctor_get(x_79, 0); lean_inc(x_81); -x_82 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_81); +x_82 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_81); lean_dec(x_81); if (lean_obj_tag(x_82) == 2) { @@ -24084,7 +24084,7 @@ lean_object* x_83; lean_object* x_84; uint8_t x_85; x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); lean_dec(x_82); -x_84 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_84 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_85 = lean_string_dec_eq(x_83, x_84); lean_dec(x_83); if (x_85 == 0) @@ -24193,7 +24193,7 @@ if (lean_obj_tag(x_24) == 0) lean_object* x_25; lean_object* x_26; x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); -x_26 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_25); +x_26 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_25); lean_dec(x_25); if (lean_obj_tag(x_26) == 2) { @@ -24201,7 +24201,7 @@ lean_object* x_27; lean_object* x_28; uint8_t x_29; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_28 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_29 = lean_string_dec_eq(x_27, x_28); lean_dec(x_27); if (x_29 == 0) @@ -24360,7 +24360,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -24770,7 +24770,7 @@ if (lean_obj_tag(x_80) == 0) lean_object* x_81; lean_object* x_82; x_81 = lean_ctor_get(x_79, 0); lean_inc(x_81); -x_82 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_81); +x_82 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_81); lean_dec(x_81); if (lean_obj_tag(x_82) == 2) { diff --git a/stage0/stdlib/Init/Lean/Parser/Level.c b/stage0/stdlib/Init/Lean/Parser/Level.c index bb18c940c0..d5ecc40f82 100644 --- a/stage0/stdlib/Init/Lean/Parser/Level.c +++ b/stage0/stdlib/Init/Lean/Parser/Level.c @@ -29,6 +29,7 @@ lean_object* l_Lean_Parser_Level_num___closed__4; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__6; lean_object* l_Lean_Parser_regBuiltinLevelParserAttr(lean_object*); lean_object* l_Lean_Parser_Level_num___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Level_hole___closed__5; lean_object* l_Lean_Parser_Level_hole___closed__3; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Level_max___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -36,7 +37,6 @@ lean_object* l_Lean_Parser_regBuiltinLevelParserAttr___closed__2; lean_object* l_Lean_Parser_Level_ident; lean_object* l___regBuiltinParser_Lean_Parser_Level_num(lean_object*); extern lean_object* l_Lean_Level_LevelToFormat_Result_format___main___closed__1; -lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_ident(uint8_t); lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Level_max(lean_object*); @@ -47,6 +47,7 @@ lean_object* l_Lean_Parser_Level_max___closed__7; lean_object* l_Lean_Parser_regBuiltinLevelParserAttr___closed__4; lean_object* l_Lean_Parser_Level_paren___closed__7; lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__5; +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_hole___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addBuiltinParser(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -94,7 +95,6 @@ lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Level_max___elambda__ lean_object* l_Lean_Parser_Level_num___elambda__1___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_num___elambda__1___closed__5; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__11; lean_object* l_Lean_Parser_Level_imax___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_ident___closed__1; @@ -106,13 +106,13 @@ lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__4; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_paren___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_paren___closed__9; lean_object* l_Lean_Parser_Level_addLit___closed__7; lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__6; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__2; extern lean_object* l_Lean_Parser_appPrec; @@ -128,11 +128,11 @@ lean_object* l_Lean_Parser_Level_num; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_max___closed__5; lean_object* l_Lean_Parser_Level_num___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__4; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__7; @@ -141,6 +141,7 @@ lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Level_hole(lean_object*); lean_object* l_Lean_Parser_Level_hole___closed__1; extern lean_object* l_Lean_Level_LevelToFormat_Result_format___main___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; lean_object* l_Lean_Parser_Level_hole___closed__2; @@ -157,17 +158,16 @@ lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__5; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_imax___closed__1; lean_object* l_Lean_Parser_Level_imax___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Level_addLit___closed__4; lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_paren___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Level_imax(lean_object*); lean_object* l_Lean_Parser_Level_imax___closed__4; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Level_paren___closed__8; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_hole___closed__4; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Level_addLit___closed__1; lean_object* l_Lean_Parser_Level_max___closed__1; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__5; @@ -265,7 +265,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -285,7 +285,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -297,7 +297,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -329,7 +329,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -417,7 +417,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -425,7 +425,7 @@ lean_object* x_60; lean_object* x_61; uint8_t x_62; x_60 = lean_ctor_get(x_59, 1); lean_inc(x_60); lean_dec(x_59); -x_61 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_61 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_62 = lean_string_dec_eq(x_60, x_61); lean_dec(x_60); if (x_62 == 0) @@ -491,7 +491,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -499,7 +499,7 @@ lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_30 = lean_string_dec_eq(x_28, x_29); lean_dec(x_28); if (x_30 == 0) @@ -592,7 +592,7 @@ lean_object* _init_l_Lean_Parser_Level_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Level_paren___closed__1; x_3 = l_Lean_Parser_symbolInfo(x_1, x_2); return x_3; @@ -616,7 +616,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_paren___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -1188,7 +1188,7 @@ if (lean_obj_tag(x_42) == 0) lean_object* x_43; lean_object* x_44; x_43 = lean_ctor_get(x_41, 0); lean_inc(x_43); -x_44 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_43); +x_44 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_43); lean_dec(x_43); if (lean_obj_tag(x_44) == 2) { @@ -1516,7 +1516,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -2081,7 +2081,7 @@ return x_3; lean_object* l_Lean_Parser_Level_addLit___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = l_Lean_Parser_Level_addLit___elambda__1___closed__4; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); @@ -2089,98 +2089,98 @@ x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); x_7 = lean_array_get_size(x_6); lean_dec(x_6); -lean_inc(x_1); -lean_inc(x_3); -x_8 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_9 = lean_ctor_get(x_3, 3); +x_8 = lean_ctor_get(x_3, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_3, 1); lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -lean_dec(x_3); lean_inc(x_2); -x_11 = l_Lean_Parser_tokenFn(x_2, x_8); -x_12 = lean_ctor_get(x_11, 3); +x_10 = l_Lean_Parser_tokenFn(x_2, x_3); +x_11 = lean_ctor_get(x_10, 3); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_13); -lean_dec(x_13); -if (lean_obj_tag(x_14) == 2) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_Parser_Level_addLit___elambda__1___closed__3; -x_17 = lean_string_dec_eq(x_15, x_16); -lean_dec(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_18 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_19 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_18, x_10); -x_20 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_7); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_10); -x_22 = lean_apply_3(x_5, x_1, x_2, x_11); -x_23 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_7); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_25 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_25, x_10); -x_27 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_7); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_13 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_12); lean_dec(x_12); +if (lean_obj_tag(x_13) == 2) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Parser_Level_addLit___elambda__1___closed__3; +x_16 = lean_string_dec_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_29 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_11, x_29, x_10); -x_31 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_7); -return x_32; +x_17 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_18 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_17, x_9); +x_19 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; +x_20 = l_Lean_Parser_ParserState_mkTrailingNode(x_18, x_19, x_7); +lean_dec(x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_9); +x_21 = lean_apply_3(x_5, x_1, x_2, x_10); +x_22 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_7); +lean_dec(x_7); +return x_23; } } else { -lean_object* x_33; lean_object* x_34; -lean_dec(x_9); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_13); lean_dec(x_5); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_33 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; -x_34 = l_Lean_Parser_ParserState_mkNode(x_8, x_33, x_7); -return x_34; +x_24 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_24, x_9); +x_26 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_25, x_26, x_7); +lean_dec(x_7); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_10, x_28, x_9); +x_30 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; +x_31 = l_Lean_Parser_ParserState_mkTrailingNode(x_29, x_30, x_7); +lean_dec(x_7); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = l_Lean_Parser_Level_addLit___elambda__1___closed__2; +x_33 = l_Lean_Parser_ParserState_mkTrailingNode(x_3, x_32, x_7); +lean_dec(x_7); +return x_33; } } } diff --git a/stage0/stdlib/Init/Lean/Parser/Module.c b/stage0/stdlib/Init/Lean/Parser/Module.c index 630c9172d0..353a22f03c 100644 --- a/stage0/stdlib/Init/Lean/Parser/Module.c +++ b/stage0/stdlib/Init/Lean/Parser/Module.c @@ -105,7 +105,6 @@ lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__10; lean_object* l_Lean_Parser_testModuleParser___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_IO_println___rarg___closed__1; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__7; lean_object* l_Lean_Parser_addParserTokens(lean_object*, lean_object*); @@ -178,6 +177,7 @@ uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* lean_test_module_parser(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__4; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__6; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isEOI___boxed(lean_object*); @@ -344,7 +344,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -675,7 +675,7 @@ if (lean_obj_tag(x_78) == 0) lean_object* x_79; lean_object* x_80; x_79 = lean_ctor_get(x_77, 0); lean_inc(x_79); -x_80 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_79); +x_80 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_79); lean_dec(x_79); if (lean_obj_tag(x_80) == 2) { @@ -745,7 +745,7 @@ if (lean_obj_tag(x_61) == 0) lean_object* x_62; lean_object* x_63; x_62 = lean_ctor_get(x_60, 0); lean_inc(x_62); -x_63 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_62); +x_63 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_62); lean_dec(x_62); if (lean_obj_tag(x_63) == 2) { @@ -1562,7 +1562,7 @@ lean_inc(x_4); x_10 = l_Lean_Parser_Module_header___elambda__1(x_9, x_4, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); +x_12 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_11); lean_dec(x_11); x_13 = lean_ctor_get(x_10, 3); lean_inc(x_13); @@ -1781,7 +1781,7 @@ lean_dec(x_2); lean_dec(x_1); x_21 = lean_ctor_get(x_19, 0); lean_inc(x_21); -x_22 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_21); +x_22 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_21); lean_dec(x_21); x_23 = lean_ctor_get(x_19, 1); lean_inc(x_23); @@ -1864,7 +1864,7 @@ lean_dec(x_2); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 0); lean_inc(x_49); -x_50 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_49); +x_50 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_49); lean_dec(x_49); x_51 = lean_ctor_get(x_47, 1); lean_inc(x_51); diff --git a/stage0/stdlib/Init/Lean/Parser/Parser.c b/stage0/stdlib/Init/Lean/Parser/Parser.c index 6604345f72..c2b13a142e 100644 --- a/stage0/stdlib/Init/Lean/Parser/Parser.c +++ b/stage0/stdlib/Init/Lean/Parser/Parser.c @@ -15,34 +15,34 @@ extern "C" { #endif lean_object* l_Lean_Parser_declareBuiltinParser___closed__9; lean_object* l_Lean_Parser_nonReservedSymbol___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Parser_optionalFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identEq(uint8_t, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_decimalNumberFn___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; lean_object* l_Lean_Syntax_foldArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(lean_object*); lean_object* l_Lean_Parser_charLit___boxed(lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1(uint8_t); lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2; lean_object* l_Lean_Parser_builtinTokenTable; +lean_object* l_Lean_Parser_mkAntiquotAux(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_finishCommentBlock(lean_object*, lean_object*, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Parser_charLit___closed__1; lean_object* l_Lean_Parser_andthenInfo___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__26; lean_object* l_Lean_Parser_symbolAux___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hashOrelse(uint8_t); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__7___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Parser_manyAux___main___closed__1; extern lean_object* l_Lean_fieldIdxKind; lean_object* l_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forArgsM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrec___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; uint8_t l_RBNode_isRed___rarg(lean_object*); @@ -50,12 +50,11 @@ lean_object* l_Lean_Parser_andthenFn___boxed(lean_object*); uint8_t l_Lean_Parser_checkTailWs(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_hexNumberFn___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; lean_object* l_Lean_Parser_try(uint8_t, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1(uint8_t); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; lean_object* l_Lean_Parser_prattParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); @@ -65,11 +64,12 @@ lean_object* l_Lean_Syntax_foldSepRevArgs___rarg(lean_object*, lean_object*, lea extern lean_object* l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_octalNumberFn___spec__3(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hashAndthen___boxed(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Parser_optional___boxed(lean_object*, lean_object*); @@ -81,16 +81,16 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_shrinkStack___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(uint8_t); lean_object* l_Lean_Parser_orelseFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object*); lean_object* l_Lean_Parser_decimalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgsM(lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_mkParserExtension___closed__2; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2; +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot(uint8_t); @@ -107,6 +107,7 @@ lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg(lean_object*, le lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_rawCh___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited___rarg(lean_object*); @@ -118,6 +119,7 @@ lean_object* l_List_foldlM___main___at_Lean_Parser_addParserTokens___spec__1(lea lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_many___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_numberFnAux(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_TokenConfig_HasToString___closed__1; lean_object* l_Lean_Parser_lookahead(uint8_t, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,7 +128,7 @@ uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit(uint8_t); lean_object* l_Lean_Parser_hexNumberFn___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_trailingLoop___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_trailingLoop___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1(lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -137,21 +139,21 @@ lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_parserExtension___elambda__1___boxed(lean_object*); lean_object* l_Lean_Syntax_foldSepArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_mkParserExtension___closed__4; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn_u2081___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__12; lean_object* l_Lean_Parser_Trie_matchPrefix___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_octalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldSepBy___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; @@ -164,6 +166,7 @@ lean_object* l_Lean_Parser_pushNone(uint8_t); lean_object* l_Lean_Parser_optionalFn___boxed(lean_object*); lean_object* l_Lean_Parser_longestMatchStep___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_InputContext_inhabited; +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1(uint8_t, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_HasToString___closed__1; lean_object* l_Lean_Parser_ParserExtensionState_inhabited___closed__1; @@ -180,9 +183,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1___rarg(uint32_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(uint8_t, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_dollarSymbol___closed__1; @@ -193,14 +194,16 @@ lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_whitespace___main lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_binNumberFn___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__1; lean_object* l_Lean_Parser_unquotedSymbolFn___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__3; lean_object* l_Lean_Parser_TokenConfig_HasBeq___closed__1; lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__2; lean_object* lean_io_mk_ref(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3; lean_object* l_Lean_Parser_checkColGe(uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__18; lean_object* l_Lean_Parser_dollarSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); uint8_t l_Char_isDigit(uint32_t); -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); @@ -211,6 +214,7 @@ lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___rarg(lean_object*, lea lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_8__updateCache(lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,7 +222,8 @@ lean_object* l_Lean_Parser_nameLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; lean_object* l_Lean_Parser_strLit___boxed(lean_object*); lean_object* l_Lean_Parser_identEqFn___boxed(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__9; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5(lean_object*); lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(lean_object*); @@ -226,22 +231,24 @@ lean_object* l_Lean_Parser_symbolNoWsFn___closed__1; uint8_t l_Lean_isIdBeginEscape(uint32_t); lean_object* l_Lean_Parser_declareBuiltinParser___closed__3; lean_object* l_Array_foldSepByM(lean_object*, lean_object*); -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1___boxed(lean_object*); lean_object* l_Lean_Parser_orelseFn(uint8_t); lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Position_Inhabited___closed__1; lean_object* l_Lean_Parser_symbolNoWsFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbolFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbol___elambda__1___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_try___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__4; lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); lean_object* l_Lean_Parser_addBuiltinParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__10; lean_object* l_Lean_Parser_addBuiltinParser(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1(uint8_t); lean_object* lean_array_get_size(lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -249,7 +256,6 @@ extern lean_object* l_Lean_Syntax_termIdToAntiquot___closed__3; lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__7(lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_binNumberFn___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__4___rarg(lean_object*); @@ -258,16 +264,16 @@ uint8_t l_Char_isWhitespace(uint32_t); extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_Lean_Parser_categoryParserFnImpl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withPosition(uint8_t, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__11; lean_object* l_Lean_Parser_charLitFnAux(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_termIdToAntiquot___closed__1; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__14; extern lean_object* l_List_repr___rarg___closed__3; -lean_object* l_Lean_Parser_mkAntiquot___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identFnAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkNodeToken(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___boxed(lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Parser_identFnAux___main___closed__1; lean_object* l_Lean_Parser_symbolInfo___elambda__1(lean_object*); @@ -279,17 +285,17 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1(lean lean_object* l_Lean_Parser_symbolNoWs___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserCategory___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__2; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__15; lean_object* l_Lean_Syntax_foldSepArgsM___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_identEqFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Syntax_forSepArgsM(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId(uint8_t); extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___closed__1; lean_object* l_Lean_Syntax_foldSepRevArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId(uint8_t); lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at___private_Init_Lean_Parser_Parser_9__pickNonNone___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAttributeImplOfConstantUnsafe___closed__3; @@ -298,10 +304,10 @@ lean_object* l_Lean_Parser_parserExtension___closed__1; lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__4; lean_object* l_Lean_Parser_nameLitFn(uint8_t, lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__4; +lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Nat_HasOfNat___closed__1; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__5; lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___rarg(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux___boxed(lean_object*, lean_object*, lean_object*); @@ -311,15 +317,11 @@ lean_object* l_Lean_Parser_strLit___closed__1; extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Parser_symbolFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_pushLeading___closed__1; lean_object* l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l_Lean_Parser_charLitFn___rarg___closed__1; lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main(lean_object*, lean_object*, lean_object*); @@ -331,36 +333,34 @@ uint8_t l_Lean_Parser_takeWhileFn___lambda__1(lean_object*, uint32_t); uint32_t l_Lean_Parser_getNext(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_andthenInfo___elambda__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__3; +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserCategory(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_many1Fn(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___boxed(lean_object*); lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___closed__2; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__5; lean_object* l_Lean_Parser_identEqFn(uint8_t); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(uint8_t, lean_object*); lean_object* l_Lean_Parser_parserExtension___closed__3; -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(uint8_t); lean_object* l_Lean_Parser_parserExtension___elambda__2___boxed(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1(lean_object*); lean_object* l_Lean_Parser_numLit___boxed(lean_object*); lean_object* l_Lean_Parser_numLitNoAntiquot___boxed(lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__17; lean_object* l_Lean_Parser_identFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__1; lean_object* l_Lean_Parser_mkParserExtension___lambda__1(lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(uint8_t); lean_object* l_Lean_Parser_parserExtension___closed__5; lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_leadingIdentAsSymbol(lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed(lean_object*); @@ -371,7 +371,6 @@ lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgs___spec__1 lean_object* l_Lean_Parser_unicodeSymbolFn___rarg___closed__1; lean_object* lean_string_utf8_next(lean_object*, lean_object*); extern lean_object* l_Lean_mkAttributeImplOfConstant___closed__1; -lean_object* l_Lean_Parser_mkAntiquot___closed__5; lean_object* l_Lean_Parser_TokenConfig_HasToString; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___boxed(lean_object*); @@ -381,16 +380,11 @@ extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__3; lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__15; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object*); lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_inhabited___closed__1; -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; lean_object* l_Lean_Parser_unquotedSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -404,13 +398,13 @@ lean_object* l_Lean_Parser_symbolNoWsAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_termParser___closed__1; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; extern lean_object* l_Lean_Parser_Trie_HasEmptyc___closed__1; lean_object* l_Lean_Parser_mkIdResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); lean_object* l_Lean_Parser_unicodeSymbol(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn___closed__1; lean_object* l_Lean_Parser_termParser___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___boxed(lean_object*, lean_object*, lean_object*); @@ -418,16 +412,17 @@ lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identNoAntiquot___closed__1; lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___boxed(lean_object*); +lean_object* l_Lean_Parser_quotedSymbol___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_strLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_whitespace___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__6; +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_object* l_Lean_Parser_mkTokenAndFixPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGe___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); @@ -436,18 +431,19 @@ lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2(lean_object*); lean_object* l_Lean_Parser_manyAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_rawCh___elambda__1___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_HasBeq___closed__1; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__2; lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgsM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Parser_inhabited(uint8_t); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkBuiltinParserCategories(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_10__mkResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___spec__2(uint32_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3(lean_object*, lean_object*); @@ -458,37 +454,33 @@ lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__1; lean_object* l_Lean_Parser_symbolNoWsFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___boxed(lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__4; lean_object* l_Lean_Parser_dollarSymbol(uint8_t); -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Parser_mkAntiquot___elambda__2___boxed(lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsM___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Parser_addLeadingParser___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__1___boxed(lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__3; lean_object* l_Lean_Parser_quotedSymbol(uint8_t); lean_object* l_Lean_Parser_numLitNoAntiquot___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest(lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__27; lean_object* l_Lean_Parser_checkLeadingFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenMap_HasEmptyc(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore(uint8_t, lean_object*); lean_object* l_Lean_Parser_checkWsBefore___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; lean_object* l_Lean_Parser_checkLeadingFn___closed__1; extern lean_object* l_Lean_strLitKind; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__9; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbol___elambda__1___boxed(lean_object*, lean_object*); @@ -503,7 +495,7 @@ lean_object* l_Lean_Parser_checkWsBeforeFn(lean_object*, lean_object*, lean_obje lean_object* l_Lean_registerAttributeOfBuilder(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbol___elambda__1(uint8_t); +lean_object* l_Lean_Parser_quotedSymbol___elambda__1(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_node___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy(uint8_t, lean_object*, lean_object*, uint8_t); @@ -511,30 +503,26 @@ lean_object* l_Lean_Syntax_foldArgsM(lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__3; -lean_object* l_Lean_Parser_trailingLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_trailingLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_Error_beq(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; lean_object* l_Lean_Parser_regTermParserAttribute___closed__1; lean_object* l_Lean_Parser_symbol(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_anyOfFn___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__8; -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___boxed(lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_whitespace___main(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLitFn(uint8_t, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___closed__4; lean_object* l_Lean_Parser_identFnAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_11__mkTrailingResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__4; lean_object* l_Lean_Parser_anyOfFn___main___closed__1; @@ -560,6 +548,7 @@ uint8_t l_Lean_Parser_checkTailNoWs(lean_object*); lean_object* l_Lean_Parser_checkTailWs___boxed(lean_object*); lean_object* l_Lean_Parser_charLitFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_trailingLoopStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep(uint8_t); @@ -567,22 +556,22 @@ lean_object* l_Lean_Parser_addLeadingParser___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_charLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_setExpectedFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_strLitFn(uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1; lean_object* l_Lean_Parser_mkParserExtension___lambda__2___boxed(lean_object*); -lean_object* l_Lean_Parser_nodeFn___boxed(lean_object*); +lean_object* l_Lean_Parser_nodeFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbolFn___rarg___closed__1; lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__12; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_addToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___closed__1; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack(uint8_t, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_toTrailing___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef(lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,7 +581,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_4__isToken___boxed(lean_object* uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_ParserState_setCache(lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__10; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1(lean_object*, lean_object*, lean_object*); @@ -604,12 +592,15 @@ lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg(lean_object*, lean_o lean_object* l_Lean_Parser_strLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_sepByFn(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__2; +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___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_Parser_mkAntiquotAux___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getNext___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; @@ -620,7 +611,6 @@ lean_object* l_Lean_Parser_pushLeading___closed__2; lean_object* l_Lean_Parser_rawCh___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___boxed(lean_object*); extern lean_object* l_List_repr___rarg___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Parser_identFn___rarg___closed__1; lean_object* l_Lean_Parser_checkLeading(lean_object*); @@ -628,18 +618,19 @@ extern lean_object* l_List_reprAux___main___rarg___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_hexNumberFn___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn___rarg___closed__1; lean_object* l_Lean_Parser_TokenMap_Inhabited(lean_object*); -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___rarg___boxed(lean_object*); lean_object* l_Lean_Parser_regTermParserAttribute___closed__2; lean_object* l_Lean_Parser_rawIdent(uint8_t); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(uint8_t); lean_object* lean_eval_const(lean_object*, lean_object*); -lean_object* l_Lean_Parser_nodeFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn___rarg(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_hexNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited(uint8_t, lean_object*, lean_object*); @@ -665,30 +656,29 @@ lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___boxed(lean_object*) lean_object* l_Lean_Parser_identEqFn___rarg___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__2(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__13; extern lean_object* l_Lean_mkAppStx___closed__6; extern lean_object* l_Lean_Options_empty; extern lean_object* l_IO_Error_Inhabited___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_octalNumberFn___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn(uint8_t); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr___main___closed__1; lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserCategory___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_compileParserDescr___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___closed__3; extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Lean_Parser_anyOfFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_inhabited___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*); lean_object* l_Lean_Parser_symbolNoWsAux___boxed(lean_object*, lean_object*); @@ -698,6 +688,7 @@ lean_object* l_Lean_Parser_categoryParserFnImplAux(lean_object*, lean_object*, l lean_object* l_Lean_Parser_epsilonInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_anyOfFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -706,15 +697,17 @@ lean_object* l_Lean_Parser_mkEmptySubstringAt(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Data_Trie_3__findAux___main___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__6; +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_IO_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchMkResult(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__catNameToString(lean_object*); size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_FileMap_ofString(lean_object*); lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); +lean_object* l_Lean_Parser_quotedSymbolFn___closed__4; lean_object* l_List_redLength___main___rarg(lean_object*); lean_object* l_Lean_Parser_rawCh(uint8_t, uint32_t, uint8_t); lean_object* l_Lean_Parser_getTokenTable(lean_object*); @@ -723,9 +716,7 @@ lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, le uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Environment_contains___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinParserCategories___spec__1; lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object*); lean_object* l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolAux(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); @@ -734,24 +725,24 @@ lean_object* l_Lean_Parser_mkParserExtension(lean_object*); lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); lean_object* l_Lean_Parser_checkWsBefore___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__6; lean_object* l_Lean_Parser_termParser(uint8_t, lean_object*); lean_object* l_Lean_Parser_sepByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkBuiltinTokenTable(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__3; lean_object* l_Lean_Parser_manyAux(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_ident___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__7; lean_object* l_Lean_Parser_chFn(uint8_t); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__6; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___boxed(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___elambda__1___boxed(lean_object*); +lean_object* l_Lean_Parser_mkAntiquot___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; uint8_t l_Lean_isIdEndEscape(uint32_t); lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -759,31 +750,32 @@ lean_object* l_Lean_Parser_mkParserExtension___closed__7; lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__22; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Parser_parserExtension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg___closed__4; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3___closed__1; -lean_object* l_Lean_Parser_mkAntiquot___elambda__2(uint8_t); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__2; lean_object* l_Lean_Parser_toTrailing(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__25; lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnExtension___closed__1; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___closed__1; lean_object* l_Lean_Parser_charLitFnAux___closed__1; -lean_object* l_Lean_Parser_quotedSymbolFn___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_symbolNoWs(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldSepBy(lean_object*); lean_object* l_Lean_Parser_ident___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__2(lean_object*); @@ -792,7 +784,6 @@ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1(uint8_t, lean_object*, lean_object*, uint8_t, uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___boxed(lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; uint8_t l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -800,6 +791,8 @@ lean_object* l_Lean_Parser_categoryParser___boxed(lean_object*, lean_object*, le lean_object* l_Lean_Parser_TokenConfig_beq___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; lean_object* l_Lean_Parser_pushNone___boxed(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrec(lean_object*, lean_object*, lean_object*); @@ -817,12 +810,11 @@ lean_object* l_Lean_Parser_nodeWithAntiquot(uint8_t, lean_object*, lean_object*, lean_object* l_Lean_Parser_mkParserExtension___closed__3; extern lean_object* l_Lean_identKind; lean_object* l_Lean_Parser_ParserState_mkErrorAt(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Parser_fieldIdxFn___closed__1; lean_object* l_Lean_Parser_ident___elambda__1(uint8_t); lean_object* l_Lean_Parser_Error_HasToString; lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_trailingLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_trailingLoop(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbol___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -838,7 +830,8 @@ lean_object* l_Lean_Parser_numLit(uint8_t); lean_object* l_Lean_Parser_leadingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__16; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__19; +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1; lean_object* l_Lean_Parser_FirstTokens_HasToString___closed__1; lean_object* l_Lean_Parser_FirstTokens_HasToString; lean_object* l_Lean_Parser_pushLeading; @@ -847,18 +840,19 @@ lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1(lea lean_object* l_Lean_Parser_Error_toString(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___elambda__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___boxed(lean_object*); lean_object* l_Array_findRevMAux___main___at___private_Init_Lean_Parser_Parser_9__pickNonNone___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2___rarg___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_mkTrailingNode___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1(lean_object*); lean_object* l_Lean_Parser_string2basic___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr(uint8_t); lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasArgs(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1___boxed(lean_object*, lean_object*); @@ -870,8 +864,9 @@ lean_object* l_Lean_Parser_whitespace___main___boxed(lean_object*, lean_object*) lean_object* l_Lean_Parser_longestMatchFn_u2081___boxed(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_Parser_withPosition___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Parser_pushLeadingFn(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_pushLeadingFn(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__5; lean_object* l_Lean_Parser_takeWhileFn___lambda__1___boxed(lean_object*, lean_object*); @@ -880,15 +875,18 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_Inhabited; lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__1; lean_object* l_Lean_nameToExprAux___main(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; +lean_object* l_Lean_Parser_quotedSymbolFn___closed__2; lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Array_foldSepByM___boxed(lean_object*, lean_object*); lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___boxed(lean_object*); uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); @@ -896,23 +894,26 @@ lean_object* l_Lean_Parser_numLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Error_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__14; +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr(uint8_t); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; lean_object* l_Lean_Parser_runParserCategory(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpectedFn___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object*); +lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__11; +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1; uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_mkParserExtension___closed__5; lean_object* l_Lean_Parser_categoryParser___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_trailingLoopStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfySymbolFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; lean_object* l_Lean_Parser_TokenConfig_toStr(lean_object*); +lean_object* l_Lean_Parser_quotedSymbolFn___closed__1; lean_object* l_Lean_Parser_numLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -921,14 +922,15 @@ extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_lookaheadFn___boxed(lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__6(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_anyOfFn___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___closed__3; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3; lean_object* l_Lean_Parser_unquotedSymbol(uint8_t); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_many1Indent(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_whitespace___main___spec__1___boxed(lean_object*, lean_object*); @@ -940,30 +942,31 @@ lean_object* l_Lean_Parser_symbolFn___rarg(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Parser_longestMatchFn_u2081(uint8_t); lean_object* l_Lean_Parser_symbolNoWsInfo___closed__1; lean_object* l_Lean_Parser_pushNone___elambda__1(uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___boxed(lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__2; lean_object* l_Lean_Parser_hashOrelse___boxed(lean_object*); lean_object* lean_io_ref_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_5__isIdFirstOrBeginEscape___boxed(lean_object*); +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_pushLeadingFn___rarg(lean_object*); lean_object* l_Lean_Parser_ParserState_replaceLongest(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_TokenConfig_beq(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFn___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Parser_fieldIdxFn___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l_Lean_Parser_orelse___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserCategory_inhabited; +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_dollarSymbol___elambda__1(uint8_t, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_toTrailing___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_hexNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1(uint8_t); lean_object* l_RBNode_setBlack___rarg(lean_object*); -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1(uint8_t, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___rarg(uint32_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___closed__2; @@ -974,28 +977,27 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_numberFnAux___closed__1; lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_forSepArgsM___boxed(lean_object*); lean_object* l_Lean_Parser_ParserCategory_inhabited___closed__1; lean_object* l_Lean_Parser_isIdCont___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhile1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__2; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__7; lean_object* l_Lean_Parser_epsilonInfo___closed__1; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_andthen___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_FileMap_Inhabited___closed__1; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___closed__1; @@ -1006,41 +1008,44 @@ lean_object* l_Lean_Parser_rawFn(uint8_t); lean_object* l_Lean_Parser_charLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr___main(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr(lean_object*); -lean_object* l_Lean_Parser_nodeFn(uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon(uint8_t); +lean_object* l_Lean_Parser_nodeFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionalFn(uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Parser_TokenMap_insert___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon(uint8_t); lean_object* l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__4; uint8_t l_Lean_isIdFirst(uint32_t); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__3; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkLongestNodeAlt(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_currLbp(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__7; lean_object* l_Lean_Parser_mkParserOfConstant(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhile1Fn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__20; lean_object* lean_io_initializing(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Parser_sepByInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___closed__1; +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forSepArgsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_getStateUnsafe___rarg(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2(lean_object*); -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_9__pickNonNone(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux(uint8_t); lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1(uint8_t); -lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_parserExtension___elambda__1(lean_object*); -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds(lean_object*); @@ -1049,13 +1054,13 @@ lean_object* l_Lean_Parser_nameLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_string2basic(uint8_t, lean_object*); lean_object* l_Lean_Parser_mkAntiquot(uint8_t, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Parser_pushLeadingFn___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_pushLeadingFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__16; lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__2(lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___closed__1; @@ -1066,8 +1071,8 @@ lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_hexNumberFn___spe lean_object* l_Lean_Parser_identFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___boxed(lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___elambda__1(uint8_t); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__1; lean_object* l_Lean_Parser_manyFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_next___boxed(lean_object*, lean_object*, lean_object*); @@ -1075,6 +1080,8 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Parser_Parser_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__24; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___elambda__2(lean_object*); @@ -1090,6 +1097,7 @@ lean_object* l_Lean_Parser_categoryParserFnExtension; lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___elambda__2___boxed(lean_object*); lean_object* l_List_eraseDupsAux___main___at_Lean_Parser_addLeadingParser___spec__6(lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__8; lean_object* l_Lean_Syntax_forArgsM___boxed(lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Parser_FirstTokens_toStr___spec__2(uint8_t, lean_object*); lean_object* l_List_toArrayAux___main___rarg(lean_object*, lean_object*); @@ -1097,50 +1105,50 @@ lean_object* l_Lean_Parser_andthen(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_node(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_lookahead___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__8; +lean_object* l_Lean_Parser_mkAntiquotAux___closed__13; uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Parser_quotedSymbolFn___closed__5; lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_Lean_Parser_identNoAntiquot(uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef(lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__23; lean_object* l_List_beq___main___at_Lean_Parser_Error_toString___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__2(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_Parser_mkAntiquotAux___closed__21; +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toOptional(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBefore___elambda__1(uint8_t); lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*); uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___closed__1; lean_object* l_Lean_Parser_mkAtom(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; lean_object* l_Lean_Parser_currLbp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___boxed(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_identFnAux___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgs(lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1148,12 +1156,15 @@ lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited___rarg___boxed(lean_object*); lean_object* l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(lean_object*); lean_object* l_Lean_Parser_orelseFn___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l___private_Init_Lean_Parser_Parser_5__isIdFirstOrBeginEscape(uint32_t); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Parser_FirstTokens_toStr___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1(uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___closed__1; lean_object* l_Lean_Parser_checkColGe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1161,6 +1172,7 @@ lean_object* l_Lean_Parser_numLitFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__5; lean_object* l___private_Init_Lean_Data_Trie_2__insertAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_quotedSymbolFn___closed__3; lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_identFnAux___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -1168,22 +1180,19 @@ uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_replaceLongest___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__1; -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Parser_addLeadingParser___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__2; +lean_object* l_Lean_Parser_pushLeadingFn___rarg___boxed(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_7__tokenFnAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_inhabited___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2; extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Parser_identFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2___boxed(lean_object*, lean_object*); @@ -1194,12 +1203,12 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Parser_charLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_strLitFnAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; lean_object* l_PersistentHashMap_insert___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___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_Parser_identEq___boxed(lean_object*, lean_object*); +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group___boxed(lean_object*, lean_object*); @@ -1207,14 +1216,15 @@ lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__3___ra lean_object* l_Lean_Parser_many1Indent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1(uint8_t); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit(uint8_t); lean_object* l_Lean_Parser_rawIdentNoAntiquot___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1(uint8_t, lean_object*, uint8_t); +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___closed__2; lean_object* l_Lean_Parser_sepBy___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; -lean_object* l_Lean_Parser_trailingLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_trailingLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors(lean_object*, lean_object*, lean_object*); @@ -1222,7 +1232,6 @@ uint8_t l_Lean_isIdRest(uint32_t); lean_object* l_Lean_Parser_numberFnAux___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; lean_object* l_Lean_Parser_fieldIdxFn(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*); @@ -1230,15 +1239,16 @@ extern lean_object* l_Lean_nameLitKind___closed__1; lean_object* l_Lean_Parser_nameLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_withPosition___boxed(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isLitKind___boxed(lean_object*); lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Parser_ParserFn_inhabited___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(uint8_t); uint8_t l_Lean_Parser_isLitKind(lean_object* x_1) { @@ -3034,6 +3044,68 @@ return x_1; } } } +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_3, x_6); +x_8 = lean_array_get_size(x_5); +x_9 = l_Array_extract___rarg(x_5, x_7, x_8); +lean_dec(x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_Array_shrink___main___rarg(x_5, x_3); +x_12 = lean_array_push(x_11, x_10); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 2); +x_16 = lean_ctor_get(x_1, 3); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_3, x_17); +x_19 = lean_array_get_size(x_13); +x_20 = l_Array_extract___rarg(x_13, x_18, x_19); +lean_dec(x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_2); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array_shrink___main___rarg(x_13, x_3); +x_23 = lean_array_push(x_22, x_21); +x_24 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_14); +lean_ctor_set(x_24, 2, x_15); +lean_ctor_set(x_24, 3, x_16); +return x_24; +} +} +} +lean_object* l_Lean_Parser_ParserState_mkTrailingNode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_ParserState_mkTrailingNode(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} lean_object* l_Lean_Parser_ParserState_mkError(lean_object* x_1, lean_object* x_2) { _start: { @@ -3908,28 +3980,45 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Parser_pushLeadingFn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_pushLeadingFn___rarg(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -return x_4; +lean_inc(x_1); +return x_1; } } -lean_object* l_Lean_Parser_pushLeadingFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_pushLeadingFn(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_Lean_Parser_pushLeadingFn(x_1, x_2, x_3); +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_pushLeadingFn___rarg___boxed), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Parser_pushLeadingFn___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_pushLeadingFn___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_pushLeadingFn___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parser_pushLeadingFn(x_1, x_2); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; } } lean_object* _init_l_Lean_Parser_pushLeading___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_pushLeadingFn___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_pushLeadingFn___boxed), 2, 0); return x_1; } } @@ -4005,6 +4094,20 @@ lean_dec(x_3); return x_6; } } +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +x_5 = l_Lean_Syntax_inhabited; +x_6 = lean_array_get(x_5, x_1, x_4); +lean_dec(x_4); +return x_6; +} +} lean_object* _init_l_Lean_Parser_checkLeadingFn___closed__1() { _start: { @@ -4016,16 +4119,20 @@ return x_1; lean_object* l_Lean_Parser_checkLeadingFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; uint8_t x_6; -x_5 = lean_apply_1(x_1, x_2); -x_6 = lean_unbox(x_5); +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_5); lean_dec(x_5); -if (x_6 == 0) +x_7 = lean_apply_1(x_1, x_6); +x_8 = lean_unbox(x_7); +lean_dec(x_7); +if (x_8 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Parser_checkLeadingFn___closed__1; -x_8 = l_Lean_Parser_ParserState_mkUnexpectedError(x_4, x_7); -return x_8; +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Parser_checkLeadingFn___closed__1; +x_10 = l_Lean_Parser_ParserState_mkUnexpectedError(x_4, x_9); +return x_10; } else { @@ -4033,12 +4140,22 @@ return x_4; } } } +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Parser_checkLeadingFn___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_Parser_checkLeadingFn(x_1, x_2, x_3, x_4); lean_dec(x_3); +lean_dec(x_2); return x_5; } } @@ -4225,35 +4342,38 @@ x_3 = l_Lean_Parser_hashAndthen(x_2); return x_3; } } -lean_object* l_Lean_Parser_nodeFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Parser_nodeFn(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_array_get_size(x_6); -lean_dec(x_6); -x_8 = lean_apply_3(x_2, x_3, x_4, x_5); -x_9 = l_Lean_Parser_ParserState_mkNode(x_8, x_1, x_7); -return x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_array_get_size(x_7); +lean_dec(x_7); +x_9 = lean_apply_3(x_3, x_4, x_5, x_6); +if (x_1 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Parser_ParserState_mkNode(x_9, x_2, x_8); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = l_Lean_Parser_ParserState_mkTrailingNode(x_9, x_2, x_8); +lean_dec(x_8); +return x_11; } } -lean_object* l_Lean_Parser_nodeFn(uint8_t x_1) { +} +lean_object* l_Lean_Parser_nodeFn___boxed(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_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Parser_nodeFn___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l_Lean_Parser_nodeFn(x_2); -return x_3; +x_8 = l_Lean_Parser_nodeFn(x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; } } lean_object* l_Lean_Parser_nodeInfo___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -4320,7 +4440,7 @@ return x_9; lean_object* l_Lean_Parser_node(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_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_3, 0); lean_inc(x_4); lean_inc(x_2); @@ -4328,13 +4448,15 @@ x_5 = l_Lean_Parser_nodeInfo(x_2, x_4); x_6 = lean_ctor_get(x_3, 1); lean_inc(x_6); lean_dec(x_3); -x_7 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_7); -return x_8; +x_7 = lean_box(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_6); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } lean_object* l_Lean_Parser_node___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -4350,7 +4472,7 @@ return x_5; lean_object* l_Lean_Parser_group(uint8_t x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_3; 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_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); x_4 = l_Lean_nullKind; @@ -4358,13 +4480,15 @@ x_5 = l_Lean_Parser_nodeInfo(x_4, x_3); x_6 = lean_ctor_get(x_2, 1); lean_inc(x_6); lean_dec(x_2); -x_7 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_7, 0, x_4); -lean_closure_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_7); -return x_8; +x_7 = lean_box(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_4); +lean_closure_set(x_8, 2, x_6); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } lean_object* l_Lean_Parser_group___boxed(lean_object* x_1, lean_object* x_2) { @@ -4380,7 +4504,7 @@ return x_4; lean_object* l_Lean_Parser_leadingNode(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); lean_inc(x_1); @@ -4388,19 +4512,22 @@ x_4 = l_Lean_Parser_nodeInfo(x_1, x_3); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_6); -return x_7; +x_6 = 0; +x_7 = lean_box(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_1); +lean_closure_set(x_8, 2, x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } lean_object* l_Lean_Parser_trailingNode(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); lean_inc(x_1); @@ -4408,13 +4535,16 @@ x_4 = l_Lean_Parser_nodeInfo(x_1, x_3); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_6); -return x_7; +x_6 = 1; +x_7 = lean_box(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_1); +lean_closure_set(x_8, 2, x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -9166,20 +9296,6 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = lean_array_get_size(x_1); -x_3 = lean_unsigned_to_nat(1u); -x_4 = lean_nat_sub(x_2, x_3); -lean_dec(x_2); -x_5 = l_Lean_Syntax_inhabited; -x_6 = lean_array_get(x_5, x_1, x_4); -lean_dec(x_4); -return x_6; -} -} lean_object* _init_l___private_Init_Lean_Parser_Parser_6__nameLitAux___closed__1() { _start: { @@ -9207,7 +9323,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_1); x_11 = lean_ctor_get(x_9, 0); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); +x_12 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_11); lean_dec(x_11); if (lean_obj_tag(x_12) == 3) { @@ -9256,15 +9372,6 @@ return x_28; } } } -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -9429,7 +9536,7 @@ x_12 = lean_ctor_get(x_2, 1); lean_dec(x_12); x_13 = lean_ctor_get(x_2, 0); lean_dec(x_13); -x_14 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_4); +x_14 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_4); lean_inc(x_5); x_15 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_15, 0, x_1); @@ -9442,7 +9549,7 @@ else { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); -x_16 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_4); +x_16 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_4); lean_inc(x_5); x_17 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_17, 0, x_1); @@ -9546,7 +9653,7 @@ if (lean_obj_tag(x_7) == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -x_9 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_8); +x_9 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_8); lean_dec(x_8); x_10 = l_Lean_Parser_ParserState_restore(x_6, x_4, x_5); lean_dec(x_4); @@ -9621,7 +9728,7 @@ if (lean_obj_tag(x_7) == 0) lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -x_9 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_8); +x_9 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_8); lean_dec(x_8); if (lean_obj_tag(x_9) == 2) { @@ -9682,7 +9789,7 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_8, 0); lean_inc(x_10); -x_11 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_10); +x_11 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_10); lean_dec(x_10); if (lean_obj_tag(x_11) == 2) { @@ -9819,7 +9926,7 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_13); +x_14 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_13); lean_dec(x_13); if (lean_obj_tag(x_14) == 2) { @@ -9955,7 +10062,7 @@ if (lean_obj_tag(x_7) == 0) lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -x_9 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_8); +x_9 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_8); lean_dec(x_8); switch (lean_obj_tag(x_9)) { case 2: @@ -10365,7 +10472,7 @@ _start: lean_object* x_4; lean_object* x_5; uint8_t x_6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); -x_5 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_4); +x_5 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_4); lean_dec(x_4); x_6 = l_Lean_Parser_checkTailWs(x_5); lean_dec(x_5); @@ -10732,62 +10839,68 @@ return x_2; lean_object* l_Lean_Parser_symbolNoWsFnAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; -x_6 = l_Lean_Parser_checkTailNoWs(x_3); -if (x_6 == 0) +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +x_8 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); +lean_dec(x_6); +x_9 = l_Lean_Parser_checkTailNoWs(x_8); +lean_dec(x_8); +if (x_9 == 0) { -lean_object* x_7; +lean_object* x_10; +lean_dec(x_7); lean_dec(x_1); -x_7 = l_Lean_Parser_ParserState_mkError(x_5, x_2); -return x_7; +x_10 = l_Lean_Parser_ParserState_mkError(x_5, x_2); +return x_10; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_5, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Parser_strAux___main(x_1, x_2, x_11, x_4, x_5); -x_13 = lean_ctor_get(x_12, 3); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_4, 0); +x_12 = lean_ctor_get(x_11, 0); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Parser_strAux___main(x_1, x_2, x_13, x_4, x_5); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_inc_n(x_7, 2); +lean_inc(x_12); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_7); +lean_ctor_set(x_16, 2, x_7); +x_17 = lean_string_utf8_byte_size(x_1); +x_18 = lean_nat_add(x_7, x_17); +lean_dec(x_17); +lean_inc(x_18); +lean_inc(x_12); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_18); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_7); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_1); +x_23 = l_Lean_Parser_ParserState_pushSyntax(x_14, x_22); +return x_23; +} +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_inc_n(x_9, 2); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_9); -lean_ctor_set(x_14, 2, x_9); -x_15 = lean_string_utf8_byte_size(x_1); -x_16 = lean_nat_add(x_9, x_15); lean_dec(x_15); -lean_inc(x_16); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_17, 2, x_16); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_9); -lean_ctor_set(x_18, 2, x_17); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_1); -x_21 = l_Lean_Parser_ParserState_pushSyntax(x_12, x_20); -return x_21; -} -else -{ -lean_dec(x_13); -lean_dec(x_9); +lean_dec(x_7); lean_dec(x_1); -return x_12; +return x_14; } } } @@ -10813,66 +10926,72 @@ return x_1; lean_object* l_Lean_Parser_symbolNoWsFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_5; 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; x_5 = l_Char_HasRepr___closed__1; x_6 = lean_string_append(x_5, x_1); x_7 = l_Lean_Parser_symbolNoWsFn___closed__1; x_8 = lean_string_append(x_6, x_7); -x_9 = l_Lean_Parser_checkTailNoWs(x_2); -if (x_9 == 0) +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +x_11 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +x_12 = l_Lean_Parser_checkTailNoWs(x_11); +lean_dec(x_11); +if (x_12 == 0) { -lean_object* x_10; +lean_object* x_13; +lean_dec(x_10); lean_dec(x_1); -x_10 = l_Lean_Parser_ParserState_mkError(x_4, x_8); -return x_10; +x_13 = l_Lean_Parser_ParserState_mkError(x_4, x_8); +return x_13; } 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; -x_11 = lean_ctor_get(x_3, 0); -x_12 = lean_ctor_get(x_4, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Lean_Parser_strAux___main(x_1, x_8, x_14, x_3, x_4); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_14, 0); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Parser_strAux___main(x_1, x_8, x_16, x_3, x_4); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_inc_n(x_10, 2); +lean_inc(x_15); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 2, x_10); +x_20 = lean_string_utf8_byte_size(x_1); +x_21 = lean_nat_add(x_10, x_20); +lean_dec(x_20); +lean_inc(x_21); +lean_inc(x_15); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_10); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_1); +x_26 = l_Lean_Parser_ParserState_pushSyntax(x_17, x_25); +return x_26; +} +else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_inc_n(x_12, 2); -lean_inc(x_13); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_12); -lean_ctor_set(x_17, 2, x_12); -x_18 = lean_string_utf8_byte_size(x_1); -x_19 = lean_nat_add(x_12, x_18); lean_dec(x_18); -lean_inc(x_19); -lean_inc(x_13); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_19); -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_12); -lean_ctor_set(x_21, 2, x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_1); -x_24 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_23); -return x_24; -} -else -{ -lean_dec(x_16); -lean_dec(x_12); +lean_dec(x_10); lean_dec(x_1); -return x_15; +return x_17; } } } @@ -10951,7 +11070,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); -x_10 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); lean_dec(x_9); if (lean_obj_tag(x_10) == 2) { @@ -11202,7 +11321,7 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_13); +x_14 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_13); lean_dec(x_13); if (lean_obj_tag(x_14) == 2) { @@ -11445,7 +11564,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_numLitKind; x_9 = l_Lean_Syntax_isOfKind(x_7, x_8); @@ -11546,7 +11665,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_strLitKind; x_9 = l_Lean_Syntax_isOfKind(x_7, x_8); @@ -11647,7 +11766,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_charLitKind; x_9 = l_Lean_Syntax_isOfKind(x_7, x_8); @@ -11748,7 +11867,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_nameLitKind; x_9 = l_Lean_Syntax_isOfKind(x_7, x_8); @@ -11849,7 +11968,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_Syntax_isIdent(x_7); lean_dec(x_7); @@ -11998,7 +12117,7 @@ if (lean_obj_tag(x_7) == 0) lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -x_9 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_8); +x_9 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_8); lean_dec(x_8); if (lean_obj_tag(x_9) == 3) { @@ -12175,7 +12294,7 @@ return x_3; } } } -lean_object* _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__1() { +lean_object* _init_l_Lean_Parser_quotedSymbolFn___closed__1() { _start: { lean_object* x_1; @@ -12183,17 +12302,17 @@ x_1 = lean_mk_string("quotedSymbol"); return x_1; } } -lean_object* _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__2() { +lean_object* _init_l_Lean_Parser_quotedSymbolFn___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_quotedSymbolFn___rarg___closed__1; +x_2 = l_Lean_Parser_quotedSymbolFn___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__3() { +lean_object* _init_l_Lean_Parser_quotedSymbolFn___closed__3() { _start: { uint32_t x_1; lean_object* x_2; lean_object* x_3; @@ -12203,136 +12322,162 @@ x_3 = lean_string_push(x_2, x_1); return x_3; } } -lean_object* _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__4() { +lean_object* _init_l_Lean_Parser_quotedSymbolFn___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_quotedSymbolFn___rarg___closed__3; +x_2 = l_Lean_Parser_quotedSymbolFn___closed__3; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__5() { +lean_object* _init_l_Lean_Parser_quotedSymbolFn___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_quotedSymbolFn___rarg___closed__4; +x_1 = l_Lean_Parser_quotedSymbolFn___closed__4; x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_quotedSymbolFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint32_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_4 = 96; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_array_get_size(x_5); -lean_dec(x_5); -x_22 = lean_ctor_get(x_3, 1); -lean_inc(x_22); -x_23 = l_Lean_Parser_quotedSymbolFn___rarg___closed__5; -x_24 = l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(x_4, x_23, x_2, x_3); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_26 = 0; -x_27 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_22, x_26, x_1, x_2, x_24); -x_28 = lean_ctor_get(x_27, 3); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 1); +uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_5 = 96; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_29 = lean_ctor_get(x_4, 1); lean_inc(x_29); -x_30 = l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___spec__2(x_4, x_2, x_27); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_30 = l_Lean_Parser_quotedSymbolFn___closed__5; +x_31 = l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(x_5, x_30, x_3, x_4); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; -x_32 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_29, x_26, x_1, x_2, x_30); -x_7 = x_32; -goto block_21; +uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_33 = 0; +x_34 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_29, x_33, x_2, x_3, x_31); +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +x_37 = l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___spec__2(x_5, x_3, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; +x_39 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_36, x_33, x_2, x_3, x_37); +x_8 = x_39; +goto block_28; } else { -lean_dec(x_31); +lean_dec(x_38); +lean_dec(x_36); +x_8 = x_37; +goto block_28; +} +} +else +{ +lean_dec(x_35); +x_8 = x_34; +goto block_28; +} +} +else +{ +lean_dec(x_32); lean_dec(x_29); -x_7 = x_30; -goto block_21; +x_8 = x_31; +goto block_28; } -} -else +block_28: { -lean_dec(x_28); -x_7 = x_27; -goto block_21; -} -} -else -{ -lean_dec(x_25); -lean_dec(x_22); -x_7 = x_24; -goto block_21; -} -block_21: -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_7, 3); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_7, 1); +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 3); lean_inc(x_9); -x_10 = l_Lean_Parser_quotedSymbolFn___rarg___closed__5; -x_11 = l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(x_4, x_10, x_2, x_7); -x_12 = lean_ctor_get(x_11, 3); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) +if (lean_obj_tag(x_9) == 0) { -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = 1; -x_14 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_9, x_13, x_1, x_2, x_11); -x_15 = l_Lean_Parser_quotedSymbolFn___rarg___closed__2; -x_16 = l_Lean_Parser_ParserState_mkNode(x_14, x_15, x_6); -return x_16; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +x_11 = l_Lean_Parser_quotedSymbolFn___closed__5; +x_12 = l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(x_5, x_11, x_3, x_8); +x_13 = lean_ctor_get(x_12, 3); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; lean_object* x_15; +x_14 = 1; +x_15 = l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(x_10, x_14, x_2, x_3, x_12); +if (x_1 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, x_7); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_19 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_18, x_7); +lean_dec(x_7); +return x_19; +} +} +else +{ +lean_dec(x_13); +lean_dec(x_10); +if (x_1 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_21 = l_Lean_Parser_ParserState_mkNode(x_12, x_20, x_7); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_12, x_22, x_7); +lean_dec(x_7); +return x_23; +} +} } else { -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); lean_dec(x_9); -x_17 = l_Lean_Parser_quotedSymbolFn___rarg___closed__2; -x_18 = l_Lean_Parser_ParserState_mkNode(x_11, x_17, x_6); -return x_18; -} +if (x_1 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_8, x_24, x_7); +return x_25; } else { -lean_object* x_19; lean_object* x_20; -lean_dec(x_8); -x_19 = l_Lean_Parser_quotedSymbolFn___rarg___closed__2; -x_20 = l_Lean_Parser_ParserState_mkNode(x_7, x_19, x_6); -return x_20; +lean_object* x_26; lean_object* x_27; +x_26 = l_Lean_Parser_quotedSymbolFn___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_26, x_7); +lean_dec(x_7); +return x_27; } } } } -lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_quotedSymbolFn___rarg___boxed), 3, 0); -return x_2; -} } lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -12356,72 +12501,50 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Parser_quotedSymbolFn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; -x_4 = l_Lean_Parser_quotedSymbolFn___rarg(x_1, x_2, x_3); +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l_Lean_Parser_quotedSymbolFn(x_5, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_4; +return x_6; } } -lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object* x_1) { +lean_object* l_Lean_Parser_quotedSymbol___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Lean_Parser_quotedSymbolFn(x_2); -return x_3; -} -} -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Parser_quotedSymbolFn___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_Parser_quotedSymbol___elambda__1(uint8_t x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_quotedSymbol___elambda__1___rarg___boxed), 3, 0); -return x_2; +lean_object* x_5; +x_5 = l_Lean_Parser_quotedSymbolFn(x_1, x_2, x_3, x_4); +return x_5; } } lean_object* l_Lean_Parser_quotedSymbol(uint8_t x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_Parser_inhabited___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_quotedSymbol___elambda__1___rarg___boxed), 3, 0); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -return x_4; +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_box(x_1); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_quotedSymbol___elambda__1___boxed), 4, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = l_Lean_Parser_Parser_inhabited___closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; } } -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_quotedSymbol___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; -x_4 = l_Lean_Parser_quotedSymbol___elambda__1___rarg(x_1, x_2, x_3); +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l_Lean_Parser_quotedSymbol___elambda__1(x_5, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_Parser_quotedSymbol___elambda__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Lean_Parser_quotedSymbol___elambda__1(x_2); -return x_3; +return x_6; } } lean_object* l_Lean_Parser_quotedSymbol___boxed(lean_object* x_1) { @@ -12456,7 +12579,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); x_8 = l_Lean_Syntax_isIdent(x_7); if (x_8 == 0) @@ -12948,7 +13071,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj x_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_1, 3); lean_dec(x_5); -x_6 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_4); +x_6 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_4); x_7 = l_Array_shrink___main___rarg(x_4, x_2); x_8 = lean_array_push(x_7, x_6); x_9 = lean_box(0); @@ -12966,7 +13089,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_dec(x_1); -x_13 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_10); +x_13 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_10); x_14 = l_Array_shrink___main___rarg(x_10, x_2); x_15 = lean_array_push(x_14, x_13); x_16 = lean_box(0); @@ -13082,7 +13205,7 @@ lean_dec(x_7); x_22 = l_Lean_Parser_ParserState_mkLongestNodeAlt(x_12, x_10); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -x_24 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_23); +x_24 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_23); lean_dec(x_23); x_25 = l_Lean_Parser_ParserState_shrinkStack(x_22, x_1); x_26 = l_Lean_Parser_ParserState_pushSyntax(x_25, x_24); @@ -25262,7 +25385,7 @@ return x_8; lean_object* l_Lean_Parser_trailingLoopStep(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; lean_object* x_11; lean_object* x_12; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_6 = lean_ctor_get(x_1, 3); lean_inc(x_6); lean_dec(x_1); @@ -25273,148 +25396,165 @@ lean_dec(x_7); x_9 = lean_ctor_get(x_5, 1); lean_inc(x_9); x_10 = 1; +x_11 = lean_box(0); lean_inc(x_4); -lean_inc(x_3); -x_11 = l_Lean_Parser_longestMatchFn(x_10, x_2, x_3, x_4, x_5); -x_12 = lean_ctor_get(x_11, 3); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 0); +x_12 = l_Lean_Parser_longestMatchFn(x_10, x_2, x_11, x_4, x_5); +x_13 = lean_ctor_get(x_12, 3); lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -x_15 = lean_nat_dec_eq(x_14, x_9); -lean_dec(x_14); -if (x_15 == 0) +if (lean_obj_tag(x_13) == 0) { -lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_3); -return x_11; +return x_12; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_inc(x_9); -x_16 = l_Lean_Parser_ParserState_restore(x_11, x_8, x_9); -lean_dec(x_8); -x_17 = l_Lean_Parser_anyOfFn___main(x_10, x_6, x_3, x_4, x_16); -x_18 = l_Lean_Parser_mergeOrElseErrors(x_17, x_13, x_9); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +x_16 = lean_nat_dec_eq(x_15, x_9); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_dec(x_14); lean_dec(x_9); -return x_18; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_inc(x_9); +x_17 = l_Lean_Parser_ParserState_restore(x_12, x_8, x_9); +lean_dec(x_8); +x_18 = l_Lean_Parser_anyOfFn___main(x_10, x_6, x_11, x_4, x_17); +x_19 = l_Lean_Parser_mergeOrElseErrors(x_18, x_14, x_9); +lean_dec(x_9); +return x_19; } } } } -lean_object* l_Lean_Parser_trailingLoop___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Parser_trailingLoopStep___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; lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_6; +x_6 = l_Lean_Parser_trailingLoopStep(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +return x_6; +} +} +lean_object* l___private_Init_Lean_Parser_Parser_11__mkTrailingResult(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = l___private_Init_Lean_Parser_Parser_10__mkResult(x_1, x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_4); +lean_dec(x_4); +x_6 = l_Lean_Parser_ParserState_popSyntax(x_3); +x_7 = l_Lean_Parser_ParserState_popSyntax(x_6); +x_8 = l_Lean_Parser_ParserState_pushSyntax(x_7, x_5); +return x_8; +} +} +lean_object* l_Lean_Parser_trailingLoop___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_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_5); +lean_dec(x_5); lean_inc(x_3); -x_6 = l_Lean_Parser_currLbp(x_4, x_3, 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); +x_7 = l_Lean_Parser_currLbp(x_6, x_3, x_4); lean_dec(x_6); -x_9 = lean_nat_dec_le(x_8, x_2); -lean_dec(x_8); -if (x_9 == 0) +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_10 = lean_nat_dec_le(x_9, x_2); +lean_dec(x_9); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_1, 2); -lean_inc(x_12); -x_13 = 0; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = 0; lean_inc(x_3); -x_14 = l_Lean_Parser_indexed___rarg(x_12, x_3, x_7, x_13); -lean_dec(x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +x_15 = l_Lean_Parser_indexed___rarg(x_13, x_3, x_8, x_14); +lean_dec(x_13); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = l_List_isEmpty___rarg(x_16); -if (x_17 == 0) +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_List_isEmpty___rarg(x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_box(0); lean_inc(x_3); lean_inc(x_1); -x_18 = l_Lean_Parser_trailingLoopStep(x_1, x_16, x_4, x_3, x_15); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = l___private_Init_Lean_Parser_Parser_10__mkResult(x_18, x_11); -x_21 = lean_ctor_get(x_20, 0); +x_20 = l_Lean_Parser_trailingLoopStep(x_1, x_17, x_19, x_3, x_16); +x_21 = lean_ctor_get(x_20, 3); lean_inc(x_21); -x_22 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_21); -lean_dec(x_21); -x_23 = l_Lean_Parser_ParserState_popSyntax(x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = l___private_Init_Lean_Parser_Parser_11__mkTrailingResult(x_20, x_12); x_4 = x_22; -x_5 = x_23; goto _start; } else { -lean_dec(x_19); -lean_dec(x_11); +lean_dec(x_21); +lean_dec(x_12); lean_dec(x_3); lean_dec(x_1); -return x_18; +return x_20; } } else { -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_1, 3); -lean_inc(x_25); -x_26 = l_List_isEmpty___rarg(x_25); -lean_dec(x_25); -if (x_26 == 0) +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_1, 3); +lean_inc(x_24); +x_25 = l_List_isEmpty___rarg(x_24); +lean_dec(x_24); +if (x_25 == 0) { -lean_object* x_27; lean_object* x_28; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_box(0); lean_inc(x_3); lean_inc(x_1); -x_27 = l_Lean_Parser_trailingLoopStep(x_1, x_16, x_4, x_3, x_15); +x_27 = l_Lean_Parser_trailingLoopStep(x_1, x_17, x_26, x_3, x_16); x_28 = lean_ctor_get(x_27, 3); lean_inc(x_28); if (lean_obj_tag(x_28) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = l___private_Init_Lean_Parser_Parser_10__mkResult(x_27, x_11); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_30); -lean_dec(x_30); -x_32 = l_Lean_Parser_ParserState_popSyntax(x_29); -x_4 = x_31; -x_5 = x_32; +lean_object* x_29; +x_29 = l___private_Init_Lean_Parser_Parser_11__mkTrailingResult(x_27, x_12); +x_4 = x_29; goto _start; } else { lean_dec(x_28); -lean_dec(x_11); +lean_dec(x_12); lean_dec(x_3); lean_dec(x_1); return x_27; @@ -25422,50 +25562,46 @@ return x_27; } else { -lean_object* x_34; -lean_dec(x_16); -lean_dec(x_11); +lean_dec(x_17); +lean_dec(x_12); lean_dec(x_3); lean_dec(x_1); -x_34 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_4); -return x_34; +return x_16; } } } else { -lean_object* x_35; lean_dec(x_3); lean_dec(x_1); -x_35 = l_Lean_Parser_ParserState_pushSyntax(x_7, x_4); -return x_35; +return x_8; } } } -lean_object* l_Lean_Parser_trailingLoop___main___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_Parser_trailingLoop___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; -x_6 = l_Lean_Parser_trailingLoop___main(x_1, x_2, x_3, x_4, x_5); +lean_object* x_5; +x_5 = l_Lean_Parser_trailingLoop___main(x_1, x_2, x_3, x_4); lean_dec(x_2); -return x_6; +return x_5; } } -lean_object* l_Lean_Parser_trailingLoop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Parser_trailingLoop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; -x_6 = l_Lean_Parser_trailingLoop___main(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_5; +x_5 = l_Lean_Parser_trailingLoop___main(x_1, x_2, x_3, x_4); +return x_5; } } -lean_object* l_Lean_Parser_trailingLoop___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_Parser_trailingLoop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; -x_6 = l_Lean_Parser_trailingLoop(x_1, x_2, x_3, x_4, x_5); +lean_object* x_5; +x_5 = l_Lean_Parser_trailingLoop(x_1, x_2, x_3, x_4); lean_dec(x_2); -return x_6; +return x_5; } } lean_object* l_Lean_Parser_prattParser(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -25480,15 +25616,10 @@ x_8 = lean_ctor_get(x_7, 3); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_9); -lean_dec(x_9); -x_11 = l_Lean_Parser_ParserState_popSyntax(x_7); -x_12 = l_Lean_Parser_trailingLoop___main(x_2, x_4, x_5, x_10, x_11); +lean_object* x_9; +x_9 = l_Lean_Parser_trailingLoop___main(x_2, x_4, x_5, x_7); lean_dec(x_4); -return x_12; +return x_9; } else { @@ -26064,7 +26195,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_6; lean_object* x_7; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_6); +x_7 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_6); lean_dec(x_6); if (lean_obj_tag(x_7) == 2) { @@ -26170,7 +26301,7 @@ x_3 = l_Lean_Parser_dollarSymbol(x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -26178,13 +26309,13 @@ x_1 = lean_mk_string("unexpected ':'"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_3); +x_4 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_3); lean_dec(x_3); x_5 = l_Lean_Parser_checkTailNoWs(x_4); lean_dec(x_4); @@ -26214,7 +26345,7 @@ return x_2; else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1; +x_13 = l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1; x_14 = l_Lean_Parser_ParserState_mkUnexpectedError(x_2, x_13); return x_14; } @@ -26227,20 +26358,20 @@ return x_2; } } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1(uint8_t x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1(uint8_t x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___boxed), 2, 0); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_box(x_1); -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___boxed), 2, 1); +x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___boxed), 2, 1); lean_closure_set(x_3, 0, x_2); x_4 = l_Lean_Parser_Parser_inhabited___closed__1; x_5 = lean_alloc_ctor(0, 2, 0); @@ -26249,33 +26380,33 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg(x_1, x_2); +x_3 = l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1(x_3, x_2); +x_4 = l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1(x_3, x_2); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__noImmediateColon___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_12__noImmediateColon(x_2); return x_3; } } @@ -26563,32 +26694,36 @@ x_3 = l_Lean_Parser_pushNone(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_array_get_size(x_5); -lean_dec(x_5); -x_7 = lean_apply_3(x_1, x_2, x_3, x_4); -x_8 = l_Lean_mkTermIdFromIdent___closed__2; -x_9 = l_Lean_Parser_ParserState_mkNode(x_7, x_8, x_6); -return x_9; +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_apply_3(x_2, x_3, x_4, x_5); +if (x_1 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_mkTermIdFromIdent___closed__2; +x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_mkTermIdFromIdent___closed__2; +x_12 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_11, x_7); +lean_dec(x_7); +return x_12; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(uint8_t x_1) { +} +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId(uint8_t x_1) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId(uint8_t x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 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; x_2 = lean_box(x_1); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_identFn___boxed), 2, 1); lean_closure_set(x_3, 0, x_2); @@ -26606,35 +26741,37 @@ lean_closure_set(x_10, 0, x_3); lean_closure_set(x_10, 1, x_9); x_11 = l_Lean_mkTermIdFromIdent___closed__2; x_12 = l_Lean_Parser_nodeInfo(x_11, x_7); -x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg), 4, 1); -lean_closure_set(x_13, 0, x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; +x_13 = lean_box(x_1); +x_14 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___boxed), 5, 2); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_10); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +return x_15; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotId(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_12__antiquotId(x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1() { _start: { lean_object* x_1; @@ -26642,39 +26779,43 @@ x_1 = lean_mk_string("paren"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_array_get_size(x_5); -lean_dec(x_5); -x_7 = lean_apply_3(x_1, x_2, x_3, x_4); -x_8 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; -x_9 = l_Lean_Parser_ParserState_mkNode(x_7, x_8, x_6); -return x_9; -} -} -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(uint8_t x_1) { -_start: +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_apply_3(x_2, x_3, x_4, x_5); +if (x_1 == 0) { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg), 4, 0); -return x_2; +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +x_12 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_11, x_7); +lean_dec(x_7); +return x_12; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1() { +} +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -26683,27 +26824,27 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26715,7 +26856,7 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -26724,30 +26865,30 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(uint8_t x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_2 = l_Lean_Parser_termParser___closed__2; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Parser_categoryParser(x_1, x_2, x_3); @@ -26762,58 +26903,62 @@ x_8 = l_Lean_Parser_andthenInfo(x_6, x_7); x_9 = lean_box(x_1); x_10 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); lean_closure_set(x_10, 0, x_9); -x_11 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; +x_11 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; x_12 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); x_13 = l_Lean_nullKind; x_14 = l_Lean_Parser_nodeInfo(x_13, x_8); -x_15 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_15, 0, x_13); -lean_closure_set(x_15, 1, x_12); -x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; -x_17 = l_Lean_Parser_andthenInfo(x_14, x_16); -x_18 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; -x_19 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_19, 0, x_15); -lean_closure_set(x_19, 1, x_18); -x_20 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; -x_21 = l_Lean_Parser_andthenInfo(x_20, x_17); -x_22 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; -x_23 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_23, 0, x_22); -lean_closure_set(x_23, 1, x_19); -x_24 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; -x_25 = l_Lean_Parser_nodeInfo(x_24, x_21); -x_26 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg), 4, 1); -lean_closure_set(x_26, 0, x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_15 = lean_box(x_1); +x_16 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_13); +lean_closure_set(x_16, 2, x_12); +x_17 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_18 = l_Lean_Parser_andthenInfo(x_14, x_17); +x_19 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; +x_20 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_20, 0, x_16); +lean_closure_set(x_20, 1, x_19); +x_21 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_22 = l_Lean_Parser_andthenInfo(x_21, x_18); +x_23 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; +x_24 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_24, 0, x_23); +lean_closure_set(x_24, 1, x_20); +x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +x_26 = l_Lean_Parser_nodeInfo(x_25, x_22); +x_27 = lean_box(x_1); +x_28 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___boxed), 5, 2); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_24); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -26871,20 +27016,20 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(uint8_t x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_2 = l___private_Init_Lean_Parser_Parser_12__antiquotId(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(x_1); +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotId(x_1); +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(x_1); x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 0); @@ -26896,7 +27041,7 @@ lean_dec(x_2); x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); lean_dec(x_3); -x_9 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg), 5, 2); +x_9 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg), 5, 2); lean_closure_set(x_9, 0, x_7); lean_closure_set(x_9, 1, x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -26905,27 +27050,27 @@ lean_ctor_set(x_10, 1, x_9); return x_10; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr(x_2); return x_3; } } -lean_object* l_Lean_Parser_mkAntiquot___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Parser_mkAntiquotAux___elambda__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; @@ -26938,15 +27083,7 @@ x_9 = l_Lean_Parser_ParserState_mkNode(x_8, x_1, x_7); return x_9; } } -lean_object* l_Lean_Parser_mkAntiquot___elambda__1(uint8_t x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__1___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Parser_mkAntiquot___elambda__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Parser_mkAntiquotAux___elambda__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; @@ -26959,15 +27096,7 @@ x_9 = l_Lean_Parser_ParserState_mkNode(x_8, x_1, x_7); return x_9; } } -lean_object* l_Lean_Parser_mkAntiquot___elambda__2(uint8_t x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__2___rarg), 5, 0); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__1() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26977,7 +27106,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__2() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__2() { _start: { lean_object* x_1; @@ -26985,7 +27114,7 @@ x_1 = lean_mk_string("no space before ':"); return x_1; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__3() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -26994,27 +27123,56 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__4() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_mkAntiquot___closed__3; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__3; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__5() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__3; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__6() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__6() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l_Lean_Parser_dollarSymbol(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__7() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = 0; +x_3 = l_Lean_Parser_mkAntiquotAux___closed__6; +x_4 = l_Lean_Parser_setExpected(x_2, x_1, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__8() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__9() { _start: { lean_object* x_1; @@ -27022,46 +27180,46 @@ x_1 = lean_mk_string("*"); return x_1; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__7() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__6; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__9; x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__8() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_mkAntiquot___closed__7; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__10; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__9() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__7; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__10; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__10() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_mkAntiquot___closed__8; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__11; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__11() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -27071,38 +27229,38 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__12() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_mkAntiquot___closed__11; -x_2 = l_Lean_Parser_mkAntiquot___closed__9; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__14; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__13() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__10; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__13; x_2 = l_Lean_Parser_optionaInfo(x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__14() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__12; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__15; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__15() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__18() { _start: { lean_object* x_1; @@ -27110,198 +27268,311 @@ x_1 = lean_mk_string("no space before"); return x_1; } } -lean_object* _init_l_Lean_Parser_mkAntiquot___closed__16() { +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_mkAntiquot___closed__15; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__18; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__20() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l___private_Init_Lean_Parser_Parser_12__noImmediateColon(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__21() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l_Lean_Parser_pushNone(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__21; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_inc(x_2); +x_3 = l_Lean_Parser_andthenInfo(x_2, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__23() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__23; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__20; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_mkAntiquotAux___closed__22; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__26() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___boxed), 2, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_mkAntiquotAux___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__26; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__24; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_mkAntiquotAux(lean_object* x_1, lean_object* x_2, uint8_t x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_4 = l_Lean_Parser_mkAntiquotAux___closed__2; +x_5 = lean_string_append(x_4, x_1); +x_6 = l_Char_HasRepr___closed__1; +x_7 = lean_string_append(x_5, x_6); +x_8 = l_String_trim(x_1); +x_9 = 0; +lean_inc(x_8); +x_10 = l_Lean_Parser_nonReservedSymbolInfo(x_8, x_9); +x_11 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol___lambda__1___boxed), 4, 1); +lean_closure_set(x_11, 0, x_8); +x_12 = l_Lean_Parser_mkAntiquotAux___closed__4; +x_13 = l_Lean_Parser_andthenInfo(x_12, x_10); +x_14 = l_Lean_Parser_mkAntiquotAux___closed__5; +x_15 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_15, 0, x_14); +lean_closure_set(x_15, 1, x_11); +x_16 = l_Lean_Parser_epsilonInfo; +x_17 = l_Lean_Parser_andthenInfo(x_16, x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed), 4, 1); +lean_closure_set(x_18, 0, x_7); +x_19 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_19, 0, x_18); +lean_closure_set(x_19, 1, x_15); +x_20 = l_Lean_Parser_mkAntiquotAux___closed__8; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +x_23 = l_Lean_Parser_mkAntiquotAux___closed__6; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = l_Lean_Parser_mkAntiquotAux___closed__7; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_65; +x_65 = lean_box(0); +x_27 = x_65; +goto block_64; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_27 = x_66; +goto block_64; +} +block_64: +{ +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Parser_mkAntiquotAux___closed__1; +x_29 = l_Lean_Name_append___main(x_27, x_28); +lean_dec(x_27); +if (x_3 == 0) +{ +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; +x_30 = l_Lean_Parser_mkAntiquotAux___closed__16; +x_31 = l_Lean_Parser_andthenInfo(x_17, x_30); +x_32 = l_Lean_Parser_mkAntiquotAux___closed__17; +x_33 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_33, 0, x_19); +lean_closure_set(x_33, 1, x_32); +x_34 = l_Lean_Parser_andthenInfo(x_21, x_31); +x_35 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_35, 0, x_22); +lean_closure_set(x_35, 1, x_33); +x_36 = l_Lean_Parser_andthenInfo(x_16, x_34); +x_37 = l_Lean_Parser_mkAntiquotAux___closed__19; +x_38 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_35); +x_39 = l_Lean_Parser_andthenInfo(x_24, x_36); +x_40 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_40, 0, x_26); +lean_closure_set(x_40, 1, x_38); +x_41 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_41, 0, x_40); +lean_inc(x_29); +x_42 = l_Lean_Parser_nodeInfo(x_29, x_39); +x_43 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquotAux___elambda__1), 5, 2); +lean_closure_set(x_43, 0, x_29); +lean_closure_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_45 = l_Lean_Parser_mkAntiquotAux___closed__25; +x_46 = l_Lean_Parser_orelseInfo(x_17, x_45); +x_47 = l_Lean_Parser_mkAntiquotAux___closed__27; +x_48 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); +lean_closure_set(x_48, 0, x_19); +lean_closure_set(x_48, 1, x_47); +x_49 = l_Lean_Parser_mkAntiquotAux___closed__16; +x_50 = l_Lean_Parser_andthenInfo(x_46, x_49); +x_51 = l_Lean_Parser_mkAntiquotAux___closed__17; +x_52 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_52, 0, x_48); +lean_closure_set(x_52, 1, x_51); +x_53 = l_Lean_Parser_andthenInfo(x_21, x_50); +x_54 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_54, 0, x_22); +lean_closure_set(x_54, 1, x_52); +x_55 = l_Lean_Parser_andthenInfo(x_16, x_53); +x_56 = l_Lean_Parser_mkAntiquotAux___closed__19; +x_57 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_57, 0, x_56); +lean_closure_set(x_57, 1, x_54); +x_58 = l_Lean_Parser_andthenInfo(x_24, x_55); +x_59 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_59, 0, x_26); +lean_closure_set(x_59, 1, x_57); +x_60 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_60, 0, x_59); +lean_inc(x_29); +x_61 = l_Lean_Parser_nodeInfo(x_29, x_58); +x_62 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquotAux___elambda__2), 5, 2); +lean_closure_set(x_62, 0, x_29); +lean_closure_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +lean_object* l_Lean_Parser_mkAntiquotAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_3); +lean_dec(x_3); +x_5 = l_Lean_Parser_mkAntiquotAux(x_1, x_2, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Parser_mkAntiquot___elambda__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; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_apply_3(x_5, x_6, x_3, x_4); +return x_7; +} +} lean_object* l_Lean_Parser_mkAntiquot(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; 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; -x_5 = l_Lean_Parser_mkAntiquot___closed__2; -x_6 = lean_string_append(x_5, x_2); -x_7 = l_Char_HasRepr___closed__1; -x_8 = lean_string_append(x_6, x_7); -x_9 = l_String_trim(x_2); -x_10 = 0; -lean_inc(x_9); -x_11 = l_Lean_Parser_nonReservedSymbolInfo(x_9, x_10); -x_12 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol___lambda__1___boxed), 4, 1); -lean_closure_set(x_12, 0, x_9); -x_13 = l_Lean_Parser_mkAntiquot___closed__4; -x_14 = l_Lean_Parser_andthenInfo(x_13, x_11); -x_15 = l_Lean_Parser_mkAntiquot___closed__5; -x_16 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_16, 0, x_15); -lean_closure_set(x_16, 1, x_12); -x_17 = l_Lean_Parser_epsilonInfo; -x_18 = l_Lean_Parser_andthenInfo(x_17, x_14); -x_19 = lean_alloc_closure((void*)(l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed), 4, 1); -lean_closure_set(x_19, 0, x_8); -x_20 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_20, 0, x_19); -lean_closure_set(x_20, 1, x_16); -x_21 = lean_box(0); -x_22 = l_Lean_Parser_dollarSymbol(x_1); -lean_inc(x_22); -x_23 = l_Lean_Parser_setExpected(x_1, x_21, x_22); -x_24 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr(x_1); -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_22, 0); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_dec(x_23); -if (lean_obj_tag(x_3) == 0) +if (x_1 == 0) { -lean_object* x_77; -x_77 = lean_box(0); -x_29 = x_77; -goto block_76; +lean_object* x_5; +x_5 = l_Lean_Parser_mkAntiquotAux(x_2, x_3, x_4); +return x_5; } else { -lean_object* x_78; -x_78 = lean_ctor_get(x_3, 0); -lean_inc(x_78); -lean_dec(x_3); -x_29 = x_78; -goto block_76; -} -block_76: +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = l_Lean_Parser_mkAntiquotAux(x_2, x_3, x_4); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__1___boxed), 4, 1); +lean_closure_set(x_8, 0, x_6); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = l_Lean_Parser_mkAntiquot___closed__1; -x_31 = l_Lean_Name_append___main(x_29, x_30); -lean_dec(x_29); -if (x_4 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_32 = l_Lean_Parser_mkAntiquot___closed__13; -x_33 = l_Lean_Parser_andthenInfo(x_18, x_32); -x_34 = l_Lean_Parser_mkAntiquot___closed__14; -x_35 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_35, 0, x_20); -lean_closure_set(x_35, 1, x_34); -x_36 = l_Lean_Parser_andthenInfo(x_25, x_33); -x_37 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_37, 0, x_26); -lean_closure_set(x_37, 1, x_35); -x_38 = l_Lean_Parser_andthenInfo(x_17, x_36); -x_39 = l_Lean_Parser_mkAntiquot___closed__16; -x_40 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_40, 0, x_39); -lean_closure_set(x_40, 1, x_37); -x_41 = l_Lean_Parser_andthenInfo(x_27, x_38); -x_42 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_42, 0, x_28); -lean_closure_set(x_42, 1, x_40); -x_43 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); -lean_closure_set(x_43, 0, x_42); -lean_inc(x_31); -x_44 = l_Lean_Parser_nodeInfo(x_31, x_41); -x_45 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__1___rarg), 5, 2); -lean_closure_set(x_45, 0, x_31); -lean_closure_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_6, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_6, 0); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_8); +return x_6; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 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; -x_47 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon(x_1); -x_48 = l_Lean_Parser_pushNone(x_1); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -lean_dec(x_48); -lean_inc(x_49); -x_50 = l_Lean_Parser_andthenInfo(x_49, x_49); -x_51 = lean_box(x_1); -x_52 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); -lean_closure_set(x_52, 0, x_51); -lean_inc(x_52); -x_53 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_53, 0, x_52); -lean_closure_set(x_53, 1, x_52); -x_54 = lean_ctor_get(x_47, 0); -lean_inc(x_54); -lean_dec(x_47); -x_55 = l_Lean_Parser_andthenInfo(x_54, x_50); -x_56 = lean_box(x_1); -x_57 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___boxed), 2, 1); -lean_closure_set(x_57, 0, x_56); -x_58 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_58, 0, x_57); -lean_closure_set(x_58, 1, x_53); -x_59 = l_Lean_Parser_orelseInfo(x_18, x_55); -x_60 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); -lean_closure_set(x_60, 0, x_20); -lean_closure_set(x_60, 1, x_58); -x_61 = l_Lean_Parser_mkAntiquot___closed__13; -x_62 = l_Lean_Parser_andthenInfo(x_59, x_61); -x_63 = l_Lean_Parser_mkAntiquot___closed__14; -x_64 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_64, 0, x_60); -lean_closure_set(x_64, 1, x_63); -x_65 = l_Lean_Parser_andthenInfo(x_25, x_62); -x_66 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_66, 0, x_26); -lean_closure_set(x_66, 1, x_64); -x_67 = l_Lean_Parser_andthenInfo(x_17, x_65); -x_68 = l_Lean_Parser_mkAntiquot___closed__16; -x_69 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_69, 0, x_68); -lean_closure_set(x_69, 1, x_66); -x_70 = l_Lean_Parser_andthenInfo(x_27, x_67); -x_71 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_71, 0, x_28); -lean_closure_set(x_71, 1, x_69); -x_72 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); -lean_closure_set(x_72, 0, x_71); -lean_inc(x_31); -x_73 = l_Lean_Parser_nodeInfo(x_31, x_70); -x_74 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__2___rarg), 5, 2); -lean_closure_set(x_74, 0, x_31); -lean_closure_set(x_74, 1, x_72); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_12; +lean_dec(x_6); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_8); +return x_12; } } } } -lean_object* l_Lean_Parser_mkAntiquot___elambda__1___boxed(lean_object* x_1) { +lean_object* l_Lean_Parser_mkAntiquot___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Lean_Parser_mkAntiquot___elambda__1(x_2); -return x_3; -} -} -lean_object* l_Lean_Parser_mkAntiquot___elambda__2___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Lean_Parser_mkAntiquot___elambda__2(x_2); -return x_3; +lean_object* x_5; +x_5 = l_Lean_Parser_mkAntiquot___elambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; } } lean_object* l_Lean_Parser_mkAntiquot___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -27386,7 +27657,7 @@ return x_2; lean_object* l_Lean_Parser_nodeWithAntiquot(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_inc(x_3); x_5 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_5, 0, x_3); @@ -27399,22 +27670,24 @@ x_9 = l_Lean_Parser_nodeInfo(x_3, x_8); x_10 = lean_ctor_get(x_4, 1); lean_inc(x_10); lean_dec(x_4); -x_11 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_11, 0, x_3); -lean_closure_set(x_11, 1, x_10); -x_12 = lean_ctor_get(x_7, 0); -lean_inc(x_12); -x_13 = l_Lean_Parser_orelseInfo(x_12, x_9); -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); +x_11 = lean_box(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_12, 0, x_11); +lean_closure_set(x_12, 1, x_3); +lean_closure_set(x_12, 2, x_10); +x_13 = lean_ctor_get(x_7, 0); +lean_inc(x_13); +x_14 = l_Lean_Parser_orelseInfo(x_13, x_9); +x_15 = lean_ctor_get(x_7, 1); +lean_inc(x_15); lean_dec(x_7); -x_15 = lean_alloc_closure((void*)(l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg), 5, 2); -lean_closure_set(x_15, 0, x_11); -lean_closure_set(x_15, 1, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -return x_16; +x_16 = lean_alloc_closure((void*)(l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg), 5, 2); +lean_closure_set(x_16, 0, x_12); +lean_closure_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___boxed(lean_object* x_1) { @@ -28347,7 +28620,7 @@ x_3 = lean_io_mk_ref(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1() { _start: { lean_object* x_1; @@ -28355,7 +28628,7 @@ x_1 = lean_mk_string("parser category '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2() { _start: { lean_object* x_1; @@ -28363,31 +28636,31 @@ x_1 = lean_mk_string("' has already been defined"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_2 = l_Lean_Name_toString___closed__1; x_3 = l_Lean_Name_toStringWithSep___main(x_2, x_1); -x_4 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; +x_4 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1; x_5 = lean_string_append(x_4, x_3); lean_dec(x_3); -x_6 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_6 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; x_7 = lean_string_append(x_5, x_6); x_8 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg), 1, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg), 1, 0); return x_2; } } -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28447,7 +28720,7 @@ return x_19; } } } -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; size_t x_4; uint8_t x_5; @@ -28455,11 +28728,11 @@ x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); x_4 = l_Lean_Name_hash(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_3, x_4, x_2); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(x_3, x_4, x_2); return x_5; } } -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___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; uint8_t x_8; @@ -28551,7 +28824,7 @@ return x_29; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -28574,7 +28847,7 @@ x_13 = x_1 - x_12; x_14 = 5; x_15 = x_14 * x_13; x_16 = x_11 >> x_15; -x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); +x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); @@ -28584,7 +28857,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28697,7 +28970,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = x_2 >> x_9; x_37 = x_3 + x_8; -x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); +x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -28712,7 +28985,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = x_2 >> x_9; x_42 = x_3 + x_8; -x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); +x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -28828,7 +29101,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = x_2 >> x_50; x_74 = x_3 + x_49; -x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); +x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -28861,7 +29134,7 @@ else { lean_object* x_82; lean_object* x_83; size_t x_84; uint8_t x_85; x_82 = lean_unsigned_to_nat(0u); -x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); +x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); x_84 = 7; x_85 = x_84 <= x_3; if (x_85 == 0) @@ -28880,7 +29153,7 @@ x_90 = lean_ctor_get(x_83, 1); lean_inc(x_90); lean_dec(x_83); x_91 = l_PersistentHashMap_insertAux___main___rarg___closed__3; -x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); +x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); lean_dec(x_90); lean_dec(x_89); return x_92; @@ -28897,7 +29170,7 @@ return x_83; } } } -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -28909,7 +29182,7 @@ x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash(x_2); x_8 = 1; -x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); +x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_6, x_10); lean_dec(x_6); @@ -28927,7 +29200,7 @@ lean_inc(x_12); lean_dec(x_1); x_14 = l_Lean_Name_hash(x_2); x_15 = 1; -x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); +x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); x_17 = lean_unsigned_to_nat(1u); x_18 = lean_nat_add(x_13, x_17); lean_dec(x_13); @@ -28938,16 +29211,16 @@ return x_19; } } } -lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_inc(x_1); -x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); +x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_1, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_3); +x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_3); x_6 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; @@ -28957,47 +29230,47 @@ else lean_object* x_7; lean_dec(x_3); lean_dec(x_1); -x_7 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); +x_7 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(x_2); return x_7; } } } -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; uint8_t x_5; lean_object* x_6; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_1, x_4, x_3); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(x_1, x_4, x_3); lean_dec(x_3); x_6 = lean_box(x_5); return x_6; } } -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); +x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_8; } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4___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; @@ -29005,11 +29278,11 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); +x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); return x_8; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -29036,7 +29309,7 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -29054,8 +29327,8 @@ x_8 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_9 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_9, 0, x_8); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_2); -x_10 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_6, x_1, x_9); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_7); +x_10 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_6, x_1, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_10, x_7); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -29116,22 +29389,22 @@ return x_22; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_1, x_4, x_3); +x_5 = l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(x_1, x_4, x_3); return x_5; } } @@ -29159,7 +29432,7 @@ x_1 = l_Lean_Parser_ParserExtensionState_inhabited___closed__1; return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29295,7 +29568,7 @@ return x_32; } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1() { _start: { lean_object* x_1; @@ -29303,7 +29576,7 @@ x_1 = lean_mk_string("precedence mismatch for '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2() { _start: { lean_object* x_1; @@ -29311,7 +29584,7 @@ x_1 = lean_mk_string("', previous: "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3() { _start: { lean_object* x_1; @@ -29319,7 +29592,7 @@ x_1 = lean_mk_string(", new: "); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -29353,15 +29626,15 @@ if (x_9 == 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_dec(x_3); -x_10 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; +x_10 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1; x_11 = lean_string_append(x_1, x_10); x_12 = lean_string_append(x_11, x_2); -x_13 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = l_Nat_repr(x_7); x_16 = lean_string_append(x_14, x_15); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; +x_17 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3; x_18 = lean_string_append(x_16, x_17); x_19 = l_Nat_repr(x_8); x_20 = lean_string_append(x_18, x_19); @@ -29384,16 +29657,16 @@ return x_22; } } } -lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___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_Init_Lean_Parser_Parser_19__mergePrecendences(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1() { _start: { lean_object* x_1; @@ -29401,7 +29674,7 @@ x_1 = lean_mk_string("(no whitespace) "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2() { _start: { lean_object* x_1; @@ -29409,17 +29682,17 @@ x_1 = lean_mk_string("invalid empty symbol"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -29466,7 +29739,7 @@ lean_inc(x_16); lean_dec(x_9); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); -x_18 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_17, x_4); +x_18 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_6, x_3, x_17, x_4); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; @@ -29500,8 +29773,8 @@ lean_dec(x_18); x_23 = lean_ctor_get(x_16, 2); lean_inc(x_23); lean_dec(x_16); -x_24 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; -x_25 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_24, x_3, x_23, x_5); +x_24 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; +x_25 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_24, x_3, x_23, x_5); if (lean_obj_tag(x_25) == 0) { uint8_t x_26; @@ -29568,7 +29841,7 @@ lean_inc(x_35); lean_dec(x_9); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -x_37 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_36, x_4); +x_37 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_6, x_3, x_36, x_4); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; @@ -29602,8 +29875,8 @@ lean_dec(x_37); x_42 = lean_ctor_get(x_35, 2); lean_inc(x_42); lean_dec(x_35); -x_43 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; -x_44 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_43, x_3, x_42, x_5); +x_43 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; +x_44 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_43, x_3, x_42, x_5); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -29666,7 +29939,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_53 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; +x_53 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3; return x_53; } } @@ -30114,7 +30387,7 @@ x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_12); lean_ctor_set(x_10, 1, x_13); -x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_14); return x_15; @@ -30140,7 +30413,7 @@ lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); lean_ctor_set(x_7, 0, x_21); -x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_23 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_23, 0, x_22); return x_23; @@ -30186,7 +30459,7 @@ lean_ctor_set(x_32, 3, x_29); x_33 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_33, 0, x_32); lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_25); -x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_33); +x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_33); x_35 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_35, 0, x_34); return x_35; @@ -30204,7 +30477,7 @@ x_40 = lean_ctor_get(x_7, 0); x_41 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_38); x_42 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(x_4, x_40, x_41); lean_ctor_set(x_7, 0, x_42); -x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); return x_44; @@ -30221,7 +30494,7 @@ x_48 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(x_4, x_45 x_49 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_49, 0, x_48); lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_46); -x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_49); +x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_49); x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_50); return x_51; @@ -30281,7 +30554,7 @@ lean_dec(x_3); return x_5; } } -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -30334,7 +30607,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_14; lean_object* x_19; lean_object* x_20; @@ -30414,7 +30687,7 @@ block_18: lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(x_14); x_16 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_15); -x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(x_2, x_1, x_16); +x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(x_2, x_1, x_16); return x_17; } } @@ -30444,9 +30717,9 @@ if (x_7 == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_8, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(x_8, x_3); lean_ctor_set(x_6, 0, x_9); -x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_6); +x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_6); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_10); return x_11; @@ -30458,11 +30731,11 @@ x_12 = lean_ctor_get(x_6, 0); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); lean_inc(x_12); lean_dec(x_6); -x_14 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_12, x_3); +x_14 = l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(x_12, x_3); x_15 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_15, 0, x_14); lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_13); -x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_15); +x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_15); x_17 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_17, 0, x_16); return x_17; @@ -30516,7 +30789,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_1, x_4); +x_6 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_1, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -30563,7 +30836,7 @@ x_6 = l_List_foldlM___main___at_Lean_Parser_addParserTokens___spec__1(x_1, x_5); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1() { _start: { lean_object* x_1; @@ -30571,7 +30844,7 @@ x_1 = lean_mk_string("invalid builtin parser '"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -30596,7 +30869,7 @@ lean_inc(x_11); lean_dec(x_10); x_12 = l_Lean_Name_toString___closed__1; x_13 = l_Lean_Name_toStringWithSep___main(x_12, x_2); -x_14 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; +x_14 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; x_15 = lean_string_append(x_14, x_13); lean_dec(x_13); x_16 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -30638,7 +30911,7 @@ lean_inc(x_25); lean_dec(x_24); x_26 = l_Lean_Name_toString___closed__1; x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_2); -x_28 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; +x_28 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); x_30 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -30706,7 +30979,7 @@ lean_inc(x_9); lean_dec(x_7); lean_inc(x_4); x_10 = l_Lean_Parser_addParser(x_1, x_8, x_2, x_3, x_4); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_10, x_9); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -30753,7 +31026,7 @@ lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(x_16, x_3, x_26); +x_27 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(x_16, x_3, x_26); return x_27; } else @@ -30939,7 +31212,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_2)) { @@ -30958,7 +31231,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 2); x_8 = lean_ctor_get(x_1, 3); lean_inc(x_3); -x_9 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_5, x_3); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -31001,7 +31274,7 @@ lean_inc(x_16); lean_inc(x_15); lean_dec(x_1); lean_inc(x_3); -x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_3); +x_19 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_15, x_3); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; @@ -31102,7 +31375,7 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_1, 3); lean_inc(x_48); lean_inc(x_47); -x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_47, x_43); +x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_47, x_43); if (x_49 == 0) { uint8_t x_50; @@ -31123,7 +31396,7 @@ x_56 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_56, 0, x_55); lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_44); lean_inc(x_43); -x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_56); +x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_47, x_43, x_56); x_58 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_58, 0, x_43); lean_ctor_set_uint8(x_58, sizeof(void*)*1, x_44); @@ -31143,7 +31416,7 @@ x_61 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_61, 0, x_60); lean_ctor_set_uint8(x_61, sizeof(void*)*1, x_44); lean_inc(x_43); -x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_61); +x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_47, x_43, x_61); x_63 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_63, 0, x_43); lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_44); @@ -32253,7 +32526,7 @@ uint8_t x_252; x_252 = !lean_is_exclusive(x_248); if (x_252 == 0) { -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_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; x_253 = lean_ctor_get(x_248, 0); x_254 = lean_ctor_get(x_253, 0); lean_inc(x_254); @@ -32262,157 +32535,161 @@ x_255 = l_Lean_Parser_nodeInfo(x_246, x_254); x_256 = lean_ctor_get(x_253, 1); lean_inc(x_256); lean_dec(x_253); -x_257 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_257, 0, x_246); -lean_closure_set(x_257, 1, x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_255); -lean_ctor_set(x_258, 1, x_257); -lean_ctor_set(x_248, 0, x_258); +x_257 = lean_box(x_2); +x_258 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_258, 0, x_257); +lean_closure_set(x_258, 1, x_246); +lean_closure_set(x_258, 2, x_256); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_255); +lean_ctor_set(x_259, 1, x_258); +lean_ctor_set(x_248, 0, x_259); return x_248; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_259 = lean_ctor_get(x_248, 0); -lean_inc(x_259); -lean_dec(x_248); -x_260 = lean_ctor_get(x_259, 0); +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_260 = lean_ctor_get(x_248, 0); lean_inc(x_260); +lean_dec(x_248); +x_261 = lean_ctor_get(x_260, 0); +lean_inc(x_261); lean_inc(x_246); -x_261 = l_Lean_Parser_nodeInfo(x_246, x_260); -x_262 = lean_ctor_get(x_259, 1); -lean_inc(x_262); -lean_dec(x_259); -x_263 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_263, 0, x_246); -lean_closure_set(x_263, 1, x_262); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_261); -lean_ctor_set(x_264, 1, x_263); -x_265 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_265, 0, x_264); -return x_265; +x_262 = l_Lean_Parser_nodeInfo(x_246, x_261); +x_263 = lean_ctor_get(x_260, 1); +lean_inc(x_263); +lean_dec(x_260); +x_264 = lean_box(x_2); +x_265 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_265, 0, x_264); +lean_closure_set(x_265, 1, x_246); +lean_closure_set(x_265, 2, x_263); +x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_266, 0, x_262); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_267, 0, x_266); +return x_267; } } } case 10: { -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_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_dec(x_1); -x_266 = lean_ctor_get(x_3, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_3, 1); -lean_inc(x_267); -lean_dec(x_3); -x_268 = l_String_trim(x_266); -lean_dec(x_266); +x_268 = lean_ctor_get(x_3, 0); lean_inc(x_268); -x_269 = l_Lean_Parser_symbolInfo(x_268, x_267); -x_270 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); -lean_closure_set(x_270, 0, x_268); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_272, 0, x_271); -return x_272; +x_269 = lean_ctor_get(x_3, 1); +lean_inc(x_269); +lean_dec(x_3); +x_270 = l_String_trim(x_268); +lean_dec(x_268); +lean_inc(x_270); +x_271 = l_Lean_Parser_symbolInfo(x_270, x_269); +x_272 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); +lean_closure_set(x_272, 0, x_270); +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_271); +lean_ctor_set(x_273, 1, x_272); +x_274 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_274, 0, x_273); +return x_274; } case 11: { -lean_object* x_273; uint8_t 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_275; uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_dec(x_1); -x_273 = lean_ctor_get(x_3, 0); -lean_inc(x_273); -x_274 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -lean_dec(x_3); -x_275 = l_String_trim(x_273); -lean_dec(x_273); +x_275 = lean_ctor_get(x_3, 0); lean_inc(x_275); -x_276 = l_Lean_Parser_nonReservedSymbolInfo(x_275, x_274); -x_277 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol___lambda__1___boxed), 4, 1); -lean_closure_set(x_277, 0, x_275); -x_278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_278, 0, x_276); -lean_ctor_set(x_278, 1, x_277); -x_279 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_279, 0, x_278); -return x_279; -} -case 12: -{ -lean_object* x_280; lean_object* x_281; +x_276 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); lean_dec(x_3); -lean_dec(x_1); -x_280 = l_Lean_Parser_numLit(x_2); +x_277 = l_String_trim(x_275); +lean_dec(x_275); +lean_inc(x_277); +x_278 = l_Lean_Parser_nonReservedSymbolInfo(x_277, x_276); +x_279 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol___lambda__1___boxed), 4, 1); +lean_closure_set(x_279, 0, x_277); +x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_280, 0, x_278); +lean_ctor_set(x_280, 1, x_279); x_281 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_281, 0, x_280); return x_281; } -case 13: +case 12: { lean_object* x_282; lean_object* x_283; lean_dec(x_3); lean_dec(x_1); -x_282 = l_Lean_Parser_strLit(x_2); +x_282 = l_Lean_Parser_numLit(x_2); x_283 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_283, 0, x_282); return x_283; } -case 14: +case 13: { lean_object* x_284; lean_object* x_285; lean_dec(x_3); lean_dec(x_1); -x_284 = l_Lean_Parser_charLit(x_2); +x_284 = l_Lean_Parser_strLit(x_2); x_285 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_285, 0, x_284); return x_285; } -case 15: +case 14: { lean_object* x_286; lean_object* x_287; lean_dec(x_3); lean_dec(x_1); -x_286 = l_Lean_Parser_nameLit(x_2); +x_286 = l_Lean_Parser_charLit(x_2); x_287 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_287, 0, x_286); return x_287; } -case 16: +case 15: { lean_object* x_288; lean_object* x_289; lean_dec(x_3); lean_dec(x_1); -x_288 = l_Lean_Parser_ident(x_2); +x_288 = l_Lean_Parser_nameLit(x_2); x_289 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_289, 0, x_288); return x_289; } +case 16: +{ +lean_object* x_290; lean_object* x_291; +lean_dec(x_3); +lean_dec(x_1); +x_290 = l_Lean_Parser_ident(x_2); +x_291 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_291, 0, x_290); +return x_291; +} default: { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_290 = lean_ctor_get(x_3, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_3, 1); -lean_inc(x_291); +lean_object* x_292; lean_object* x_293; lean_object* x_294; +x_292 = lean_ctor_get(x_3, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_3, 1); +lean_inc(x_293); lean_dec(x_3); -x_292 = l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(x_1, x_290); -if (lean_obj_tag(x_292) == 0) +x_294 = l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(x_1, x_292); +if (lean_obj_tag(x_294) == 0) { -lean_object* x_293; -lean_dec(x_291); -x_293 = l_Lean_Parser_throwUnknownParserCategory___rarg(x_290); -return x_293; +lean_object* x_295; +lean_dec(x_293); +x_295 = l_Lean_Parser_throwUnknownParserCategory___rarg(x_292); +return x_295; } else { -lean_object* x_294; lean_object* x_295; -lean_dec(x_292); -x_294 = l_Lean_Parser_categoryParser(x_2, x_290, x_291); -x_295 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_295, 0, x_294); -return x_295; +lean_object* x_296; lean_object* x_297; +lean_dec(x_294); +x_296 = l_Lean_Parser_categoryParser(x_2, x_292, x_293); +x_297 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_297, 0, x_296); +return x_297; } } } @@ -32422,1116 +32699,1120 @@ else switch (lean_obj_tag(x_3)) { case 0: { -lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_296 = lean_ctor_get(x_3, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_3, 1); -lean_inc(x_297); +lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_298 = lean_ctor_get(x_3, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_3, 1); +lean_inc(x_299); lean_dec(x_3); lean_inc(x_1); -x_298 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_296); -if (lean_obj_tag(x_298) == 0) +x_300 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_298); +if (lean_obj_tag(x_300) == 0) { -uint8_t x_299; -lean_dec(x_297); +uint8_t x_301; +lean_dec(x_299); lean_dec(x_1); -x_299 = !lean_is_exclusive(x_298); -if (x_299 == 0) +x_301 = !lean_is_exclusive(x_300); +if (x_301 == 0) { -return x_298; -} -else -{ -lean_object* x_300; lean_object* x_301; -x_300 = lean_ctor_get(x_298, 0); -lean_inc(x_300); -lean_dec(x_298); -x_301 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_301, 0, x_300); -return x_301; -} +return x_300; } else { lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_298, 0); +x_302 = lean_ctor_get(x_300, 0); lean_inc(x_302); -lean_dec(x_298); -x_303 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_297); -if (lean_obj_tag(x_303) == 0) -{ -uint8_t x_304; -lean_dec(x_302); -x_304 = !lean_is_exclusive(x_303); -if (x_304 == 0) -{ +lean_dec(x_300); +x_303 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_303, 0, x_302); return x_303; } +} else { -lean_object* x_305; lean_object* x_306; -x_305 = lean_ctor_get(x_303, 0); -lean_inc(x_305); -lean_dec(x_303); -x_306 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_306, 0, x_305); -return x_306; +lean_object* x_304; lean_object* x_305; +x_304 = lean_ctor_get(x_300, 0); +lean_inc(x_304); +lean_dec(x_300); +x_305 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_299); +if (lean_obj_tag(x_305) == 0) +{ +uint8_t x_306; +lean_dec(x_304); +x_306 = !lean_is_exclusive(x_305); +if (x_306 == 0) +{ +return x_305; +} +else +{ +lean_object* x_307; lean_object* x_308; +x_307 = lean_ctor_get(x_305, 0); +lean_inc(x_307); +lean_dec(x_305); +x_308 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_308, 0, x_307); +return x_308; } } else { -uint8_t x_307; -x_307 = !lean_is_exclusive(x_303); -if (x_307 == 0) +uint8_t x_309; +x_309 = !lean_is_exclusive(x_305); +if (x_309 == 0) { -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; -x_308 = lean_ctor_get(x_303, 0); -x_309 = lean_ctor_get(x_302, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 0); -lean_inc(x_310); -x_311 = l_Lean_Parser_andthenInfo(x_309, x_310); -x_312 = lean_ctor_get(x_302, 1); +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; +x_310 = lean_ctor_get(x_305, 0); +x_311 = lean_ctor_get(x_304, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 0); lean_inc(x_312); -lean_dec(x_302); -x_313 = lean_ctor_get(x_308, 1); -lean_inc(x_313); -lean_dec(x_308); -x_314 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_314, 0, x_312); -lean_closure_set(x_314, 1, x_313); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_311); -lean_ctor_set(x_315, 1, x_314); -lean_ctor_set(x_303, 0, x_315); -return x_303; +x_313 = l_Lean_Parser_andthenInfo(x_311, x_312); +x_314 = lean_ctor_get(x_304, 1); +lean_inc(x_314); +lean_dec(x_304); +x_315 = lean_ctor_get(x_310, 1); +lean_inc(x_315); +lean_dec(x_310); +x_316 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_316, 0, x_314); +lean_closure_set(x_316, 1, x_315); +x_317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_317, 0, x_313); +lean_ctor_set(x_317, 1, x_316); +lean_ctor_set(x_305, 0, x_317); +return x_305; } else { -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; -x_316 = lean_ctor_get(x_303, 0); -lean_inc(x_316); -lean_dec(x_303); -x_317 = lean_ctor_get(x_302, 0); -lean_inc(x_317); -x_318 = lean_ctor_get(x_316, 0); +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; +x_318 = lean_ctor_get(x_305, 0); lean_inc(x_318); -x_319 = l_Lean_Parser_andthenInfo(x_317, x_318); -x_320 = lean_ctor_get(x_302, 1); +lean_dec(x_305); +x_319 = lean_ctor_get(x_304, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 0); lean_inc(x_320); -lean_dec(x_302); -x_321 = lean_ctor_get(x_316, 1); -lean_inc(x_321); -lean_dec(x_316); -x_322 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); -lean_closure_set(x_322, 0, x_320); -lean_closure_set(x_322, 1, x_321); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_319); -lean_ctor_set(x_323, 1, x_322); -x_324 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_324, 0, x_323); -return x_324; +x_321 = l_Lean_Parser_andthenInfo(x_319, x_320); +x_322 = lean_ctor_get(x_304, 1); +lean_inc(x_322); +lean_dec(x_304); +x_323 = lean_ctor_get(x_318, 1); +lean_inc(x_323); +lean_dec(x_318); +x_324 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_324, 0, x_322); +lean_closure_set(x_324, 1, x_323); +x_325 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_325, 0, x_321); +lean_ctor_set(x_325, 1, x_324); +x_326 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_326, 0, x_325); +return x_326; } } } } case 1: { -lean_object* x_325; lean_object* x_326; lean_object* x_327; -x_325 = lean_ctor_get(x_3, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_3, 1); -lean_inc(x_326); +lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_327 = lean_ctor_get(x_3, 0); +lean_inc(x_327); +x_328 = lean_ctor_get(x_3, 1); +lean_inc(x_328); lean_dec(x_3); lean_inc(x_1); -x_327 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_325); -if (lean_obj_tag(x_327) == 0) +x_329 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_327); +if (lean_obj_tag(x_329) == 0) { -uint8_t x_328; -lean_dec(x_326); +uint8_t x_330; +lean_dec(x_328); lean_dec(x_1); -x_328 = !lean_is_exclusive(x_327); -if (x_328 == 0) +x_330 = !lean_is_exclusive(x_329); +if (x_330 == 0) { -return x_327; -} -else -{ -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_327, 0); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_330, 0, x_329); -return x_330; -} +return x_329; } else { lean_object* x_331; lean_object* x_332; -x_331 = lean_ctor_get(x_327, 0); +x_331 = lean_ctor_get(x_329, 0); lean_inc(x_331); -lean_dec(x_327); -x_332 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_326); -if (lean_obj_tag(x_332) == 0) -{ -uint8_t x_333; -lean_dec(x_331); -x_333 = !lean_is_exclusive(x_332); -if (x_333 == 0) -{ +lean_dec(x_329); +x_332 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_332, 0, x_331); return x_332; } +} else { -lean_object* x_334; lean_object* x_335; -x_334 = lean_ctor_get(x_332, 0); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_335, 0, x_334); -return x_335; +lean_object* x_333; lean_object* x_334; +x_333 = lean_ctor_get(x_329, 0); +lean_inc(x_333); +lean_dec(x_329); +x_334 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_328); +if (lean_obj_tag(x_334) == 0) +{ +uint8_t x_335; +lean_dec(x_333); +x_335 = !lean_is_exclusive(x_334); +if (x_335 == 0) +{ +return x_334; +} +else +{ +lean_object* x_336; lean_object* x_337; +x_336 = lean_ctor_get(x_334, 0); +lean_inc(x_336); +lean_dec(x_334); +x_337 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_337, 0, x_336); +return x_337; } } else { -uint8_t x_336; -x_336 = !lean_is_exclusive(x_332); -if (x_336 == 0) +uint8_t x_338; +x_338 = !lean_is_exclusive(x_334); +if (x_338 == 0) { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_337 = lean_ctor_get(x_332, 0); -x_338 = lean_ctor_get(x_331, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 0); -lean_inc(x_339); -x_340 = l_Lean_Parser_orelseInfo(x_338, x_339); -x_341 = lean_ctor_get(x_331, 1); +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; +x_339 = lean_ctor_get(x_334, 0); +x_340 = lean_ctor_get(x_333, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 0); lean_inc(x_341); -lean_dec(x_331); -x_342 = lean_ctor_get(x_337, 1); -lean_inc(x_342); -lean_dec(x_337); -x_343 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); -lean_closure_set(x_343, 0, x_341); -lean_closure_set(x_343, 1, x_342); -x_344 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_344, 0, x_340); -lean_ctor_set(x_344, 1, x_343); -lean_ctor_set(x_332, 0, x_344); -return x_332; +x_342 = l_Lean_Parser_orelseInfo(x_340, x_341); +x_343 = lean_ctor_get(x_333, 1); +lean_inc(x_343); +lean_dec(x_333); +x_344 = lean_ctor_get(x_339, 1); +lean_inc(x_344); +lean_dec(x_339); +x_345 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); +lean_closure_set(x_345, 0, x_343); +lean_closure_set(x_345, 1, x_344); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_342); +lean_ctor_set(x_346, 1, x_345); +lean_ctor_set(x_334, 0, x_346); +return x_334; } else { -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; -x_345 = lean_ctor_get(x_332, 0); -lean_inc(x_345); -lean_dec(x_332); -x_346 = lean_ctor_get(x_331, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_345, 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; lean_object* x_354; lean_object* x_355; +x_347 = lean_ctor_get(x_334, 0); lean_inc(x_347); -x_348 = l_Lean_Parser_orelseInfo(x_346, x_347); -x_349 = lean_ctor_get(x_331, 1); +lean_dec(x_334); +x_348 = lean_ctor_get(x_333, 0); +lean_inc(x_348); +x_349 = lean_ctor_get(x_347, 0); lean_inc(x_349); -lean_dec(x_331); -x_350 = lean_ctor_get(x_345, 1); -lean_inc(x_350); -lean_dec(x_345); -x_351 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); -lean_closure_set(x_351, 0, x_349); -lean_closure_set(x_351, 1, x_350); -x_352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_352, 0, x_348); -lean_ctor_set(x_352, 1, x_351); -x_353 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_353, 0, x_352); -return x_353; +x_350 = l_Lean_Parser_orelseInfo(x_348, x_349); +x_351 = lean_ctor_get(x_333, 1); +lean_inc(x_351); +lean_dec(x_333); +x_352 = lean_ctor_get(x_347, 1); +lean_inc(x_352); +lean_dec(x_347); +x_353 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2); +lean_closure_set(x_353, 0, x_351); +lean_closure_set(x_353, 1, x_352); +x_354 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_354, 0, x_350); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_355, 0, x_354); +return x_355; } } } } case 2: { -lean_object* x_354; lean_object* x_355; -x_354 = lean_ctor_get(x_3, 0); -lean_inc(x_354); +lean_object* x_356; lean_object* x_357; +x_356 = lean_ctor_get(x_3, 0); +lean_inc(x_356); lean_dec(x_3); -x_355 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_354); -if (lean_obj_tag(x_355) == 0) +x_357 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_356); +if (lean_obj_tag(x_357) == 0) { -uint8_t x_356; -x_356 = !lean_is_exclusive(x_355); -if (x_356 == 0) +uint8_t x_358; +x_358 = !lean_is_exclusive(x_357); +if (x_358 == 0) { -return x_355; +return x_357; } else { -lean_object* x_357; lean_object* x_358; -x_357 = lean_ctor_get(x_355, 0); -lean_inc(x_357); -lean_dec(x_355); -x_358 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_358, 0, x_357); -return x_358; +lean_object* x_359; lean_object* x_360; +x_359 = lean_ctor_get(x_357, 0); +lean_inc(x_359); +lean_dec(x_357); +x_360 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_360, 0, x_359); +return x_360; } } else { -uint8_t x_359; -x_359 = !lean_is_exclusive(x_355); -if (x_359 == 0) +uint8_t x_361; +x_361 = !lean_is_exclusive(x_357); +if (x_361 == 0) { -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_360 = lean_ctor_get(x_355, 0); -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = l_Lean_Parser_optionaInfo(x_361); -x_363 = lean_ctor_get(x_360, 1); +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_362 = lean_ctor_get(x_357, 0); +x_363 = lean_ctor_get(x_362, 0); lean_inc(x_363); -lean_dec(x_360); -x_364 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1); -lean_closure_set(x_364, 0, x_363); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_362); -lean_ctor_set(x_365, 1, x_364); -lean_ctor_set(x_355, 0, x_365); -return x_355; +x_364 = l_Lean_Parser_optionaInfo(x_363); +x_365 = lean_ctor_get(x_362, 1); +lean_inc(x_365); +lean_dec(x_362); +x_366 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1); +lean_closure_set(x_366, 0, x_365); +x_367 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_367, 0, x_364); +lean_ctor_set(x_367, 1, x_366); +lean_ctor_set(x_357, 0, x_367); +return x_357; } 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; -x_366 = lean_ctor_get(x_355, 0); -lean_inc(x_366); -lean_dec(x_355); -x_367 = lean_ctor_get(x_366, 0); -lean_inc(x_367); -x_368 = l_Lean_Parser_optionaInfo(x_367); -x_369 = lean_ctor_get(x_366, 1); +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; +x_368 = lean_ctor_get(x_357, 0); +lean_inc(x_368); +lean_dec(x_357); +x_369 = lean_ctor_get(x_368, 0); lean_inc(x_369); -lean_dec(x_366); -x_370 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1); -lean_closure_set(x_370, 0, x_369); -x_371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_371, 0, x_368); -lean_ctor_set(x_371, 1, x_370); -x_372 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_372, 0, x_371); -return x_372; +x_370 = l_Lean_Parser_optionaInfo(x_369); +x_371 = lean_ctor_get(x_368, 1); +lean_inc(x_371); +lean_dec(x_368); +x_372 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1); +lean_closure_set(x_372, 0, x_371); +x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_373, 0, x_370); +lean_ctor_set(x_373, 1, x_372); +x_374 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_374, 0, x_373); +return x_374; } } } case 3: { -lean_object* x_373; lean_object* x_374; -x_373 = lean_ctor_get(x_3, 0); -lean_inc(x_373); +lean_object* x_375; lean_object* x_376; +x_375 = lean_ctor_get(x_3, 0); +lean_inc(x_375); lean_dec(x_3); -x_374 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_373); -if (lean_obj_tag(x_374) == 0) +x_376 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_375); +if (lean_obj_tag(x_376) == 0) { -uint8_t x_375; -x_375 = !lean_is_exclusive(x_374); -if (x_375 == 0) +uint8_t x_377; +x_377 = !lean_is_exclusive(x_376); +if (x_377 == 0) { -return x_374; +return x_376; } else { -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_374, 0); -lean_inc(x_376); -lean_dec(x_374); -x_377 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_377, 0, x_376); -return x_377; +lean_object* x_378; lean_object* x_379; +x_378 = lean_ctor_get(x_376, 0); +lean_inc(x_378); +lean_dec(x_376); +x_379 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_379, 0, x_378); +return x_379; } } else { -uint8_t x_378; -x_378 = !lean_is_exclusive(x_374); -if (x_378 == 0) -{ -lean_object* x_379; uint8_t x_380; -x_379 = lean_ctor_get(x_374, 0); -x_380 = !lean_is_exclusive(x_379); +uint8_t x_380; +x_380 = !lean_is_exclusive(x_376); if (x_380 == 0) { -lean_object* x_381; lean_object* x_382; -x_381 = lean_ctor_get(x_379, 1); -x_382 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); -lean_closure_set(x_382, 0, x_381); -lean_ctor_set(x_379, 1, x_382); -return x_374; +lean_object* x_381; uint8_t x_382; +x_381 = lean_ctor_get(x_376, 0); +x_382 = !lean_is_exclusive(x_381); +if (x_382 == 0) +{ +lean_object* x_383; lean_object* x_384; +x_383 = lean_ctor_get(x_381, 1); +x_384 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); +lean_closure_set(x_384, 0, x_383); +lean_ctor_set(x_381, 1, x_384); +return x_376; } else { -lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_383 = lean_ctor_get(x_379, 0); -x_384 = lean_ctor_get(x_379, 1); -lean_inc(x_384); -lean_inc(x_383); -lean_dec(x_379); -x_385 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); -lean_closure_set(x_385, 0, x_384); -x_386 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_385); -lean_ctor_set(x_374, 0, x_386); -return x_374; +lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; +x_385 = lean_ctor_get(x_381, 0); +x_386 = lean_ctor_get(x_381, 1); +lean_inc(x_386); +lean_inc(x_385); +lean_dec(x_381); +x_387 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); +lean_closure_set(x_387, 0, x_386); +x_388 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_388, 0, x_385); +lean_ctor_set(x_388, 1, x_387); +lean_ctor_set(x_376, 0, x_388); +return x_376; } } else { -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; -x_387 = lean_ctor_get(x_374, 0); -lean_inc(x_387); -lean_dec(x_374); -x_388 = lean_ctor_get(x_387, 0); -lean_inc(x_388); -x_389 = lean_ctor_get(x_387, 1); +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; +x_389 = lean_ctor_get(x_376, 0); lean_inc(x_389); -if (lean_is_exclusive(x_387)) { - lean_ctor_release(x_387, 0); - lean_ctor_release(x_387, 1); - x_390 = x_387; +lean_dec(x_376); +x_390 = lean_ctor_get(x_389, 0); +lean_inc(x_390); +x_391 = lean_ctor_get(x_389, 1); +lean_inc(x_391); +if (lean_is_exclusive(x_389)) { + lean_ctor_release(x_389, 0); + lean_ctor_release(x_389, 1); + x_392 = x_389; } else { - lean_dec_ref(x_387); - x_390 = lean_box(0); + lean_dec_ref(x_389); + x_392 = lean_box(0); } -x_391 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); -lean_closure_set(x_391, 0, x_389); -if (lean_is_scalar(x_390)) { - x_392 = lean_alloc_ctor(0, 2, 0); +x_393 = lean_alloc_closure((void*)(l_Lean_Parser_lookaheadFn___rarg), 4, 1); +lean_closure_set(x_393, 0, x_391); +if (lean_is_scalar(x_392)) { + x_394 = lean_alloc_ctor(0, 2, 0); } else { - x_392 = x_390; + x_394 = x_392; } -lean_ctor_set(x_392, 0, x_388); -lean_ctor_set(x_392, 1, x_391); -x_393 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_393, 0, x_392); -return x_393; +lean_ctor_set(x_394, 0, x_390); +lean_ctor_set(x_394, 1, x_393); +x_395 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_395, 0, x_394); +return x_395; } } } case 4: { -lean_object* x_394; lean_object* x_395; -x_394 = lean_ctor_get(x_3, 0); -lean_inc(x_394); +lean_object* x_396; lean_object* x_397; +x_396 = lean_ctor_get(x_3, 0); +lean_inc(x_396); lean_dec(x_3); -x_395 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_394); -if (lean_obj_tag(x_395) == 0) +x_397 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_396); +if (lean_obj_tag(x_397) == 0) { -uint8_t x_396; -x_396 = !lean_is_exclusive(x_395); -if (x_396 == 0) +uint8_t x_398; +x_398 = !lean_is_exclusive(x_397); +if (x_398 == 0) { -return x_395; +return x_397; } else { -lean_object* x_397; lean_object* x_398; -x_397 = lean_ctor_get(x_395, 0); -lean_inc(x_397); -lean_dec(x_395); -x_398 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_398, 0, x_397); -return x_398; +lean_object* x_399; lean_object* x_400; +x_399 = lean_ctor_get(x_397, 0); +lean_inc(x_399); +lean_dec(x_397); +x_400 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_400, 0, x_399); +return x_400; } } else { -uint8_t x_399; -x_399 = !lean_is_exclusive(x_395); -if (x_399 == 0) -{ -lean_object* x_400; uint8_t x_401; -x_400 = lean_ctor_get(x_395, 0); -x_401 = !lean_is_exclusive(x_400); +uint8_t x_401; +x_401 = !lean_is_exclusive(x_397); if (x_401 == 0) { -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_400, 1); -x_403 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); -lean_closure_set(x_403, 0, x_402); -lean_ctor_set(x_400, 1, x_403); -return x_395; +lean_object* x_402; uint8_t x_403; +x_402 = lean_ctor_get(x_397, 0); +x_403 = !lean_is_exclusive(x_402); +if (x_403 == 0) +{ +lean_object* x_404; lean_object* x_405; +x_404 = lean_ctor_get(x_402, 1); +x_405 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_405, 0, x_404); +lean_ctor_set(x_402, 1, x_405); +return x_397; } else { -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_404 = lean_ctor_get(x_400, 0); -x_405 = lean_ctor_get(x_400, 1); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_400); -x_406 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); -lean_closure_set(x_406, 0, x_405); -x_407 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_407, 0, x_404); -lean_ctor_set(x_407, 1, x_406); -lean_ctor_set(x_395, 0, x_407); -return x_395; +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_406 = lean_ctor_get(x_402, 0); +x_407 = lean_ctor_get(x_402, 1); +lean_inc(x_407); +lean_inc(x_406); +lean_dec(x_402); +x_408 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_408, 0, x_407); +x_409 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_409, 0, x_406); +lean_ctor_set(x_409, 1, x_408); +lean_ctor_set(x_397, 0, x_409); +return x_397; } } else { -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; -x_408 = lean_ctor_get(x_395, 0); -lean_inc(x_408); -lean_dec(x_395); -x_409 = lean_ctor_get(x_408, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_408, 1); +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; +x_410 = lean_ctor_get(x_397, 0); lean_inc(x_410); -if (lean_is_exclusive(x_408)) { - lean_ctor_release(x_408, 0); - lean_ctor_release(x_408, 1); - x_411 = x_408; +lean_dec(x_397); +x_411 = lean_ctor_get(x_410, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_410, 1); +lean_inc(x_412); +if (lean_is_exclusive(x_410)) { + lean_ctor_release(x_410, 0); + lean_ctor_release(x_410, 1); + x_413 = x_410; } else { - lean_dec_ref(x_408); - x_411 = lean_box(0); + lean_dec_ref(x_410); + x_413 = lean_box(0); } -x_412 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); -lean_closure_set(x_412, 0, x_410); -if (lean_is_scalar(x_411)) { - x_413 = lean_alloc_ctor(0, 2, 0); +x_414 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_414, 0, x_412); +if (lean_is_scalar(x_413)) { + x_415 = lean_alloc_ctor(0, 2, 0); } else { - x_413 = x_411; + x_415 = x_413; } -lean_ctor_set(x_413, 0, x_409); -lean_ctor_set(x_413, 1, x_412); -x_414 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_414, 0, x_413); -return x_414; +lean_ctor_set(x_415, 0, x_411); +lean_ctor_set(x_415, 1, x_414); +x_416 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_416, 0, x_415); +return x_416; } } } case 5: { -lean_object* x_415; lean_object* x_416; -x_415 = lean_ctor_get(x_3, 0); -lean_inc(x_415); +lean_object* x_417; lean_object* x_418; +x_417 = lean_ctor_get(x_3, 0); +lean_inc(x_417); lean_dec(x_3); -x_416 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_415); -if (lean_obj_tag(x_416) == 0) +x_418 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_417); +if (lean_obj_tag(x_418) == 0) { -uint8_t x_417; -x_417 = !lean_is_exclusive(x_416); -if (x_417 == 0) +uint8_t x_419; +x_419 = !lean_is_exclusive(x_418); +if (x_419 == 0) { -return x_416; +return x_418; } else { -lean_object* x_418; lean_object* x_419; -x_418 = lean_ctor_get(x_416, 0); -lean_inc(x_418); -lean_dec(x_416); -x_419 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_419, 0, x_418); -return x_419; +lean_object* x_420; lean_object* x_421; +x_420 = lean_ctor_get(x_418, 0); +lean_inc(x_420); +lean_dec(x_418); +x_421 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_421, 0, x_420); +return x_421; } } else { -uint8_t x_420; -x_420 = !lean_is_exclusive(x_416); -if (x_420 == 0) +uint8_t x_422; +x_422 = !lean_is_exclusive(x_418); +if (x_422 == 0) { -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; -x_421 = lean_ctor_get(x_416, 0); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -x_423 = l_Lean_Parser_noFirstTokenInfo(x_422); -x_424 = lean_ctor_get(x_421, 1); +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; +x_423 = lean_ctor_get(x_418, 0); +x_424 = lean_ctor_get(x_423, 0); lean_inc(x_424); -lean_dec(x_421); -x_425 = lean_box(x_2); -x_426 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn___boxed), 5, 2); -lean_closure_set(x_426, 0, x_425); -lean_closure_set(x_426, 1, x_424); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_423); -lean_ctor_set(x_427, 1, x_426); -lean_ctor_set(x_416, 0, x_427); -return x_416; +x_425 = l_Lean_Parser_noFirstTokenInfo(x_424); +x_426 = lean_ctor_get(x_423, 1); +lean_inc(x_426); +lean_dec(x_423); +x_427 = lean_box(x_2); +x_428 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn___boxed), 5, 2); +lean_closure_set(x_428, 0, x_427); +lean_closure_set(x_428, 1, x_426); +x_429 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_429, 0, x_425); +lean_ctor_set(x_429, 1, x_428); +lean_ctor_set(x_418, 0, x_429); +return x_418; } else { -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_428 = lean_ctor_get(x_416, 0); -lean_inc(x_428); -lean_dec(x_416); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = l_Lean_Parser_noFirstTokenInfo(x_429); -x_431 = lean_ctor_get(x_428, 1); +lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_430 = lean_ctor_get(x_418, 0); +lean_inc(x_430); +lean_dec(x_418); +x_431 = lean_ctor_get(x_430, 0); lean_inc(x_431); -lean_dec(x_428); -x_432 = lean_box(x_2); -x_433 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn___boxed), 5, 2); -lean_closure_set(x_433, 0, x_432); -lean_closure_set(x_433, 1, x_431); -x_434 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_434, 0, x_430); -lean_ctor_set(x_434, 1, x_433); -x_435 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_435, 0, x_434); -return x_435; +x_432 = l_Lean_Parser_noFirstTokenInfo(x_431); +x_433 = lean_ctor_get(x_430, 1); +lean_inc(x_433); +lean_dec(x_430); +x_434 = lean_box(x_2); +x_435 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn___boxed), 5, 2); +lean_closure_set(x_435, 0, x_434); +lean_closure_set(x_435, 1, x_433); +x_436 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_436, 0, x_432); +lean_ctor_set(x_436, 1, x_435); +x_437 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_437, 0, x_436); +return x_437; } } } case 6: { -lean_object* x_436; lean_object* x_437; -x_436 = lean_ctor_get(x_3, 0); -lean_inc(x_436); +lean_object* x_438; lean_object* x_439; +x_438 = lean_ctor_get(x_3, 0); +lean_inc(x_438); lean_dec(x_3); -x_437 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_436); -if (lean_obj_tag(x_437) == 0) +x_439 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_438); +if (lean_obj_tag(x_439) == 0) { -uint8_t x_438; -x_438 = !lean_is_exclusive(x_437); -if (x_438 == 0) +uint8_t x_440; +x_440 = !lean_is_exclusive(x_439); +if (x_440 == 0) { -return x_437; +return x_439; } else { -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_437, 0); -lean_inc(x_439); -lean_dec(x_437); -x_440 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_440, 0, x_439); -return x_440; +lean_object* x_441; lean_object* x_442; +x_441 = lean_ctor_get(x_439, 0); +lean_inc(x_441); +lean_dec(x_439); +x_442 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_442, 0, x_441); +return x_442; } } else { -uint8_t x_441; -x_441 = !lean_is_exclusive(x_437); -if (x_441 == 0) -{ -lean_object* x_442; uint8_t x_443; -x_442 = lean_ctor_get(x_437, 0); -x_443 = !lean_is_exclusive(x_442); +uint8_t x_443; +x_443 = !lean_is_exclusive(x_439); if (x_443 == 0) { -lean_object* x_444; uint8_t x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_444 = lean_ctor_get(x_442, 1); -x_445 = 0; -x_446 = lean_box(x_2); -x_447 = lean_box(x_445); -x_448 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); -lean_closure_set(x_448, 0, x_446); -lean_closure_set(x_448, 1, x_444); -lean_closure_set(x_448, 2, x_447); -lean_ctor_set(x_442, 1, x_448); -return x_437; +lean_object* x_444; uint8_t x_445; +x_444 = lean_ctor_get(x_439, 0); +x_445 = !lean_is_exclusive(x_444); +if (x_445 == 0) +{ +lean_object* x_446; uint8_t x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +x_446 = lean_ctor_get(x_444, 1); +x_447 = 0; +x_448 = lean_box(x_2); +x_449 = lean_box(x_447); +x_450 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); +lean_closure_set(x_450, 0, x_448); +lean_closure_set(x_450, 1, x_446); +lean_closure_set(x_450, 2, x_449); +lean_ctor_set(x_444, 1, x_450); +return x_439; } else { -lean_object* x_449; lean_object* x_450; uint8_t x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_449 = lean_ctor_get(x_442, 0); -x_450 = lean_ctor_get(x_442, 1); -lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_442); -x_451 = 0; -x_452 = lean_box(x_2); -x_453 = lean_box(x_451); -x_454 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); -lean_closure_set(x_454, 0, x_452); -lean_closure_set(x_454, 1, x_450); -lean_closure_set(x_454, 2, x_453); -x_455 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_455, 0, x_449); -lean_ctor_set(x_455, 1, x_454); -lean_ctor_set(x_437, 0, x_455); -return x_437; +lean_object* x_451; lean_object* x_452; uint8_t x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; +x_451 = lean_ctor_get(x_444, 0); +x_452 = lean_ctor_get(x_444, 1); +lean_inc(x_452); +lean_inc(x_451); +lean_dec(x_444); +x_453 = 0; +x_454 = lean_box(x_2); +x_455 = lean_box(x_453); +x_456 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); +lean_closure_set(x_456, 0, x_454); +lean_closure_set(x_456, 1, x_452); +lean_closure_set(x_456, 2, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_451); +lean_ctor_set(x_457, 1, x_456); +lean_ctor_set(x_439, 0, x_457); +return x_439; } } else { -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_456 = lean_ctor_get(x_437, 0); -lean_inc(x_456); -lean_dec(x_437); -x_457 = lean_ctor_get(x_456, 0); -lean_inc(x_457); -x_458 = lean_ctor_get(x_456, 1); +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_458 = lean_ctor_get(x_439, 0); lean_inc(x_458); -if (lean_is_exclusive(x_456)) { - lean_ctor_release(x_456, 0); - lean_ctor_release(x_456, 1); - x_459 = x_456; +lean_dec(x_439); +x_459 = lean_ctor_get(x_458, 0); +lean_inc(x_459); +x_460 = lean_ctor_get(x_458, 1); +lean_inc(x_460); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + x_461 = x_458; } else { - lean_dec_ref(x_456); - x_459 = lean_box(0); + lean_dec_ref(x_458); + x_461 = lean_box(0); } -x_460 = 0; -x_461 = lean_box(x_2); -x_462 = lean_box(x_460); -x_463 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); -lean_closure_set(x_463, 0, x_461); -lean_closure_set(x_463, 1, x_458); -lean_closure_set(x_463, 2, x_462); -if (lean_is_scalar(x_459)) { - x_464 = lean_alloc_ctor(0, 2, 0); +x_462 = 0; +x_463 = lean_box(x_2); +x_464 = lean_box(x_462); +x_465 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn___boxed), 6, 3); +lean_closure_set(x_465, 0, x_463); +lean_closure_set(x_465, 1, x_460); +lean_closure_set(x_465, 2, x_464); +if (lean_is_scalar(x_461)) { + x_466 = lean_alloc_ctor(0, 2, 0); } else { - x_464 = x_459; + x_466 = x_461; } -lean_ctor_set(x_464, 0, x_457); -lean_ctor_set(x_464, 1, x_463); -x_465 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_465, 0, x_464); -return x_465; +lean_ctor_set(x_466, 0, x_459); +lean_ctor_set(x_466, 1, x_465); +x_467 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_467, 0, x_466); +return x_467; } } } case 7: { -lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_466 = lean_ctor_get(x_3, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_3, 1); -lean_inc(x_467); +lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_468 = lean_ctor_get(x_3, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_3, 1); +lean_inc(x_469); lean_dec(x_3); lean_inc(x_1); -x_468 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_466); -if (lean_obj_tag(x_468) == 0) +x_470 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_468); +if (lean_obj_tag(x_470) == 0) { -uint8_t x_469; -lean_dec(x_467); +uint8_t x_471; +lean_dec(x_469); lean_dec(x_1); -x_469 = !lean_is_exclusive(x_468); -if (x_469 == 0) +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) { -return x_468; -} -else -{ -lean_object* x_470; lean_object* x_471; -x_470 = lean_ctor_get(x_468, 0); -lean_inc(x_470); -lean_dec(x_468); -x_471 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_471, 0, x_470); -return x_471; -} +return x_470; } else { lean_object* x_472; lean_object* x_473; -x_472 = lean_ctor_get(x_468, 0); +x_472 = lean_ctor_get(x_470, 0); lean_inc(x_472); -lean_dec(x_468); -x_473 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_467); -if (lean_obj_tag(x_473) == 0) -{ -uint8_t x_474; -lean_dec(x_472); -x_474 = !lean_is_exclusive(x_473); -if (x_474 == 0) -{ +lean_dec(x_470); +x_473 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_473, 0, x_472); return x_473; } +} else { -lean_object* x_475; lean_object* x_476; -x_475 = lean_ctor_get(x_473, 0); -lean_inc(x_475); -lean_dec(x_473); -x_476 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_476, 0, x_475); -return x_476; +lean_object* x_474; lean_object* x_475; +x_474 = lean_ctor_get(x_470, 0); +lean_inc(x_474); +lean_dec(x_470); +x_475 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_469); +if (lean_obj_tag(x_475) == 0) +{ +uint8_t x_476; +lean_dec(x_474); +x_476 = !lean_is_exclusive(x_475); +if (x_476 == 0) +{ +return x_475; +} +else +{ +lean_object* x_477; lean_object* x_478; +x_477 = lean_ctor_get(x_475, 0); +lean_inc(x_477); +lean_dec(x_475); +x_478 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_478, 0, x_477); +return x_478; } } else { -uint8_t x_477; -x_477 = !lean_is_exclusive(x_473); -if (x_477 == 0) +uint8_t x_479; +x_479 = !lean_is_exclusive(x_475); +if (x_479 == 0) { -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; uint8_t x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; -x_478 = lean_ctor_get(x_473, 0); -x_479 = lean_ctor_get(x_472, 0); -lean_inc(x_479); -x_480 = lean_ctor_get(x_478, 0); -lean_inc(x_480); -x_481 = l_Lean_Parser_sepByInfo(x_479, x_480); -x_482 = lean_ctor_get(x_472, 1); +lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; uint8_t x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_480 = lean_ctor_get(x_475, 0); +x_481 = lean_ctor_get(x_474, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_480, 0); lean_inc(x_482); -lean_dec(x_472); -x_483 = lean_ctor_get(x_478, 1); -lean_inc(x_483); -lean_dec(x_478); -x_484 = 0; -x_485 = lean_box(x_2); -x_486 = lean_box(x_484); -x_487 = lean_alloc_closure((void*)(l_Lean_Parser_sepByFn___boxed), 7, 4); -lean_closure_set(x_487, 0, x_485); -lean_closure_set(x_487, 1, x_486); -lean_closure_set(x_487, 2, x_482); -lean_closure_set(x_487, 3, x_483); -x_488 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_488, 0, x_481); -lean_ctor_set(x_488, 1, x_487); -lean_ctor_set(x_473, 0, x_488); -return x_473; +x_483 = l_Lean_Parser_sepByInfo(x_481, x_482); +x_484 = lean_ctor_get(x_474, 1); +lean_inc(x_484); +lean_dec(x_474); +x_485 = lean_ctor_get(x_480, 1); +lean_inc(x_485); +lean_dec(x_480); +x_486 = 0; +x_487 = lean_box(x_2); +x_488 = lean_box(x_486); +x_489 = lean_alloc_closure((void*)(l_Lean_Parser_sepByFn___boxed), 7, 4); +lean_closure_set(x_489, 0, x_487); +lean_closure_set(x_489, 1, x_488); +lean_closure_set(x_489, 2, x_484); +lean_closure_set(x_489, 3, x_485); +x_490 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_490, 0, x_483); +lean_ctor_set(x_490, 1, x_489); +lean_ctor_set(x_475, 0, x_490); +return x_475; } else { -lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_489 = lean_ctor_get(x_473, 0); -lean_inc(x_489); -lean_dec(x_473); -x_490 = lean_ctor_get(x_472, 0); -lean_inc(x_490); -x_491 = lean_ctor_get(x_489, 0); +lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; uint8_t x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; +x_491 = lean_ctor_get(x_475, 0); lean_inc(x_491); -x_492 = l_Lean_Parser_sepByInfo(x_490, x_491); -x_493 = lean_ctor_get(x_472, 1); +lean_dec(x_475); +x_492 = lean_ctor_get(x_474, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_491, 0); lean_inc(x_493); -lean_dec(x_472); -x_494 = lean_ctor_get(x_489, 1); -lean_inc(x_494); -lean_dec(x_489); -x_495 = 0; -x_496 = lean_box(x_2); -x_497 = lean_box(x_495); -x_498 = lean_alloc_closure((void*)(l_Lean_Parser_sepByFn___boxed), 7, 4); -lean_closure_set(x_498, 0, x_496); -lean_closure_set(x_498, 1, x_497); -lean_closure_set(x_498, 2, x_493); -lean_closure_set(x_498, 3, x_494); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_492); -lean_ctor_set(x_499, 1, x_498); -x_500 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_500, 0, x_499); -return x_500; +x_494 = l_Lean_Parser_sepByInfo(x_492, x_493); +x_495 = lean_ctor_get(x_474, 1); +lean_inc(x_495); +lean_dec(x_474); +x_496 = lean_ctor_get(x_491, 1); +lean_inc(x_496); +lean_dec(x_491); +x_497 = 0; +x_498 = lean_box(x_2); +x_499 = lean_box(x_497); +x_500 = lean_alloc_closure((void*)(l_Lean_Parser_sepByFn___boxed), 7, 4); +lean_closure_set(x_500, 0, x_498); +lean_closure_set(x_500, 1, x_499); +lean_closure_set(x_500, 2, x_495); +lean_closure_set(x_500, 3, x_496); +x_501 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_501, 0, x_494); +lean_ctor_set(x_501, 1, x_500); +x_502 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_502, 0, x_501); +return x_502; } } } } case 8: { -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_3, 0); -lean_inc(x_501); -x_502 = lean_ctor_get(x_3, 1); -lean_inc(x_502); +lean_object* x_503; lean_object* x_504; lean_object* x_505; +x_503 = lean_ctor_get(x_3, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_3, 1); +lean_inc(x_504); lean_dec(x_3); lean_inc(x_1); -x_503 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_501); -if (lean_obj_tag(x_503) == 0) +x_505 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_503); +if (lean_obj_tag(x_505) == 0) { -uint8_t x_504; -lean_dec(x_502); +uint8_t x_506; +lean_dec(x_504); lean_dec(x_1); -x_504 = !lean_is_exclusive(x_503); -if (x_504 == 0) +x_506 = !lean_is_exclusive(x_505); +if (x_506 == 0) { -return x_503; -} -else -{ -lean_object* x_505; lean_object* x_506; -x_505 = lean_ctor_get(x_503, 0); -lean_inc(x_505); -lean_dec(x_503); -x_506 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_506, 0, x_505); -return x_506; -} +return x_505; } else { lean_object* x_507; lean_object* x_508; -x_507 = lean_ctor_get(x_503, 0); +x_507 = lean_ctor_get(x_505, 0); lean_inc(x_507); -lean_dec(x_503); -x_508 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_502); -if (lean_obj_tag(x_508) == 0) -{ -uint8_t x_509; -lean_dec(x_507); -x_509 = !lean_is_exclusive(x_508); -if (x_509 == 0) -{ +lean_dec(x_505); +x_508 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_508, 0, x_507); return x_508; } +} else { -lean_object* x_510; lean_object* x_511; -x_510 = lean_ctor_get(x_508, 0); -lean_inc(x_510); -lean_dec(x_508); -x_511 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_511, 0, x_510); -return x_511; +lean_object* x_509; lean_object* x_510; +x_509 = lean_ctor_get(x_505, 0); +lean_inc(x_509); +lean_dec(x_505); +x_510 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_504); +if (lean_obj_tag(x_510) == 0) +{ +uint8_t x_511; +lean_dec(x_509); +x_511 = !lean_is_exclusive(x_510); +if (x_511 == 0) +{ +return x_510; +} +else +{ +lean_object* x_512; lean_object* x_513; +x_512 = lean_ctor_get(x_510, 0); +lean_inc(x_512); +lean_dec(x_510); +x_513 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_513, 0, x_512); +return x_513; } } else { -uint8_t x_512; -x_512 = !lean_is_exclusive(x_508); -if (x_512 == 0) +uint8_t x_514; +x_514 = !lean_is_exclusive(x_510); +if (x_514 == 0) { -lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -x_513 = lean_ctor_get(x_508, 0); -x_514 = lean_ctor_get(x_507, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_513, 0); -lean_inc(x_515); -x_516 = l_Lean_Parser_sepBy1Info(x_514, x_515); -x_517 = lean_ctor_get(x_507, 1); +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; uint8_t x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_515 = lean_ctor_get(x_510, 0); +x_516 = lean_ctor_get(x_509, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_515, 0); lean_inc(x_517); -lean_dec(x_507); -x_518 = lean_ctor_get(x_513, 1); -lean_inc(x_518); -lean_dec(x_513); -x_519 = 0; -x_520 = lean_box(x_2); -x_521 = lean_box(x_519); -x_522 = lean_box(x_519); -x_523 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1Fn___boxed), 8, 5); -lean_closure_set(x_523, 0, x_520); -lean_closure_set(x_523, 1, x_521); -lean_closure_set(x_523, 2, x_517); -lean_closure_set(x_523, 3, x_518); -lean_closure_set(x_523, 4, x_522); -x_524 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_524, 0, x_516); -lean_ctor_set(x_524, 1, x_523); -lean_ctor_set(x_508, 0, x_524); -return x_508; +x_518 = l_Lean_Parser_sepBy1Info(x_516, x_517); +x_519 = lean_ctor_get(x_509, 1); +lean_inc(x_519); +lean_dec(x_509); +x_520 = lean_ctor_get(x_515, 1); +lean_inc(x_520); +lean_dec(x_515); +x_521 = 0; +x_522 = lean_box(x_2); +x_523 = lean_box(x_521); +x_524 = lean_box(x_521); +x_525 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1Fn___boxed), 8, 5); +lean_closure_set(x_525, 0, x_522); +lean_closure_set(x_525, 1, x_523); +lean_closure_set(x_525, 2, x_519); +lean_closure_set(x_525, 3, x_520); +lean_closure_set(x_525, 4, x_524); +x_526 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_526, 0, x_518); +lean_ctor_set(x_526, 1, x_525); +lean_ctor_set(x_510, 0, x_526); +return x_510; } else { -lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; uint8_t 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_525 = lean_ctor_get(x_508, 0); -lean_inc(x_525); -lean_dec(x_508); -x_526 = lean_ctor_get(x_507, 0); -lean_inc(x_526); -x_527 = lean_ctor_get(x_525, 0); +lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; uint8_t 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; +x_527 = lean_ctor_get(x_510, 0); lean_inc(x_527); -x_528 = l_Lean_Parser_sepBy1Info(x_526, x_527); -x_529 = lean_ctor_get(x_507, 1); +lean_dec(x_510); +x_528 = lean_ctor_get(x_509, 0); +lean_inc(x_528); +x_529 = lean_ctor_get(x_527, 0); lean_inc(x_529); -lean_dec(x_507); -x_530 = lean_ctor_get(x_525, 1); -lean_inc(x_530); -lean_dec(x_525); -x_531 = 0; -x_532 = lean_box(x_2); -x_533 = lean_box(x_531); -x_534 = lean_box(x_531); -x_535 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1Fn___boxed), 8, 5); -lean_closure_set(x_535, 0, x_532); -lean_closure_set(x_535, 1, x_533); -lean_closure_set(x_535, 2, x_529); -lean_closure_set(x_535, 3, x_530); -lean_closure_set(x_535, 4, x_534); -x_536 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_536, 0, x_528); -lean_ctor_set(x_536, 1, x_535); -x_537 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_537, 0, x_536); -return x_537; +x_530 = l_Lean_Parser_sepBy1Info(x_528, x_529); +x_531 = lean_ctor_get(x_509, 1); +lean_inc(x_531); +lean_dec(x_509); +x_532 = lean_ctor_get(x_527, 1); +lean_inc(x_532); +lean_dec(x_527); +x_533 = 0; +x_534 = lean_box(x_2); +x_535 = lean_box(x_533); +x_536 = lean_box(x_533); +x_537 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1Fn___boxed), 8, 5); +lean_closure_set(x_537, 0, x_534); +lean_closure_set(x_537, 1, x_535); +lean_closure_set(x_537, 2, x_531); +lean_closure_set(x_537, 3, x_532); +lean_closure_set(x_537, 4, x_536); +x_538 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_538, 0, x_530); +lean_ctor_set(x_538, 1, x_537); +x_539 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_539, 0, x_538); +return x_539; } } } } case 9: { -lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_538 = lean_ctor_get(x_3, 0); -lean_inc(x_538); -x_539 = lean_ctor_get(x_3, 1); -lean_inc(x_539); +lean_object* x_540; lean_object* x_541; lean_object* x_542; +x_540 = lean_ctor_get(x_3, 0); +lean_inc(x_540); +x_541 = lean_ctor_get(x_3, 1); +lean_inc(x_541); lean_dec(x_3); -x_540 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_539); -if (lean_obj_tag(x_540) == 0) +x_542 = l_Lean_Parser_compileParserDescr___main(x_1, x_2, x_541); +if (lean_obj_tag(x_542) == 0) { -uint8_t x_541; -lean_dec(x_538); -x_541 = !lean_is_exclusive(x_540); -if (x_541 == 0) -{ -return x_540; -} -else -{ -lean_object* x_542; lean_object* x_543; -x_542 = lean_ctor_get(x_540, 0); -lean_inc(x_542); +uint8_t x_543; lean_dec(x_540); -x_543 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_543, 0, x_542); -return x_543; +x_543 = !lean_is_exclusive(x_542); +if (x_543 == 0) +{ +return x_542; +} +else +{ +lean_object* x_544; lean_object* x_545; +x_544 = lean_ctor_get(x_542, 0); +lean_inc(x_544); +lean_dec(x_542); +x_545 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_545, 0, x_544); +return x_545; } } else { -uint8_t x_544; -x_544 = !lean_is_exclusive(x_540); -if (x_544 == 0) +uint8_t x_546; +x_546 = !lean_is_exclusive(x_542); +if (x_546 == 0) { -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_545 = lean_ctor_get(x_540, 0); -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -lean_inc(x_538); -x_547 = l_Lean_Parser_nodeInfo(x_538, x_546); -x_548 = lean_ctor_get(x_545, 1); +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; +x_547 = lean_ctor_get(x_542, 0); +x_548 = lean_ctor_get(x_547, 0); lean_inc(x_548); -lean_dec(x_545); -x_549 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_549, 0, x_538); -lean_closure_set(x_549, 1, x_548); -x_550 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_550, 0, x_547); -lean_ctor_set(x_550, 1, x_549); -lean_ctor_set(x_540, 0, x_550); -return x_540; +lean_inc(x_540); +x_549 = l_Lean_Parser_nodeInfo(x_540, x_548); +x_550 = lean_ctor_get(x_547, 1); +lean_inc(x_550); +lean_dec(x_547); +x_551 = lean_box(x_2); +x_552 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_552, 0, x_551); +lean_closure_set(x_552, 1, x_540); +lean_closure_set(x_552, 2, x_550); +x_553 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_553, 0, x_549); +lean_ctor_set(x_553, 1, x_552); +lean_ctor_set(x_542, 0, x_553); +return x_542; } else { -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; -x_551 = lean_ctor_get(x_540, 0); -lean_inc(x_551); -lean_dec(x_540); -x_552 = lean_ctor_get(x_551, 0); -lean_inc(x_552); -lean_inc(x_538); -x_553 = l_Lean_Parser_nodeInfo(x_538, x_552); -x_554 = lean_ctor_get(x_551, 1); +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; +x_554 = lean_ctor_get(x_542, 0); lean_inc(x_554); -lean_dec(x_551); -x_555 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_555, 0, x_538); -lean_closure_set(x_555, 1, x_554); -x_556 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_556, 0, x_553); -lean_ctor_set(x_556, 1, x_555); -x_557 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_557, 0, x_556); -return x_557; +lean_dec(x_542); +x_555 = lean_ctor_get(x_554, 0); +lean_inc(x_555); +lean_inc(x_540); +x_556 = l_Lean_Parser_nodeInfo(x_540, x_555); +x_557 = lean_ctor_get(x_554, 1); +lean_inc(x_557); +lean_dec(x_554); +x_558 = lean_box(x_2); +x_559 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_559, 0, x_558); +lean_closure_set(x_559, 1, x_540); +lean_closure_set(x_559, 2, x_557); +x_560 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_560, 0, x_556); +lean_ctor_set(x_560, 1, x_559); +x_561 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_561, 0, x_560); +return x_561; } } } case 10: { -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_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_dec(x_1); -x_558 = lean_ctor_get(x_3, 0); -lean_inc(x_558); -x_559 = lean_ctor_get(x_3, 1); -lean_inc(x_559); +x_562 = lean_ctor_get(x_3, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_3, 1); +lean_inc(x_563); lean_dec(x_3); -x_560 = l_String_trim(x_558); -lean_dec(x_558); -lean_inc(x_560); -x_561 = l_Lean_Parser_symbolInfo(x_560, x_559); -x_562 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); -lean_closure_set(x_562, 0, x_560); -x_563 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_563, 0, x_561); -lean_ctor_set(x_563, 1, x_562); -x_564 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_564, 0, x_563); -return x_564; -} -case 12: -{ -lean_object* x_565; lean_object* x_566; -lean_dec(x_3); -lean_dec(x_1); -x_565 = l_Lean_Parser_numLit(x_2); -x_566 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_566, 0, x_565); -return x_566; -} -case 13: -{ -lean_object* x_567; lean_object* x_568; -lean_dec(x_3); -lean_dec(x_1); -x_567 = l_Lean_Parser_strLit(x_2); +x_564 = l_String_trim(x_562); +lean_dec(x_562); +lean_inc(x_564); +x_565 = l_Lean_Parser_symbolInfo(x_564, x_563); +x_566 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); +lean_closure_set(x_566, 0, x_564); +x_567 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_567, 0, x_565); +lean_ctor_set(x_567, 1, x_566); x_568 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_568, 0, x_567); return x_568; } -case 14: +case 12: { lean_object* x_569; lean_object* x_570; lean_dec(x_3); lean_dec(x_1); -x_569 = l_Lean_Parser_charLit(x_2); +x_569 = l_Lean_Parser_numLit(x_2); x_570 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_570, 0, x_569); return x_570; } -case 15: +case 13: { lean_object* x_571; lean_object* x_572; lean_dec(x_3); lean_dec(x_1); -x_571 = l_Lean_Parser_nameLit(x_2); +x_571 = l_Lean_Parser_strLit(x_2); x_572 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_572, 0, x_571); return x_572; } -case 16: +case 14: { lean_object* x_573; lean_object* x_574; lean_dec(x_3); lean_dec(x_1); -x_573 = l_Lean_Parser_ident(x_2); +x_573 = l_Lean_Parser_charLit(x_2); x_574 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_574, 0, x_573); return x_574; } +case 15: +{ +lean_object* x_575; lean_object* x_576; +lean_dec(x_3); +lean_dec(x_1); +x_575 = l_Lean_Parser_nameLit(x_2); +x_576 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_576, 0, x_575); +return x_576; +} +case 16: +{ +lean_object* x_577; lean_object* x_578; +lean_dec(x_3); +lean_dec(x_1); +x_577 = l_Lean_Parser_ident(x_2); +x_578 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_578, 0, x_577); +return x_578; +} case 17: { -lean_object* x_575; +lean_object* x_579; lean_dec(x_1); -x_575 = l_Lean_Parser_compileParserDescr___main___closed__1; -return x_575; +x_579 = l_Lean_Parser_compileParserDescr___main___closed__1; +return x_579; } default: { -lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_576 = lean_ctor_get(x_3, 0); -lean_inc(x_576); -x_577 = lean_ctor_get(x_3, 1); -lean_inc(x_577); +lean_object* x_580; lean_object* x_581; lean_object* x_582; +x_580 = lean_ctor_get(x_3, 0); +lean_inc(x_580); +x_581 = lean_ctor_get(x_3, 1); +lean_inc(x_581); lean_dec(x_3); -x_578 = l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(x_1, x_576); -if (lean_obj_tag(x_578) == 0) +x_582 = l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(x_1, x_580); +if (lean_obj_tag(x_582) == 0) { -lean_object* x_579; -lean_dec(x_577); -x_579 = l_Lean_Parser_throwUnknownParserCategory___rarg(x_576); -return x_579; +lean_object* x_583; +lean_dec(x_581); +x_583 = l_Lean_Parser_throwUnknownParserCategory___rarg(x_580); +return x_583; } else { -lean_object* x_580; lean_object* x_581; -lean_dec(x_578); -x_580 = l_Lean_Parser_categoryParser(x_2, x_576, x_577); -x_581 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_581, 0, x_580); -return x_581; +lean_object* x_584; lean_object* x_585; +lean_dec(x_582); +x_584 = l_Lean_Parser_categoryParser(x_2, x_580, x_581); +x_585 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_585, 0, x_584); +return x_585; } } } @@ -34449,7 +34730,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -34476,7 +34757,7 @@ return x_7; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -34515,8 +34796,8 @@ x_15 = lean_ctor_get(x_5, 0); x_16 = lean_ctor_get(x_5, 1); x_17 = lean_ctor_get(x_5, 2); x_18 = lean_ctor_get(x_5, 3); -x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_13); -x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_19, x_6); +x_19 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_15, x_13); +x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_19, x_6); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { @@ -34572,8 +34853,8 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_dec(x_5); -x_32 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_28, x_13); -x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_32, x_6); +x_32 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_28, x_13); +x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_32, x_6); lean_dec(x_32); if (lean_obj_tag(x_33) == 0) { @@ -34684,8 +34965,8 @@ x_63 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_64 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_64, 0, x_63); lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_57); -x_65 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_61, x_56, x_64); -x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_65, x_6); +x_65 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_61, x_56, x_64); +x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_65, x_6); lean_dec(x_65); if (lean_obj_tag(x_66) == 0) { @@ -34745,8 +35026,8 @@ x_78 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_79 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_79, 0, x_78); lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_57); -x_80 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_76, x_56, x_79); -x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_80, x_6); +x_80 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_76, x_56, x_79); +x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_80, x_6); lean_dec(x_80); if (lean_obj_tag(x_81) == 0) { @@ -34977,7 +35258,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -35003,7 +35284,7 @@ x_12 = lean_nat_add(x_4, x_11); lean_dec(x_4); x_13 = lean_unsigned_to_nat(0u); lean_inc(x_1); -x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); +x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); lean_dec(x_10); if (lean_obj_tag(x_14) == 0) { @@ -35045,11 +35326,11 @@ return x_21; } } } -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(x_3); +x_4 = l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(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; @@ -35059,7 +35340,7 @@ x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); return x_8; } else @@ -35087,40 +35368,40 @@ return x_12; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___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_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35934,7 +36215,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial), 1, 0); return x_1; } } @@ -35942,7 +36223,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed), 3, 0); return x_1; } } @@ -35950,7 +36231,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry), 2, 0); return x_1; } } @@ -36176,7 +36457,7 @@ x_4 = l_Lean_PersistentEnvExtension_getState___rarg(x_3, x_1); x_5 = lean_ctor_get(x_4, 2); lean_inc(x_5); lean_dec(x_4); -x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_5, x_2); +x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_5, x_2); return x_6; } } @@ -36212,7 +36493,7 @@ else { lean_object* x_9; lean_dec(x_1); -x_9 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); +x_9 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(x_2); return x_9; } } @@ -36309,7 +36590,7 @@ return x_20; } } } -lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_26__catNameToString(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 1) @@ -36353,7 +36634,7 @@ if (x_6 == 0) { lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_inc(x_1); -x_7 = l___private_Init_Lean_Parser_Parser_25__catNameToString(x_1); +x_7 = l___private_Init_Lean_Parser_Parser_26__catNameToString(x_1); x_8 = lean_box(0); x_9 = 0; x_10 = 0; @@ -36451,7 +36732,7 @@ x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); lean_dec(x_4); lean_inc(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_2); +x_6 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_5, x_2); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -37008,7 +37289,7 @@ lean_dec(x_12); x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_20); +x_21 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_20); lean_dec(x_20); x_22 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_22, 0, x_21); @@ -37275,7 +37556,7 @@ x_6 = l_Lean_Parser_declareBuiltinParser(x_1, x_5, x_2, x_3, x_4); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1() { _start: { lean_object* x_1; @@ -37283,7 +37564,7 @@ x_1 = lean_mk_string("' (`Parser` or `TrailingParser` expected"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -37293,7 +37574,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -37333,7 +37614,7 @@ lean_object* x_28; lean_object* x_29; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; +x_28 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_7); @@ -37812,7 +38093,7 @@ x_19 = l_Lean_Name_toStringWithSep___main(x_18, x_4); x_20 = l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; x_21 = lean_string_append(x_20, x_19); lean_dec(x_19); -x_22 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; +x_22 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1; x_23 = lean_string_append(x_21, x_22); x_24 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_24, 0, x_23); @@ -37845,13 +38126,13 @@ return x_104; } } } -lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed(lean_object* x_1, 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_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -37869,7 +38150,7 @@ _start: { lean_object* x_5; lean_inc(x_2); -x_5 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(x_2, x_3, x_4); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -37877,7 +38158,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); lean_inc(x_1); -x_7 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed), 7, 2); +x_7 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed), 7, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_2); x_8 = l_Lean_Parser_registerBuiltinParserAttribute___closed__1; @@ -37926,7 +38207,7 @@ x_6 = l_Lean_Parser_registerBuiltinParserAttribute(x_1, x_2, x_5, x_4); return x_6; } } -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1() { +lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1() { _start: { lean_object* x_1; @@ -37934,7 +38215,7 @@ x_1 = lean_mk_string("invalid parser '"); return x_1; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37964,7 +38245,7 @@ lean_inc(x_9); lean_dec(x_8); x_10 = l_Lean_Name_toString___closed__1; x_11 = l_Lean_Name_toStringWithSep___main(x_10, x_1); -x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; +x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1; x_13 = lean_string_append(x_12, x_11); lean_dec(x_11); x_14 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -37991,7 +38272,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(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; @@ -38028,7 +38309,7 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_7, 0); lean_inc(x_13); lean_dec(x_7); -x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_13, x_4); +x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_13, x_4); lean_dec(x_13); x_3 = x_9; x_4 = x_14; @@ -38043,7 +38324,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(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; @@ -38069,7 +38350,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -38077,7 +38358,7 @@ if (lean_obj_tag(x_1) == 0) lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); return x_5; } else @@ -38085,21 +38366,21 @@ else lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); return x_8; } } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_1, 0); -x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_3, x_2); +x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_3, x_2); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -38152,7 +38433,7 @@ lean_inc(x_20); x_21 = lean_box(0); x_22 = lean_apply_1(x_20, x_21); lean_inc(x_4); -x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); +x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); if (lean_obj_tag(x_23) == 0) { uint8_t x_24; @@ -38166,7 +38447,7 @@ lean_inc(x_26); lean_dec(x_19); x_27 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_28 = lean_apply_1(x_26, x_27); -x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_28, x_25); +x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_28, x_25); lean_dec(x_28); x_30 = lean_unbox(x_17); lean_inc(x_18); @@ -38218,7 +38499,7 @@ lean_inc(x_39); lean_dec(x_19); x_40 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_41 = lean_apply_1(x_39, x_40); -x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_41, x_37); +x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_41, x_37); lean_dec(x_41); x_43 = lean_unbox(x_17); lean_inc(x_18); @@ -38313,51 +38594,51 @@ return x_63; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___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_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_1, x_2); +x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_1, x_2); +x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___boxed(lean_object* x_1, 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_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -38366,7 +38647,7 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object* x_1, _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } @@ -38416,7 +38697,7 @@ x_5 = l_Lean_registerBuiltinAttribute(x_4, x_3); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -38424,23 +38705,23 @@ x_1 = lean_mk_string("invalid parser attribute implementation builder arguments" return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_2; } else @@ -38458,7 +38739,7 @@ if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_dec(x_3); -x_5 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_5 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_5; } else @@ -38492,7 +38773,7 @@ lean_object* x_12; lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_12 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_12 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_12; } } @@ -38502,7 +38783,7 @@ lean_object* x_13; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_13 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_13; } } @@ -38512,13 +38793,13 @@ else lean_object* x_14; lean_dec(x_3); lean_dec(x_1); -x_14 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_14 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_14; } } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1() { _start: { lean_object* x_1; @@ -38526,30 +38807,30 @@ x_1 = lean_mk_string("parserAttr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1), 1, 0); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; -x_3 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; +x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; +x_3 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3; x_4 = l_Lean_registerAttributeImplBuilder(x_2, x_3, x_1); return x_4; } @@ -38581,7 +38862,7 @@ lean_ctor_set(x_13, 1, x_12); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; +x_15 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; x_16 = l_Lean_registerAttributeOfBuilder(x_8, x_15, x_14, x_9); return x_16; } @@ -39956,16 +40237,16 @@ l_Lean_Parser_rawIdentNoAntiquot___closed__1 = _init_l_Lean_Parser_rawIdentNoAnt lean_mark_persistent(l_Lean_Parser_rawIdentNoAntiquot___closed__1); l_Lean_Parser_identEqFn___rarg___closed__1 = _init_l_Lean_Parser_identEqFn___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_identEqFn___rarg___closed__1); -l_Lean_Parser_quotedSymbolFn___rarg___closed__1 = _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__1(); -lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___rarg___closed__1); -l_Lean_Parser_quotedSymbolFn___rarg___closed__2 = _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__2(); -lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___rarg___closed__2); -l_Lean_Parser_quotedSymbolFn___rarg___closed__3 = _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__3(); -lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___rarg___closed__3); -l_Lean_Parser_quotedSymbolFn___rarg___closed__4 = _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__4(); -lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___rarg___closed__4); -l_Lean_Parser_quotedSymbolFn___rarg___closed__5 = _init_l_Lean_Parser_quotedSymbolFn___rarg___closed__5(); -lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___rarg___closed__5); +l_Lean_Parser_quotedSymbolFn___closed__1 = _init_l_Lean_Parser_quotedSymbolFn___closed__1(); +lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___closed__1); +l_Lean_Parser_quotedSymbolFn___closed__2 = _init_l_Lean_Parser_quotedSymbolFn___closed__2(); +lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___closed__2); +l_Lean_Parser_quotedSymbolFn___closed__3 = _init_l_Lean_Parser_quotedSymbolFn___closed__3(); +lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___closed__3); +l_Lean_Parser_quotedSymbolFn___closed__4 = _init_l_Lean_Parser_quotedSymbolFn___closed__4(); +lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___closed__4); +l_Lean_Parser_quotedSymbolFn___closed__5 = _init_l_Lean_Parser_quotedSymbolFn___closed__5(); +lean_mark_persistent(l_Lean_Parser_quotedSymbolFn___closed__5); l_Lean_Parser_unquotedSymbolFn___rarg___closed__1 = _init_l_Lean_Parser_unquotedSymbolFn___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_unquotedSymbolFn___rarg___closed__1); l_Lean_Parser_longestMatchFn___closed__1 = _init_l_Lean_Parser_longestMatchFn___closed__1(); @@ -40018,58 +40299,80 @@ l_Lean_Parser_dollarSymbol___closed__1 = _init_l_Lean_Parser_dollarSymbol___clos lean_mark_persistent(l_Lean_Parser_dollarSymbol___closed__1); l_Lean_Parser_dollarSymbol___closed__2 = _init_l_Lean_Parser_dollarSymbol___closed__2(); lean_mark_persistent(l_Lean_Parser_dollarSymbol___closed__2); -l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6); -l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7); -l_Lean_Parser_mkAntiquot___closed__1 = _init_l_Lean_Parser_mkAntiquot___closed__1(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__1); -l_Lean_Parser_mkAntiquot___closed__2 = _init_l_Lean_Parser_mkAntiquot___closed__2(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__2); -l_Lean_Parser_mkAntiquot___closed__3 = _init_l_Lean_Parser_mkAntiquot___closed__3(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__3); -l_Lean_Parser_mkAntiquot___closed__4 = _init_l_Lean_Parser_mkAntiquot___closed__4(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__4); -l_Lean_Parser_mkAntiquot___closed__5 = _init_l_Lean_Parser_mkAntiquot___closed__5(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__5); -l_Lean_Parser_mkAntiquot___closed__6 = _init_l_Lean_Parser_mkAntiquot___closed__6(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__6); -l_Lean_Parser_mkAntiquot___closed__7 = _init_l_Lean_Parser_mkAntiquot___closed__7(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__7); -l_Lean_Parser_mkAntiquot___closed__8 = _init_l_Lean_Parser_mkAntiquot___closed__8(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__8); -l_Lean_Parser_mkAntiquot___closed__9 = _init_l_Lean_Parser_mkAntiquot___closed__9(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__9); -l_Lean_Parser_mkAntiquot___closed__10 = _init_l_Lean_Parser_mkAntiquot___closed__10(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__10); -l_Lean_Parser_mkAntiquot___closed__11 = _init_l_Lean_Parser_mkAntiquot___closed__11(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__11); -l_Lean_Parser_mkAntiquot___closed__12 = _init_l_Lean_Parser_mkAntiquot___closed__12(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__12); -l_Lean_Parser_mkAntiquot___closed__13 = _init_l_Lean_Parser_mkAntiquot___closed__13(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__13); -l_Lean_Parser_mkAntiquot___closed__14 = _init_l_Lean_Parser_mkAntiquot___closed__14(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__14); -l_Lean_Parser_mkAntiquot___closed__15 = _init_l_Lean_Parser_mkAntiquot___closed__15(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__15); -l_Lean_Parser_mkAntiquot___closed__16 = _init_l_Lean_Parser_mkAntiquot___closed__16(); -lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__16); +l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_12__noImmediateColon___elambda__1___rarg___closed__1); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6); +l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7); +l_Lean_Parser_mkAntiquotAux___closed__1 = _init_l_Lean_Parser_mkAntiquotAux___closed__1(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__1); +l_Lean_Parser_mkAntiquotAux___closed__2 = _init_l_Lean_Parser_mkAntiquotAux___closed__2(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__2); +l_Lean_Parser_mkAntiquotAux___closed__3 = _init_l_Lean_Parser_mkAntiquotAux___closed__3(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__3); +l_Lean_Parser_mkAntiquotAux___closed__4 = _init_l_Lean_Parser_mkAntiquotAux___closed__4(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__4); +l_Lean_Parser_mkAntiquotAux___closed__5 = _init_l_Lean_Parser_mkAntiquotAux___closed__5(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__5); +l_Lean_Parser_mkAntiquotAux___closed__6 = _init_l_Lean_Parser_mkAntiquotAux___closed__6(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__6); +l_Lean_Parser_mkAntiquotAux___closed__7 = _init_l_Lean_Parser_mkAntiquotAux___closed__7(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__7); +l_Lean_Parser_mkAntiquotAux___closed__8 = _init_l_Lean_Parser_mkAntiquotAux___closed__8(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__8); +l_Lean_Parser_mkAntiquotAux___closed__9 = _init_l_Lean_Parser_mkAntiquotAux___closed__9(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__9); +l_Lean_Parser_mkAntiquotAux___closed__10 = _init_l_Lean_Parser_mkAntiquotAux___closed__10(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__10); +l_Lean_Parser_mkAntiquotAux___closed__11 = _init_l_Lean_Parser_mkAntiquotAux___closed__11(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__11); +l_Lean_Parser_mkAntiquotAux___closed__12 = _init_l_Lean_Parser_mkAntiquotAux___closed__12(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__12); +l_Lean_Parser_mkAntiquotAux___closed__13 = _init_l_Lean_Parser_mkAntiquotAux___closed__13(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__13); +l_Lean_Parser_mkAntiquotAux___closed__14 = _init_l_Lean_Parser_mkAntiquotAux___closed__14(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__14); +l_Lean_Parser_mkAntiquotAux___closed__15 = _init_l_Lean_Parser_mkAntiquotAux___closed__15(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__15); +l_Lean_Parser_mkAntiquotAux___closed__16 = _init_l_Lean_Parser_mkAntiquotAux___closed__16(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__16); +l_Lean_Parser_mkAntiquotAux___closed__17 = _init_l_Lean_Parser_mkAntiquotAux___closed__17(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__17); +l_Lean_Parser_mkAntiquotAux___closed__18 = _init_l_Lean_Parser_mkAntiquotAux___closed__18(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__18); +l_Lean_Parser_mkAntiquotAux___closed__19 = _init_l_Lean_Parser_mkAntiquotAux___closed__19(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__19); +l_Lean_Parser_mkAntiquotAux___closed__20 = _init_l_Lean_Parser_mkAntiquotAux___closed__20(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__20); +l_Lean_Parser_mkAntiquotAux___closed__21 = _init_l_Lean_Parser_mkAntiquotAux___closed__21(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__21); +l_Lean_Parser_mkAntiquotAux___closed__22 = _init_l_Lean_Parser_mkAntiquotAux___closed__22(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__22); +l_Lean_Parser_mkAntiquotAux___closed__23 = _init_l_Lean_Parser_mkAntiquotAux___closed__23(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__23); +l_Lean_Parser_mkAntiquotAux___closed__24 = _init_l_Lean_Parser_mkAntiquotAux___closed__24(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__24); +l_Lean_Parser_mkAntiquotAux___closed__25 = _init_l_Lean_Parser_mkAntiquotAux___closed__25(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__25); +l_Lean_Parser_mkAntiquotAux___closed__26 = _init_l_Lean_Parser_mkAntiquotAux___closed__26(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__26); +l_Lean_Parser_mkAntiquotAux___closed__27 = _init_l_Lean_Parser_mkAntiquotAux___closed__27(); +lean_mark_persistent(l_Lean_Parser_mkAntiquotAux___closed__27); l_Lean_Parser_ident___closed__1 = _init_l_Lean_Parser_ident___closed__1(); lean_mark_persistent(l_Lean_Parser_ident___closed__1); l_Lean_Parser_numLit___closed__1 = _init_l_Lean_Parser_numLit___closed__1(); @@ -40103,30 +40406,30 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Parser_builtinParserCategoriesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_builtinParserCategoriesRef); lean_dec_ref(res); -l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2); +l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1); +l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2); l_Lean_Parser_ParserExtensionState_inhabited___closed__1 = _init_l_Lean_Parser_ParserExtensionState_inhabited___closed__1(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited___closed__1); l_Lean_Parser_ParserExtensionState_inhabited = _init_l_Lean_Parser_ParserExtensionState_inhabited(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2); -l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2); -l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3); +l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1); +l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2); +l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3); +l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1); +l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2); +l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3); l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1 = _init_l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1); +l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1); l_Lean_Parser_compileParserDescr___main___closed__1 = _init_l_Lean_Parser_compileParserDescr___main___closed__1(); lean_mark_persistent(l_Lean_Parser_compileParserDescr___main___closed__1); l_Lean_Parser_mkParserOfConstantUnsafe___closed__1 = _init_l_Lean_Parser_mkParserOfConstantUnsafe___closed__1(); @@ -40209,27 +40512,27 @@ l_Lean_Parser_declareTrailingBuiltinParser___closed__1 = _init_l_Lean_Parser_dec lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__1); l_Lean_Parser_declareTrailingBuiltinParser___closed__2 = _init_l_Lean_Parser_declareTrailingBuiltinParser___closed__2(); lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__2); -l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1); -l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2); +l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1); +l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2); l_Lean_Parser_registerBuiltinParserAttribute___closed__1 = _init_l_Lean_Parser_registerBuiltinParserAttribute___closed__1(); lean_mark_persistent(l_Lean_Parser_registerBuiltinParserAttribute___closed__1); -l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1); +l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1(); +lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1); l_Lean_Parser_mkParserAttributeImpl___closed__1 = _init_l_Lean_Parser_mkParserAttributeImpl___closed__1(); lean_mark_persistent(l_Lean_Parser_mkParserAttributeImpl___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2); -l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3); -res = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_io_mk_world()); +l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1); +l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2); +l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1); +l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2); +l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3); +res = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_regBuiltinTermParserAttr___closed__1 = _init_l_Lean_Parser_regBuiltinTermParserAttr___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Parser/Syntax.c b/stage0/stdlib/Init/Lean/Parser/Syntax.c index 83e6fcc609..9b9130f4e4 100644 --- a/stage0/stdlib/Init/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Init/Lean/Parser/Syntax.c @@ -18,7 +18,7 @@ lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_notation___el lean_object* l_Lean_Parser_Command_macroHead___closed__3; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__6; lean_object* l_Lean_Parser_Syntax_orelse___closed__5; -lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__1; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_str___elambda__1(lean_object*, lean_object*, lean_object*); @@ -39,7 +39,6 @@ lean_object* l_Lean_Parser_Command_mixfixKind___closed__2; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__3; lean_object* l_Lean_Parser_Syntax_many1; lean_object* l_Lean_Parser_Command_notation___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__2; lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix; lean_object* l_Lean_Parser_Command_mixfixSymbol___elambda__1(lean_object*, lean_object*, lean_object*); @@ -47,8 +46,8 @@ lean_object* l_Lean_Parser_Syntax_lookahead___closed__4; lean_object* l_Lean_Parser_Command_macroArgType___closed__4; lean_object* l_Lean_Parser_Syntax_num___closed__5; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Syntax_try___closed__3; -lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__1; extern lean_object* l_Lean_nullKind; extern lean_object* l_Lean_Parser_Tactic_orelse___closed__1; lean_object* l_Lean_Parser_Syntax_paren___closed__6; @@ -66,14 +65,16 @@ lean_object* l_Lean_Parser_Command_macroTailDefault___closed__8; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__7; lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__2; lean_object* l_Lean_Parser_Command_infixr___elambda__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; extern lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__5; lean_object* l_Lean_Parser_Command_macroHead; lean_object* l_Lean_Parser_Syntax_paren___closed__4; -lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_cat___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_cat(lean_object*); +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailTactic___closed__5; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__5; @@ -84,24 +85,23 @@ lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__5; lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Syntax_many___closed__1; lean_object* l_Lean_Parser_Syntax_many___closed__2; lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__6; -lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_str___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_identPrec___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optPrecedence___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Syntax_many(lean_object*); -lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_maxPrec___closed__4; lean_object* l_Lean_Parser_Command_macroTailTactic___closed__3; -lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_prefix; lean_object* l_Lean_Parser_Command_infixr___closed__1; lean_object* l_Lean_Parser_Syntax_lookahead___closed__5; lean_object* l_Lean_Parser_precedence___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_str___closed__3; +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__3; lean_object* l_Lean_Parser_Syntax_sepBy; lean_object* l_Lean_Parser_Syntax_sepBy___closed__5; lean_object* l_Lean_Parser_Syntax_paren; @@ -111,7 +111,6 @@ lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_try(lean_object*); lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_seq___elambda__1___spec__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__3; extern lean_object* l_Lean_Parser_darrow; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__4; lean_object* l_Lean_Parser_Syntax_str___closed__5; @@ -121,13 +120,15 @@ extern lean_object* l_Lean_Parser_Level_num___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__1; +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Syntax_try___closed__7; lean_object* l_Lean_Parser_precedenceLit___closed__2; +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbolFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_cat___closed__2; lean_object* l_Lean_Parser_Command_notation___closed__10; -extern lean_object* l_Lean_Parser_mkAntiquot___closed__4; +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__10; lean_object* l_Lean_Parser_addBuiltinParser(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__1; lean_object* l_Lean_Parser_Command_macroHead___closed__2; @@ -144,22 +145,26 @@ lean_object* l_Lean_Parser_maxPrec___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__2; +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroHead___closed__1; lean_object* l_Lean_Parser_precedence___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__1; lean_object* l_Lean_Parser_optPrecedence; lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__4; +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_identEqFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_infixl___closed__4; -lean_object* l_Lean_Parser_Syntax_many___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Syntax_many___elambda__1(lean_object*); lean_object* l_Lean_Parser_Syntax_paren___closed__3; lean_object* l_Lean_Parser_Command_macroArgType___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_infix; lean_object* l_Lean_Parser_Command_optKind___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; +lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Command_reserve(lean_object*); extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__6; @@ -173,10 +178,10 @@ lean_object* l_Lean_Parser_Syntax_char___closed__2; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__8; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__8; extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__9; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3; lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_sepBy___closed__4; lean_object* l_Lean_Parser_Command_macro___closed__5; -extern lean_object* l_Lean_Parser_mkAntiquot___closed__3; lean_object* l_Lean_Parser_Syntax_str___closed__4; lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_mixfix___closed__4; @@ -200,6 +205,7 @@ lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_paren___closed__1; lean_object* l_Lean_Parser_Command_macroArg; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_infix___closed__4; @@ -240,6 +246,7 @@ lean_object* l_Lean_Parser_Command_macroHead___elambda__1(lean_object*, lean_obj lean_object* l___regBuiltinParser_Lean_Parser_Syntax_lookahead(lean_object*); lean_object* l_Lean_Parser_Command_notation___closed__5; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__4; lean_object* l_Lean_Parser_Command_infix___closed__1; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_macro___elambda__1___spec__1(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_strLitPrec; @@ -297,7 +304,6 @@ extern lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__2; extern lean_object* l_Lean_Parser_Term_namedHole___elambda__1___closed__8; lean_object* l_Lean_Parser_Syntax_paren___closed__5; lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__3; -lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__9; lean_object* l_Lean_Parser_precedence___elambda__1___closed__5; @@ -310,20 +316,22 @@ lean_object* l_Lean_Parser_Syntax_num___closed__1; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macroArgType___closed__5; +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_ident; lean_object* l_Lean_Parser_Syntax_num___closed__4; lean_object* l_Lean_Parser_categoryParserOfStack(uint8_t, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__3; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__6; lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_cat; -extern lean_object* l_Lean_Parser_mkAntiquot___closed__10; lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_char___closed__4; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__3; lean_object* l_Lean_Parser_Syntax_lookahead___closed__3; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_mixfixSymbol___closed__2; lean_object* l_Lean_Parser_Command_macroTailTactic; lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__3; @@ -333,7 +341,6 @@ extern lean_object* l_Lean_Parser_Level_num___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Term_stxQuot___closed__2; lean_object* l_Lean_Parser_Command_infix___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_maxPrec; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Syntax_str(lean_object*); lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__3; extern lean_object* l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__2; @@ -381,7 +388,6 @@ lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_reserve; lean_object* l_Lean_Parser_Syntax_sepBy___closed__1; lean_object* l_Lean_Parser_Command_mixfixKind; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Syntax_ident___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroTailDefault___closed__6; @@ -389,22 +395,20 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_syntaxCat(lean_object*); lean_object* l_Lean_Parser_precedence___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__5; lean_object* l_Lean_Parser_Syntax_many___closed__3; -lean_object* l_Lean_Parser_Syntax_optional___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Syntax_optional___elambda__1(lean_object*); lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_macro___closed__1; +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Command_mixfix___closed__1; lean_object* l_Lean_Parser_Syntax_atom___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_sepBy(lean_object*); lean_object* l_Lean_Parser_Syntax_atom; lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__8; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; -extern lean_object* l_Lean_Parser_mkAntiquot___closed__7; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__1; lean_object* l_Lean_Parser_Command_identPrec___closed__4; lean_object* l_Lean_Parser_Command_syntax___closed__1; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__3; lean_object* l_Lean_Parser_precedence___closed__3; -extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__1; lean_object* l_Lean_Parser_Command_reserve___closed__4; @@ -418,7 +422,8 @@ lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_postfix___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__1; lean_object* l_Lean_Parser_precedence; -lean_object* l_Lean_Parser_quotedSymbolFn___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; lean_object* l_Lean_Parser_precedenceLit___closed__3; lean_object* l_Lean_Parser_Syntax_optional; @@ -437,6 +442,7 @@ lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__8; lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__9; lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__2; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_paren___closed__2; lean_object* l_Lean_Parser_Command_mixfixKind___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_many1___closed__5; @@ -466,6 +472,7 @@ lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Parser_Syntax_cat___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_reserve___closed__6; lean_object* l_Lean_Parser_Syntax_sepBy1___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__2; @@ -473,8 +480,8 @@ lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__3; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_prefix___closed__5; lean_object* l_Lean_Parser_Syntax_many1___closed__3; -lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__2; +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Command_infix___closed__3; lean_object* l_Lean_Parser_Syntax_optional___closed__5; lean_object* l_Lean_Parser_Syntax_ident___closed__4; @@ -489,7 +496,6 @@ lean_object* l_Lean_Parser_Command_macroTailTactic___closed__6; lean_object* l_Lean_Parser_Command_notation___closed__1; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__4; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__8; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); @@ -503,6 +509,7 @@ extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Command_macroTailDefault; lean_object* l_Lean_Parser_Command_mixfix___closed__6; lean_object* l_Lean_Parser_unquotedSymbol(uint8_t); +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_ident___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___closed__1; @@ -541,6 +548,7 @@ lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_mixfixKind___closed__6; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__8; extern lean_object* l_Lean_Level_LevelToFormat_Result_format___main___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Syntax_orelse___closed__2; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_char___closed__3; @@ -606,9 +614,9 @@ lean_object* l_Lean_Parser_Syntax_atom___closed__2; lean_object* l_Lean_Parser_precedence___closed__2; lean_object* l_Lean_Parser_Syntax_char___elambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__13; lean_object* l_Lean_Parser_Command_optKind___closed__3; lean_object* l_Lean_Parser_Command_infixr___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__4; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; @@ -622,7 +630,7 @@ lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_obje lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_try___closed__6; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__1; -extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4; lean_object* l_Lean_Parser_Command_syntax___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_atom(lean_object*); lean_object* l_Lean_Parser_Syntax_optional___closed__2; @@ -631,14 +639,15 @@ lean_object* l_Lean_Parser_Command_mixfixKind___closed__5; lean_object* l_Lean_Parser_Syntax_atom___closed__5; lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macro___closed__4; -lean_object* l_Lean_Parser_Syntax_orelse___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1(lean_object*); lean_object* l_Lean_Parser_Syntax_optional___closed__1; lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_optional(lean_object*); +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__8; -lean_object* l_Lean_Parser_Syntax_many1___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Syntax_many1___elambda__1(lean_object*); lean_object* l_Lean_Parser_Command_syntaxCat; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_char(lean_object*); lean_object* l_Lean_Parser_Command_macroTail; @@ -647,7 +656,6 @@ lean_object* l_Lean_Parser_maxPrec___closed__1; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Command_syntax(lean_object*); lean_object* l_Lean_Parser_Syntax_atom___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__6; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; @@ -664,7 +672,7 @@ lean_object* l_Lean_Parser_precedence___closed__1; lean_object* l_Lean_Parser_Command_macroTail___closed__3; lean_object* l_Lean_Parser_Command_macroTail___closed__1; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__2; -lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__4; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__6; lean_object* l_Lean_Parser_maxPrec___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_infixr___closed__2; @@ -1099,7 +1107,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_mkAntiquot___closed__3; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__3; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -1190,7 +1198,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 2) { @@ -1198,7 +1206,7 @@ lean_object* x_31; lean_object* x_32; uint8_t x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_mkAntiquot___closed__3; +x_32 = l_Lean_Parser_mkAntiquotAux___closed__3; x_33 = lean_string_dec_eq(x_31, x_32); lean_dec(x_31); if (x_33 == 0) @@ -1276,7 +1284,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_precedenceLit; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_mkAntiquot___closed__4; +x_3 = l_Lean_Parser_mkAntiquotAux___closed__4; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -1548,7 +1556,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1568,7 +1576,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = l_Lean_Parser_Syntax_paren___elambda__1___closed__4; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -1639,7 +1647,7 @@ if (lean_obj_tag(x_68) == 0) lean_object* x_69; lean_object* x_70; x_69 = lean_ctor_get(x_67, 0); lean_inc(x_69); -x_70 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_69); +x_70 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_69); lean_dec(x_69); if (lean_obj_tag(x_70) == 2) { @@ -1647,7 +1655,7 @@ lean_object* x_71; lean_object* x_72; uint8_t x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_72 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_73 = lean_string_dec_eq(x_71, x_72); lean_dec(x_71); if (x_73 == 0) @@ -1704,7 +1712,7 @@ if (lean_obj_tag(x_21) == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -x_23 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_22); +x_23 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_22); lean_dec(x_22); if (lean_obj_tag(x_23) == 2) { @@ -1712,7 +1720,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -1851,7 +1859,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Syntax_paren___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -1860,7 +1868,7 @@ lean_object* _init_l_Lean_Parser_Syntax_paren___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Syntax_paren___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -4182,7 +4190,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Syntax_optional___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -4190,103 +4198,112 @@ x_1 = lean_mk_string("optional"); return x_1; } } -lean_object* _init_l_Lean_Parser_Syntax_optional___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__2; -x_2 = l_Lean_Parser_Syntax_optional___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Syntax_optional___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); +x_4 = lean_array_get_size(x_3); lean_dec(x_3); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = l_Lean_Parser_tokenFn(x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 2) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); +lean_dec(x_10); +x_12 = l_Lean_Parser_Term_namedHole___elambda__1___closed__5; +x_13 = lean_string_dec_eq(x_11, x_12); lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Parser_Term_namedHole___elambda__1___closed__5; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; +x_15 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_14, x_6); +x_16 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_4); +lean_dec(x_4); +return x_17; +} +else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_18 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; +x_19 = l_Lean_Parser_ParserState_mkTrailingNode(x_7, x_18, x_4); +lean_dec(x_4); return x_19; } -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_8); -x_20 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_21 = l_Lean_Parser_ParserState_mkNode(x_9, x_20, x_5); -return x_21; -} } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -x_22 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; -x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_22, x_8); -x_24 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_5); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_10); -x_26 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; -x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_26, x_8); -x_28 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_5); +x_20 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; +x_21 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_20, x_6); +x_22 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_4); +lean_dec(x_4); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_8); +x_24 = l_Lean_Parser_Term_namedHole___elambda__1___closed__8; +x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_24, x_6); +x_26 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_25, x_26, x_4); +lean_dec(x_4); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_5); +lean_dec(x_1); +x_28 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; +x_29 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_28, x_4); +lean_dec(x_4); return x_29; } } -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_30 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_6, x_30, x_5); -return x_31; } +lean_object* l_Lean_Parser_Syntax_optional___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_optional___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Syntax_optional___closed__1() { @@ -4313,7 +4330,7 @@ lean_object* _init_l_Lean_Parser_Syntax_optional___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +x_1 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; x_2 = l_Lean_Parser_Syntax_optional___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -4323,7 +4340,7 @@ lean_object* _init_l_Lean_Parser_Syntax_optional___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_optional___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_optional___elambda__1___boxed), 1, 0); return x_1; } } @@ -4347,19 +4364,28 @@ x_1 = l_Lean_Parser_Syntax_optional___closed__5; return x_1; } } +lean_object* l_Lean_Parser_Syntax_optional___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Syntax_optional___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Syntax_optional(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; -x_4 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +x_4 = l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Syntax_optional; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -4367,143 +4393,152 @@ x_1 = lean_mk_string("many"); return x_1; } } -lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__2; -x_2 = l_Lean_Parser_Syntax_many___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___closed__3() { +lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_mkAntiquot___closed__7; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__10; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___closed__4() { +lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_many___elambda__1___closed__3; +x_1 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3; x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___closed__5() { +lean_object* _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Syntax_many___elambda__1___closed__4; +x_2 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Syntax_many___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Syntax_many___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); +x_4 = lean_array_get_size(x_3); lean_dec(x_3); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = l_Lean_Parser_tokenFn(x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 2) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); +lean_dec(x_10); +x_12 = l_Lean_Parser_mkAntiquotAux___closed__10; +x_13 = lean_string_dec_eq(x_11, x_12); lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Parser_mkAntiquot___closed__7; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5; +x_15 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_14, x_6); +x_16 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_4); +lean_dec(x_4); +return x_17; +} +else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = l_Lean_Parser_Syntax_many___elambda__1___closed__5; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_18 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_19 = l_Lean_Parser_ParserState_mkTrailingNode(x_7, x_18, x_4); +lean_dec(x_4); return x_19; } -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_8); -x_20 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_21 = l_Lean_Parser_ParserState_mkNode(x_9, x_20, x_5); -return x_21; -} } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -x_22 = l_Lean_Parser_Syntax_many___elambda__1___closed__5; -x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_22, x_8); -x_24 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_5); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_10); -x_26 = l_Lean_Parser_Syntax_many___elambda__1___closed__5; -x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_26, x_8); -x_28 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_5); +x_20 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5; +x_21 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_20, x_6); +x_22 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_4); +lean_dec(x_4); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_8); +x_24 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5; +x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_24, x_6); +x_26 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_25, x_26, x_4); +lean_dec(x_4); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_5); +lean_dec(x_1); +x_28 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_29 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_28, x_4); +lean_dec(x_4); return x_29; } } -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_30 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_6, x_30, x_5); -return x_31; } +lean_object* l_Lean_Parser_Syntax_many___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Syntax_many___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_2 = l_Lean_Parser_mkAntiquot___closed__10; +x_1 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; +x_2 = l_Lean_Parser_mkAntiquotAux___closed__13; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } @@ -4512,7 +4547,7 @@ lean_object* _init_l_Lean_Parser_Syntax_many___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many___elambda__1___boxed), 1, 0); return x_1; } } @@ -4536,19 +4571,28 @@ x_1 = l_Lean_Parser_Syntax_many___closed__3; return x_1; } } +lean_object* l_Lean_Parser_Syntax_many___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Syntax_many___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Syntax_many(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; -x_4 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; +x_4 = l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Syntax_many; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Syntax_many1___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -4556,103 +4600,112 @@ x_1 = lean_mk_string("many1"); return x_1; } } -lean_object* _init_l_Lean_Parser_Syntax_many1___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__2; -x_2 = l_Lean_Parser_Syntax_many1___elambda__1___closed__1; +x_2 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Syntax_many1___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); +x_4 = lean_array_get_size(x_3); lean_dec(x_3); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = l_Lean_Parser_tokenFn(x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 2) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); +lean_dec(x_10); +x_12 = l_Lean_Parser_Level_addLit___elambda__1___closed__3; +x_13 = lean_string_dec_eq(x_11, x_12); lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Parser_Level_addLit___elambda__1___closed__3; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_15 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_14, x_6); +x_16 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_4); +lean_dec(x_4); +return x_17; +} +else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_18 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +x_19 = l_Lean_Parser_ParserState_mkTrailingNode(x_7, x_18, x_4); +lean_dec(x_4); return x_19; } -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_8); -x_20 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_21 = l_Lean_Parser_ParserState_mkNode(x_9, x_20, x_5); -return x_21; -} } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_12); -x_22 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_22, x_8); -x_24 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_5); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_10); -x_26 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; -x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_26, x_8); -x_28 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_5); +x_20 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_21 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_20, x_6); +x_22 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_4); +lean_dec(x_4); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_8); +x_24 = l_Lean_Parser_Level_addLit___elambda__1___closed__7; +x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_24, x_6); +x_26 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_25, x_26, x_4); +lean_dec(x_4); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_5); +lean_dec(x_1); +x_28 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; +x_29 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_28, x_4); +lean_dec(x_4); return x_29; } } -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_30 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_6, x_30, x_5); -return x_31; } +lean_object* l_Lean_Parser_Syntax_many1___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many1___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Syntax_many1___closed__1() { @@ -4679,7 +4732,7 @@ lean_object* _init_l_Lean_Parser_Syntax_many1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +x_1 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; x_2 = l_Lean_Parser_Syntax_many1___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -4689,7 +4742,7 @@ lean_object* _init_l_Lean_Parser_Syntax_many1___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many1___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_many1___elambda__1___boxed), 1, 0); return x_1; } } @@ -4713,19 +4766,28 @@ x_1 = l_Lean_Parser_Syntax_many1___closed__5; return x_1; } } +lean_object* l_Lean_Parser_Syntax_many1___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Syntax_many1___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Syntax_many1(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; -x_4 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +x_4 = l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Syntax_many1; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Syntax_orelse___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4735,100 +4797,109 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Syntax_orelse___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); +x_4 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_2); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc(x_1); +x_7 = l_Lean_Parser_tokenFn(x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 2) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_2); -x_16 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_8); -x_20 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; -x_21 = lean_unsigned_to_nat(1u); -x_22 = l_Lean_Parser_categoryParserFn(x_20, x_21, x_2, x_9); -x_23 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_5); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_12); -lean_dec(x_2); -x_25 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_25, x_8); -x_27 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_5); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_10); -lean_dec(x_2); -x_29 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_29, x_8); -x_31 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_5); +x_12 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; +x_13 = lean_string_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_14 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_15 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_14, x_6); +x_16 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_4); +lean_dec(x_4); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +x_18 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Lean_Parser_categoryParserFn(x_18, x_19, x_1, x_7); +x_21 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; +x_22 = l_Lean_Parser_ParserState_mkTrailingNode(x_20, x_21, x_4); +lean_dec(x_4); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_10); +lean_dec(x_1); +x_23 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_23, x_6); +x_25 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; +x_26 = l_Lean_Parser_ParserState_mkTrailingNode(x_24, x_25, x_4); +lean_dec(x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +lean_dec(x_1); +x_27 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_27, x_6); +x_29 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; +x_30 = l_Lean_Parser_ParserState_mkTrailingNode(x_28, x_29, x_4); +lean_dec(x_4); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_5); +lean_dec(x_1); +x_31 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; +x_32 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_31, x_4); +lean_dec(x_4); return x_32; } } -else -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_33 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_34 = l_Lean_Parser_ParserState_mkNode(x_6, x_33, x_5); -return x_34; } +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_orelse___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Syntax_orelse___closed__1() { @@ -4868,7 +4939,7 @@ lean_object* _init_l_Lean_Parser_Syntax_orelse___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +x_1 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; x_2 = l_Lean_Parser_Syntax_orelse___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -4878,7 +4949,7 @@ lean_object* _init_l_Lean_Parser_Syntax_orelse___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_orelse___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Syntax_orelse___elambda__1___boxed), 1, 0); return x_1; } } @@ -4902,13 +4973,22 @@ x_1 = l_Lean_Parser_Syntax_orelse___closed__6; return x_1; } } +lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Syntax_orelse___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Syntax_orelse(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__4; -x_4 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +x_4 = l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1; x_5 = l_Lean_Parser_Syntax_orelse; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -5001,7 +5081,7 @@ return x_9; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_inc(x_8); x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); lean_dec(x_7); @@ -5009,30 +5089,31 @@ x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_array_get_size(x_15); lean_dec(x_15); -x_17 = l_Lean_Parser_quotedSymbolFn___rarg(x_1, x_2, x_14); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) +x_17 = 0; +x_18 = l_Lean_Parser_quotedSymbolFn(x_17, x_1, x_2, x_14); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = l_Lean_Parser_optPrecedence___elambda__1(x_1, x_2, x_17); -x_20 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__2; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_16); -x_22 = l_Lean_Parser_mergeOrElseErrors(x_21, x_11, x_8); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = l_Lean_Parser_optPrecedence___elambda__1(x_1, x_2, x_18); +x_21 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__2; +x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_16); +x_23 = l_Lean_Parser_mergeOrElseErrors(x_22, x_11, x_8); lean_dec(x_8); -return x_22; +return x_23; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_18); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_19); lean_dec(x_2); lean_dec(x_1); -x_23 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__2; -x_24 = l_Lean_Parser_ParserState_mkNode(x_17, x_23, x_16); -x_25 = l_Lean_Parser_mergeOrElseErrors(x_24, x_11, x_8); +x_24 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_18, x_24, x_16); +x_26 = l_Lean_Parser_mergeOrElseErrors(x_25, x_11, x_8); lean_dec(x_8); -return x_25; +return x_26; } } } @@ -5252,7 +5333,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5517,7 +5598,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5782,7 +5863,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6047,7 +6128,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6312,7 +6393,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6876,7 +6957,7 @@ if (lean_obj_tag(x_33) == 0) lean_object* x_34; lean_object* x_35; x_34 = lean_ctor_get(x_32, 0); lean_inc(x_34); -x_35 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_34); +x_35 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_34); lean_dec(x_34); if (lean_obj_tag(x_35) == 2) { @@ -7301,7 +7382,7 @@ if (lean_obj_tag(x_53) == 0) lean_object* x_54; lean_object* x_55; x_54 = lean_ctor_get(x_52, 0); lean_inc(x_54); -x_55 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_54); +x_55 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_54); lean_dec(x_54); if (lean_obj_tag(x_55) == 2) { @@ -7951,7 +8032,7 @@ if (lean_obj_tag(x_41) == 0) lean_object* x_42; lean_object* x_43; x_42 = lean_ctor_get(x_40, 0); lean_inc(x_42); -x_43 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_42); +x_43 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_42); lean_dec(x_42); if (lean_obj_tag(x_43) == 2) { @@ -8062,7 +8143,7 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); -x_29 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_28); +x_29 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_28); lean_dec(x_28); if (lean_obj_tag(x_29) == 2) { @@ -8482,7 +8563,7 @@ if (lean_obj_tag(x_78) == 0) lean_object* x_79; lean_object* x_80; x_79 = lean_ctor_get(x_77, 0); lean_inc(x_79); -x_80 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_79); +x_80 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_79); lean_dec(x_79); if (lean_obj_tag(x_80) == 2) { @@ -8566,7 +8647,7 @@ if (lean_obj_tag(x_58) == 0) lean_object* x_59; lean_object* x_60; x_59 = lean_ctor_get(x_57, 0); lean_inc(x_59); -x_60 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_59); +x_60 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_59); lean_dec(x_59); if (lean_obj_tag(x_60) == 2) { @@ -9010,7 +9091,7 @@ if (lean_obj_tag(x_35) == 0) lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_37 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_36); +x_37 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_36); lean_dec(x_36); if (lean_obj_tag(x_37) == 2) { @@ -9358,7 +9439,7 @@ if (lean_obj_tag(x_76) == 0) lean_object* x_77; lean_object* x_78; x_77 = lean_ctor_get(x_75, 0); lean_inc(x_77); -x_78 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_77); +x_78 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_77); lean_dec(x_77); if (lean_obj_tag(x_78) == 2) { @@ -9424,7 +9505,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -9862,7 +9943,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -10474,7 +10555,7 @@ if (lean_obj_tag(x_26) == 0) lean_object* x_27; lean_object* x_28; x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); -x_28 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_27); +x_28 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_27); lean_dec(x_27); if (lean_obj_tag(x_28) == 2) { @@ -10482,7 +10563,7 @@ lean_object* x_29; lean_object* x_30; uint8_t x_31; x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Parser_mkAntiquot___closed__3; +x_30 = l_Lean_Parser_mkAntiquotAux___closed__3; x_31 = lean_string_dec_eq(x_29, x_30); lean_dec(x_29); if (x_31 == 0) @@ -10576,7 +10657,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macroArgType; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_mkAntiquot___closed__4; +x_3 = l_Lean_Parser_mkAntiquotAux___closed__4; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -11067,7 +11148,7 @@ if (lean_obj_tag(x_73) == 0) lean_object* x_74; lean_object* x_75; x_74 = lean_ctor_get(x_72, 0); lean_inc(x_74); -x_75 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_74); +x_75 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_74); lean_dec(x_74); if (lean_obj_tag(x_75) == 2) { @@ -11141,7 +11222,7 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_13); +x_14 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_13); lean_dec(x_13); if (lean_obj_tag(x_14) == 2) { @@ -11149,7 +11230,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_16 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) @@ -11223,7 +11304,7 @@ if (lean_obj_tag(x_31) == 0) lean_object* x_32; lean_object* x_33; x_32 = lean_ctor_get(x_30, 0); lean_inc(x_32); -x_33 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_32); +x_33 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_32); lean_dec(x_32); if (lean_obj_tag(x_33) == 2) { @@ -11505,7 +11586,7 @@ if (lean_obj_tag(x_94) == 0) lean_object* x_95; lean_object* x_96; x_95 = lean_ctor_get(x_93, 0); lean_inc(x_95); -x_96 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_95); +x_96 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_95); lean_dec(x_95); if (lean_obj_tag(x_96) == 2) { @@ -11570,7 +11651,7 @@ if (lean_obj_tag(x_8) == 0) lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); -x_10 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); lean_dec(x_9); if (lean_obj_tag(x_10) == 2) { @@ -11578,7 +11659,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_12 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_13 = lean_string_dec_eq(x_11, x_12); lean_dec(x_11); if (x_13 == 0) @@ -11729,7 +11810,7 @@ if (lean_obj_tag(x_52) == 0) lean_object* x_53; lean_object* x_54; x_53 = lean_ctor_get(x_51, 0); lean_inc(x_53); -x_54 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_53); +x_54 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_53); lean_dec(x_53); if (lean_obj_tag(x_54) == 2) { @@ -11910,7 +11991,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_stxQuot___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -12006,7 +12087,7 @@ if (lean_obj_tag(x_87) == 0) lean_object* x_88; lean_object* x_89; x_88 = lean_ctor_get(x_86, 0); lean_inc(x_88); -x_89 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_88); +x_89 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_88); lean_dec(x_88); if (lean_obj_tag(x_89) == 2) { @@ -12083,7 +12164,7 @@ if (lean_obj_tag(x_46) == 0) lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_45, 0); lean_inc(x_47); -x_48 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_47); +x_48 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_47); lean_dec(x_47); if (lean_obj_tag(x_48) == 2) { @@ -12203,7 +12284,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_34 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_33); +x_34 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_33); lean_dec(x_33); if (lean_obj_tag(x_34) == 2) { @@ -12211,7 +12292,7 @@ lean_object* x_35; lean_object* x_36; uint8_t x_37; x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_36 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_36 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_37 = lean_string_dec_eq(x_35, x_36); lean_dec(x_35); if (x_37 == 0) @@ -12411,7 +12492,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macroTailDefault___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -12863,7 +12944,7 @@ if (lean_obj_tag(x_43) == 0) lean_object* x_44; lean_object* x_45; x_44 = lean_ctor_get(x_42, 0); lean_inc(x_44); -x_45 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_44); +x_45 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_44); lean_dec(x_44); if (lean_obj_tag(x_45) == 2) { @@ -13529,10 +13610,10 @@ lean_mark_persistent(l_Lean_Parser_Syntax_sepBy1); res = l___regBuiltinParser_Lean_Parser_Syntax_sepBy1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Syntax_optional___elambda__1___closed__1 = _init_l_Lean_Parser_Syntax_optional___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Syntax_optional___elambda__1___closed__1); -l_Lean_Parser_Syntax_optional___elambda__1___closed__2 = _init_l_Lean_Parser_Syntax_optional___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Syntax_optional___elambda__1___closed__2); +l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__1); +l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Syntax_optional___elambda__1___rarg___closed__2); l_Lean_Parser_Syntax_optional___closed__1 = _init_l_Lean_Parser_Syntax_optional___closed__1(); lean_mark_persistent(l_Lean_Parser_Syntax_optional___closed__1); l_Lean_Parser_Syntax_optional___closed__2 = _init_l_Lean_Parser_Syntax_optional___closed__2(); @@ -13548,16 +13629,16 @@ lean_mark_persistent(l_Lean_Parser_Syntax_optional); res = l___regBuiltinParser_Lean_Parser_Syntax_optional(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Syntax_many___elambda__1___closed__1 = _init_l_Lean_Parser_Syntax_many___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___closed__1); -l_Lean_Parser_Syntax_many___elambda__1___closed__2 = _init_l_Lean_Parser_Syntax_many___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___closed__2); -l_Lean_Parser_Syntax_many___elambda__1___closed__3 = _init_l_Lean_Parser_Syntax_many___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___closed__3); -l_Lean_Parser_Syntax_many___elambda__1___closed__4 = _init_l_Lean_Parser_Syntax_many___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___closed__4); -l_Lean_Parser_Syntax_many___elambda__1___closed__5 = _init_l_Lean_Parser_Syntax_many___elambda__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___closed__5); +l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__1); +l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__2); +l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3 = _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__3); +l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4 = _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__4); +l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5 = _init_l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5(); +lean_mark_persistent(l_Lean_Parser_Syntax_many___elambda__1___rarg___closed__5); l_Lean_Parser_Syntax_many___closed__1 = _init_l_Lean_Parser_Syntax_many___closed__1(); lean_mark_persistent(l_Lean_Parser_Syntax_many___closed__1); l_Lean_Parser_Syntax_many___closed__2 = _init_l_Lean_Parser_Syntax_many___closed__2(); @@ -13569,10 +13650,10 @@ lean_mark_persistent(l_Lean_Parser_Syntax_many); res = l___regBuiltinParser_Lean_Parser_Syntax_many(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Syntax_many1___elambda__1___closed__1 = _init_l_Lean_Parser_Syntax_many1___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Syntax_many1___elambda__1___closed__1); -l_Lean_Parser_Syntax_many1___elambda__1___closed__2 = _init_l_Lean_Parser_Syntax_many1___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Syntax_many1___elambda__1___closed__2); +l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__1); +l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Syntax_many1___elambda__1___rarg___closed__2); l_Lean_Parser_Syntax_many1___closed__1 = _init_l_Lean_Parser_Syntax_many1___closed__1(); lean_mark_persistent(l_Lean_Parser_Syntax_many1___closed__1); l_Lean_Parser_Syntax_many1___closed__2 = _init_l_Lean_Parser_Syntax_many1___closed__2(); @@ -13588,8 +13669,8 @@ lean_mark_persistent(l_Lean_Parser_Syntax_many1); res = l___regBuiltinParser_Lean_Parser_Syntax_many1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Syntax_orelse___elambda__1___closed__1 = _init_l_Lean_Parser_Syntax_orelse___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Syntax_orelse___elambda__1___closed__1); +l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Syntax_orelse___elambda__1___rarg___closed__1); l_Lean_Parser_Syntax_orelse___closed__1 = _init_l_Lean_Parser_Syntax_orelse___closed__1(); lean_mark_persistent(l_Lean_Parser_Syntax_orelse___closed__1); l_Lean_Parser_Syntax_orelse___closed__2 = _init_l_Lean_Parser_Syntax_orelse___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Tactic.c b/stage0/stdlib/Init/Lean/Parser/Tactic.c index a32a005377..e3ce83e3f5 100644 --- a/stage0/stdlib/Init/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Init/Lean/Parser/Tactic.c @@ -47,11 +47,14 @@ lean_object* l_Lean_Parser_Tactic_nonEmptySeq___closed__2; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__10; +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_seq; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Tactic_seq___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__3; @@ -86,6 +89,7 @@ lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, l lean_object* l_Lean_Parser_regBuiltinTacticParserAttr(lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_paren___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_underscoreFn___rarg___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__9; lean_object* l_Lean_Parser_Tactic_refine___closed__5; @@ -125,7 +129,6 @@ lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__13; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__11; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__1; -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_tacticStxQuot; lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__6; lean_object* l_Lean_Parser_Tactic_assumption; @@ -185,7 +188,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_apply(lean_object*); lean_object* l_Lean_Parser_Tactic_apply___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_intros___closed__1; -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1(lean_object*); lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__2; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__1; @@ -200,7 +203,6 @@ extern lean_object* l_Lean_Parser_termParser___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___closed__6; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__7; -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Parser_Tactic_exact___closed__3; lean_object* l_Lean_Parser_Tactic_paren___closed__5; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__11; @@ -210,6 +212,7 @@ lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_ident_x27; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_exact___closed__5; +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__2; extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_Lean_Parser_Tactic_paren___closed__3; @@ -234,20 +237,18 @@ lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1(lean_object*, l extern lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_apply; lean_object* l_Lean_Parser_Tactic_assumption___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__7; +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4; lean_object* l_Lean_Parser_Tactic_paren___closed__2; lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_tacticStxQuot___closed__1; extern lean_object* l_Lean_Parser_Term_seq___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__5; -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_orelse; lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__2; @@ -256,12 +257,15 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_tacticStxQuot___closed__2; lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_underscoreFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_refine___closed__1; lean_object* l_Lean_Parser_Tactic_paren___closed__4; +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___closed__2; lean_object* l_Lean_Parser_Tactic_refine___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_exact(lean_object*); @@ -271,24 +275,25 @@ lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_allGoals(lean_object*); lean_object* l_Lean_Parser_Tactic_underscoreFn___rarg___closed__3; lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Tactic_refine___closed__4; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_exact; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__4; +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_case___closed__1; lean_object* l_Lean_Parser_regTacticParserAttribute(lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; lean_object* l_Lean_Parser_Tactic_paren___closed__6; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_underscoreFn___rarg___closed__2; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__6; extern lean_object* l_Lean_Parser_epsilonInfo; -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__4; lean_object* l_Lean_Parser_Tactic_assumption___closed__3; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_tacticBlock___closed__4; lean_object* l_Lean_Parser_Term_tacticBlock___closed__1; @@ -306,6 +311,7 @@ lean_object* l_Lean_Parser_Tactic_intros; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_paren(lean_object*); @@ -341,21 +347,18 @@ lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_skip(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_seq___elambda__1___closed__1; -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_seq___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_skip; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_nonEmptySeq___closed__1; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_orelse(lean_object*); @@ -369,7 +372,6 @@ lean_object* l_Lean_Parser_Tactic_paren; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_intro; lean_object* l_Lean_Parser_tacticParser___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Tactic_refine; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_seq___elambda__1(lean_object*, lean_object*, lean_object*); @@ -377,6 +379,7 @@ lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__3; extern lean_object* l_Lean_ppGoal___closed__7; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__8; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_refine(lean_object*); +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_skip___closed__4; @@ -536,7 +539,7 @@ if (lean_obj_tag(x_5) == 0) lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); -x_15 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_14); +x_15 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_14); lean_dec(x_14); if (lean_obj_tag(x_15) == 2) { @@ -586,7 +589,7 @@ block_13: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); -x_8 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_7); +x_8 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_7); lean_dec(x_7); x_9 = l_Lean_Parser_ParserState_popSyntax(x_6); x_10 = l_Lean_Parser_Tactic_underscoreFn___rarg___closed__4; @@ -772,7 +775,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -3675,7 +3678,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3695,7 +3698,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = l_Lean_Parser_Tactic_paren___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -3766,7 +3769,7 @@ if (lean_obj_tag(x_55) == 0) lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); +x_57 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_56); lean_dec(x_56); if (lean_obj_tag(x_57) == 2) { @@ -3774,7 +3777,7 @@ lean_object* x_58; lean_object* x_59; uint8_t x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_59 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_60 = lean_string_dec_eq(x_58, x_59); lean_dec(x_58); if (x_60 == 0) @@ -3839,7 +3842,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -3847,7 +3850,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -3934,7 +3937,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_nonEmptySeq; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -3943,7 +3946,7 @@ lean_object* _init_l_Lean_Parser_Tactic_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Tactic_paren___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -4213,7 +4216,7 @@ if (lean_obj_tag(x_55) == 0) lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); +x_57 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_56); lean_dec(x_56); if (lean_obj_tag(x_57) == 2) { @@ -4286,7 +4289,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -4582,7 +4585,7 @@ if (lean_obj_tag(x_55) == 0) lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); +x_57 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_56); lean_dec(x_56); if (lean_obj_tag(x_57) == 2) { @@ -4655,7 +4658,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -4827,7 +4830,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4837,7 +4840,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -4846,132 +4849,141 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__3() { +lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__4() { +lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__3; +x_1 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3; x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__5() { +lean_object* _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__4; +x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Tactic_orelse___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); +x_4 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_2); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc(x_1); +x_7 = l_Lean_Parser_tokenFn(x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_9); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 2) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_2); -x_16 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_8); -x_20 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; -x_21 = lean_unsigned_to_nat(1u); -x_22 = l_Lean_Parser_categoryParserFn(x_20, x_21, x_2, x_9); -x_23 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_5); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_12); -lean_dec(x_2); -x_25 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_25, x_8); -x_27 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_5); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_10); -lean_dec(x_2); -x_29 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; -x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_29, x_8); -x_31 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_5); +x_12 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; +x_13 = lean_string_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_14 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_15 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_14, x_6); +x_16 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_4); +lean_dec(x_4); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +x_18 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Lean_Parser_categoryParserFn(x_18, x_19, x_1, x_7); +x_21 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; +x_22 = l_Lean_Parser_ParserState_mkTrailingNode(x_20, x_21, x_4); +lean_dec(x_4); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_10); +lean_dec(x_1); +x_23 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_23, x_6); +x_25 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; +x_26 = l_Lean_Parser_ParserState_mkTrailingNode(x_24, x_25, x_4); +lean_dec(x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_8); +lean_dec(x_1); +x_27 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5; +x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_7, x_27, x_6); +x_29 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; +x_30 = l_Lean_Parser_ParserState_mkTrailingNode(x_28, x_29, x_4); +lean_dec(x_4); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_5); +lean_dec(x_1); +x_31 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; +x_32 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_31, x_4); +lean_dec(x_4); return x_32; } } -else -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_33 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; -x_34 = l_Lean_Parser_ParserState_mkNode(x_6, x_33, x_5); -return x_34; } +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_orelse___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Tactic_orelse___closed__1() { @@ -4979,7 +4991,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } @@ -5021,7 +5033,7 @@ lean_object* _init_l_Lean_Parser_Tactic_orelse___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; +x_1 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; x_2 = l_Lean_Parser_Tactic_orelse___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -5031,7 +5043,7 @@ lean_object* _init_l_Lean_Parser_Tactic_orelse___closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_orelse___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_orelse___elambda__1___boxed), 1, 0); return x_1; } } @@ -5055,13 +5067,22 @@ x_1 = l_Lean_Parser_Tactic_orelse___closed__7; return x_1; } } +lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Tactic_orelse___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Tactic_orelse(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; -x_4 = l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; +x_4 = l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1; x_5 = l_Lean_Parser_Tactic_orelse; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -5171,7 +5192,7 @@ if (lean_obj_tag(x_55) == 0) lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); +x_57 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_56); lean_dec(x_56); if (lean_obj_tag(x_57) == 2) { @@ -5244,7 +5265,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -5500,7 +5521,7 @@ if (lean_obj_tag(x_41) == 0) lean_object* x_42; lean_object* x_43; x_42 = lean_ctor_get(x_40, 0); lean_inc(x_42); -x_43 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_42); +x_43 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_42); lean_dec(x_42); if (lean_obj_tag(x_43) == 2) { @@ -5572,7 +5593,7 @@ if (lean_obj_tag(x_14) == 0) lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); -x_16 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_15); +x_16 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_15); lean_dec(x_15); if (lean_obj_tag(x_16) == 2) { @@ -5580,7 +5601,7 @@ lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_18 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_19 = lean_string_dec_eq(x_17, x_18); lean_dec(x_17); if (x_19 == 0) @@ -5660,7 +5681,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_seq___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -6238,16 +6259,16 @@ lean_mark_persistent(l_Lean_Parser_Tactic_nestedTacticBlockCurly); res = l___regBuiltinParser_Lean_Parser_Tactic_nestedTacticBlockCurly(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Tactic_orelse___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___closed__1); -l_Lean_Parser_Tactic_orelse___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___closed__2); -l_Lean_Parser_Tactic_orelse___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___closed__3); -l_Lean_Parser_Tactic_orelse___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___closed__4); -l_Lean_Parser_Tactic_orelse___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___closed__5); +l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__1); +l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__2); +l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__3); +l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__4); +l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5 = _init_l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_orelse___elambda__1___rarg___closed__5); l_Lean_Parser_Tactic_orelse___closed__1 = _init_l_Lean_Parser_Tactic_orelse___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_orelse___closed__1); l_Lean_Parser_Tactic_orelse___closed__2 = _init_l_Lean_Parser_Tactic_orelse___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Term.c b/stage0/stdlib/Init/Lean/Parser/Term.c index 543aa84789..df1c1a372e 100644 --- a/stage0/stdlib/Init/Lean/Parser/Term.c +++ b/stage0/stdlib/Init/Lean/Parser/Term.c @@ -36,6 +36,7 @@ lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_matchAlts___closed__3; lean_object* l_Lean_Parser_Term_infixL___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dollar___elambda__1___boxed(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_iff(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_suffices(lean_object*); lean_object* l_Lean_Parser_Term_arrayLit___closed__3; @@ -86,10 +87,12 @@ lean_object* l_Lean_Parser_Term_sub___elambda__1(lean_object*, lean_object*, lea lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2(lean_object*, uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_optType___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__8; lean_object* l___regBuiltinParser_Lean_Parser_Term_dollarProj(lean_object*); lean_object* l_Lean_Parser_darrow___elambda__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_tupleTail___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3; lean_object* l_Lean_Parser_Term_binderType___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Term_borrowed___closed__4; lean_object* l_Lean_Parser_Term_bracktedBinder(uint8_t); @@ -105,7 +108,7 @@ lean_object* l_Lean_Parser_Term_inaccessible___closed__2; lean_object* l_Lean_Parser_Term_structInst___closed__1; lean_object* l_Lean_Parser_Term_andM___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_proj; -lean_object* l_Lean_Parser_Term_dollar___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dollar___elambda__1(lean_object*); extern lean_object* l_addParenHeuristic___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_add(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_mapConstRev(lean_object*); @@ -142,7 +145,7 @@ lean_object* l_Lean_Parser_Term_explicit___closed__1; lean_object* l_Lean_Parser_Term_str___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_andthen___closed__3; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_have___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_structInst___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_explicit(lean_object*); @@ -176,6 +179,7 @@ lean_object* l_Lean_Parser_Term_seqLeft___closed__2; lean_object* l_Lean_Parser_Term_namedArgument___closed__5; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show___elambda__1___closed__8; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Term_match; lean_object* l_Lean_Parser_Term_depArrow; lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__1; @@ -209,6 +213,7 @@ lean_object* l_Lean_Parser_Term_simpleBinder___closed__1; lean_object* l_Lean_Parser_Term_do___closed__3; lean_object* l_Lean_Parser_Term_div___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_if___closed__10; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___rarg___closed__5; lean_object* l_Lean_Parser_Term_prop; @@ -236,7 +241,6 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_parenSpecial___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__2; -lean_object* l_Lean_Parser_pushNone(uint8_t); lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8; @@ -248,6 +252,7 @@ lean_object* l_Lean_Parser_Term_doId___closed__5; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_instBinder___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Term_have___closed__3; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_darrow___elambda__1___rarg___closed__6; @@ -283,6 +288,7 @@ extern lean_object* l_Lean_fieldIdxKind___closed__1; lean_object* l_Lean_Parser_Term_subtype___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__4; lean_object* l_Lean_Parser_Term_or___closed__2; +lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__6; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_listLit___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__8; @@ -323,6 +329,7 @@ lean_object* l_Lean_Parser_Term_or___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_match__syntax___closed__3; +lean_object* l_Lean_Parser_Term_arrayRef___closed__8; extern lean_object* l_Lean_Parser_symbolNoWsFn___closed__1; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_bor___elambda__1(lean_object*, lean_object*, lean_object*); @@ -345,7 +352,7 @@ lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_listLit___closed__2; lean_object* l_Lean_Parser_Term_band___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_letPatDecl___closed__8; +lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_if___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_seqRight___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__6; @@ -409,6 +416,7 @@ lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_forall___closed__7; extern lean_object* l_Lean_Syntax_termIdToAntiquot___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_tparser_x21(lean_object*); +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___rarg(lean_object*); lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__3; extern lean_object* l_List_repr___rarg___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_antiquot___closed__1; @@ -475,6 +483,7 @@ lean_object* l_Lean_Parser_Term_borrowed; lean_object* l_Lean_Parser_Term_and___closed__1; lean_object* l_Lean_Parser_Term_paren___closed__7; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__17; +lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__2; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__6; extern lean_object* l_Lean_mkAppStx___closed__8; @@ -612,7 +621,8 @@ lean_object* l_Lean_Parser_Term_match___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__3; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__2; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3; lean_object* l_Lean_Parser_Term_arrow; lean_object* l_Lean_Parser_Term_letIdLhs___closed__5; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__1; @@ -624,6 +634,7 @@ lean_object* l_Lean_Parser_Term_match___closed__6; lean_object* l_Lean_Parser_Term_binderType___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_mapRev___closed__1; lean_object* l_Lean_Parser_Term_do___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -643,7 +654,7 @@ lean_object* l_Lean_Parser_Term_bracketedDoSeq___elambda__1___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_subtype___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_modN___elambda__1___closed__4; -lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_uminus___closed__4; lean_object* l_Lean_Parser_Term_prod; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; @@ -707,7 +718,6 @@ lean_object* l_Lean_Parser_Term_proj___closed__9; lean_object* l_Lean_Parser_Term_parenSpecial___closed__3; lean_object* l_Lean_Parser_Term_ne___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_listLit; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); @@ -845,6 +855,7 @@ lean_object* l_Lean_Parser_andthenFn___rarg(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_Term_show___closed__2; lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_orelse___closed__2; lean_object* l_Lean_Parser_Term_explicitBinder___closed__5; lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,6 +864,7 @@ lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_orM; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_heq; +lean_object* l_Lean_Parser_nodeFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Term_structInst___closed__5; @@ -940,8 +952,8 @@ lean_object* l_Lean_Parser_Term_namedArgument___elambda__1(lean_object*, lean_ob lean_object* l_Lean_Parser_Term_add___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doElem___closed__2; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_or___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Parser_Term_structInstSource___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_seq(lean_object*); lean_object* l_Lean_Parser_Term_sub___elambda__1___closed__3; @@ -961,10 +973,9 @@ lean_object* l_Lean_Parser_Term_fcomp___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__3; lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object*); lean_object* l_Lean_Parser_Term_orM___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object*); -lean_object* l_Lean_Parser_nodeFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_lt___closed__1; lean_object* l_Lean_Parser_Term_bindOp___closed__1; lean_object* l_Lean_Parser_Term_seq; @@ -1016,6 +1027,7 @@ lean_object* l_Lean_Parser_Term_namedHole___elambda__1___closed__3; lean_object* l_Lean_Parser_sepByFn___at_Lean_Parser_Term_listLit___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_char___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitBinder___closed__1; +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Term_dollarProj___closed__1; lean_object* l_Lean_Parser_Term_do; lean_object* l_Lean_Parser_Term_seqRight___closed__3; @@ -1082,7 +1094,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_sort(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_listLit___elambda__1___spec__2___closed__3; lean_object* l_Lean_Parser_Term_id___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_sortApp___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_sortApp___elambda__1(lean_object*); lean_object* l_Lean_Parser_Term_unicodeInfixL(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_structInstSource___closed__6; @@ -1091,6 +1103,7 @@ lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letEqnsDecl; lean_object* l_Lean_Parser_Term_cons___closed__2; lean_object* l_Lean_Parser_Term_dollarProj___closed__2; +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_binderDefault___closed__1; lean_object* l_Lean_Parser_Term_have___closed__8; @@ -1102,8 +1115,8 @@ lean_object* l_Lean_Parser_Term_prop___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_mul(lean_object*); lean_object* l_Lean_Parser_Term_subtype___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letEqnsDecl___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_binderType___elambda__2(lean_object*); +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___boxed(lean_object*); extern lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_bracketedDoSeq___closed__2; lean_object* l_Lean_Parser_Term_andthen; @@ -1120,10 +1133,8 @@ lean_object* l_Lean_Parser_Term_emptyC___closed__1; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_match__syntax___closed__4; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__15(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_show___closed__7; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; extern lean_object* l_Lean_formatEntry___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_have(lean_object*); lean_object* l_Lean_Parser_Term_structInstSource___closed__5; @@ -1133,6 +1144,8 @@ lean_object* l_Lean_Parser_Term_mapRev___elambda__1(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_if___closed__12; lean_object* l_Lean_Parser_Term_forall; lean_object* l___regBuiltinParser_Lean_Parser_Term_str(lean_object*); +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +lean_object* l_Lean_Parser_Term_where___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_map___closed__3; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1(lean_object*, lean_object*, lean_object*); @@ -1150,7 +1163,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_typeAscription___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_have___closed__10; lean_object* l_Lean_Parser_Term_arrayRef___closed__6; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__15; @@ -1159,7 +1171,6 @@ lean_object* l_Lean_Parser_Term_doLet___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_prod(lean_object*); lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_seq___elambda__1___closed__1; -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_fun___closed__8; @@ -1222,7 +1233,9 @@ lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_typeAscription___closed__7; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_nomatch___closed__1; +lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_matchAlt___closed__10; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fcomp___closed__1; @@ -1258,8 +1271,6 @@ lean_object* l_Lean_Parser_Term_haveAssign___closed__6; lean_object* l_Lean_Parser_Term_arrayRef___closed__2; extern lean_object* l_Lean_Parser_appPrec; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__1; -lean_object* l_Lean_Parser_Term_namedArgument___closed__8; -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_sort___closed__3; @@ -1363,6 +1374,7 @@ lean_object* l_Lean_Parser_Term_structInstSource___elambda__1___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_prod___closed__1; lean_object* l_Lean_Parser_Term_subst___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_arrayLit___closed__5; lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_if___closed__5; @@ -1400,6 +1412,7 @@ lean_object* l_Lean_Parser_Term_parser_x21___closed__1; lean_object* l_Lean_Parser_Term_inaccessible___closed__3; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_str___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_Term_let___closed__3; lean_object* l_Lean_Parser_Term_suffices___closed__7; lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__2; @@ -1437,7 +1450,6 @@ lean_object* l_Lean_Parser_darrow___closed__2; lean_object* l_Lean_Parser_Term_show___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_uminus(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_haveAssign___closed__4; lean_object* l_Lean_Parser_Term_seqRight___elambda__1___closed__1; @@ -1473,6 +1485,7 @@ lean_object* l_Lean_Parser_Term_append___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_num___closed__3; lean_object* l_Lean_Parser_Term_letIdDecl___closed__5; lean_object* l_Lean_Parser_Term_match___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_app___closed__5; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__8; @@ -1553,7 +1566,6 @@ lean_object* l_Lean_Parser_Term_subst___closed__1; lean_object* l_Lean_Parser_Term_beq___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_haveAssign; -lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_explicit___closed__6; lean_object* l_Lean_Parser_Term_suffices___closed__5; lean_object* l_Lean_Parser_Term_parser_x21___closed__2; @@ -1572,6 +1584,7 @@ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1 lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__3; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__17(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_haveAssign___closed__5; lean_object* l_Lean_Parser_Term_letIdDecl___closed__1; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__8; @@ -1676,7 +1689,6 @@ lean_object* l_Lean_Parser_mkAntiquot(uint8_t, lean_object*, lean_object*, uint8 lean_object* l_Lean_Parser_Term_dollarProj___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_explicit; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_arrow(lean_object*); lean_object* l_Lean_Parser_Term_modN___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_sortApp(lean_object*); @@ -1743,6 +1755,7 @@ lean_object* l_Lean_Parser_Term_where___closed__3; lean_object* l_Lean_Parser_Term_map___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Term_gt(lean_object*); +lean_object* l_Lean_Parser_Term_app___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_app___closed__2; lean_object* l_Lean_Parser_Term_explicit___closed__5; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__5; @@ -1758,7 +1771,6 @@ lean_object* l_Lean_Parser_Term_borrowed___closed__2; lean_object* l_Lean_Parser_Term_mapRev___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_bindOp___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_suffices; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_mapConstRev; @@ -1777,6 +1789,7 @@ lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_eq___closed__3; lean_object* l_Lean_Parser_Term_add; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_mkAntiquotAux___closed__21; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_proj___elambda__1(lean_object*, lean_object*, lean_object*); @@ -1851,7 +1864,6 @@ lean_object* l_Lean_Parser_Term_and___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10; extern lean_object* l_Lean_Parser_Parser_inhabited___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_tparser_x21___closed__6; lean_object* l_Lean_Parser_Term_doLet; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__7; @@ -1860,7 +1872,6 @@ lean_object* l_Lean_Parser_Term_doExpr; lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_suffices___closed__6; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__7; lean_object* l_Lean_Parser_Term_seq___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__13(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); @@ -1877,10 +1888,10 @@ lean_object* l_Lean_Parser_Term_doId___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*); lean_object* l_Lean_Parser_Term_unicodeInfixR___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_unicodeInfixL___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_subtype___closed__11; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Term_where___closed__10; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_namedArgument___closed__4; @@ -1890,13 +1901,12 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_instBinder___closed__6; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__7; lean_object* l_Lean_Parser_strLit(uint8_t); +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_equiv___elambda__1___closed__3; -lean_object* l_Lean_Parser_Term_dollar___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_char___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_bnot___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let; -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__3; lean_object* l_Lean_Parser_Term_namedHole___closed__1; lean_object* l_Lean_Parser_Term_map; @@ -1919,13 +1929,14 @@ lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_hole___closed__1; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__4; +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_prop___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_borrowed___closed__1; +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_forall___elambda__1___spec__1(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_suffices___closed__3; -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_app___closed__3; @@ -2092,26 +2103,22 @@ return x_2; lean_object* l_Lean_Parser_Term_unicodeInfixR___elambda__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_inc(x_2); -lean_inc(x_4); -x_5 = l_Lean_Parser_ParserState_pushSyntax(x_4, x_2); -x_6 = lean_ctor_get(x_4, 3); -lean_inc(x_6); -lean_dec(x_4); -if (lean_obj_tag(x_6) == 0) +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_7; -x_7 = lean_apply_3(x_1, x_2, x_3, x_5); -return x_7; +lean_object* x_6; +x_6 = lean_apply_3(x_1, x_2, x_3, x_4); +return x_6; } else { -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } } } @@ -2170,26 +2177,22 @@ return x_4; lean_object* l_Lean_Parser_Term_infixR___elambda__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_inc(x_2); -lean_inc(x_4); -x_5 = l_Lean_Parser_ParserState_pushSyntax(x_4, x_2); -x_6 = lean_ctor_get(x_4, 3); -lean_inc(x_6); -lean_dec(x_4); -if (lean_obj_tag(x_6) == 0) +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_7; -x_7 = lean_apply_3(x_1, x_2, x_3, x_5); -return x_7; +lean_object* x_6; +x_6 = lean_apply_3(x_1, x_2, x_3, x_4); +return x_6; } else { -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } } } @@ -2244,26 +2247,22 @@ return x_3; lean_object* l_Lean_Parser_Term_unicodeInfixL___elambda__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_inc(x_2); -lean_inc(x_4); -x_5 = l_Lean_Parser_ParserState_pushSyntax(x_4, x_2); -x_6 = lean_ctor_get(x_4, 3); -lean_inc(x_6); -lean_dec(x_4); -if (lean_obj_tag(x_6) == 0) +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_7; -x_7 = lean_apply_3(x_1, x_2, x_3, x_5); -return x_7; +lean_object* x_6; +x_6 = lean_apply_3(x_1, x_2, x_3, x_4); +return x_6; } else { -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } } } @@ -2319,26 +2318,22 @@ return x_4; lean_object* l_Lean_Parser_Term_infixL___elambda__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_inc(x_2); -lean_inc(x_4); -x_5 = l_Lean_Parser_ParserState_pushSyntax(x_4, x_2); -x_6 = lean_ctor_get(x_4, 3); -lean_inc(x_6); -lean_dec(x_4); -if (lean_obj_tag(x_6) == 0) +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_7; -x_7 = lean_apply_3(x_1, x_2, x_3, x_5); -return x_7; +lean_object* x_6; +x_6 = lean_apply_3(x_1, x_2, x_3, x_4); +return x_6; } else { -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_5; +return x_4; } } } @@ -2464,7 +2459,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -2848,7 +2843,7 @@ if (lean_obj_tag(x_60) == 0) lean_object* x_61; lean_object* x_62; x_61 = lean_ctor_get(x_59, 0); lean_inc(x_61); -x_62 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_61); +x_62 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_61); lean_dec(x_61); if (lean_obj_tag(x_62) == 2) { @@ -2923,7 +2918,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 2) { @@ -3339,7 +3334,7 @@ if (lean_obj_tag(x_33) == 0) lean_object* x_34; lean_object* x_35; x_34 = lean_ctor_get(x_32, 0); lean_inc(x_34); -x_35 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_34); +x_35 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_34); lean_dec(x_34); if (lean_obj_tag(x_35) == 2) { @@ -4512,7 +4507,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -4797,7 +4792,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5082,7 +5077,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5300,7 +5295,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -5586,7 +5581,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -5891,7 +5886,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6176,7 +6171,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6461,7 +6456,7 @@ if (lean_obj_tag(x_18) == 0) lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); -x_20 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_19); +x_20 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 2) { @@ -6739,7 +6734,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -6938,7 +6933,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -7217,7 +7212,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -7550,7 +7545,7 @@ lean_object* _init_l_Lean_Parser_Term_paren___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -7561,7 +7556,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__1; x_3 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -7632,7 +7627,7 @@ if (lean_obj_tag(x_81) == 0) lean_object* x_82; lean_object* x_83; x_82 = lean_ctor_get(x_80, 0); lean_inc(x_82); -x_83 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_82); +x_83 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_82); lean_dec(x_82); if (lean_obj_tag(x_83) == 2) { @@ -7640,7 +7635,7 @@ lean_object* x_84; lean_object* x_85; uint8_t x_86; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; +x_85 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; x_86 = lean_string_dec_eq(x_84, x_85); lean_dec(x_84); if (x_86 == 0) @@ -7697,7 +7692,7 @@ if (lean_obj_tag(x_21) == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -x_23 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_22); +x_23 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_22); lean_dec(x_22); if (lean_obj_tag(x_23) == 2) { @@ -7705,7 +7700,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -7713,7 +7708,7 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_27 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_27, x_19); -x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_16); x_31 = l_Lean_Parser_mergeOrElseErrors(x_30, x_11, x_8); lean_dec(x_8); @@ -7723,7 +7718,7 @@ else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_19); -x_32 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_32 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_33 = l_Lean_Parser_ParserState_mkNode(x_20, x_32, x_16); x_34 = l_Lean_Parser_mergeOrElseErrors(x_33, x_11, x_8); lean_dec(x_8); @@ -7736,7 +7731,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean lean_dec(x_23); x_35 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_36 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_35, x_19); -x_37 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_37 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_38 = l_Lean_Parser_ParserState_mkNode(x_36, x_37, x_16); x_39 = l_Lean_Parser_mergeOrElseErrors(x_38, x_11, x_8); lean_dec(x_8); @@ -7749,7 +7744,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean lean_dec(x_21); x_40 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_41 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_40, x_19); -x_42 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_42 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_43 = l_Lean_Parser_ParserState_mkNode(x_41, x_42, x_16); x_44 = l_Lean_Parser_mergeOrElseErrors(x_43, x_11, x_8); lean_dec(x_8); @@ -7761,7 +7756,7 @@ else lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_dec(x_18); lean_dec(x_2); -x_45 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_45 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_46 = l_Lean_Parser_ParserState_mkNode(x_17, x_45, x_16); x_47 = l_Lean_Parser_mergeOrElseErrors(x_46, x_11, x_8); lean_dec(x_8); @@ -7867,7 +7862,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_dec(x_50); lean_dec(x_2); lean_dec(x_1); -x_76 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_76 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_77 = l_Lean_Parser_ParserState_mkNode(x_49, x_76, x_16); x_78 = l_Lean_Parser_mergeOrElseErrors(x_77, x_11, x_8); lean_dec(x_8); @@ -7906,7 +7901,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_paren___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -7925,7 +7920,7 @@ lean_object* _init_l_Lean_Parser_Term_paren___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_paren___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -7977,7 +7972,7 @@ _start: uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 0; x_3 = l_Lean_Parser_termParser___closed__2; -x_4 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_4 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_5 = l_Lean_Parser_Term_paren; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -8183,7 +8178,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -8258,7 +8253,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -8503,7 +8498,7 @@ if (lean_obj_tag(x_36) == 0) lean_object* x_37; lean_object* x_38; x_37 = lean_ctor_get(x_35, 0); lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); +x_38 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_37); lean_dec(x_37); if (lean_obj_tag(x_38) == 2) { @@ -8990,7 +8985,7 @@ if (lean_obj_tag(x_93) == 0) lean_object* x_94; lean_object* x_95; x_94 = lean_ctor_get(x_92, 0); lean_inc(x_94); -x_95 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_94); +x_95 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_94); lean_dec(x_94); if (lean_obj_tag(x_95) == 2) { @@ -9065,7 +9060,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -9187,7 +9182,7 @@ if (lean_obj_tag(x_67) == 0) lean_object* x_68; lean_object* x_69; x_68 = lean_ctor_get(x_66, 0); lean_inc(x_68); -x_69 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_68); +x_69 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_68); lean_dec(x_68); if (lean_obj_tag(x_69) == 2) { @@ -9588,7 +9583,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -9882,7 +9877,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -10228,7 +10223,7 @@ if (lean_obj_tag(x_109) == 0) lean_object* x_110; lean_object* x_111; x_110 = lean_ctor_get(x_108, 0); lean_inc(x_110); -x_111 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_110); +x_111 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_110); lean_dec(x_110); if (lean_obj_tag(x_111) == 2) { @@ -10294,7 +10289,7 @@ if (lean_obj_tag(x_21) == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -x_23 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_22); +x_23 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_22); lean_dec(x_22); if (lean_obj_tag(x_23) == 2) { @@ -10424,7 +10419,7 @@ if (lean_obj_tag(x_67) == 0) lean_object* x_68; lean_object* x_69; x_68 = lean_ctor_get(x_66, 0); lean_inc(x_68); -x_69 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_68); +x_69 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_68); lean_dec(x_68); if (lean_obj_tag(x_69) == 2) { @@ -10869,7 +10864,7 @@ if (lean_obj_tag(x_68) == 0) lean_object* x_69; lean_object* x_70; x_69 = lean_ctor_get(x_67, 0); lean_inc(x_69); -x_70 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_69); +x_70 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_69); lean_dec(x_69); if (lean_obj_tag(x_70) == 2) { @@ -10959,7 +10954,7 @@ if (lean_obj_tag(x_29) == 0) lean_object* x_30; lean_object* x_31; x_30 = lean_ctor_get(x_28, 0); lean_inc(x_30); -x_31 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_30); +x_31 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_30); lean_dec(x_30); if (lean_obj_tag(x_31) == 2) { @@ -11348,7 +11343,7 @@ if (lean_obj_tag(x_35) == 0) lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_37 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_36); +x_37 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_36); lean_dec(x_36); if (lean_obj_tag(x_37) == 2) { @@ -12161,7 +12156,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -12445,7 +12440,7 @@ if (lean_obj_tag(x_49) == 0) lean_object* x_50; lean_object* x_51; x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); -x_51 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_50); +x_51 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_50); lean_dec(x_50); if (lean_obj_tag(x_51) == 2) { @@ -12728,7 +12723,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_34 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_33); +x_34 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_33); lean_dec(x_33); if (lean_obj_tag(x_34) == 2) { @@ -13106,7 +13101,7 @@ if (lean_obj_tag(x_122) == 0) lean_object* x_123; lean_object* x_124; x_123 = lean_ctor_get(x_121, 0); lean_inc(x_123); -x_124 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_123); +x_124 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_123); lean_dec(x_123); if (lean_obj_tag(x_124) == 2) { @@ -13180,7 +13175,7 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); -x_29 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_28); +x_29 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_28); lean_dec(x_28); if (lean_obj_tag(x_29) == 2) { @@ -13297,7 +13292,7 @@ if (lean_obj_tag(x_90) == 0) lean_object* x_91; lean_object* x_92; x_91 = lean_ctor_get(x_89, 0); lean_inc(x_91); -x_92 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_91); +x_92 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_91); lean_dec(x_91); if (lean_obj_tag(x_92) == 2) { @@ -13779,7 +13774,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -14154,7 +14149,7 @@ if (lean_obj_tag(x_89) == 0) lean_object* x_90; lean_object* x_91; x_90 = lean_ctor_get(x_88, 0); lean_inc(x_90); -x_91 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_90); +x_91 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_90); lean_dec(x_90); if (lean_obj_tag(x_91) == 2) { @@ -14228,7 +14223,7 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); -x_29 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_28); +x_29 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_28); lean_dec(x_28); if (lean_obj_tag(x_29) == 2) { @@ -14345,7 +14340,7 @@ if (lean_obj_tag(x_66) == 0) lean_object* x_67; lean_object* x_68; x_67 = lean_ctor_get(x_65, 0); lean_inc(x_67); -x_68 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_67); +x_68 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_67); lean_dec(x_67); if (lean_obj_tag(x_68) == 2) { @@ -14649,7 +14644,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -15011,7 +15006,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -15086,7 +15081,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -15473,7 +15468,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -15548,7 +15543,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -15822,7 +15817,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 2) { @@ -16135,7 +16130,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -16209,7 +16204,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -16217,7 +16212,7 @@ lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; +x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; x_30 = lean_string_dec_eq(x_28, x_29); lean_dec(x_28); if (x_30 == 0) @@ -16313,7 +16308,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -16510,7 +16505,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -16660,7 +16655,7 @@ if (lean_obj_tag(x_17) == 0) lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); -x_19 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_18); +x_19 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_18); lean_dec(x_18); if (lean_obj_tag(x_19) == 2) { @@ -16945,7 +16940,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -17176,7 +17171,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -17485,7 +17480,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_explicitBinder___closed__4; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -17495,7 +17490,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_explicitBinder___closed__5; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17505,7 +17500,7 @@ return x_3; lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_2 = l_Lean_Parser_Term_binderIdent; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); @@ -17526,27 +17521,30 @@ x_12 = l_Lean_Parser_Term_explicitBinder___closed__1; x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_10); -x_14 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_14 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_15 = l_Lean_Parser_andthenInfo(x_14, x_11); -x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; +x_16 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; x_17 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_17, 0, x_16); lean_closure_set(x_17, 1, x_13); x_18 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; x_19 = l_Lean_Parser_nodeInfo(x_18, x_15); -x_20 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_17); -x_21 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__4; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = l_Lean_Parser_orelseInfo(x_22, x_19); -x_24 = lean_alloc_closure((void*)(l_Lean_Parser_Term_explicitBinder___elambda__1), 4, 1); -lean_closure_set(x_24, 0, x_20); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_20 = 0; +x_21 = lean_box(x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_22, 0, x_21); +lean_closure_set(x_22, 1, x_18); +lean_closure_set(x_22, 2, x_17); +x_23 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__4; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = l_Lean_Parser_orelseInfo(x_24, x_19); +x_26 = lean_alloc_closure((void*)(l_Lean_Parser_Term_explicitBinder___elambda__1), 4, 1); +lean_closure_set(x_26, 0, x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object* x_1) { @@ -17683,7 +17681,7 @@ return x_2; lean_object* l_Lean_Parser_Term_implicitBinder(uint8_t x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_2 = l_Lean_Parser_Term_binderIdent; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); @@ -17712,19 +17710,22 @@ lean_closure_set(x_17, 0, x_16); lean_closure_set(x_17, 1, x_13); x_18 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; x_19 = l_Lean_Parser_nodeInfo(x_18, x_15); -x_20 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_17); -x_21 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__4; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = l_Lean_Parser_orelseInfo(x_22, x_19); -x_24 = lean_alloc_closure((void*)(l_Lean_Parser_Term_implicitBinder___elambda__1), 4, 1); -lean_closure_set(x_24, 0, x_20); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_20 = 0; +x_21 = lean_box(x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___boxed), 6, 3); +lean_closure_set(x_22, 0, x_21); +lean_closure_set(x_22, 1, x_18); +lean_closure_set(x_22, 2, x_17); +x_23 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__4; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = l_Lean_Parser_orelseInfo(x_24, x_19); +x_26 = lean_alloc_closure((void*)(l_Lean_Parser_Term_implicitBinder___elambda__1), 4, 1); +lean_closure_set(x_26, 0, x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } lean_object* l_Lean_Parser_Term_implicitBinder___boxed(lean_object* x_1) { @@ -17841,7 +17842,7 @@ if (lean_obj_tag(x_62) == 0) lean_object* x_63; lean_object* x_64; x_63 = lean_ctor_get(x_61, 0); lean_inc(x_63); -x_64 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_63); +x_64 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_63); lean_dec(x_63); if (lean_obj_tag(x_64) == 2) { @@ -17922,7 +17923,7 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); -x_29 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_28); +x_29 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_28); lean_dec(x_28); if (lean_obj_tag(x_29) == 2) { @@ -19226,7 +19227,7 @@ if (lean_obj_tag(x_71) == 0) lean_object* x_72; lean_object* x_73; x_72 = lean_ctor_get(x_70, 0); lean_inc(x_72); -x_73 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_72); +x_73 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_72); lean_dec(x_72); if (lean_obj_tag(x_73) == 2) { @@ -19338,7 +19339,7 @@ if (lean_obj_tag(x_109) == 0) lean_object* x_110; lean_object* x_111; x_110 = lean_ctor_get(x_108, 0); lean_inc(x_110); -x_111 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_110); +x_111 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_110); lean_dec(x_110); if (lean_obj_tag(x_111) == 2) { @@ -19483,7 +19484,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -19758,7 +19759,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_darrow___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -20007,7 +20008,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -20263,7 +20264,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -20519,7 +20520,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -20775,7 +20776,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -21031,7 +21032,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -21287,7 +21288,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -21543,7 +21544,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -21799,7 +21800,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -22055,7 +22056,7 @@ if (lean_obj_tag(x_38) == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_39); lean_dec(x_39); if (lean_obj_tag(x_40) == 2) { @@ -22208,7 +22209,7 @@ if (lean_obj_tag(x_11) == 0) lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 0); lean_inc(x_12); -x_13 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_12); +x_13 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_12); lean_dec(x_12); if (lean_obj_tag(x_13) == 2) { @@ -22283,7 +22284,7 @@ if (lean_obj_tag(x_54) == 0) lean_object* x_55; lean_object* x_56; x_55 = lean_ctor_get(x_53, 0); lean_inc(x_55); -x_56 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_55); +x_56 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_55); lean_dec(x_55); if (lean_obj_tag(x_56) == 2) { @@ -23038,7 +23039,7 @@ if (lean_obj_tag(x_65) == 0) lean_object* x_66; lean_object* x_67; x_66 = lean_ctor_get(x_64, 0); lean_inc(x_66); -x_67 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_66); +x_67 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_66); lean_dec(x_66); if (lean_obj_tag(x_67) == 2) { @@ -23121,7 +23122,7 @@ if (lean_obj_tag(x_29) == 0) lean_object* x_30; lean_object* x_31; x_30 = lean_ctor_get(x_28, 0); lean_inc(x_30); -x_31 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_30); +x_31 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_30); lean_dec(x_30); if (lean_obj_tag(x_31) == 2) { @@ -23512,7 +23513,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -23826,7 +23827,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -24140,7 +24141,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -24464,7 +24465,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -25014,7 +25015,7 @@ if (lean_obj_tag(x_60) == 0) lean_object* x_61; lean_object* x_62; x_61 = lean_ctor_get(x_59, 0); lean_inc(x_61); -x_62 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_61); +x_62 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_61); lean_dec(x_61); if (lean_obj_tag(x_62) == 2) { @@ -25089,7 +25090,7 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); -x_29 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_28); +x_29 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_28); lean_dec(x_28); if (lean_obj_tag(x_29) == 2) { @@ -25514,7 +25515,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_letIdDecl___closed__6; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; +x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -25596,7 +25597,7 @@ if (lean_obj_tag(x_34) == 0) lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); -x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +x_36 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_35); lean_dec(x_35); if (lean_obj_tag(x_36) == 2) { @@ -25782,15 +25783,6 @@ return x_22; lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__1() { _start: { -uint8_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = l_Lean_Parser_pushNone(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_optType; x_2 = lean_ctor_get(x_1, 0); @@ -25800,11 +25792,23 @@ x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_mkAntiquotAux___closed__21; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_letPatDecl___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_letPatDecl___closed__1; +x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letPatDecl___closed__2; @@ -25820,33 +25824,21 @@ x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letPatDecl___closed__3; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_typeAscription___closed__2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_letPatDecl___closed__4; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; -} -} -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_letIdDecl___closed__2; -x_2 = l_Lean_Parser_Term_letPatDecl___closed__5; +x_2 = l_Lean_Parser_Term_letPatDecl___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__7() { +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__6() { _start: { lean_object* x_1; @@ -25854,12 +25846,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letPatDecl___elambda__1), 3, return x_1; } } -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__8() { +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letPatDecl___closed__6; -x_2 = l_Lean_Parser_Term_letPatDecl___closed__7; +x_1 = l_Lean_Parser_Term_letPatDecl___closed__5; +x_2 = l_Lean_Parser_Term_letPatDecl___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -25870,7 +25862,7 @@ lean_object* _init_l_Lean_Parser_Term_letPatDecl() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_letPatDecl___closed__8; +x_1 = l_Lean_Parser_Term_letPatDecl___closed__7; return x_1; } } @@ -26287,7 +26279,7 @@ if (lean_obj_tag(x_58) == 0) lean_object* x_59; lean_object* x_60; x_59 = lean_ctor_get(x_57, 0); lean_inc(x_59); -x_60 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_59); +x_60 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_59); lean_dec(x_59); if (lean_obj_tag(x_60) == 2) { @@ -26360,7 +26352,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); -x_25 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_24); +x_25 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_24); lean_dec(x_24); if (lean_obj_tag(x_25) == 2) { @@ -26817,7 +26809,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); -x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 2) { @@ -27563,7 +27555,7 @@ if (lean_obj_tag(x_63) == 0) lean_object* x_64; lean_object* x_65; x_64 = lean_ctor_get(x_62, 0); lean_inc(x_64); -x_65 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_64); +x_65 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_64); lean_dec(x_64); if (lean_obj_tag(x_65) == 2) { @@ -28261,7 +28253,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_34 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_33); +x_34 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_33); lean_dec(x_33); if (lean_obj_tag(x_34) == 2) { @@ -28622,7 +28614,7 @@ if (lean_obj_tag(x_57) == 0) lean_object* x_58; lean_object* x_59; x_58 = lean_ctor_get(x_56, 0); lean_inc(x_58); -x_59 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_58); +x_59 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_58); lean_dec(x_58); if (lean_obj_tag(x_59) == 2) { @@ -28696,7 +28688,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_26); +x_27 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_26); lean_dec(x_26); if (lean_obj_tag(x_27) == 2) { @@ -29009,7 +29001,7 @@ if (lean_obj_tag(x_46) == 0) lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_45, 0); lean_inc(x_47); -x_48 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_47); +x_48 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_47); lean_dec(x_47); if (lean_obj_tag(x_48) == 2) { @@ -29394,7 +29386,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -29729,7 +29721,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -30035,7 +30027,7 @@ if (lean_obj_tag(x_30) == 0) lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_29, 0); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_31); +x_32 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_31); lean_dec(x_31); if (lean_obj_tag(x_32) == 2) { @@ -30231,346 +30223,438 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_namedArgument___elambda__1___closed__3() { _start: { -uint8_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = l_Lean_Parser_ident(x_1); +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } +lean_object* _init_l_Lean_Parser_Term_namedArgument___elambda__1___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__1; +x_3 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +x_4 = 1; +x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} lean_object* l_Lean_Parser_Term_namedArgument___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_49; lean_object* x_86; lean_object* x_87; -x_4 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +lean_object* x_4; lean_object* x_5; 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; +x_4 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_3, 1); +x_6 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__4; +x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); -x_8 = lean_array_get_size(x_6); -lean_dec(x_6); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = lean_array_get_size(x_8); +lean_dec(x_8); +lean_inc(x_3); lean_inc(x_2); -x_86 = l_Lean_Parser_tokenFn(x_2, x_3); -x_87 = lean_ctor_get(x_86, 3); -lean_inc(x_87); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_86, 0); -lean_inc(x_88); -x_89 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_88); -lean_dec(x_88); -if (lean_obj_tag(x_89) == 2) -{ -lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; -x_92 = lean_string_dec_eq(x_90, x_91); -lean_dec(x_90); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -x_93 = l_Lean_Parser_Level_paren___elambda__1___closed__11; -lean_inc(x_7); -x_94 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_93, x_7); -x_49 = x_94; -goto block_85; +lean_inc(x_1); +x_11 = lean_apply_3(x_7, x_1, x_2, x_3); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + lean_ctor_release(x_3, 2); + lean_ctor_release(x_3, 3); + x_12 = x_3; +} else { + lean_dec_ref(x_3); + x_12 = lean_box(0); } -else +x_13 = lean_ctor_get(x_11, 3); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -x_49 = x_86; -goto block_85; -} -} -else -{ -lean_object* x_95; lean_object* x_96; -lean_dec(x_89); -x_95 = l_Lean_Parser_Level_paren___elambda__1___closed__11; -lean_inc(x_7); -x_96 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_95, x_7); -x_49 = x_96; -goto block_85; -} -} -else -{ -lean_object* x_97; lean_object* x_98; -lean_dec(x_87); -x_97 = l_Lean_Parser_Level_paren___elambda__1___closed__11; -lean_inc(x_7); -x_98 = l_Lean_Parser_ParserState_mkErrorsAt(x_86, x_97, x_7); -x_49 = x_98; -goto block_85; -} -block_41: -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = l_Lean_Parser_termParser___closed__2; -x_12 = lean_unsigned_to_nat(0u); -lean_inc(x_2); -x_13 = l_Lean_Parser_categoryParserFn(x_11, x_12, x_2, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -x_16 = l_Lean_Parser_tokenFn(x_2, x_13); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 2) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; -x_22 = lean_string_dec_eq(x_20, x_21); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_23, x_15); -x_25 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_8); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_15); -x_27 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_16, x_27, x_8); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_19); -x_29 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_29, x_15); -x_31 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_8); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_17); -x_33 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_34 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_33, x_15); -x_35 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_36 = l_Lean_Parser_ParserState_mkNode(x_34, x_35, x_8); -return x_36; -} -} -else -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); lean_dec(x_2); -x_37 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_38 = l_Lean_Parser_ParserState_mkNode(x_13, x_37, x_8); +lean_dec(x_1); +return x_11; +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +x_16 = lean_nat_dec_eq(x_15, x_9); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_66; lean_object* x_103; lean_object* x_104; +lean_inc(x_9); +x_17 = l_Lean_Parser_ParserState_restore(x_11, x_10, x_9); +lean_dec(x_10); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_array_get_size(x_18); +lean_dec(x_18); +lean_inc(x_2); +x_103 = l_Lean_Parser_tokenFn(x_2, x_17); +x_104 = lean_ctor_get(x_103, 3); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +x_106 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_105); +lean_dec(x_105); +if (lean_obj_tag(x_106) == 2) +{ +lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_109 = lean_string_dec_eq(x_107, x_108); +lean_dec(x_107); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; +x_110 = l_Lean_Parser_Level_paren___elambda__1___closed__11; +lean_inc(x_9); +x_111 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_110, x_9); +x_66 = x_111; +goto block_102; +} +else +{ +x_66 = x_103; +goto block_102; +} +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_106); +x_112 = l_Lean_Parser_Level_paren___elambda__1___closed__11; +lean_inc(x_9); +x_113 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_112, x_9); +x_66 = x_113; +goto block_102; +} +} +else +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_104); +x_114 = l_Lean_Parser_Level_paren___elambda__1___closed__11; +lean_inc(x_9); +x_115 = l_Lean_Parser_ParserState_mkErrorsAt(x_103, x_114, x_9); +x_66 = x_115; +goto block_102; +} +block_58: +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = l_Lean_Parser_termParser___closed__2; +x_23 = lean_unsigned_to_nat(0u); +lean_inc(x_2); +x_24 = l_Lean_Parser_categoryParserFn(x_22, x_23, x_2, x_20); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +x_27 = l_Lean_Parser_tokenFn(x_2, x_24); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_29); +lean_dec(x_29); +if (lean_obj_tag(x_30) == 2) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_33 = lean_string_dec_eq(x_31, x_32); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_35 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_34, x_26); +x_36 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_19); +x_38 = l_Lean_Parser_mergeOrElseErrors(x_37, x_14, x_9); +lean_dec(x_9); return x_38; } -} else { -lean_object* x_39; lean_object* x_40; -lean_dec(x_10); -lean_dec(x_2); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_26); x_39 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_40 = l_Lean_Parser_ParserState_mkNode(x_9, x_39, x_8); -return x_40; +x_40 = l_Lean_Parser_ParserState_mkNode(x_27, x_39, x_19); +x_41 = l_Lean_Parser_mergeOrElseErrors(x_40, x_14, x_9); +lean_dec(x_9); +return x_41; } } -block_48: -{ -if (lean_obj_tag(x_45) == 0) -{ -lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_7); -x_9 = x_42; -goto block_41; -} else { -lean_object* x_46; lean_object* x_47; -lean_dec(x_42); -x_46 = l_Array_shrink___main___rarg(x_43, x_8); -x_47 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_7); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_45); -x_9 = x_47; -goto block_41; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_30); +x_42 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_42, x_26); +x_44 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_19); +x_46 = l_Lean_Parser_mergeOrElseErrors(x_45, x_14, x_9); +lean_dec(x_9); +return x_46; } } -block_85: -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; -lean_inc(x_2); -x_51 = lean_apply_3(x_5, x_1, x_2, x_49); -x_52 = lean_ctor_get(x_51, 3); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_inc(x_2); -x_54 = l_Lean_Parser_tokenFn(x_2, x_51); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_54, 0); -lean_inc(x_56); -x_57 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_56); -lean_dec(x_56); -if (lean_obj_tag(x_57) == 2) -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; -x_60 = lean_string_dec_eq(x_58, x_59); -lean_dec(x_58); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_61, x_53); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_62, 3); -lean_inc(x_65); -x_42 = x_62; -x_43 = x_63; -x_44 = x_64; -x_45 = x_65; -goto block_48; -} else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_53); -x_66 = lean_ctor_get(x_54, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_54, 2); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_28); +x_47 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_48 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_47, x_26); +x_49 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_19); +x_51 = l_Lean_Parser_mergeOrElseErrors(x_50, x_14, x_9); +lean_dec(x_9); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_25); +lean_dec(x_2); +x_52 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_53 = l_Lean_Parser_ParserState_mkNode(x_24, x_52, x_19); +x_54 = l_Lean_Parser_mergeOrElseErrors(x_53, x_14, x_9); +lean_dec(x_9); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_21); +lean_dec(x_2); +x_55 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_56 = l_Lean_Parser_ParserState_mkNode(x_20, x_55, x_19); +x_57 = l_Lean_Parser_mergeOrElseErrors(x_56, x_14, x_9); +lean_dec(x_9); +return x_57; +} +} +block_65: +{ +if (lean_obj_tag(x_62) == 0) +{ +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_12); +x_20 = x_59; +goto block_58; +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_59); +x_63 = l_Array_shrink___main___rarg(x_60, x_19); +lean_inc(x_9); +if (lean_is_scalar(x_12)) { + x_64 = lean_alloc_ctor(0, 4, 0); +} else { + x_64 = x_12; +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_9); +lean_ctor_set(x_64, 2, x_61); +lean_ctor_set(x_64, 3, x_62); +x_20 = x_64; +goto block_58; +} +} +block_102: +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_66, 3); lean_inc(x_67); -x_68 = lean_ctor_get(x_54, 3); -lean_inc(x_68); -x_42 = x_54; -x_43 = x_66; -x_44 = x_67; -x_45 = x_68; -goto block_48; -} -} -else +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_57); -x_69 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_70 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_69, x_53); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 2); +lean_object* x_68; lean_object* x_69; +lean_inc(x_2); +x_68 = lean_apply_3(x_5, x_1, x_2, x_66); +x_69 = lean_ctor_get(x_68, 3); +lean_inc(x_69); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_inc(x_2); +x_71 = l_Lean_Parser_tokenFn(x_2, x_68); +x_72 = lean_ctor_get(x_71, 3); lean_inc(x_72); -x_73 = lean_ctor_get(x_70, 3); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); -x_42 = x_70; -x_43 = x_71; -x_44 = x_72; -x_45 = x_73; -goto block_48; -} -} -else +x_74 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_73); +lean_dec(x_73); +if (lean_obj_tag(x_74) == 2) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_55); -x_74 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_75 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_74, x_53); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 2); -lean_inc(x_77); -x_78 = lean_ctor_get(x_75, 3); -lean_inc(x_78); -x_42 = x_75; -x_43 = x_76; -x_44 = x_77; -x_45 = x_78; -goto block_48; -} -} -else +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_77 = lean_string_dec_eq(x_75, x_76); +lean_dec(x_75); +if (x_77 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_52); -x_79 = lean_ctor_get(x_51, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_51, 2); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_78 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_79 = l_Lean_Parser_ParserState_mkErrorsAt(x_71, x_78, x_70); +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); -x_81 = lean_ctor_get(x_51, 3); +x_81 = lean_ctor_get(x_79, 2); lean_inc(x_81); -x_42 = x_51; -x_43 = x_79; -x_44 = x_80; -x_45 = x_81; -goto block_48; +x_82 = lean_ctor_get(x_79, 3); +lean_inc(x_82); +x_59 = x_79; +x_60 = x_80; +x_61 = x_81; +x_62 = x_82; +goto block_65; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_70); +x_83 = lean_ctor_get(x_71, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_71, 2); +lean_inc(x_84); +x_85 = lean_ctor_get(x_71, 3); +lean_inc(x_85); +x_59 = x_71; +x_60 = x_83; +x_61 = x_84; +x_62 = x_85; +goto block_65; } } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_dec(x_50); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_74); +x_86 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_87 = l_Lean_Parser_ParserState_mkErrorsAt(x_71, x_86, x_70); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 2); +lean_inc(x_89); +x_90 = lean_ctor_get(x_87, 3); +lean_inc(x_90); +x_59 = x_87; +x_60 = x_88; +x_61 = x_89; +x_62 = x_90; +goto block_65; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_72); +x_91 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_92 = l_Lean_Parser_ParserState_mkErrorsAt(x_71, x_91, x_70); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 2); +lean_inc(x_94); +x_95 = lean_ctor_get(x_92, 3); +lean_inc(x_95); +x_59 = x_92; +x_60 = x_93; +x_61 = x_94; +x_62 = x_95; +goto block_65; +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_69); +x_96 = lean_ctor_get(x_68, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_68, 2); +lean_inc(x_97); +x_98 = lean_ctor_get(x_68, 3); +lean_inc(x_98); +x_59 = x_68; +x_60 = x_96; +x_61 = x_97; +x_62 = x_98; +goto block_65; +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_67); lean_dec(x_5); lean_dec(x_1); -x_82 = lean_ctor_get(x_49, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_49, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_49, 3); -lean_inc(x_84); -x_42 = x_49; -x_43 = x_82; -x_44 = x_83; -x_45 = x_84; -goto block_48; +x_99 = lean_ctor_get(x_66, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_66, 2); +lean_inc(x_100); +x_101 = lean_ctor_get(x_66, 3); +lean_inc(x_101); +x_59 = x_66; +x_60 = x_99; +x_61 = x_100; +x_62 = x_101; +goto block_65; +} +} } } } @@ -30579,7 +30663,7 @@ lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +x_1 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_haveAssign___closed__1; @@ -30591,7 +30675,7 @@ lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Term_namedArgument___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -30600,60 +30684,49 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__3() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = 1; -x_2 = l_Lean_Parser_termParser___closed__2; -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Lean_Parser_categoryParser(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_namedArgument___closed__2; +x_2 = l_Lean_Parser_Term_inaccessible___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_namedArgument___closed__3; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_namedArgument___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_namedArgument___closed__2; -x_2 = l_Lean_Parser_Term_namedArgument___closed__4; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_namedArgument___closed__4; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; } } lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_namedArgument___closed__5; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__7() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_namedArgument___elambda__1), 3, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__8() { +lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_namedArgument___closed__6; -x_2 = l_Lean_Parser_Term_namedArgument___closed__7; +x_1 = l_Lean_Parser_Term_namedArgument___closed__5; +x_2 = l_Lean_Parser_Term_namedArgument___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -30664,57 +30737,57 @@ lean_object* _init_l_Lean_Parser_Term_namedArgument() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_namedArgument___closed__8; +x_1 = l_Lean_Parser_Term_namedArgument___closed__7; return x_1; } } lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(uint8_t 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_19; lean_object* x_20; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_array_get_size(x_5); lean_dec(x_5); x_7 = lean_ctor_get(x_4, 1); lean_inc(x_7); +x_19 = lean_unsigned_to_nat(0u); lean_inc(x_3); -lean_inc(x_2); -x_19 = l_Lean_Parser_Term_namedArgument___elambda__1(x_2, x_3, x_4); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -x_8 = x_19; -goto block_18; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_20, 0); +x_20 = l_Lean_Parser_Term_namedArgument___elambda__1(x_19, x_3, x_4); +x_21 = lean_ctor_get(x_20, 3); lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -x_23 = lean_nat_dec_eq(x_22, x_7); -lean_dec(x_22); -if (x_23 == 0) +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_21); -x_8 = x_19; +x_8 = x_20; goto block_18; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +x_24 = lean_nat_dec_eq(x_23, x_7); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_dec(x_22); +x_8 = x_20; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_inc(x_7); -x_24 = l_Lean_Parser_ParserState_restore(x_19, x_6, x_7); -x_25 = l_Lean_Parser_termParser___closed__2; -x_26 = l_Lean_Parser_appPrec; +x_25 = l_Lean_Parser_ParserState_restore(x_20, x_6, x_7); +x_26 = l_Lean_Parser_termParser___closed__2; +x_27 = l_Lean_Parser_appPrec; lean_inc(x_3); -x_27 = l_Lean_Parser_categoryParserFn(x_25, x_26, x_3, x_24); -x_28 = l_Lean_Parser_mergeOrElseErrors(x_27, x_21, x_7); -x_8 = x_28; +x_28 = l_Lean_Parser_categoryParserFn(x_26, x_27, x_3, x_25); +x_29 = l_Lean_Parser_mergeOrElseErrors(x_28, x_22, x_7); +x_8 = x_29; goto block_18; } } @@ -30741,7 +30814,6 @@ else { lean_object* x_13; lean_object* x_14; lean_dec(x_3); -lean_dec(x_2); x_13 = l_Lean_Parser_manyAux___main___closed__1; x_14 = l_Lean_Parser_ParserState_mkUnexpectedError(x_8, x_13); return x_14; @@ -30752,7 +30824,6 @@ else lean_object* x_15; uint8_t x_16; lean_dec(x_9); lean_dec(x_3); -lean_dec(x_2); x_15 = lean_ctor_get(x_8, 1); lean_inc(x_15); x_16 = lean_nat_dec_eq(x_7, x_15); @@ -30777,115 +30848,112 @@ return x_17; lean_object* l_Lean_Parser_Term_app___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_array_get_size(x_4); lean_dec(x_4); -lean_inc(x_1); -lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); +x_6 = lean_ctor_get(x_3, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_3, 1); lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -lean_dec(x_3); +x_8 = lean_unsigned_to_nat(0u); lean_inc(x_2); -lean_inc(x_1); -x_11 = l_Lean_Parser_Term_namedArgument___elambda__1(x_1, x_2, x_6); -x_12 = lean_ctor_get(x_11, 3); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_10); -x_13 = 1; -x_14 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(x_13, x_1, x_2, x_11); -x_15 = l_Lean_nullKind; -x_16 = l_Lean_Parser_ParserState_mkNode(x_14, x_15, x_9); -x_17 = l_Lean_mkAppStx___closed__8; -x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_5); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -x_21 = lean_nat_dec_eq(x_20, x_10); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_19); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_22 = l_Lean_nullKind; -x_23 = l_Lean_Parser_ParserState_mkNode(x_11, x_22, x_9); -x_24 = l_Lean_mkAppStx___closed__8; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_5); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_9 = l_Lean_Parser_Term_namedArgument___elambda__1(x_8, x_2, x_3); +x_10 = lean_ctor_get(x_9, 3); lean_inc(x_10); -x_26 = l_Lean_Parser_ParserState_restore(x_11, x_9, x_10); -x_27 = l_Lean_Parser_termParser___closed__2; -x_28 = l_Lean_Parser_appPrec; -lean_inc(x_2); -x_29 = l_Lean_Parser_categoryParserFn(x_27, x_28, x_2, x_26); -x_30 = l_Lean_Parser_mergeOrElseErrors(x_29, x_19, x_10); -lean_dec(x_10); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +if (lean_obj_tag(x_10) == 0) { -uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = 1; -x_33 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(x_32, x_1, x_2, x_30); -x_34 = l_Lean_nullKind; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_9); -x_36 = l_Lean_mkAppStx___closed__8; -x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_5); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_31); -lean_dec(x_2); -lean_dec(x_1); -x_38 = l_Lean_nullKind; -x_39 = l_Lean_Parser_ParserState_mkNode(x_30, x_38, x_9); -x_40 = l_Lean_mkAppStx___closed__8; -x_41 = l_Lean_Parser_ParserState_mkNode(x_39, x_40, x_5); -return x_41; -} -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; +uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_11 = 1; +x_12 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(x_11, x_1, x_2, x_9); +x_13 = l_Lean_nullKind; +lean_inc(x_5); +x_14 = l_Lean_Parser_ParserState_mkNode(x_12, x_13, x_5); +x_15 = l_Lean_mkAppStx___closed__8; +x_16 = l_Lean_Parser_ParserState_mkTrailingNode(x_14, x_15, x_5); +lean_dec(x_5); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +x_18 = lean_ctor_get(x_9, 1); +lean_inc(x_18); +x_19 = lean_nat_dec_eq(x_18, x_7); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_17); lean_dec(x_7); -lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_42 = l_Lean_mkAppStx___closed__8; -x_43 = l_Lean_Parser_ParserState_mkNode(x_6, x_42, x_5); -return x_43; +x_20 = l_Lean_nullKind; +lean_inc(x_5); +x_21 = l_Lean_Parser_ParserState_mkNode(x_9, x_20, x_5); +x_22 = l_Lean_mkAppStx___closed__8; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_5); +lean_dec(x_5); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_inc(x_7); +x_24 = l_Lean_Parser_ParserState_restore(x_9, x_5, x_7); +x_25 = l_Lean_Parser_termParser___closed__2; +x_26 = l_Lean_Parser_appPrec; +lean_inc(x_2); +x_27 = l_Lean_Parser_categoryParserFn(x_25, x_26, x_2, x_24); +x_28 = l_Lean_Parser_mergeOrElseErrors(x_27, x_17, x_7); +lean_dec(x_7); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = 1; +x_31 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(x_30, x_1, x_2, x_28); +x_32 = l_Lean_nullKind; +lean_inc(x_5); +x_33 = l_Lean_Parser_ParserState_mkNode(x_31, x_32, x_5); +x_34 = l_Lean_mkAppStx___closed__8; +x_35 = l_Lean_Parser_ParserState_mkTrailingNode(x_33, x_34, x_5); +lean_dec(x_5); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +lean_dec(x_2); +x_36 = l_Lean_nullKind; +lean_inc(x_5); +x_37 = l_Lean_Parser_ParserState_mkNode(x_28, x_36, x_5); +x_38 = l_Lean_mkAppStx___closed__8; +x_39 = l_Lean_Parser_ParserState_mkTrailingNode(x_37, x_38, x_5); +lean_dec(x_5); +return x_39; +} +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_6); +lean_dec(x_2); +x_40 = l_Lean_mkAppStx___closed__8; +x_41 = l_Lean_Parser_ParserState_mkTrailingNode(x_3, x_40, x_5); +lean_dec(x_5); +return x_41; } } } @@ -30938,7 +31006,7 @@ lean_object* _init_l_Lean_Parser_Term_app___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_app___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_app___elambda__1___boxed), 3, 0); return x_1; } } @@ -30969,9 +31037,19 @@ uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); x_6 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_app___elambda__1___spec__1(x_5, x_2, x_3, x_4); +lean_dec(x_2); return x_6; } } +lean_object* l_Lean_Parser_Term_app___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_Term_app___elambda__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_app(lean_object* x_1) { _start: { @@ -30984,42 +31062,54 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___rarg(lean_object* x_1) { _start: { -lean_object* x_4; uint8_t x_5; +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_2); +lean_dec(x_2); x_4 = l_Lean_Parser_Term_type___elambda__1___closed__2; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +lean_inc(x_3); +x_5 = l_Lean_Syntax_isOfKind(x_3, x_4); if (x_5 == 0) { lean_object* x_6; uint8_t x_7; x_6 = l_Lean_Parser_Term_sort___elambda__1___closed__2; -x_7 = l_Lean_Syntax_isOfKind(x_1, x_6); +x_7 = l_Lean_Syntax_isOfKind(x_3, x_6); if (x_7 == 0) { lean_object* x_8; lean_object* x_9; x_8 = l_Lean_Parser_checkLeadingFn___closed__1; -x_9 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_8); +x_9 = l_Lean_Parser_ParserState_mkUnexpectedError(x_1, x_8); return x_9; } else { -return x_3; +return x_1; } } else { -lean_dec(x_1); -return x_3; +lean_dec(x_3); +return x_1; } } } +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_Term_checkIsSort___elambda__1___rarg), 1, 0); +return x_3; +} +} lean_object* _init_l_Lean_Parser_Term_checkIsSort___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_checkIsSort___elambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_checkIsSort___elambda__1___boxed), 2, 0); return x_1; } } @@ -31043,16 +31133,17 @@ x_1 = l_Lean_Parser_Term_checkIsSort___closed__2; return x_1; } } -lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Term_checkIsSort___elambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_Lean_Parser_Term_checkIsSort___elambda__1(x_1, x_2, x_3); +lean_object* x_3; +x_3 = l_Lean_Parser_Term_checkIsSort___elambda__1(x_1, x_2); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; } } -lean_object* _init_l_Lean_Parser_Term_sortApp___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -31060,51 +31151,58 @@ x_1 = lean_mk_string("sortApp"); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_sortApp___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Parser_Term_sortApp___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Term_sortApp___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); -lean_inc(x_1); -x_6 = l_Lean_Parser_Term_checkIsSort___elambda__1(x_1, x_2, x_3); -x_7 = lean_ctor_get(x_6, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_array_get_size(x_3); +lean_dec(x_3); +x_5 = l_Lean_Parser_Term_checkIsSort___elambda__1___rarg(x_2); +x_6 = lean_ctor_get(x_5, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = l_Lean_Parser_ParserState_pushSyntax(x_6, x_1); -x_9 = l_Lean_Parser_regBuiltinLevelParserAttr___closed__4; -x_10 = l_Lean_Parser_appPrec; -x_11 = l_Lean_Parser_categoryParserFn(x_9, x_10, x_2, x_8); -x_12 = l_Lean_Parser_Term_sortApp___elambda__1___closed__2; -x_13 = l_Lean_Parser_ParserState_mkNode(x_11, x_12, x_5); -return x_13; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = l_Lean_Parser_regBuiltinLevelParserAttr___closed__4; +x_8 = l_Lean_Parser_appPrec; +x_9 = l_Lean_Parser_categoryParserFn(x_7, x_8, x_1, x_5); +x_10 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; +x_11 = l_Lean_Parser_ParserState_mkTrailingNode(x_9, x_10, x_4); +lean_dec(x_4); +return x_11; } else { -lean_object* x_14; lean_object* x_15; -lean_dec(x_7); -lean_dec(x_2); +lean_object* x_12; lean_object* x_13; +lean_dec(x_6); lean_dec(x_1); -x_14 = l_Lean_Parser_Term_sortApp___elambda__1___closed__2; -x_15 = l_Lean_Parser_ParserState_mkNode(x_6, x_14, x_5); -return x_15; +x_12 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; +x_13 = l_Lean_Parser_ParserState_mkTrailingNode(x_5, x_12, x_4); +lean_dec(x_4); +return x_13; } } } +lean_object* l_Lean_Parser_Term_sortApp___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_sortApp___elambda__1___rarg), 2, 0); +return x_2; +} +} lean_object* _init_l_Lean_Parser_Term_sortApp___closed__1() { _start: { @@ -31142,7 +31240,7 @@ lean_object* _init_l_Lean_Parser_Term_sortApp___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_sortApp___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; x_2 = l_Lean_Parser_Term_sortApp___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -31152,7 +31250,7 @@ lean_object* _init_l_Lean_Parser_Term_sortApp___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_sortApp___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_sortApp___elambda__1___boxed), 1, 0); return x_1; } } @@ -31176,13 +31274,22 @@ x_1 = l_Lean_Parser_Term_sortApp___closed__6; return x_1; } } +lean_object* l_Lean_Parser_Term_sortApp___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Term_sortApp___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_sortApp(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_termParser___closed__2; -x_4 = l_Lean_Parser_Term_sortApp___elambda__1___closed__2; +x_4 = l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Term_sortApp; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -31230,6 +31337,15 @@ return x_5; lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__5() { _start: { +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = l_Lean_Parser_ident(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; x_2 = l_Lean_Parser_Term_proj___elambda__1___closed__3; @@ -31237,17 +31353,17 @@ x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__6() { +lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_proj___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_proj___elambda__1___closed__6; x_2 = l_Lean_Parser_symbolNoWsFn___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__7() { +lean_object* _init_l_Lean_Parser_Term_proj___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -31259,11 +31375,11 @@ return x_2; lean_object* l_Lean_Parser_Term_proj___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_43; +lean_object* x_4; lean_object* x_5; 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; x_4 = l_Lean_Parser_Term_proj___elambda__1___closed__4; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); -x_6 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +x_6 = l_Lean_Parser_Term_proj___elambda__1___closed__5; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); x_8 = lean_ctor_get(x_3, 0); @@ -31273,19 +31389,19 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_3, 3); lean_inc(x_10); x_11 = lean_array_get_size(x_8); -lean_dec(x_8); -lean_inc(x_1); -x_43 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); if (lean_obj_tag(x_10) == 0) { -uint8_t x_44; -x_44 = l_Lean_Parser_checkTailNoWs(x_1); +lean_object* x_43; uint8_t x_44; +x_43 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_8); +lean_dec(x_8); +x_44 = l_Lean_Parser_checkTailNoWs(x_43); +lean_dec(x_43); if (x_44 == 0) { lean_object* x_45; lean_object* x_46; lean_dec(x_9); -x_45 = l_Lean_Parser_Term_proj___elambda__1___closed__6; -x_46 = l_Lean_Parser_ParserState_mkError(x_43, x_45); +x_45 = l_Lean_Parser_Term_proj___elambda__1___closed__7; +x_46 = l_Lean_Parser_ParserState_mkError(x_3, x_45); x_12 = x_46; goto block_42; } @@ -31298,9 +31414,9 @@ x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); lean_dec(x_47); x_49 = l_Lean_Parser_Term_proj___elambda__1___closed__3; -x_50 = l_Lean_Parser_Term_proj___elambda__1___closed__6; +x_50 = l_Lean_Parser_Term_proj___elambda__1___closed__7; x_51 = lean_unsigned_to_nat(0u); -x_52 = l_Lean_Parser_strAux___main(x_49, x_50, x_51, x_2, x_43); +x_52 = l_Lean_Parser_strAux___main(x_49, x_50, x_51, x_2, x_3); x_53 = lean_ctor_get(x_52, 3); lean_inc(x_53); if (lean_obj_tag(x_53) == 0) @@ -31312,7 +31428,7 @@ x_54 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_54, 0, x_48); lean_ctor_set(x_54, 1, x_9); lean_ctor_set(x_54, 2, x_9); -x_55 = l_Lean_Parser_Term_proj___elambda__1___closed__7; +x_55 = l_Lean_Parser_Term_proj___elambda__1___closed__8; x_56 = lean_nat_add(x_9, x_55); lean_inc(x_56); x_57 = lean_alloc_ctor(0, 3, 0); @@ -31347,12 +31463,14 @@ else lean_object* x_62; lean_object* x_63; lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_62 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -x_63 = l_Lean_Parser_ParserState_mkNode(x_43, x_62, x_11); +x_63 = l_Lean_Parser_ParserState_mkTrailingNode(x_3, x_62, x_11); +lean_dec(x_11); return x_63; } block_42: @@ -31420,7 +31538,8 @@ lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); x_19 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -x_20 = l_Lean_Parser_ParserState_mkNode(x_17, x_19, x_11); +x_20 = l_Lean_Parser_ParserState_mkTrailingNode(x_17, x_19, x_11); +lean_dec(x_11); return x_20; } else @@ -31443,7 +31562,8 @@ lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); x_24 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_17, x_24, x_11); +x_25 = l_Lean_Parser_ParserState_mkTrailingNode(x_17, x_24, x_11); +lean_dec(x_11); return x_25; } else @@ -31456,7 +31576,8 @@ x_27 = lean_apply_3(x_7, x_1, x_2, x_26); x_28 = l_Lean_Parser_mergeOrElseErrors(x_27, x_21, x_16); lean_dec(x_16); x_29 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_11); +x_30 = l_Lean_Parser_ParserState_mkTrailingNode(x_28, x_29, x_11); +lean_dec(x_11); return x_30; } } @@ -31471,7 +31592,8 @@ lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_40 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_12, x_40, x_11); +x_41 = l_Lean_Parser_ParserState_mkTrailingNode(x_12, x_40, x_11); +lean_dec(x_11); return x_41; } } @@ -31523,7 +31645,7 @@ lean_object* _init_l_Lean_Parser_Term_proj___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +x_1 = l_Lean_Parser_Term_proj___elambda__1___closed__5; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_proj___closed__4; @@ -31643,7 +31765,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_arrow___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -31699,7 +31822,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -31707,17 +31830,17 @@ x_1 = lean_mk_string("arrayRef"); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__3() { +lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31727,7 +31850,7 @@ x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__4() { +lean_object* _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -31736,196 +31859,210 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_41; -x_4 = lean_ctor_get(x_3, 0); +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); +x_5 = lean_ctor_get(x_2, 3); lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 3); -lean_inc(x_6); -x_7 = lean_array_get_size(x_4); +x_6 = lean_array_get_size(x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_3); +lean_dec(x_3); +x_41 = l_Lean_Parser_checkTailNoWs(x_40); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_dec(x_4); -lean_inc(x_1); -x_41 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_42; -x_42 = l_Lean_Parser_checkTailNoWs(x_1); -lean_dec(x_1); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_5); -x_43 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__3; -x_44 = l_Lean_Parser_ParserState_mkError(x_41, x_43); -x_8 = x_44; -goto block_40; +x_42 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3; +x_43 = l_Lean_Parser_ParserState_mkError(x_2, x_42); +x_7 = x_43; +goto block_39; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = lean_ctor_get(x_2, 0); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_44 = lean_ctor_get(x_1, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Lean_Parser_Term_listLit___elambda__1___closed__5; -x_48 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__3; -x_49 = lean_unsigned_to_nat(0u); -x_50 = l_Lean_Parser_strAux___main(x_47, x_48, x_49, x_2, x_41); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +lean_dec(x_44); +x_46 = l_Lean_Parser_Term_listLit___elambda__1___closed__5; +x_47 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3; +x_48 = lean_unsigned_to_nat(0u); +x_49 = l_Lean_Parser_strAux___main(x_46, x_47, x_48, x_1, x_2); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 0) { -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_inc_n(x_5, 2); -lean_inc(x_46); -x_52 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_52, 0, x_46); -lean_ctor_set(x_52, 1, x_5); -lean_ctor_set(x_52, 2, x_5); -x_53 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__4; -x_54 = lean_nat_add(x_5, x_53); -lean_inc(x_54); +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_inc_n(x_4, 2); +lean_inc(x_45); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_45); +lean_ctor_set(x_51, 1, x_4); +lean_ctor_set(x_51, 2, x_4); +x_52 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4; +x_53 = lean_nat_add(x_4, x_52); +lean_inc(x_53); +x_54 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_54, 0, x_45); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_53); x_55 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_55, 0, x_46); -lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_4); lean_ctor_set(x_55, 2, x_54); -x_56 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_56, 0, x_52); -lean_ctor_set(x_56, 1, x_5); -lean_ctor_set(x_56, 2, x_55); -x_57 = lean_alloc_ctor(1, 1, 0); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_56); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_47); -x_59 = l_Lean_Parser_ParserState_pushSyntax(x_50, x_58); -x_8 = x_59; -goto block_40; +lean_ctor_set(x_57, 1, x_46); +x_58 = l_Lean_Parser_ParserState_pushSyntax(x_49, x_57); +x_7 = x_58; +goto block_39; } else { -lean_dec(x_51); -lean_dec(x_46); -lean_dec(x_5); -x_8 = x_50; -goto block_40; +lean_dec(x_50); +lean_dec(x_45); +lean_dec(x_4); +x_7 = x_49; +goto block_39; } } } else { -lean_object* x_60; lean_object* x_61; -lean_dec(x_6); +lean_object* x_59; lean_object* x_60; lean_dec(x_5); -lean_dec(x_2); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); -x_60 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_61 = l_Lean_Parser_ParserState_mkNode(x_41, x_60, x_7); -return x_61; +x_59 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_60 = l_Lean_Parser_ParserState_mkTrailingNode(x_2, x_59, x_6); +lean_dec(x_6); +return x_60; } -block_40: +block_39: { -lean_object* x_9; -x_9 = lean_ctor_get(x_8, 3); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) +lean_object* x_8; +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = l_Lean_Parser_termParser___closed__2; -x_11 = lean_unsigned_to_nat(0u); -lean_inc(x_2); -x_12 = l_Lean_Parser_categoryParserFn(x_10, x_11, x_2, x_8); -x_13 = lean_ctor_get(x_12, 3); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_Parser_termParser___closed__2; +x_10 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +x_11 = l_Lean_Parser_categoryParserFn(x_9, x_10, x_1, x_7); +x_12 = lean_ctor_get(x_11, 3); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) +x_14 = l_Lean_Parser_tokenFn(x_1, x_11); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = l_Lean_Parser_tokenFn(x_2, x_12); -x_16 = lean_ctor_get(x_15, 3); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_17); -lean_dec(x_17); -if (lean_obj_tag(x_18) == 2) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Lean_Parser_Term_listLit___elambda__1___closed__6; -x_21 = lean_string_dec_eq(x_19, x_20); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; -x_23 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_22, x_14); -x_24 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_7); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_14); -x_26 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_27 = l_Lean_Parser_ParserState_mkNode(x_15, x_26, x_7); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_18); -x_28 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; -x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_28, x_14); -x_30 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_7); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_17 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_16); lean_dec(x_16); -x_32 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_15, x_32, x_14); -x_34 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_7); -return x_35; -} +if (lean_obj_tag(x_17) == 2) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Parser_Term_listLit___elambda__1___closed__6; +x_20 = lean_string_dec_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; +x_22 = l_Lean_Parser_ParserState_mkErrorsAt(x_14, x_21, x_13); +x_23 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_24 = l_Lean_Parser_ParserState_mkTrailingNode(x_22, x_23, x_6); +lean_dec(x_6); +return x_24; } else { -lean_object* x_36; lean_object* x_37; +lean_object* x_25; lean_object* x_26; lean_dec(x_13); -lean_dec(x_2); -x_36 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_37 = l_Lean_Parser_ParserState_mkNode(x_12, x_36, x_7); -return x_37; +x_25 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_26 = l_Lean_Parser_ParserState_mkTrailingNode(x_14, x_25, x_6); +lean_dec(x_6); +return x_26; } } else { -lean_object* x_38; lean_object* x_39; -lean_dec(x_9); -lean_dec(x_2); -x_38 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_8, x_38, x_7); -return x_39; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_17); +x_27 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; +x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_14, x_27, x_13); +x_29 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_30 = l_Lean_Parser_ParserState_mkTrailingNode(x_28, x_29, x_6); +lean_dec(x_6); +return x_30; } } +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_15); +x_31 = l_Lean_Parser_Term_listLit___elambda__1___closed__9; +x_32 = l_Lean_Parser_ParserState_mkErrorsAt(x_14, x_31, x_13); +x_33 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_34 = l_Lean_Parser_ParserState_mkTrailingNode(x_32, x_33, x_6); +lean_dec(x_6); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_12); +lean_dec(x_1); +x_35 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_36 = l_Lean_Parser_ParserState_mkTrailingNode(x_11, x_35, x_6); +lean_dec(x_6); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_8); +lean_dec(x_1); +x_37 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_38 = l_Lean_Parser_ParserState_mkTrailingNode(x_7, x_37, x_6); +lean_dec(x_6); +return x_38; +} +} +} +} +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_arrayRef___elambda__1___rarg), 2, 0); +return x_2; } } lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__1() { @@ -31941,8 +32078,19 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__2() { _start: { +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_Lean_Parser_termParser___closed__2; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Lean_Parser_categoryParser(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_namedArgument___closed__3; +x_1 = l_Lean_Parser_Term_arrayRef___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_listLit___closed__4; @@ -31950,21 +32098,11 @@ x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_arrayRef___closed__1; -x_2 = l_Lean_Parser_Term_arrayRef___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Term_arrayRef___closed__1; x_2 = l_Lean_Parser_Term_arrayRef___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -31974,26 +32112,36 @@ lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Term_arrayRef___closed__4; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_arrayRef___elambda__1), 3, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; +x_2 = l_Lean_Parser_Term_arrayRef___closed__5; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_arrayRef___elambda__1___boxed), 1, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_arrayRef___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_arrayRef___closed__5; -x_2 = l_Lean_Parser_Term_arrayRef___closed__6; +x_1 = l_Lean_Parser_Term_arrayRef___closed__6; +x_2 = l_Lean_Parser_Term_arrayRef___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -32004,23 +32152,32 @@ lean_object* _init_l_Lean_Parser_Term_arrayRef() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_arrayRef___closed__7; +x_1 = l_Lean_Parser_Term_arrayRef___closed__8; return x_1; } } +lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Term_arrayRef___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_termParser___closed__2; -x_4 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; +x_4 = l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Term_arrayRef; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -32028,17 +32185,17 @@ x_1 = lean_mk_string("dollar"); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Parser_Term_dollar___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___closed__3() { +lean_object* _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3() { _start: { lean_object* x_1; @@ -32046,74 +32203,68 @@ x_1 = lean_mk_string("space expected"); return x_1; } } -lean_object* l_Lean_Parser_Term_dollar___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Term_dollar___elambda__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_25; -x_4 = lean_ctor_get(x_3, 0); +lean_object* x_3; lean_object* x_4; lean_object* x_5; 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_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); +x_5 = lean_ctor_get(x_2, 2); lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 3); +x_6 = lean_ctor_get(x_2, 3); lean_inc(x_6); -x_7 = lean_array_get_size(x_4); -lean_dec(x_4); -x_25 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); +x_7 = lean_array_get_size(x_3); if (lean_obj_tag(x_6) == 0) { -lean_object* x_26; lean_object* x_27; -lean_inc(x_2); -x_26 = l_Lean_Parser_dollarSymbol___elambda__1___rarg(x_2, x_25); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +lean_object* x_25; lean_object* x_26; +lean_dec(x_5); +lean_dec(x_3); +lean_inc(x_1); +x_25 = l_Lean_Parser_dollarSymbol___elambda__1___rarg(x_1, x_2); +x_26 = lean_ctor_get(x_25, 3); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = l_Lean_Parser_Term_dollar___elambda__1___closed__3; -x_29 = l_Lean_Parser_checkWsBeforeFn(x_28, x_2, x_26); -x_30 = lean_ctor_get(x_29, 0); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3; +x_28 = l_Lean_Parser_checkWsBeforeFn(x_27, x_1, x_25); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 2); lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 2); +x_31 = lean_ctor_get(x_28, 3); lean_inc(x_31); -x_32 = lean_ctor_get(x_29, 3); +x_8 = x_28; +x_9 = x_29; +x_10 = x_30; +x_11 = x_31; +goto block_24; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_26); +x_32 = lean_ctor_get(x_25, 0); lean_inc(x_32); -x_8 = x_29; -x_9 = x_30; -x_10 = x_31; -x_11 = x_32; -goto block_24; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_27); -x_33 = lean_ctor_get(x_26, 0); +x_33 = lean_ctor_get(x_25, 2); lean_inc(x_33); -x_34 = lean_ctor_get(x_26, 2); +x_34 = lean_ctor_get(x_25, 3); lean_inc(x_34); -x_35 = lean_ctor_get(x_26, 3); -lean_inc(x_35); -x_8 = x_26; -x_9 = x_33; -x_10 = x_34; -x_11 = x_35; +x_8 = x_25; +x_9 = x_32; +x_10 = x_33; +x_11 = x_34; goto block_24; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_6); -x_36 = lean_ctor_get(x_25, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_25, 2); -lean_inc(x_37); -x_38 = lean_ctor_get(x_25, 3); -lean_inc(x_38); -x_8 = x_25; -x_9 = x_36; -x_10 = x_37; -x_11 = x_38; +x_8 = x_2; +x_9 = x_3; +x_10 = x_5; +x_11 = x_6; goto block_24; } block_24: @@ -32123,7 +32274,7 @@ if (lean_obj_tag(x_11) == 0) lean_object* x_12; lean_dec(x_10); lean_dec(x_9); -lean_dec(x_5); +lean_dec(x_4); x_12 = lean_ctor_get(x_8, 3); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) @@ -32131,18 +32282,20 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_13 = l_Lean_Parser_termParser___closed__2; x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Lean_Parser_categoryParserFn(x_13, x_14, x_2, x_8); -x_16 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; -x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, x_7); +x_15 = l_Lean_Parser_categoryParserFn(x_13, x_14, x_1, x_8); +x_16 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; +x_17 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_16, x_7); +lean_dec(x_7); return x_17; } else { lean_object* x_18; lean_object* x_19; lean_dec(x_12); -lean_dec(x_2); -x_18 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_8, x_18, x_7); +lean_dec(x_1); +x_18 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; +x_19 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_18, x_7); +lean_dec(x_7); return x_19; } } @@ -32150,20 +32303,29 @@ else { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_8); -lean_dec(x_2); +lean_dec(x_1); x_20 = l_Array_shrink___main___rarg(x_9, x_7); x_21 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_5); +lean_ctor_set(x_21, 1, x_4); lean_ctor_set(x_21, 2, x_10); lean_ctor_set(x_21, 3, x_11); -x_22 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; -x_23 = l_Lean_Parser_ParserState_mkNode(x_21, x_22, x_7); +x_22 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_7); +lean_dec(x_7); return x_23; } } } } +lean_object* l_Lean_Parser_Term_dollar___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dollar___elambda__1___rarg), 2, 0); +return x_2; +} +} lean_object* _init_l_Lean_Parser_Term_dollar___closed__1() { _start: { @@ -32199,7 +32361,7 @@ lean_object* _init_l_Lean_Parser_Term_dollar___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_namedArgument___closed__3; +x_1 = l_Lean_Parser_Term_arrayRef___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_dollar___closed__3; @@ -32211,7 +32373,7 @@ lean_object* _init_l_Lean_Parser_Term_dollar___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; x_2 = l_Lean_Parser_Term_dollar___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -32221,7 +32383,7 @@ lean_object* _init_l_Lean_Parser_Term_dollar___closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dollar___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dollar___elambda__1___boxed), 1, 0); return x_1; } } @@ -32245,13 +32407,22 @@ x_1 = l_Lean_Parser_Term_dollar___closed__7; return x_1; } } +lean_object* l_Lean_Parser_Term_dollar___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Term_dollar___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_dollar(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 1; x_3 = l_Lean_Parser_termParser___closed__2; -x_4 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; +x_4 = l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Term_dollar; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -32327,95 +32498,91 @@ return x_3; lean_object* l_Lean_Parser_Term_dollarProj___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_41; lean_object* x_42; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_41; x_4 = l_Lean_Parser_Term_proj___elambda__1___closed__4; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); -x_6 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__3; +x_6 = l_Lean_Parser_Term_proj___elambda__1___closed__5; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); x_9 = lean_array_get_size(x_8); lean_dec(x_8); -lean_inc(x_1); -lean_inc(x_3); -x_41 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_42 = lean_ctor_get(x_3, 3); +x_41 = lean_ctor_get(x_3, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_3, 1); lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_3, 1); -lean_inc(x_43); -lean_dec(x_3); lean_inc(x_2); -x_44 = l_Lean_Parser_tokenFn(x_2, x_41); -x_45 = lean_ctor_get(x_44, 3); +x_43 = l_Lean_Parser_tokenFn(x_2, x_3); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); lean_inc(x_45); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -x_47 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_46); -lean_dec(x_46); -if (lean_obj_tag(x_47) == 2) -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__4; -x_50 = lean_string_dec_eq(x_48, x_49); -lean_dec(x_48); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; -x_52 = l_Lean_Parser_ParserState_mkErrorsAt(x_44, x_51, x_43); -x_10 = x_52; -goto block_40; -} -else -{ -lean_dec(x_43); -x_10 = x_44; -goto block_40; -} -} -else -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_47); -x_53 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_44, x_53, x_43); -x_10 = x_54; -goto block_40; -} -} -else -{ -lean_object* x_55; lean_object* x_56; +x_46 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_45); lean_dec(x_45); -x_55 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_44, x_55, x_43); -x_10 = x_56; +if (lean_obj_tag(x_46) == 2) +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__4; +x_49 = lean_string_dec_eq(x_47, x_48); +lean_dec(x_47); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +x_50 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; +x_51 = l_Lean_Parser_ParserState_mkErrorsAt(x_43, x_50, x_42); +x_10 = x_51; +goto block_40; +} +else +{ +lean_dec(x_42); +x_10 = x_43; goto block_40; } } else { -lean_object* x_57; lean_object* x_58; -lean_dec(x_42); +lean_object* x_52; lean_object* x_53; +lean_dec(x_46); +x_52 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; +x_53 = l_Lean_Parser_ParserState_mkErrorsAt(x_43, x_52, x_42); +x_10 = x_53; +goto block_40; +} +} +else +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_44); +x_54 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__7; +x_55 = l_Lean_Parser_ParserState_mkErrorsAt(x_43, x_54, x_42); +x_10 = x_55; +goto block_40; +} +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_41); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_57 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; -x_58 = l_Lean_Parser_ParserState_mkNode(x_41, x_57, x_9); -return x_58; +x_56 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; +x_57 = l_Lean_Parser_ParserState_mkTrailingNode(x_3, x_56, x_9); +lean_dec(x_9); +return x_57; } block_40: { @@ -32482,7 +32649,8 @@ lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); x_17 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; -x_18 = l_Lean_Parser_ParserState_mkNode(x_15, x_17, x_9); +x_18 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_17, x_9); +lean_dec(x_9); return x_18; } else @@ -32505,7 +32673,8 @@ lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); x_22 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; -x_23 = l_Lean_Parser_ParserState_mkNode(x_15, x_22, x_9); +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_15, x_22, x_9); +lean_dec(x_9); return x_23; } else @@ -32518,7 +32687,8 @@ x_25 = lean_apply_3(x_7, x_1, x_2, x_24); x_26 = l_Lean_Parser_mergeOrElseErrors(x_25, x_19, x_14); lean_dec(x_14); x_27 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_9); +x_28 = l_Lean_Parser_ParserState_mkTrailingNode(x_26, x_27, x_9); +lean_dec(x_9); return x_28; } } @@ -32533,7 +32703,8 @@ lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_38 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_10, x_38, x_9); +x_39 = l_Lean_Parser_ParserState_mkTrailingNode(x_10, x_38, x_9); +lean_dec(x_9); return x_39; } } @@ -32703,7 +32874,7 @@ if (lean_obj_tag(x_50) == 0) lean_object* x_51; lean_object* x_52; x_51 = lean_ctor_get(x_49, 0); lean_inc(x_51); -x_52 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_51); +x_52 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_51); lean_dec(x_51); if (lean_obj_tag(x_52) == 2) { @@ -32754,8 +32925,7 @@ block_31: { lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = l_Lean_nullKind; -lean_inc(x_16); -x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_16); +x_20 = l_Lean_Parser_ParserState_mkTrailingNode(x_18, x_19, x_16); x_21 = lean_ctor_get(x_20, 3); lean_inc(x_21); if (lean_obj_tag(x_21) == 0) @@ -32827,7 +32997,7 @@ if (lean_obj_tag(x_36) == 0) lean_object* x_37; lean_object* x_38; x_37 = lean_ctor_get(x_35, 0); lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); +x_38 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_37); lean_dec(x_37); if (lean_obj_tag(x_38) == 2) { @@ -32972,102 +33142,97 @@ return x_3; lean_object* l_Lean_Parser_Term_where___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_array_get_size(x_4); lean_dec(x_4); -lean_inc(x_1); -lean_inc(x_3); -x_6 = l_Lean_Parser_ParserState_pushSyntax(x_3, x_1); -x_7 = lean_ctor_get(x_3, 3); +x_6 = lean_ctor_get(x_3, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -lean_dec(x_3); lean_inc(x_2); -x_9 = l_Lean_Parser_tokenFn(x_2, x_6); -x_10 = lean_ctor_get(x_9, 3); +x_8 = l_Lean_Parser_tokenFn(x_2, x_3); +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -x_12 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_11); -lean_dec(x_11); -if (lean_obj_tag(x_12) == 2) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__2; -x_15 = lean_string_dec_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_2); -lean_dec(x_1); -x_16 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; -x_17 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_16, x_8); -x_18 = l_Lean_Parser_Term_where___elambda__1___closed__2; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_5); -return x_19; -} -else -{ -uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_8); -x_20 = 1; -x_21 = 0; -x_22 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_where___elambda__1___spec__1(x_20, x_21, x_21, x_1, x_2, x_9); -lean_dec(x_1); -x_23 = l_Lean_Parser_Term_where___elambda__1___closed__2; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_5); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_12); -lean_dec(x_2); -lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_25, x_8); -x_27 = l_Lean_Parser_Term_where___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_5); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_11 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_10); lean_dec(x_10); +if (lean_obj_tag(x_11) == 2) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__2; +x_14 = lean_string_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); -lean_dec(x_1); -x_29 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; -x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_9, x_29, x_8); -x_31 = l_Lean_Parser_Term_where___elambda__1___closed__2; -x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_5); -return x_32; +x_15 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; +x_16 = l_Lean_Parser_ParserState_mkErrorsAt(x_8, x_15, x_7); +x_17 = l_Lean_Parser_Term_where___elambda__1___closed__2; +x_18 = l_Lean_Parser_ParserState_mkTrailingNode(x_16, x_17, x_5); +lean_dec(x_5); +return x_18; +} +else +{ +uint8_t x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_7); +x_19 = 1; +x_20 = 0; +x_21 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_where___elambda__1___spec__1(x_19, x_20, x_20, x_1, x_2, x_8); +x_22 = l_Lean_Parser_Term_where___elambda__1___closed__2; +x_23 = l_Lean_Parser_ParserState_mkTrailingNode(x_21, x_22, x_5); +lean_dec(x_5); +return x_23; } } else { -lean_object* x_33; lean_object* x_34; -lean_dec(x_7); -lean_dec(x_3); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_11); lean_dec(x_2); -lean_dec(x_1); -x_33 = l_Lean_Parser_Term_where___elambda__1___closed__2; -x_34 = l_Lean_Parser_ParserState_mkNode(x_6, x_33, x_5); -return x_34; +x_24 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; +x_25 = l_Lean_Parser_ParserState_mkErrorsAt(x_8, x_24, x_7); +x_26 = l_Lean_Parser_Term_where___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkTrailingNode(x_25, x_26, x_5); +lean_dec(x_5); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_9); +lean_dec(x_2); +x_28 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_where___elambda__1___spec__2___closed__5; +x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_8, x_28, x_7); +x_30 = l_Lean_Parser_Term_where___elambda__1___closed__2; +x_31 = l_Lean_Parser_ParserState_mkTrailingNode(x_29, x_30, x_5); +lean_dec(x_5); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_6); +lean_dec(x_2); +x_32 = l_Lean_Parser_Term_where___elambda__1___closed__2; +x_33 = l_Lean_Parser_ParserState_mkTrailingNode(x_3, x_32, x_5); +lean_dec(x_5); +return x_33; } } } @@ -33157,7 +33322,7 @@ lean_object* _init_l_Lean_Parser_Term_where___closed__9() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_where___elambda__1), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_where___elambda__1___boxed), 3, 0); return x_1; } } @@ -33213,6 +33378,15 @@ lean_dec(x_4); return x_10; } } +lean_object* l_Lean_Parser_Term_where___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_Term_where___elambda__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_where(lean_object* x_1) { _start: { @@ -33274,7 +33448,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_fcomp___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33379,7 +33554,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_prod___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33484,7 +33660,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_add___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33589,7 +33766,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_sub___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33694,7 +33872,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_mul___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33799,7 +33978,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_div___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -33904,7 +34084,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_mod___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34009,7 +34190,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_modN___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34114,7 +34296,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_pow___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34228,7 +34411,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_le___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34342,7 +34526,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_ge___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34447,7 +34632,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_lt___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34552,7 +34738,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_gt___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34657,7 +34844,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_eq___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34762,7 +34950,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_ne___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34867,7 +35056,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -34972,7 +35162,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_bne___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35086,7 +35277,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_heq___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35191,7 +35383,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_equiv___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35296,7 +35489,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_subst___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35410,7 +35604,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_and___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35524,7 +35719,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_or___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35638,7 +35834,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_iff___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35743,7 +35940,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35848,7 +36046,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_bor___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -35953,7 +36152,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_append___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36058,7 +36258,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_cons___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36163,7 +36364,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_orelse___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36268,7 +36470,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_orM___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36373,7 +36576,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_andM___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36478,7 +36682,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_andthen___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36583,7 +36788,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_bindOp___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36688,7 +36894,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_mapRev___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36793,7 +37000,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_seq___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -36898,7 +37106,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_seqLeft___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -37003,7 +37212,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_seqRight___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -37108,7 +37318,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_map___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -37213,7 +37424,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_mapConst___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -37318,7 +37530,8 @@ x_7 = lean_array_get_size(x_6); lean_dec(x_6); x_8 = lean_apply_3(x_5, x_1, x_2, x_3); x_9 = l_Lean_Parser_Term_mapConstRev___elambda__1___closed__2; -x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_7); +x_10 = l_Lean_Parser_ParserState_mkTrailingNode(x_8, x_9, x_7); +lean_dec(x_7); return x_10; } } @@ -39242,8 +39455,6 @@ l_Lean_Parser_Term_letPatDecl___closed__6 = _init_l_Lean_Parser_Term_letPatDecl_ lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__6); l_Lean_Parser_Term_letPatDecl___closed__7 = _init_l_Lean_Parser_Term_letPatDecl___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__7); -l_Lean_Parser_Term_letPatDecl___closed__8 = _init_l_Lean_Parser_Term_letPatDecl___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__8); l_Lean_Parser_Term_letPatDecl = _init_l_Lean_Parser_Term_letPatDecl(); lean_mark_persistent(l_Lean_Parser_Term_letPatDecl); l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__1 = _init_l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__1(); @@ -39629,6 +39840,8 @@ l_Lean_Parser_Term_namedArgument___elambda__1___closed__2 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Term_namedArgument___elambda__1___closed__2); l_Lean_Parser_Term_namedArgument___elambda__1___closed__3 = _init_l_Lean_Parser_Term_namedArgument___elambda__1___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_namedArgument___elambda__1___closed__3); +l_Lean_Parser_Term_namedArgument___elambda__1___closed__4 = _init_l_Lean_Parser_Term_namedArgument___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_namedArgument___elambda__1___closed__4); l_Lean_Parser_Term_namedArgument___closed__1 = _init_l_Lean_Parser_Term_namedArgument___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_namedArgument___closed__1); l_Lean_Parser_Term_namedArgument___closed__2 = _init_l_Lean_Parser_Term_namedArgument___closed__2(); @@ -39643,8 +39856,6 @@ l_Lean_Parser_Term_namedArgument___closed__6 = _init_l_Lean_Parser_Term_namedArg lean_mark_persistent(l_Lean_Parser_Term_namedArgument___closed__6); l_Lean_Parser_Term_namedArgument___closed__7 = _init_l_Lean_Parser_Term_namedArgument___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_namedArgument___closed__7); -l_Lean_Parser_Term_namedArgument___closed__8 = _init_l_Lean_Parser_Term_namedArgument___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_namedArgument___closed__8); l_Lean_Parser_Term_namedArgument = _init_l_Lean_Parser_Term_namedArgument(); lean_mark_persistent(l_Lean_Parser_Term_namedArgument); l_Lean_Parser_Term_app___closed__1 = _init_l_Lean_Parser_Term_app___closed__1(); @@ -39670,10 +39881,10 @@ l_Lean_Parser_Term_checkIsSort___closed__2 = _init_l_Lean_Parser_Term_checkIsSor lean_mark_persistent(l_Lean_Parser_Term_checkIsSort___closed__2); l_Lean_Parser_Term_checkIsSort = _init_l_Lean_Parser_Term_checkIsSort(); lean_mark_persistent(l_Lean_Parser_Term_checkIsSort); -l_Lean_Parser_Term_sortApp___elambda__1___closed__1 = _init_l_Lean_Parser_Term_sortApp___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_sortApp___elambda__1___closed__1); -l_Lean_Parser_Term_sortApp___elambda__1___closed__2 = _init_l_Lean_Parser_Term_sortApp___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_sortApp___elambda__1___closed__2); +l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__1); +l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_sortApp___elambda__1___rarg___closed__2); l_Lean_Parser_Term_sortApp___closed__1 = _init_l_Lean_Parser_Term_sortApp___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_sortApp___closed__1); l_Lean_Parser_Term_sortApp___closed__2 = _init_l_Lean_Parser_Term_sortApp___closed__2(); @@ -39705,6 +39916,8 @@ l_Lean_Parser_Term_proj___elambda__1___closed__6 = _init_l_Lean_Parser_Term_proj lean_mark_persistent(l_Lean_Parser_Term_proj___elambda__1___closed__6); l_Lean_Parser_Term_proj___elambda__1___closed__7 = _init_l_Lean_Parser_Term_proj___elambda__1___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_proj___elambda__1___closed__7); +l_Lean_Parser_Term_proj___elambda__1___closed__8 = _init_l_Lean_Parser_Term_proj___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_proj___elambda__1___closed__8); l_Lean_Parser_Term_proj___closed__1 = _init_l_Lean_Parser_Term_proj___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_proj___closed__1); l_Lean_Parser_Term_proj___closed__2 = _init_l_Lean_Parser_Term_proj___closed__2(); @@ -39747,14 +39960,14 @@ lean_mark_persistent(l_Lean_Parser_Term_arrow); res = l___regBuiltinParser_Lean_Parser_Term_arrow(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Term_arrayRef___elambda__1___closed__1 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___closed__1); -l_Lean_Parser_Term_arrayRef___elambda__1___closed__2 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___closed__2); -l_Lean_Parser_Term_arrayRef___elambda__1___closed__3 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___closed__3); -l_Lean_Parser_Term_arrayRef___elambda__1___closed__4 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___closed__4); +l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__1); +l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__2); +l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__3); +l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4 = _init_l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_arrayRef___elambda__1___rarg___closed__4); l_Lean_Parser_Term_arrayRef___closed__1 = _init_l_Lean_Parser_Term_arrayRef___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_arrayRef___closed__1); l_Lean_Parser_Term_arrayRef___closed__2 = _init_l_Lean_Parser_Term_arrayRef___closed__2(); @@ -39769,17 +39982,19 @@ l_Lean_Parser_Term_arrayRef___closed__6 = _init_l_Lean_Parser_Term_arrayRef___cl lean_mark_persistent(l_Lean_Parser_Term_arrayRef___closed__6); l_Lean_Parser_Term_arrayRef___closed__7 = _init_l_Lean_Parser_Term_arrayRef___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_arrayRef___closed__7); +l_Lean_Parser_Term_arrayRef___closed__8 = _init_l_Lean_Parser_Term_arrayRef___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_arrayRef___closed__8); l_Lean_Parser_Term_arrayRef = _init_l_Lean_Parser_Term_arrayRef(); lean_mark_persistent(l_Lean_Parser_Term_arrayRef); res = l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Term_dollar___elambda__1___closed__1 = _init_l_Lean_Parser_Term_dollar___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___closed__1); -l_Lean_Parser_Term_dollar___elambda__1___closed__2 = _init_l_Lean_Parser_Term_dollar___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___closed__2); -l_Lean_Parser_Term_dollar___elambda__1___closed__3 = _init_l_Lean_Parser_Term_dollar___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___closed__3); +l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1 = _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__1); +l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2 = _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__2); +l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3 = _init_l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dollar___elambda__1___rarg___closed__3); l_Lean_Parser_Term_dollar___closed__1 = _init_l_Lean_Parser_Term_dollar___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_dollar___closed__1); l_Lean_Parser_Term_dollar___closed__2 = _init_l_Lean_Parser_Term_dollar___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Transform.c b/stage0/stdlib/Init/Lean/Parser/Transform.c index 573a805377..62a9b1d11c 100644 --- a/stage0/stdlib/Init/Lean/Parser/Transform.c +++ b/stage0/stdlib/Init/Lean/Parser/Transform.c @@ -23,13 +23,13 @@ lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_removeParen___boxed(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_truncateTrailing(lean_object*); -lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); extern lean_object* l_Array_forMAux___main___at_Lean_Environment_displayStats___spec__9___closed__2; extern lean_object* l_Option_HasRepr___rarg___closed__3; @@ -41,7 +41,7 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_manyToSepBy___spec__1__ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +lean_object* l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -61,7 +61,7 @@ else { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_8 = lean_array_fget(x_3, x_4); -x_9 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_5); +x_9 = l_Array_back___at_Lean_Parser_checkLeadingFn___spec__1(x_5); x_10 = l_Lean_Syntax_getTailInfo___main(x_9); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_4, x_11); @@ -210,7 +210,7 @@ if (lean_obj_tag(x_1) == 1) lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = lean_ctor_get(x_1, 0); x_3 = lean_ctor_get(x_1, 1); -x_4 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_4 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___closed__2; x_5 = lean_name_eq(x_2, x_4); if (x_5 == 0) {