From cb1a4cb7c149a80b09da8ec204d8dcde8b92516b Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 30 Oct 2020 13:32:11 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Tactics.lean | 2 + stage0/src/Lean/Parser/Basic.lean | 29 +- stage0/src/Lean/Parser/Tactic.lean | 2 + stage0/src/Lean/PrettyPrinter/Formatter.lean | 2 + .../src/Lean/PrettyPrinter/Parenthesizer.lean | 4 + stage0/stdlib/Init/Tactics.c | 427 +++ stage0/stdlib/Lean/Data/FormatMacro.c | 91 +- stage0/stdlib/Lean/Delaborator.c | 58 +- stage0/stdlib/Lean/Elab/Binders.c | 178 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 164 +- stage0/stdlib/Lean/Elab/Declaration.c | 123 +- stage0/stdlib/Lean/Elab/DefView.c | 8 +- stage0/stdlib/Lean/Elab/Do.c | 214 +- stage0/stdlib/Lean/Elab/Match.c | 28 +- stage0/stdlib/Lean/Elab/Quotation.c | 72 +- stage0/stdlib/Lean/Elab/StructInst.c | 24 +- stage0/stdlib/Lean/Elab/Structure.c | 4 +- stage0/stdlib/Lean/Elab/Syntax.c | 353 ++- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 8 +- stage0/stdlib/Lean/Elab/Tactic/Binders.c | 33 +- stage0/stdlib/Lean/Elab/Tactic/Match.c | 4 +- stage0/stdlib/Lean/Elab/Term.c | 10 +- stage0/stdlib/Lean/Exception.c | 8 +- stage0/stdlib/Lean/Message.c | 91 +- stage0/stdlib/Lean/Parser/Basic.c | 800 ++++-- stage0/stdlib/Lean/Parser/Command.c | 8 +- stage0/stdlib/Lean/Parser/Do.c | 1194 ++++---- stage0/stdlib/Lean/Parser/Extension.c | 8 +- stage0/stdlib/Lean/Parser/Extra.c | 346 +-- stage0/stdlib/Lean/Parser/Syntax.c | 10 +- stage0/stdlib/Lean/Parser/Tactic.c | 1713 +++++++++--- stage0/stdlib/Lean/Parser/Term.c | 2485 ++++++++--------- stage0/stdlib/Lean/PrettyPrinter/Formatter.c | 47 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 51 +- stage0/stdlib/Lean/Util/Trace.c | 112 +- 35 files changed, 5126 insertions(+), 3585 deletions(-) diff --git a/stage0/src/Init/Tactics.lean b/stage0/src/Init/Tactics.lean index 9b8e3c52b4..7e96759b44 100644 --- a/stage0/src/Init/Tactics.lean +++ b/stage0/src/Init/Tactics.lean @@ -9,3 +9,5 @@ import Init.LeanInit macro "rfl" : tactic => `(exact rfl) macro "decide!" : tactic => `(exact decide!) macro "admit" : tactic => `(exact sorry) +/- We use a priority > 0, to avoid ambiguity with the builtin `have` notation -/ +macro[1] "have" x:ident ":=" p:term : tactic => `(have $x:ident : _ := $p) diff --git a/stage0/src/Lean/Parser/Basic.lean b/stage0/src/Lean/Parser/Basic.lean index b86a272a81..208dde4de7 100644 --- a/stage0/src/Lean/Parser/Basic.lean +++ b/stage0/src/Lean/Parser/Basic.lean @@ -129,7 +129,7 @@ structure ParserContext extends InputContext := (tokens : TokenTable) (insideQuot : Bool := false) (suppressInsideQuot : Bool := false) - (savedPos? : Option Position := none) + (savedPos? : Option String.Pos := none) (forbiddenTk? : Option Token := none) structure Error := @@ -366,6 +366,21 @@ def errorFn (msg : String) : ParserFn := fun _ s => fn := errorFn msg } +def errorAtSavedPosFn (msg : String) (delta : Bool) : ParserFn := fun c s => + match c.savedPos? with + | none => s + | some pos => + let pos := if delta then c.input.next pos else pos + match s with + | ⟨stack, _, cache, _⟩ => ⟨stack, pos, cache, some { unexpected := msg }⟩ + +/- Generate an error at the position saved with the `withPosition` combinator. + If `delta == true`, then it reports at saved position+1. + This useful to make sure a parser consumed at least one character. -/ +@[inline] def errorAtSavedPos (msg : String) (delta : Bool) : Parser := { + fn := errorAtSavedPosFn msg delta +} + /- Succeeds if `c.prec <= prec` -/ def checkPrecFn (prec : Nat) : ParserFn := fun c s => if c.prec <= prec then s @@ -1332,7 +1347,8 @@ def anyOfFn : List Parser → ParserFn match c.savedPos? with | none => s | some savedPos => - let pos := c.fileMap.toPosition s.pos + let savedPos := c.fileMap.toPosition savedPos + let pos := c.fileMap.toPosition s.pos if pos.column ≥ savedPos.column then s else s.mkError errorMsg @@ -1343,7 +1359,8 @@ def anyOfFn : List Parser → ParserFn match c.savedPos? with | none => s | some savedPos => - let pos := c.fileMap.toPosition s.pos + let savedPos := c.fileMap.toPosition savedPos + let pos := c.fileMap.toPosition s.pos if pos.column > savedPos.column then s else s.mkError errorMsg @@ -1354,7 +1371,8 @@ def anyOfFn : List Parser → ParserFn match c.savedPos? with | none => s | some savedPos => - let pos := c.fileMap.toPosition s.pos + let savedPos := c.fileMap.toPosition savedPos + let pos := c.fileMap.toPosition s.pos if pos.line == savedPos.line then s else s.mkError errorMsg @@ -1364,8 +1382,7 @@ def anyOfFn : List Parser → ParserFn @[inline] def withPosition (p : Parser) : Parser := { info := p.info, fn := fun c s => - let pos := c.fileMap.toPosition s.pos - p.fn { c with savedPos? := pos } s + p.fn { c with savedPos? := s.pos } s } @[inline] def withoutPosition (p : Parser) : Parser := { diff --git a/stage0/src/Lean/Parser/Tactic.lean b/stage0/src/Lean/Parser/Tactic.lean index 925a47af0a..48c896d9b9 100644 --- a/stage0/src/Lean/Parser/Tactic.lean +++ b/stage0/src/Lean/Parser/Tactic.lean @@ -43,6 +43,7 @@ def ident' : Parser := ident <|> underscore @[builtinTacticParser] def «traceState» := parser! nonReservedSymbol "traceState" @[builtinTacticParser] def «failIfSuccess» := parser! nonReservedSymbol "failIfSuccess " >> tacticSeq @[builtinTacticParser] def «generalize» := parser! nonReservedSymbol "generalize " >> optional («try» (ident >> " : ")) >> termParser 51 >> " = " >> ident +@[builtinTacticParser] def «unknown» := parser! withPosition (ident >> errorAtSavedPos "unknown tactic" true) def locationWildcard := parser! "*" def locationTarget := parser! unicodeSymbol "⊢" "|-" @@ -84,6 +85,7 @@ def withIds : Parser := optional (" with " >> many1 (checkColGt >> ident')) @[builtinTacticParser] def «show» := parser! "show " >> termParser @[builtinTacticParser] def «let» := parser! "let " >> Term.letDecl @[builtinTacticParser] def «let!» := parser! "let! " >> Term.letDecl +@[builtinTacticParser] def «letrec» := parser! withPosition (group ("let " >> nonReservedSymbol "rec ") >> Term.letRecDecls) end Tactic end Parser diff --git a/stage0/src/Lean/PrettyPrinter/Formatter.lean b/stage0/src/Lean/PrettyPrinter/Formatter.lean index 30bebb2bab..6e641d4246 100644 --- a/stage0/src/Lean/PrettyPrinter/Formatter.lean +++ b/stage0/src/Lean/PrettyPrinter/Formatter.lean @@ -192,6 +192,8 @@ def categoryParserOfStack.formatter (offset : Nat) : Formatter := do @[combinatorFormatter Lean.Parser.error] def error.formatter (msg : String) : Formatter := pure () +@[combinatorFormatter Lean.Parser.errorAtSavedPos] +def errorAtSavedPos.formatter (msg : String) (delta : Bool) : Formatter := pure () @[combinatorFormatter Lean.Parser.try] def try.formatter (p : Formatter) : Formatter := p @[combinatorFormatter Lean.Parser.lookahead] diff --git a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean index 2d51f0fe85..b279216f0d 100644 --- a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean @@ -330,6 +330,10 @@ def level.parenthesizer : CategoryParenthesizer | prec => do def error.parenthesizer (msg : String) : Parenthesizer := pure () +@[combinatorParenthesizer Lean.Parser.errorAtSavedPos] +def errorAtSavedPos.parenthesizer (msg : String) (delta : Bool) : Parenthesizer := + pure () + @[combinatorParenthesizer Lean.Parser.try] def try.parenthesizer (p : Parenthesizer) : Parenthesizer := p diff --git a/stage0/stdlib/Init/Tactics.c b/stage0/stdlib/Init/Tactics.c index 69aa9a4cbf..8f95229052 100644 --- a/stage0/stdlib/Init/Tactics.c +++ b/stage0/stdlib/Init/Tactics.c @@ -17,30 +17,44 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__7; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__3; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__7; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__7; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__1; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__9; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__2; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__11; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__2; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__9; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__8; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1; extern lean_object* l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__8; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__10; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12; lean_object* lean_string_utf8_byte_size(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__10; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__6; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__5; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__3; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__6; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__3; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__13; lean_object* l_myMacro____x40_Init_Tactics___hyg_186_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_338_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Tactics___hyg_502_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_31_(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__12; +extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__12; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__5; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__4; @@ -49,6 +63,11 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__3; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__11; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__11; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1; +extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__8; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__4; @@ -58,7 +77,9 @@ extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__8; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__8; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__4; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__4; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461_; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309_; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2_; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157_; @@ -66,6 +87,7 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__10; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__3; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__9; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__4; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__5; @@ -79,12 +101,18 @@ extern lean_object* l_Lean_Init_LeanInit___instance__8___closed__1; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__2; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__6; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__9; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__2; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__6; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__1; +extern lean_object* l_Lean_mkHole___closed__2; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__11; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__11; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__3; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__4; @@ -94,6 +122,8 @@ lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__14; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__5; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__7; +lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7; +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__6; static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_2____closed__1() { _start: { @@ -906,6 +936,355 @@ lean_dec(x_2); return x_4; } } +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__10; +x_2 = lean_unsigned_to_nat(461u); +x_3 = lean_name_mk_numeral(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("have"); +return x_1; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = 0; +x_3 = lean_alloc_ctor(12, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3; +x_2 = lean_box(19); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; +x_2 = 0; +x_3 = lean_alloc_ctor(12, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____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); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term"); +return x_1; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(20, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_tactic____x40_Init_Tactics___hyg_461_() { +_start: +{ +lean_object* x_1; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12; +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_2 = l_Lean_Name_appendIndexAfter___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkHole___closed__2; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("haveAssign"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_myMacro____x40_Init_Tactics___hyg_502_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_Syntax_getArgs(x_1); +x_9 = lean_array_get_size(x_8); +lean_dec(x_8); +x_10 = lean_unsigned_to_nat(4u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; 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; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(3u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +lean_dec(x_1); +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_15); +x_20 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = l_Lean_nullKind___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l_myMacro____x40_Init_Tactics___hyg_502____closed__3; +x_25 = lean_array_push(x_24, x_23); +x_26 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; +x_27 = lean_array_push(x_25, x_26); +x_28 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; +x_29 = lean_array_push(x_28, x_17); +x_30 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_array_push(x_27, x_31); +x_33 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; +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_array_push(x_18, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_22); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_array_push(x_18, x_36); +x_38 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_3); +return x_40; +} +} +} +} +lean_object* l_myMacro____x40_Init_Tactics___hyg_502____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_myMacro____x40_Init_Tactics___hyg_502_(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} lean_object* initialize_Init_LeanInit(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Tactics(lean_object* w) { @@ -1035,6 +1414,54 @@ l_myMacro____x40_Init_Tactics___hyg_338____closed__10 = _init_l_myMacro____x40_I lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_338____closed__10); l_myMacro____x40_Init_Tactics___hyg_338____closed__11 = _init_l_myMacro____x40_Init_Tactics___hyg_338____closed__11(); lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_338____closed__11); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__3); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__6 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__6(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__6); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__7); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__11); +l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12 = _init_l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461____closed__12); +l___kind_tactic____x40_Init_Tactics___hyg_461_ = _init_l___kind_tactic____x40_Init_Tactics___hyg_461_(); +lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_461_); +l_myMacro____x40_Init_Tactics___hyg_502____closed__1 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__1); +l_myMacro____x40_Init_Tactics___hyg_502____closed__2 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__2); +l_myMacro____x40_Init_Tactics___hyg_502____closed__3 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__3); +l_myMacro____x40_Init_Tactics___hyg_502____closed__4 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__4); +l_myMacro____x40_Init_Tactics___hyg_502____closed__5 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__5); +l_myMacro____x40_Init_Tactics___hyg_502____closed__6 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__6); +l_myMacro____x40_Init_Tactics___hyg_502____closed__7 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__7); +l_myMacro____x40_Init_Tactics___hyg_502____closed__8 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__8); +l_myMacro____x40_Init_Tactics___hyg_502____closed__9 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__9); +l_myMacro____x40_Init_Tactics___hyg_502____closed__10 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__10); +l_myMacro____x40_Init_Tactics___hyg_502____closed__11 = _init_l_myMacro____x40_Init_Tactics___hyg_502____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_502____closed__11); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Data/FormatMacro.c b/stage0/stdlib/Lean/Data/FormatMacro.c index 83ffb31909..a088fbcb3e 100644 --- a/stage0/stdlib/Lean/Data/FormatMacro.c +++ b/stage0/stdlib/Lean/Data/FormatMacro.c @@ -16,13 +16,16 @@ extern "C" { lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12; +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__1; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; extern lean_object* l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -33,10 +36,10 @@ extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__7; @@ -64,13 +67,11 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__1; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11; extern lean_object* l_Lean_mkAppStx___closed__2; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1() { @@ -78,7 +79,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -173,7 +174,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; x_2 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -336,27 +337,37 @@ return x_1; static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Format"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("Format"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; +x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -364,22 +375,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -388,11 +389,9 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_mkAppStx___closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -402,6 +401,18 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -474,17 +485,17 @@ lean_inc(x_23); lean_dec(x_2); x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5; +x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__6; x_27 = l_Lean_addMacroScope(x_23, x_26, x_22); x_28 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_29 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4; -x_30 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8; +x_29 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5; +x_30 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9; x_31 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_29); lean_ctor_set(x_31, 2, x_27); lean_ctor_set(x_31, 3, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_32 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_33 = lean_array_push(x_32, x_31); x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_35 = lean_alloc_ctor(1, 2, 0); @@ -525,17 +536,17 @@ lean_inc(x_50); lean_dec(x_2); x_51 = l_Array_empty___closed__1; x_52 = lean_array_push(x_51, x_47); -x_53 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5; +x_53 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__6; x_54 = l_Lean_addMacroScope(x_50, x_53, x_49); x_55 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_56 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4; -x_57 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8; +x_56 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5; +x_57 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9; x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_55); lean_ctor_set(x_58, 1, x_56); lean_ctor_set(x_58, 2, x_54); lean_ctor_set(x_58, 3, x_57); -x_59 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_59 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_60 = lean_array_push(x_59, x_58); x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); @@ -662,6 +673,8 @@ l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__7 = _init_l_Lean lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__7); l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__9); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index 044eb2bb32..90a56c3e1f 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -54,7 +54,6 @@ lean_object* l_Lean_Delaborator_getExprKind___closed__9; lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabFVar___closed__1; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; lean_object* l_Lean_Delaborator_delabSort_match__1(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMod(lean_object*); @@ -135,7 +134,6 @@ lean_object* l_Lean_Delaborator_delabNe___lambda__1(uint8_t, lean_object*, lean_ lean_object* l_Lean_Delaborator_withBindingBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1; lean_object* l_Lean_Delaborator_delabOrElse___closed__1; @@ -171,6 +169,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3; lean_object* l_Lean_Delaborator_delabEquiv___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_LeanInit_0__Lean_quoteList___rarg___closed__1; +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,6 +197,7 @@ lean_object* l_Lean_Delaborator_withAppArg(lean_object*); lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__4; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__2; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabGT(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabLE___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__1; @@ -384,7 +384,6 @@ lean_object* l_Lean_Delaborator_delabAppImplicit(lean_object*, lean_object*, lea lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3; lean_object* l_Lean_Delaborator_getExprKind___closed__10; lean_object* l_Lean_Delaborator_delabSort___closed__3; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; lean_object* l_Lean_Delaborator_getExprKind___closed__12; lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object*); @@ -411,7 +410,6 @@ lean_object* l_Lean_Delaborator_delabBNe___lambda__1___closed__4; extern lean_object* l_Lean_Elab_Level_elabLevel___closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabHEq___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabAnd(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_Delaborator_Context_pos___default; lean_object* l___regBuiltin_Lean_Delaborator_delabNot___closed__3; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; @@ -657,7 +655,6 @@ lean_object* l_Lean_Delaborator_delabBEq___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabGT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPPrivateNames(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_Lean_Delaborator___instance__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkSimpleThunk___closed__1; @@ -692,6 +689,7 @@ lean_object* l_Lean_Delaborator_getExprKind___closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__2; uint8_t l_Lean_getPPStructureInstances(lean_object*); lean_object* l_Lean_Delaborator_getParamKinds_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; lean_object* l_Lean_Delaborator_delabAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBNe___closed__1; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; @@ -740,7 +738,6 @@ lean_object* l_Lean_Delaborator_failure___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrM___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBNot___closed__1; lean_object* l_Lean_Delaborator_delabProj_match__1(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; lean_object* l_Lean_Delaborator_delabOfNat___closed__1; extern lean_object* l_Lean_Elab_Level_elabLevel___closed__8; lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1___boxed(lean_object*, lean_object*); @@ -1009,6 +1006,7 @@ lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__12; lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__3; extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__4; lean_object* l_Array_toList___rarg(lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabSort___closed__1; @@ -1114,6 +1112,7 @@ lean_object* l_Lean_Delaborator_Lean_Delaborator___instance__3___lambda__1___box lean_object* l_Lean_Delaborator_delabseq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit___closed__2; lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__4; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); @@ -1261,6 +1260,7 @@ lean_object* l_Lean_Delaborator_elabMData___closed__1; lean_object* l_Lean_Delaborator_delabAppExplicit___closed__1; lean_object* l_Lean_Level_quote___lambda__6___closed__2; lean_object* l_Lean_Delaborator_delabBVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__6; lean_object* l_Lean_Delaborator_delabModN___closed__1; lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabAndM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1642,7 +1642,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Level_elabLevel___closed__6; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -16785,7 +16785,7 @@ x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); x_15 = lean_array_push(x_11, x_14); -x_16 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_16 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_17 = lean_array_push(x_15, x_16); x_18 = lean_array_push(x_17, x_1); x_19 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -16821,7 +16821,7 @@ x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = lean_array_push(x_29, x_32); -x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_35 = lean_array_push(x_33, x_34); x_36 = lean_array_push(x_35, x_1); x_37 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -16890,7 +16890,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); x_78 = lean_array_push(x_73, x_77); -x_79 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_79 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_71); x_82 = lean_alloc_ctor(1, 2, 0); @@ -16918,7 +16918,7 @@ x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = lean_array_push(x_46, x_49); -x_51 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_51 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_52 = lean_array_push(x_50, x_51); x_53 = lean_array_push(x_52, x_1); x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -16945,7 +16945,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_3); -x_12 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_12 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_13 = lean_array_push(x_12, x_1); x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_15 = lean_alloc_ctor(1, 2, 0); @@ -17317,7 +17317,7 @@ lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__4; x_74 = lean_array_push(x_73, x_72); -x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_75 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_76 = lean_array_push(x_75, x_14); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_71); @@ -17347,7 +17347,7 @@ x_84 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); lean_dec(x_1); x_85 = l_Array_empty___closed__1; x_86 = lean_array_push(x_85, x_84); -x_87 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_87 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_88 = lean_array_push(x_86, x_87); x_89 = l_Lean_nullKind___closed__2; x_90 = lean_alloc_ctor(1, 2, 0); @@ -17708,7 +17708,7 @@ lean_ctor_set(x_173, 0, x_172); lean_ctor_set(x_173, 1, x_171); x_174 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__4; x_175 = lean_array_push(x_174, x_173); -x_176 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_176 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_177 = lean_array_push(x_176, x_14); x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_172); @@ -17738,7 +17738,7 @@ x_185 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); lean_dec(x_1); x_186 = l_Array_empty___closed__1; x_187 = lean_array_push(x_186, x_185); -x_188 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_188 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_189 = lean_array_push(x_187, x_188); x_190 = l_Lean_nullKind___closed__2; x_191 = lean_alloc_ctor(1, 2, 0); @@ -18272,7 +18272,7 @@ lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); x_49 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_50 = lean_array_push(x_49, x_48); -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_51 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_52 = lean_array_push(x_51, x_15); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_47); @@ -18404,7 +18404,7 @@ lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__4; x_72 = lean_array_push(x_71, x_70); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_73 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_74 = lean_array_push(x_73, x_15); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_69); @@ -18445,7 +18445,7 @@ lean_dec(x_3); x_88 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); x_89 = l_Array_empty___closed__1; x_90 = lean_array_push(x_89, x_88); -x_91 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_91 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_92 = lean_array_push(x_90, x_91); x_93 = l_Lean_nullKind___closed__2; x_94 = lean_alloc_ctor(1, 2, 0); @@ -18613,7 +18613,7 @@ lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); x_155 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_156 = lean_array_push(x_155, x_154); -x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_157 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_158 = lean_array_push(x_157, x_121); x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_153); @@ -18745,7 +18745,7 @@ lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__4; x_179 = lean_array_push(x_178, x_177); -x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_180 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_181 = lean_array_push(x_180, x_121); x_182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_182, 0, x_176); @@ -18785,7 +18785,7 @@ lean_dec(x_3); x_195 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); x_196 = l_Array_empty___closed__1; x_197 = lean_array_push(x_196, x_195); -x_198 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_198 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_199 = lean_array_push(x_197, x_198); x_200 = l_Lean_nullKind___closed__2; x_201 = lean_alloc_ctor(1, 2, 0); @@ -19192,7 +19192,7 @@ x_31 = l_Array_empty___closed__1; x_32 = lean_array_push(x_31, x_30); x_33 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_34 = lean_array_push(x_32, x_33); -x_35 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_35 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_36 = lean_array_push(x_35, x_20); x_37 = l_Lean_Delaborator_delabLetE___closed__4; x_38 = lean_alloc_ctor(1, 2, 0); @@ -19204,7 +19204,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_34, x_41); -x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_43 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_44 = lean_array_push(x_42, x_43); x_45 = lean_array_push(x_44, x_24); x_46 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -19241,7 +19241,7 @@ x_61 = l_Array_empty___closed__1; x_62 = lean_array_push(x_61, x_60); x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_64 = lean_array_push(x_62, x_63); -x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_65 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_66 = lean_array_push(x_65, x_20); x_67 = l_Lean_Delaborator_delabLetE___closed__4; x_68 = lean_alloc_ctor(1, 2, 0); @@ -19253,7 +19253,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); x_72 = lean_array_push(x_64, x_71); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_73 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_24); x_76 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -20735,7 +20735,7 @@ static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__1_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; x_2 = l_Lean_mkAtom(x_1); return x_2; } @@ -21293,7 +21293,7 @@ x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__6; x_82 = lean_array_push(x_81, x_80); x_83 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_84 = lean_array_push(x_82, x_83); -x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_85 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_86 = lean_array_push(x_85, x_77); x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_79); @@ -21326,7 +21326,7 @@ x_98 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__6; x_99 = lean_array_push(x_98, x_97); x_100 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_101 = lean_array_push(x_99, x_100); -x_102 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_102 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_103 = lean_array_push(x_102, x_93); x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_96); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 23eabc758d..abb5fee0c6 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -69,7 +69,6 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____c lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -78,6 +77,7 @@ lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2___rarg___boxed(lean_objec lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; extern lean_object* l_Lean_identKind___closed__2; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1; @@ -168,7 +168,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(lean_o lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__5; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__3; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,7 +270,6 @@ extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -283,6 +281,7 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__ extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__3; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; extern lean_object* l_Lean_formatEntry___closed__1; lean_object* l_Lean_mkFVar(lean_object*); @@ -459,6 +458,7 @@ lean_object* l_Init_Control_MonadControl___instance__1___rarg(lean_object*, lean lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandLetEqnsDeclVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6408,7 +6408,7 @@ lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); x_37 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_38 = lean_array_push(x_37, x_36); -x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_39 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_40 = lean_array_push(x_39, x_18); x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_35); @@ -6464,7 +6464,7 @@ lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_71 = lean_array_push(x_70, x_69); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_72 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_73 = lean_array_push(x_72, x_18); x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_68); @@ -9079,7 +9079,7 @@ x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_48); lean_ctor_set(x_57, 1, x_56); x_58 = lean_array_push(x_46, x_57); -x_59 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_59 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_60 = lean_array_push(x_58, x_59); x_61 = lean_array_push(x_60, x_35); x_62 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9137,7 +9137,7 @@ x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_82); lean_ctor_set(x_91, 1, x_90); x_92 = lean_array_push(x_80, x_91); -x_93 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_93 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_94 = lean_array_push(x_92, x_93); x_95 = lean_array_push(x_94, x_35); x_96 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9214,7 +9214,7 @@ x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_122); lean_ctor_set(x_131, 1, x_130); x_132 = lean_array_push(x_120, x_131); -x_133 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_133 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_134 = lean_array_push(x_132, x_133); x_135 = lean_array_push(x_134, x_110); x_136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9307,7 +9307,7 @@ x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_165); lean_ctor_set(x_174, 1, x_173); x_175 = lean_array_push(x_163, x_174); -x_176 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_176 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_177 = lean_array_push(x_175, x_176); x_178 = lean_array_push(x_177, x_152); x_179 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9479,7 +9479,7 @@ lean_dec(x_245); lean_ctor_set(x_19, 1, x_242); lean_ctor_set(x_19, 0, x_234); x_246 = lean_array_push(x_232, x_19); -x_247 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_247 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_248 = lean_array_push(x_246, x_247); x_249 = lean_array_push(x_248, x_221); x_250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9516,7 +9516,7 @@ x_263 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_263, 0, x_234); lean_ctor_set(x_263, 1, x_242); x_264 = lean_array_push(x_232, x_263); -x_265 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_265 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_266 = lean_array_push(x_264, x_265); x_267 = lean_array_push(x_266, x_221); x_268 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9588,7 +9588,7 @@ if (lean_is_scalar(x_297)) { lean_ctor_set(x_298, 0, x_288); lean_ctor_set(x_298, 1, x_296); x_299 = lean_array_push(x_286, x_298); -x_300 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_300 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_301 = lean_array_push(x_299, x_300); x_302 = lean_array_push(x_301, x_221); x_303 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9678,7 +9678,7 @@ if (lean_is_scalar(x_338)) { lean_ctor_set(x_339, 0, x_329); lean_ctor_set(x_339, 1, x_337); x_340 = lean_array_push(x_327, x_339); -x_341 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_341 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_342 = lean_array_push(x_340, x_341); x_343 = lean_array_push(x_342, x_317); x_344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9784,7 +9784,7 @@ if (lean_is_scalar(x_382)) { lean_ctor_set(x_383, 0, x_373); lean_ctor_set(x_383, 1, x_381); x_384 = lean_array_push(x_371, x_383); -x_385 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_385 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_386 = lean_array_push(x_384, x_385); x_387 = lean_array_push(x_386, x_360); x_388 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9918,7 +9918,7 @@ lean_dec(x_445); lean_ctor_set(x_19, 1, x_442); lean_ctor_set(x_19, 0, x_434); x_446 = lean_array_push(x_432, x_19); -x_447 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_447 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_448 = lean_array_push(x_446, x_447); x_449 = lean_array_push(x_448, x_421); x_450 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -9955,7 +9955,7 @@ x_463 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_463, 0, x_434); lean_ctor_set(x_463, 1, x_442); x_464 = lean_array_push(x_432, x_463); -x_465 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_465 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_466 = lean_array_push(x_464, x_465); x_467 = lean_array_push(x_466, x_421); x_468 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10027,7 +10027,7 @@ if (lean_is_scalar(x_497)) { lean_ctor_set(x_498, 0, x_488); lean_ctor_set(x_498, 1, x_496); x_499 = lean_array_push(x_486, x_498); -x_500 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_500 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_501 = lean_array_push(x_499, x_500); x_502 = lean_array_push(x_501, x_421); x_503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10117,7 +10117,7 @@ if (lean_is_scalar(x_538)) { lean_ctor_set(x_539, 0, x_529); lean_ctor_set(x_539, 1, x_537); x_540 = lean_array_push(x_527, x_539); -x_541 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_541 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_542 = lean_array_push(x_540, x_541); x_543 = lean_array_push(x_542, x_517); x_544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10223,7 +10223,7 @@ if (lean_is_scalar(x_582)) { lean_ctor_set(x_583, 0, x_573); lean_ctor_set(x_583, 1, x_581); x_584 = lean_array_push(x_571, x_583); -x_585 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_585 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_586 = lean_array_push(x_584, x_585); x_587 = lean_array_push(x_586, x_560); x_588 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10356,7 +10356,7 @@ lean_dec(x_645); lean_ctor_set(x_19, 1, x_642); lean_ctor_set(x_19, 0, x_634); x_646 = lean_array_push(x_632, x_19); -x_647 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_647 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_648 = lean_array_push(x_646, x_647); x_649 = lean_array_push(x_648, x_621); x_650 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10393,7 +10393,7 @@ x_663 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_663, 0, x_634); lean_ctor_set(x_663, 1, x_642); x_664 = lean_array_push(x_632, x_663); -x_665 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_665 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_666 = lean_array_push(x_664, x_665); x_667 = lean_array_push(x_666, x_621); x_668 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10465,7 +10465,7 @@ if (lean_is_scalar(x_697)) { lean_ctor_set(x_698, 0, x_688); lean_ctor_set(x_698, 1, x_696); x_699 = lean_array_push(x_686, x_698); -x_700 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_700 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_701 = lean_array_push(x_699, x_700); x_702 = lean_array_push(x_701, x_621); x_703 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10555,7 +10555,7 @@ if (lean_is_scalar(x_738)) { lean_ctor_set(x_739, 0, x_729); lean_ctor_set(x_739, 1, x_737); x_740 = lean_array_push(x_727, x_739); -x_741 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_741 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_742 = lean_array_push(x_740, x_741); x_743 = lean_array_push(x_742, x_717); x_744 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10661,7 +10661,7 @@ if (lean_is_scalar(x_782)) { lean_ctor_set(x_783, 0, x_773); lean_ctor_set(x_783, 1, x_781); x_784 = lean_array_push(x_771, x_783); -x_785 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_785 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_786 = lean_array_push(x_784, x_785); x_787 = lean_array_push(x_786, x_760); x_788 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10813,7 +10813,7 @@ lean_dec(x_853); lean_ctor_set(x_19, 1, x_850); lean_ctor_set(x_19, 0, x_842); x_854 = lean_array_push(x_840, x_19); -x_855 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_855 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_856 = lean_array_push(x_854, x_855); x_857 = lean_array_push(x_856, x_829); x_858 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10850,7 +10850,7 @@ x_871 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_871, 0, x_842); lean_ctor_set(x_871, 1, x_850); x_872 = lean_array_push(x_840, x_871); -x_873 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_873 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_874 = lean_array_push(x_872, x_873); x_875 = lean_array_push(x_874, x_829); x_876 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -10922,7 +10922,7 @@ if (lean_is_scalar(x_905)) { lean_ctor_set(x_906, 0, x_896); lean_ctor_set(x_906, 1, x_904); x_907 = lean_array_push(x_894, x_906); -x_908 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_908 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_909 = lean_array_push(x_907, x_908); x_910 = lean_array_push(x_909, x_829); x_911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11012,7 +11012,7 @@ if (lean_is_scalar(x_946)) { lean_ctor_set(x_947, 0, x_937); lean_ctor_set(x_947, 1, x_945); x_948 = lean_array_push(x_935, x_947); -x_949 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_949 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_950 = lean_array_push(x_948, x_949); x_951 = lean_array_push(x_950, x_925); x_952 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11118,7 +11118,7 @@ if (lean_is_scalar(x_990)) { lean_ctor_set(x_991, 0, x_981); lean_ctor_set(x_991, 1, x_989); x_992 = lean_array_push(x_979, x_991); -x_993 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_993 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_994 = lean_array_push(x_992, x_993); x_995 = lean_array_push(x_994, x_968); x_996 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11269,7 +11269,7 @@ lean_dec(x_1061); lean_ctor_set(x_19, 1, x_1058); lean_ctor_set(x_19, 0, x_1050); x_1062 = lean_array_push(x_1048, x_19); -x_1063 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1063 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1064 = lean_array_push(x_1062, x_1063); x_1065 = lean_array_push(x_1064, x_1037); x_1066 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11306,7 +11306,7 @@ x_1079 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1079, 0, x_1050); lean_ctor_set(x_1079, 1, x_1058); x_1080 = lean_array_push(x_1048, x_1079); -x_1081 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1081 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1082 = lean_array_push(x_1080, x_1081); x_1083 = lean_array_push(x_1082, x_1037); x_1084 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11378,7 +11378,7 @@ if (lean_is_scalar(x_1113)) { lean_ctor_set(x_1114, 0, x_1104); lean_ctor_set(x_1114, 1, x_1112); x_1115 = lean_array_push(x_1102, x_1114); -x_1116 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1116 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1117 = lean_array_push(x_1115, x_1116); x_1118 = lean_array_push(x_1117, x_1037); x_1119 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11468,7 +11468,7 @@ if (lean_is_scalar(x_1154)) { lean_ctor_set(x_1155, 0, x_1145); lean_ctor_set(x_1155, 1, x_1153); x_1156 = lean_array_push(x_1143, x_1155); -x_1157 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1157 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1158 = lean_array_push(x_1156, x_1157); x_1159 = lean_array_push(x_1158, x_1133); x_1160 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11574,7 +11574,7 @@ if (lean_is_scalar(x_1198)) { lean_ctor_set(x_1199, 0, x_1189); lean_ctor_set(x_1199, 1, x_1197); x_1200 = lean_array_push(x_1187, x_1199); -x_1201 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1201 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1202 = lean_array_push(x_1200, x_1201); x_1203 = lean_array_push(x_1202, x_1176); x_1204 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11712,7 +11712,7 @@ lean_dec(x_1262); lean_ctor_set(x_19, 1, x_1259); lean_ctor_set(x_19, 0, x_1251); x_1263 = lean_array_push(x_1249, x_19); -x_1264 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1264 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1265 = lean_array_push(x_1263, x_1264); x_1266 = lean_array_push(x_1265, x_1238); x_1267 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11749,7 +11749,7 @@ x_1280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1280, 0, x_1251); lean_ctor_set(x_1280, 1, x_1259); x_1281 = lean_array_push(x_1249, x_1280); -x_1282 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1282 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1283 = lean_array_push(x_1281, x_1282); x_1284 = lean_array_push(x_1283, x_1238); x_1285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11821,7 +11821,7 @@ if (lean_is_scalar(x_1314)) { lean_ctor_set(x_1315, 0, x_1305); lean_ctor_set(x_1315, 1, x_1313); x_1316 = lean_array_push(x_1303, x_1315); -x_1317 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1317 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1318 = lean_array_push(x_1316, x_1317); x_1319 = lean_array_push(x_1318, x_1238); x_1320 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -11911,7 +11911,7 @@ if (lean_is_scalar(x_1355)) { lean_ctor_set(x_1356, 0, x_1346); lean_ctor_set(x_1356, 1, x_1354); x_1357 = lean_array_push(x_1344, x_1356); -x_1358 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1358 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1359 = lean_array_push(x_1357, x_1358); x_1360 = lean_array_push(x_1359, x_1334); x_1361 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12017,7 +12017,7 @@ if (lean_is_scalar(x_1399)) { lean_ctor_set(x_1400, 0, x_1390); lean_ctor_set(x_1400, 1, x_1398); x_1401 = lean_array_push(x_1388, x_1400); -x_1402 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1402 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1403 = lean_array_push(x_1401, x_1402); x_1404 = lean_array_push(x_1403, x_1377); x_1405 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12172,7 +12172,7 @@ lean_dec(x_1470); lean_ctor_set(x_19, 1, x_1467); lean_ctor_set(x_19, 0, x_1459); x_1471 = lean_array_push(x_1457, x_19); -x_1472 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1472 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1473 = lean_array_push(x_1471, x_1472); x_1474 = lean_array_push(x_1473, x_1446); x_1475 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12209,7 +12209,7 @@ x_1488 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1488, 0, x_1459); lean_ctor_set(x_1488, 1, x_1467); x_1489 = lean_array_push(x_1457, x_1488); -x_1490 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1490 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1491 = lean_array_push(x_1489, x_1490); x_1492 = lean_array_push(x_1491, x_1446); x_1493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12281,7 +12281,7 @@ if (lean_is_scalar(x_1522)) { lean_ctor_set(x_1523, 0, x_1513); lean_ctor_set(x_1523, 1, x_1521); x_1524 = lean_array_push(x_1511, x_1523); -x_1525 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1525 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1526 = lean_array_push(x_1524, x_1525); x_1527 = lean_array_push(x_1526, x_1446); x_1528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12371,7 +12371,7 @@ if (lean_is_scalar(x_1563)) { lean_ctor_set(x_1564, 0, x_1554); lean_ctor_set(x_1564, 1, x_1562); x_1565 = lean_array_push(x_1552, x_1564); -x_1566 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1566 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1567 = lean_array_push(x_1565, x_1566); x_1568 = lean_array_push(x_1567, x_1542); x_1569 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12477,7 +12477,7 @@ if (lean_is_scalar(x_1607)) { lean_ctor_set(x_1608, 0, x_1598); lean_ctor_set(x_1608, 1, x_1606); x_1609 = lean_array_push(x_1596, x_1608); -x_1610 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1610 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1611 = lean_array_push(x_1609, x_1610); x_1612 = lean_array_push(x_1611, x_1585); x_1613 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12604,7 +12604,7 @@ lean_dec(x_1667); lean_ctor_set(x_19, 1, x_1664); lean_ctor_set(x_19, 0, x_1656); x_1668 = lean_array_push(x_1654, x_19); -x_1669 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1669 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1670 = lean_array_push(x_1668, x_1669); x_1671 = lean_array_push(x_1670, x_1643); x_1672 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12641,7 +12641,7 @@ x_1685 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1685, 0, x_1656); lean_ctor_set(x_1685, 1, x_1664); x_1686 = lean_array_push(x_1654, x_1685); -x_1687 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1687 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1688 = lean_array_push(x_1686, x_1687); x_1689 = lean_array_push(x_1688, x_1643); x_1690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12713,7 +12713,7 @@ if (lean_is_scalar(x_1719)) { lean_ctor_set(x_1720, 0, x_1710); lean_ctor_set(x_1720, 1, x_1718); x_1721 = lean_array_push(x_1708, x_1720); -x_1722 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1722 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1723 = lean_array_push(x_1721, x_1722); x_1724 = lean_array_push(x_1723, x_1643); x_1725 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12803,7 +12803,7 @@ if (lean_is_scalar(x_1760)) { lean_ctor_set(x_1761, 0, x_1751); lean_ctor_set(x_1761, 1, x_1759); x_1762 = lean_array_push(x_1749, x_1761); -x_1763 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1763 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1764 = lean_array_push(x_1762, x_1763); x_1765 = lean_array_push(x_1764, x_1739); x_1766 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -12909,7 +12909,7 @@ if (lean_is_scalar(x_1804)) { lean_ctor_set(x_1805, 0, x_1795); lean_ctor_set(x_1805, 1, x_1803); x_1806 = lean_array_push(x_1793, x_1805); -x_1807 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1807 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1808 = lean_array_push(x_1806, x_1807); x_1809 = lean_array_push(x_1808, x_1782); x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13106,7 +13106,7 @@ lean_dec(x_1885); lean_ctor_set(x_19, 1, x_1882); lean_ctor_set(x_19, 0, x_1874); x_1886 = lean_array_push(x_1872, x_19); -x_1887 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1887 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1888 = lean_array_push(x_1886, x_1887); x_1889 = lean_array_push(x_1888, x_1861); x_1890 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13143,7 +13143,7 @@ x_1903 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1903, 0, x_1874); lean_ctor_set(x_1903, 1, x_1882); x_1904 = lean_array_push(x_1872, x_1903); -x_1905 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1905 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1906 = lean_array_push(x_1904, x_1905); x_1907 = lean_array_push(x_1906, x_1861); x_1908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13215,7 +13215,7 @@ if (lean_is_scalar(x_1937)) { lean_ctor_set(x_1938, 0, x_1928); lean_ctor_set(x_1938, 1, x_1936); x_1939 = lean_array_push(x_1926, x_1938); -x_1940 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1940 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1941 = lean_array_push(x_1939, x_1940); x_1942 = lean_array_push(x_1941, x_1861); x_1943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13305,7 +13305,7 @@ if (lean_is_scalar(x_1978)) { lean_ctor_set(x_1979, 0, x_1969); lean_ctor_set(x_1979, 1, x_1977); x_1980 = lean_array_push(x_1967, x_1979); -x_1981 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1981 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1982 = lean_array_push(x_1980, x_1981); x_1983 = lean_array_push(x_1982, x_1957); x_1984 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13411,7 +13411,7 @@ if (lean_is_scalar(x_2022)) { lean_ctor_set(x_2023, 0, x_2013); lean_ctor_set(x_2023, 1, x_2021); x_2024 = lean_array_push(x_2011, x_2023); -x_2025 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2025 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2026 = lean_array_push(x_2024, x_2025); x_2027 = lean_array_push(x_2026, x_2000); x_2028 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13542,7 +13542,7 @@ lean_dec(x_2083); lean_ctor_set(x_19, 1, x_2080); lean_ctor_set(x_19, 0, x_2072); x_2084 = lean_array_push(x_2070, x_19); -x_2085 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2085 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2086 = lean_array_push(x_2084, x_2085); x_2087 = lean_array_push(x_2086, x_2059); x_2088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13579,7 +13579,7 @@ x_2101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2101, 0, x_2072); lean_ctor_set(x_2101, 1, x_2080); x_2102 = lean_array_push(x_2070, x_2101); -x_2103 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2103 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2104 = lean_array_push(x_2102, x_2103); x_2105 = lean_array_push(x_2104, x_2059); x_2106 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13651,7 +13651,7 @@ if (lean_is_scalar(x_2135)) { lean_ctor_set(x_2136, 0, x_2126); lean_ctor_set(x_2136, 1, x_2134); x_2137 = lean_array_push(x_2124, x_2136); -x_2138 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2138 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2139 = lean_array_push(x_2137, x_2138); x_2140 = lean_array_push(x_2139, x_2059); x_2141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13741,7 +13741,7 @@ if (lean_is_scalar(x_2176)) { lean_ctor_set(x_2177, 0, x_2167); lean_ctor_set(x_2177, 1, x_2175); x_2178 = lean_array_push(x_2165, x_2177); -x_2179 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2179 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2180 = lean_array_push(x_2178, x_2179); x_2181 = lean_array_push(x_2180, x_2155); x_2182 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13847,7 +13847,7 @@ if (lean_is_scalar(x_2220)) { lean_ctor_set(x_2221, 0, x_2211); lean_ctor_set(x_2221, 1, x_2219); x_2222 = lean_array_push(x_2209, x_2221); -x_2223 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2223 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2224 = lean_array_push(x_2222, x_2223); x_2225 = lean_array_push(x_2224, x_2198); x_2226 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -13977,7 +13977,7 @@ lean_dec(x_2281); lean_ctor_set(x_19, 1, x_2278); lean_ctor_set(x_19, 0, x_2270); x_2282 = lean_array_push(x_2268, x_19); -x_2283 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2283 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2284 = lean_array_push(x_2282, x_2283); x_2285 = lean_array_push(x_2284, x_2257); x_2286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14014,7 +14014,7 @@ x_2299 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2299, 0, x_2270); lean_ctor_set(x_2299, 1, x_2278); x_2300 = lean_array_push(x_2268, x_2299); -x_2301 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2301 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2302 = lean_array_push(x_2300, x_2301); x_2303 = lean_array_push(x_2302, x_2257); x_2304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14086,7 +14086,7 @@ if (lean_is_scalar(x_2333)) { lean_ctor_set(x_2334, 0, x_2324); lean_ctor_set(x_2334, 1, x_2332); x_2335 = lean_array_push(x_2322, x_2334); -x_2336 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2336 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2337 = lean_array_push(x_2335, x_2336); x_2338 = lean_array_push(x_2337, x_2257); x_2339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14176,7 +14176,7 @@ if (lean_is_scalar(x_2374)) { lean_ctor_set(x_2375, 0, x_2365); lean_ctor_set(x_2375, 1, x_2373); x_2376 = lean_array_push(x_2363, x_2375); -x_2377 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2377 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2378 = lean_array_push(x_2376, x_2377); x_2379 = lean_array_push(x_2378, x_2353); x_2380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14282,7 +14282,7 @@ if (lean_is_scalar(x_2418)) { lean_ctor_set(x_2419, 0, x_2409); lean_ctor_set(x_2419, 1, x_2417); x_2420 = lean_array_push(x_2407, x_2419); -x_2421 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2421 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2422 = lean_array_push(x_2420, x_2421); x_2423 = lean_array_push(x_2422, x_2396); x_2424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14411,7 +14411,7 @@ lean_dec(x_2479); lean_ctor_set(x_19, 1, x_2476); lean_ctor_set(x_19, 0, x_2468); x_2480 = lean_array_push(x_2466, x_19); -x_2481 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2481 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2482 = lean_array_push(x_2480, x_2481); x_2483 = lean_array_push(x_2482, x_2455); x_2484 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14448,7 +14448,7 @@ x_2497 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2497, 0, x_2468); lean_ctor_set(x_2497, 1, x_2476); x_2498 = lean_array_push(x_2466, x_2497); -x_2499 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2499 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2500 = lean_array_push(x_2498, x_2499); x_2501 = lean_array_push(x_2500, x_2455); x_2502 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14520,7 +14520,7 @@ if (lean_is_scalar(x_2531)) { lean_ctor_set(x_2532, 0, x_2522); lean_ctor_set(x_2532, 1, x_2530); x_2533 = lean_array_push(x_2520, x_2532); -x_2534 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2534 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2535 = lean_array_push(x_2533, x_2534); x_2536 = lean_array_push(x_2535, x_2455); x_2537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14610,7 +14610,7 @@ if (lean_is_scalar(x_2572)) { lean_ctor_set(x_2573, 0, x_2563); lean_ctor_set(x_2573, 1, x_2571); x_2574 = lean_array_push(x_2561, x_2573); -x_2575 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2575 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2576 = lean_array_push(x_2574, x_2575); x_2577 = lean_array_push(x_2576, x_2551); x_2578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14716,7 +14716,7 @@ if (lean_is_scalar(x_2616)) { lean_ctor_set(x_2617, 0, x_2607); lean_ctor_set(x_2617, 1, x_2615); x_2618 = lean_array_push(x_2605, x_2617); -x_2619 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2619 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2620 = lean_array_push(x_2618, x_2619); x_2621 = lean_array_push(x_2620, x_2594); x_2622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14844,7 +14844,7 @@ lean_dec(x_2677); lean_ctor_set(x_19, 1, x_2674); lean_ctor_set(x_19, 0, x_2666); x_2678 = lean_array_push(x_2664, x_19); -x_2679 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2679 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2680 = lean_array_push(x_2678, x_2679); x_2681 = lean_array_push(x_2680, x_2653); x_2682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14881,7 +14881,7 @@ x_2695 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2695, 0, x_2666); lean_ctor_set(x_2695, 1, x_2674); x_2696 = lean_array_push(x_2664, x_2695); -x_2697 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2697 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2698 = lean_array_push(x_2696, x_2697); x_2699 = lean_array_push(x_2698, x_2653); x_2700 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -14953,7 +14953,7 @@ if (lean_is_scalar(x_2729)) { lean_ctor_set(x_2730, 0, x_2720); lean_ctor_set(x_2730, 1, x_2728); x_2731 = lean_array_push(x_2718, x_2730); -x_2732 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2732 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2733 = lean_array_push(x_2731, x_2732); x_2734 = lean_array_push(x_2733, x_2653); x_2735 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15043,7 +15043,7 @@ if (lean_is_scalar(x_2770)) { lean_ctor_set(x_2771, 0, x_2761); lean_ctor_set(x_2771, 1, x_2769); x_2772 = lean_array_push(x_2759, x_2771); -x_2773 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2773 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2774 = lean_array_push(x_2772, x_2773); x_2775 = lean_array_push(x_2774, x_2749); x_2776 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15149,7 +15149,7 @@ if (lean_is_scalar(x_2814)) { lean_ctor_set(x_2815, 0, x_2805); lean_ctor_set(x_2815, 1, x_2813); x_2816 = lean_array_push(x_2803, x_2815); -x_2817 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2817 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2818 = lean_array_push(x_2816, x_2817); x_2819 = lean_array_push(x_2818, x_2792); x_2820 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15277,7 +15277,7 @@ lean_ctor_set_tag(x_19, 1); lean_ctor_set(x_19, 1, x_2872); lean_ctor_set(x_19, 0, x_2864); x_2876 = lean_array_push(x_2862, x_19); -x_2877 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2877 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2878 = lean_array_push(x_2876, x_2877); x_2879 = lean_array_push(x_2878, x_2851); x_2880 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15314,7 +15314,7 @@ x_2893 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2893, 0, x_2864); lean_ctor_set(x_2893, 1, x_2872); x_2894 = lean_array_push(x_2862, x_2893); -x_2895 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2895 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2896 = lean_array_push(x_2894, x_2895); x_2897 = lean_array_push(x_2896, x_2851); x_2898 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15387,7 +15387,7 @@ if (lean_is_scalar(x_2927)) { lean_ctor_set(x_2928, 0, x_2918); lean_ctor_set(x_2928, 1, x_2926); x_2929 = lean_array_push(x_2916, x_2928); -x_2930 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2930 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2931 = lean_array_push(x_2929, x_2930); x_2932 = lean_array_push(x_2931, x_2851); x_2933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15478,7 +15478,7 @@ if (lean_is_scalar(x_2968)) { lean_ctor_set(x_2969, 0, x_2959); lean_ctor_set(x_2969, 1, x_2967); x_2970 = lean_array_push(x_2957, x_2969); -x_2971 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2971 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2972 = lean_array_push(x_2970, x_2971); x_2973 = lean_array_push(x_2972, x_2947); x_2974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -15585,7 +15585,7 @@ if (lean_is_scalar(x_3012)) { lean_ctor_set(x_3013, 0, x_3003); lean_ctor_set(x_3013, 1, x_3011); x_3014 = lean_array_push(x_3001, x_3013); -x_3015 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_3015 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_3016 = lean_array_push(x_3014, x_3015); x_3017 = lean_array_push(x_3016, x_2990); x_3018 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -17531,7 +17531,7 @@ x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_32, x_35); -x_37 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_37 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_31); x_40 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -17568,7 +17568,7 @@ x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_52, x_55); -x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_58 = lean_array_push(x_56, x_57); x_59 = lean_array_push(x_58, x_50); x_60 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -17748,7 +17748,7 @@ x_137 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_137, 0, x_136); lean_ctor_set(x_137, 1, x_135); x_138 = lean_array_push(x_134, x_137); -x_139 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_139 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_140 = lean_array_push(x_138, x_139); x_141 = lean_array_push(x_140, x_131); x_142 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -18156,7 +18156,7 @@ x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); x_116 = lean_array_push(x_112, x_115); -x_117 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_117 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_118 = lean_array_push(x_116, x_117); x_119 = lean_array_push(x_118, x_107); x_120 = lean_alloc_ctor(1, 2, 0); @@ -19831,7 +19831,7 @@ 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_array_push(x_31, x_34); -x_36 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_36 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_37 = lean_array_push(x_35, x_36); x_38 = lean_array_push(x_37, x_30); x_39 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -19862,7 +19862,7 @@ x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = lean_array_push(x_47, x_50); -x_52 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_52 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_53 = lean_array_push(x_51, x_52); x_54 = lean_array_push(x_53, x_45); x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -19959,7 +19959,7 @@ x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); x_92 = lean_array_push(x_88, x_91); -x_93 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_93 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_94 = lean_array_push(x_92, x_93); x_95 = lean_array_push(x_94, x_85); x_96 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -20498,7 +20498,7 @@ lean_inc(x_103); x_105 = lean_array_push(x_104, x_103); x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_107 = lean_array_push(x_105, x_106); -x_108 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_108 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_109 = lean_array_push(x_108, x_89); x_110 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_111 = lean_alloc_ctor(1, 2, 0); @@ -20510,7 +20510,7 @@ 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_107, x_114); -x_116 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_116 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_117 = lean_array_push(x_115, x_116); x_118 = lean_array_push(x_117, x_91); x_119 = lean_alloc_ctor(1, 2, 0); @@ -20545,7 +20545,7 @@ x_139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_139, 0, x_113); lean_ctor_set(x_139, 1, x_138); x_140 = lean_array_push(x_104, x_139); -x_141 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_141 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_142 = lean_array_push(x_140, x_141); x_143 = lean_array_push(x_142, x_44); x_144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 167ccd5dff..14c6c67f84 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -107,7 +107,6 @@ lean_object* l_Lean_Elab_Term_expandDiv___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNe___closed__2; lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l_Lean_Elab_Term_expandOrM___closed__1; lean_object* l_Lean_Elab_Term_expandSeqRight(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandGT___closed__1; @@ -123,13 +122,13 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkNativeRef lean_object* l_Lean_Elab_Term_expandModN___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandPow___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOrM___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__1(lean_object*); lean_object* l_Lean_Elab_Term_expandUMinus___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__12; -lean_object* l_Lean_Elab_Term_expandHave___closed__4; lean_object* l_Lean_Elab_Term_expandAssert_match__1(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8; @@ -138,7 +137,7 @@ lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, extern lean_object* l_Init_Data_Repr___instance__2___closed__2; lean_object* l_Lean_Elab_Term_expandDollar(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_markBorrowed___closed__1; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__2; @@ -149,13 +148,13 @@ uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12; lean_object* l_Lean_Elab_Term_elabNativeDecide___rarg___closed__1; lean_object* l_Lean_Elab_Term_expandGT___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__9; lean_object* l_Lean_Elab_Term_elabNativeRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__13; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_expandSubtype(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; lean_object* l_Lean_Elab_Term_expandLT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__1; lean_object* l_Lean_Elab_Term_elabSubst___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,6 +216,7 @@ lean_object* l_Lean_Elab_Term_elabNativeRefl___closed__2; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqReflImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandOr___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__6; lean_object* l_Lean_Elab_Term_elabSubst___lambda__6___closed__4; @@ -277,6 +277,7 @@ lean_object* l_Lean_Elab_Term_expandInfix(lean_object*, lean_object*, lean_objec lean_object* l___regBuiltin_Lean_Elab_Term_expandSeqLeft(lean_object*); lean_object* l_Lean_Elab_Term_expandSeq___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabTParserMacro(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__3; lean_object* l_Lean_Elab_Term_elabPanic___closed__10; lean_object* l_Lean_Elab_Term_expandShow___closed__2; lean_object* l_Lean_Elab_Term_expandAndM___closed__1; @@ -299,7 +300,6 @@ lean_object* l_Lean_Elab_Term_elabPanic_match__1___rarg(lean_object*, lean_objec lean_object* l___regBuiltin_Lean_Elab_Term_expandDiv___closed__1; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__20; lean_object* l_Lean_Elab_Term_elabParen___closed__4; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l___regBuiltin_Lean_Elab_Term_expandBind(lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_Lean_Elab_Term_expandAndThen___closed__3; @@ -374,6 +374,7 @@ lean_object* l_Lean_Elab_Term_expandMod___closed__1; lean_object* l_Lean_Elab_Term_expandIf___closed__4; lean_object* l_Lean_Elab_Term_expandBOr___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__10; lean_object* l_Lean_Elab_Term_ExpandFComp___closed__4; lean_object* l_Lean_Elab_Term_expandBAnd(lean_object*, lean_object*, lean_object*); @@ -502,7 +503,6 @@ lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__9; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__16; lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Literal_type___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_expandBNe___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandWhere(lean_object*); @@ -535,6 +535,7 @@ lean_object* l_Lean_Elab_Term_elabPanic___closed__11; lean_object* l_Lean_Expr_toHeadIndex(lean_object*); lean_object* l_Lean_Elab_Term_expandDiv___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; extern lean_object* l_Lean_setOptionFromString___closed__5; extern lean_object* l___private_Init_LeanInit_0__Lean_quoteOption___rarg___closed__6; @@ -572,7 +573,6 @@ lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore_ lean_object* l_Lean_Elab_Term_expandBAnd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSubtype___closed__7; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__29; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__6; lean_object* l_Lean_Elab_Term_expandLE___boxed(lean_object*, lean_object*, lean_object*); @@ -590,6 +590,7 @@ lean_object* l_Lean_Elab_Term_expandMul___boxed(lean_object*, lean_object*, lean lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl(lean_object*); extern lean_object* l_Lean_nullKind___closed__2; uint8_t l_List_beq___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___spec__1(lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__2(lean_object*); lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; @@ -634,7 +635,6 @@ extern lean_object* l_Lean_Elab_macroAttribute; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l_Lean_Elab_Term_elabParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSubtype___closed__2; -lean_object* l_Lean_Elab_Term_expandHave___closed__7; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); extern lean_object* l___private_Init_LeanInit_0__Lean_quoteList___rarg___closed__7; @@ -704,7 +704,6 @@ lean_object* l_Lean_Elab_Term_elabPanic_match__1(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__15; extern lean_object* l_Lean_Elab_Tactic_evalOrelse___closed__1; lean_object* l_Lean_Elab_Term_elabPanic___closed__12; -lean_object* l_Lean_Elab_Term_expandHave___closed__3; lean_object* l_Lean_Elab_Term_expandSubtype___closed__5; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -716,6 +715,7 @@ lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Term_expandSeqLeft___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__12; lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__8; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; lean_object* l_Lean_Elab_Term_elabNativeDecide___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__10; lean_object* l_Lean_Elab_Term_expandNe___closed__2; @@ -729,7 +729,6 @@ lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabSubst___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandEq(lean_object*); -lean_object* l_Lean_Elab_Term_expandHave___closed__5; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___closed__1; lean_object* l_Lean_Elab_Term_expandNe___boxed(lean_object*, lean_object*, lean_object*); @@ -867,6 +866,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandIff___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandAppend___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandNe(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l_Lean_Elab_Term_expandEmptyC(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandMapRev___closed__1; @@ -881,7 +881,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandLT___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__8; lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__5; -lean_object* l_Lean_Elab_Term_expandHave___closed__6; extern lean_object* l_Lean_levelOne; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; lean_object* l_Lean_Elab_Term_expandMap(lean_object*, lean_object*, lean_object*); @@ -934,7 +933,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__1; extern lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_shouldAddAsStar___closed__9; lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__4; lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__2; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__16; @@ -1441,7 +1439,7 @@ x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_16); lean_ctor_set(x_70, 1, x_69); x_71 = lean_array_push(x_66, x_70); -x_72 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_72 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_73 = lean_array_push(x_71, x_72); lean_inc(x_73); x_74 = lean_array_push(x_73, x_55); @@ -1613,8 +1611,8 @@ static lean_object* _init_l_Lean_Elab_Term_expandSubtype___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1782,7 +1780,7 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_18); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_39, x_52); -x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_30); x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -1891,7 +1889,7 @@ lean_ctor_set(x_97, 3, x_96); x_98 = l_Array_empty___closed__1; x_99 = lean_array_push(x_98, x_97); x_100 = lean_array_push(x_98, x_15); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_101 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_102 = lean_array_push(x_101, x_87); x_103 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_104 = lean_alloc_ctor(1, 2, 0); @@ -1918,7 +1916,7 @@ x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_18); lean_ctor_set(x_116, 1, x_115); x_117 = lean_array_push(x_98, x_116); -x_118 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_118 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_119 = lean_array_push(x_117, x_118); x_120 = lean_array_push(x_119, x_89); x_121 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -3027,7 +3025,7 @@ lean_inc(x_55); x_57 = lean_array_push(x_56, x_55); x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_59 = lean_array_push(x_57, x_58); -x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_60 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_61 = lean_array_push(x_60, x_15); x_62 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_63 = lean_alloc_ctor(1, 2, 0); @@ -3039,7 +3037,7 @@ x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); x_67 = lean_array_push(x_59, x_66); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_68 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_69 = lean_array_push(x_67, x_68); x_70 = lean_array_push(x_69, x_53); x_71 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -3185,66 +3183,18 @@ return x_5; static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("have"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_expandHave___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_Elab_Term_expandHave___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("haveAssign"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Term_expandHave___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_2 = l_Lean_Elab_Term_expandHave___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_expandHave___closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_expandHave___closed__6; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__3; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -3264,7 +3214,7 @@ lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_7); x_10 = lean_unsigned_to_nat(4u); x_11 = l_Lean_Syntax_setArg(x_1, x_10, x_9); -x_12 = l_Lean_Elab_Term_expandHave___closed__2; +x_12 = l_Lean_Elab_Term_expandHave___closed__1; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -3414,7 +3364,7 @@ x_308 = l_Array_empty___closed__1; x_309 = lean_array_push(x_308, x_307); x_310 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_311 = lean_array_push(x_309, x_310); -x_312 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_312 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_313 = lean_array_push(x_312, x_192); x_314 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_315 = lean_alloc_ctor(1, 2, 0); @@ -3425,7 +3375,7 @@ x_317 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_317, 0, x_183); lean_ctor_set(x_317, 1, x_316); x_318 = lean_array_push(x_311, x_317); -x_319 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_319 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_320 = lean_array_push(x_318, x_319); x_321 = lean_array_push(x_320, x_294); x_322 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -3458,7 +3408,7 @@ block_246: { lean_object* x_196; uint8_t x_197; lean_dec(x_195); -x_196 = l_Lean_Elab_Term_expandHave___closed__4; +x_196 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; lean_inc(x_194); x_197 = l_Lean_Syntax_isOfKind(x_194, x_196); if (x_197 == 0) @@ -3547,7 +3497,7 @@ x_219 = l_Array_empty___closed__1; x_220 = lean_array_push(x_219, x_218); x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_222 = lean_array_push(x_220, x_221); -x_223 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_223 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_224 = lean_array_push(x_223, x_192); x_225 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_226 = lean_alloc_ctor(1, 2, 0); @@ -3558,7 +3508,7 @@ x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_183); lean_ctor_set(x_228, 1, x_227); x_229 = lean_array_push(x_222, x_228); -x_230 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_230 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_231 = lean_array_push(x_229, x_230); x_232 = lean_array_push(x_231, x_205); x_233 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -3683,7 +3633,7 @@ lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; x_269 = lean_unsigned_to_nat(5u); x_270 = l_Lean_Syntax_getArg(x_11, x_269); lean_dec(x_11); -x_271 = l_Lean_Elab_Term_expandHave___closed__7; +x_271 = l_Lean_Elab_Term_expandHave___closed__2; x_272 = lean_array_push(x_271, x_192); x_273 = l_Lean_Elab_Term_expandShow___closed__12; x_274 = lean_array_push(x_273, x_255); @@ -3841,7 +3791,7 @@ x_155 = l_Array_empty___closed__1; x_156 = lean_array_push(x_155, x_36); x_157 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_158 = lean_array_push(x_156, x_157); -x_159 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_159 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_160 = lean_array_push(x_159, x_37); x_161 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_162 = lean_alloc_ctor(1, 2, 0); @@ -3852,7 +3802,7 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_25); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_158, x_164); -x_166 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_166 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_167 = lean_array_push(x_165, x_166); x_168 = lean_array_push(x_167, x_143); x_169 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -3885,7 +3835,7 @@ block_89: { lean_object* x_41; uint8_t x_42; lean_dec(x_40); -x_41 = l_Lean_Elab_Term_expandHave___closed__4; +x_41 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; lean_inc(x_39); x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); if (x_42 == 0) @@ -3976,7 +3926,7 @@ x_62 = l_Array_empty___closed__1; x_63 = lean_array_push(x_62, x_36); x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_65 = lean_array_push(x_63, x_64); -x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_66 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_67 = lean_array_push(x_66, x_37); x_68 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_69 = lean_alloc_ctor(1, 2, 0); @@ -3987,7 +3937,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_25); lean_ctor_set(x_71, 1, x_70); x_72 = lean_array_push(x_65, x_71); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_73 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_50); x_76 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -4117,12 +4067,12 @@ x_113 = l_Lean_Syntax_getArg(x_11, x_112); lean_dec(x_11); x_114 = l_Array_empty___closed__1; x_115 = lean_array_push(x_114, x_36); -x_116 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_116 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_117 = lean_array_push(x_115, x_116); x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_25); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Elab_Term_expandHave___closed__6; +x_119 = l_myMacro____x40_Init_Tactics___hyg_502____closed__3; x_120 = lean_array_push(x_119, x_118); x_121 = lean_array_push(x_120, x_37); x_122 = l_Lean_Elab_Term_expandShow___closed__12; @@ -4182,7 +4132,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Term_expandHave___closed__2; +x_3 = l_Lean_Elab_Term_expandHave___closed__1; x_4 = l___regBuiltin_Lean_Elab_Term_expandHave___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -4364,7 +4314,7 @@ lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; x_199 = lean_unsigned_to_nat(5u); x_200 = l_Lean_Syntax_getArg(x_11, x_199); lean_dec(x_11); -x_201 = l_Lean_Elab_Term_expandHave___closed__7; +x_201 = l_Lean_Elab_Term_expandHave___closed__2; x_202 = lean_array_push(x_201, x_136); x_203 = l_Lean_Elab_Term_expandShow___closed__9; x_204 = lean_array_push(x_203, x_200); @@ -4375,7 +4325,7 @@ x_206 = lean_array_push(x_202, x_205); x_207 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__18; x_208 = lean_array_push(x_206, x_207); x_209 = lean_array_push(x_208, x_189); -x_210 = l_Lean_Elab_Term_expandHave___closed__2; +x_210 = l_Lean_Elab_Term_expandHave___closed__1; x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_210); lean_ctor_set(x_211, 1, x_209); @@ -4492,7 +4442,7 @@ lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; x_163 = lean_unsigned_to_nat(5u); x_164 = l_Lean_Syntax_getArg(x_11, x_163); lean_dec(x_11); -x_165 = l_Lean_Elab_Term_expandHave___closed__7; +x_165 = l_Lean_Elab_Term_expandHave___closed__2; x_166 = lean_array_push(x_165, x_136); x_167 = l_Lean_Elab_Term_expandShow___closed__9; x_168 = lean_array_push(x_167, x_164); @@ -4509,7 +4459,7 @@ x_176 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_176, 0, x_140); lean_ctor_set(x_176, 1, x_175); x_177 = lean_array_push(x_173, x_176); -x_178 = l_Lean_Elab_Term_expandHave___closed__2; +x_178 = l_Lean_Elab_Term_expandHave___closed__1; x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); @@ -4649,12 +4599,12 @@ x_107 = l_Lean_Syntax_getArg(x_11, x_106); lean_dec(x_11); x_108 = l_Array_empty___closed__1; x_109 = lean_array_push(x_108, x_36); -x_110 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_110 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_111 = lean_array_push(x_109, x_110); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_25); lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Term_expandHave___closed__6; +x_113 = l_myMacro____x40_Init_Tactics___hyg_502____closed__3; x_114 = lean_array_push(x_113, x_112); x_115 = lean_array_push(x_114, x_37); x_116 = l_Lean_Elab_Term_expandShow___closed__9; @@ -4666,7 +4616,7 @@ x_119 = lean_array_push(x_115, x_118); x_120 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__18; x_121 = lean_array_push(x_119, x_120); x_122 = lean_array_push(x_121, x_96); -x_123 = l_Lean_Elab_Term_expandHave___closed__2; +x_123 = l_Lean_Elab_Term_expandHave___closed__1; x_124 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_124, 0, x_123); lean_ctor_set(x_124, 1, x_122); @@ -4790,12 +4740,12 @@ x_65 = l_Lean_Syntax_getArg(x_11, x_64); lean_dec(x_11); x_66 = l_Array_empty___closed__1; x_67 = lean_array_push(x_66, x_36); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_68 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_69 = lean_array_push(x_67, x_68); x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_25); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Elab_Term_expandHave___closed__6; +x_71 = l_myMacro____x40_Init_Tactics___hyg_502____closed__3; x_72 = lean_array_push(x_71, x_70); x_73 = lean_array_push(x_72, x_37); x_74 = l_Lean_Elab_Term_expandShow___closed__9; @@ -4813,7 +4763,7 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_41); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_80, x_83); -x_85 = l_Lean_Elab_Term_expandHave___closed__2; +x_85 = l_Lean_Elab_Term_expandHave___closed__1; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -12755,7 +12705,7 @@ x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); x_43 = lean_array_push(x_19, x_42); -x_44 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_44 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_45 = lean_array_push(x_44, x_7); x_46 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_47 = lean_alloc_ctor(1, 2, 0); @@ -12822,7 +12772,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); x_82 = lean_array_push(x_65, x_81); -x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_84 = lean_array_push(x_83, x_7); x_85 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_86 = lean_alloc_ctor(1, 2, 0); @@ -13024,7 +12974,7 @@ lean_ctor_set(x_17, 0, x_7); lean_ctor_set(x_17, 1, x_15); lean_ctor_set(x_17, 2, x_14); lean_ctor_set(x_17, 3, x_16); -x_18 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_18 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_19 = lean_array_push(x_18, x_17); x_20 = l_Lean_nullKind___closed__2; x_21 = lean_alloc_ctor(1, 2, 0); @@ -17268,16 +17218,6 @@ l_Lean_Elab_Term_expandHave___closed__1 = _init_l_Lean_Elab_Term_expandHave___cl lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__1); l_Lean_Elab_Term_expandHave___closed__2 = _init_l_Lean_Elab_Term_expandHave___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__2); -l_Lean_Elab_Term_expandHave___closed__3 = _init_l_Lean_Elab_Term_expandHave___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__3); -l_Lean_Elab_Term_expandHave___closed__4 = _init_l_Lean_Elab_Term_expandHave___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__4); -l_Lean_Elab_Term_expandHave___closed__5 = _init_l_Lean_Elab_Term_expandHave___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__5); -l_Lean_Elab_Term_expandHave___closed__6 = _init_l_Lean_Elab_Term_expandHave___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__6); -l_Lean_Elab_Term_expandHave___closed__7 = _init_l_Lean_Elab_Term_expandHave___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_expandHave___closed__7); l___regBuiltin_Lean_Elab_Term_expandHave___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandHave___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandHave___closed__1); res = l___regBuiltin_Lean_Elab_Term_expandHave(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 295759e6db..c394ce7aba 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -50,13 +50,13 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1; lean_object* l_Lean_Elab_Command_elabDeclaration___closed__4; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__2(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__29; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__16; @@ -129,7 +129,6 @@ lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___s lean_object* l_Lean_throwError___at_Lean_Meta_getMVarDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2___rarg(lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__2; @@ -312,6 +311,7 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__6; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_isDefLike___closed__3; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__11; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___boxed__const__1; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__1; lean_object* l_Lean_Elab_Command_elabAxiom_match__5(lean_object*); @@ -319,7 +319,6 @@ lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__3; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration_match__1(lean_object*); -lean_object* l_Lean_Elab_Command_expandInitCmd___closed__40; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__9; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__8; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -6920,28 +6919,30 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__22() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("do"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__23() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("do"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__23; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__22; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -6949,25 +6950,13 @@ static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__23; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__25; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__24; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__27() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__26() { _start: { lean_object* x_1; @@ -6975,17 +6964,17 @@ x_1 = lean_mk_string("attributes"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__28() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__27; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__26; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__29() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6997,17 +6986,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__30() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__29; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__28; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__31() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__30() { _start: { lean_object* x_1; @@ -7015,17 +7004,17 @@ x_1 = lean_mk_string("attrInstance"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__32() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__31; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__30; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__33() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7037,17 +7026,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__34() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__33; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__32; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__35() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__34() { _start: { lean_object* x_1; @@ -7055,17 +7044,17 @@ x_1 = lean_mk_string("declSig"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__36() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__35; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__37() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -7074,13 +7063,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__38() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_mkSimpleThunkType___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandInitCmd___closed__37; +x_3 = l_Lean_Elab_Command_expandInitCmd___closed__36; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7088,7 +7077,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__39() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7100,12 +7089,12 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__40() { +static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__39; +x_2 = l_Lean_Elab_Command_expandInitCmd___closed__38; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -7197,7 +7186,7 @@ x_42 = l_Lean_mkAppStx___closed__8; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); -x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_44 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_45 = lean_array_push(x_44, x_43); x_46 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_47 = lean_alloc_ctor(1, 2, 0); @@ -7214,13 +7203,13 @@ x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); x_54 = lean_array_push(x_31, x_53); -x_55 = l_Lean_Elab_Command_expandInitCmd___closed__26; +x_55 = l_Lean_Elab_Command_expandInitCmd___closed__25; x_56 = lean_array_push(x_55, x_8); -x_57 = l_Lean_Elab_Command_expandInitCmd___closed__24; +x_57 = l_Lean_Elab_Command_expandInitCmd___closed__23; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Elab_Command_expandInitCmd___closed__22; +x_59 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_60 = lean_array_push(x_59, x_58); x_61 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; x_62 = lean_alloc_ctor(1, 2, 0); @@ -7243,7 +7232,7 @@ x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_39); lean_ctor_set(x_72, 1, x_25); x_73 = lean_array_push(x_71, x_72); -x_74 = l_Lean_Elab_Command_expandInitCmd___closed__32; +x_74 = l_Lean_Elab_Command_expandInitCmd___closed__31; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -7251,11 +7240,11 @@ x_76 = lean_array_push(x_24, x_75); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_39); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_expandInitCmd___closed__30; +x_78 = l_Lean_Elab_Command_expandInitCmd___closed__29; x_79 = lean_array_push(x_78, x_77); x_80 = l_Lean_Elab_Term_expandArrayLit___closed__11; x_81 = lean_array_push(x_79, x_80); -x_82 = l_Lean_Elab_Command_expandInitCmd___closed__28; +x_82 = l_Lean_Elab_Command_expandInitCmd___closed__27; x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); @@ -7273,14 +7262,14 @@ x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); x_93 = lean_array_push(x_24, x_92); -x_94 = l_Lean_Elab_Command_expandInitCmd___closed__34; +x_94 = l_Lean_Elab_Command_expandInitCmd___closed__33; x_95 = lean_array_push(x_94, x_13); x_96 = lean_array_push(x_44, x_15); x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_46); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_50, x_97); -x_99 = l_Lean_Elab_Command_expandInitCmd___closed__36; +x_99 = l_Lean_Elab_Command_expandInitCmd___closed__35; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); @@ -7316,7 +7305,7 @@ x_112 = l_Array_empty___closed__1; x_113 = lean_array_push(x_112, x_11); x_114 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_115 = lean_array_push(x_113, x_114); -x_116 = l_Lean_Elab_Command_expandInitCmd___closed__32; +x_116 = l_Lean_Elab_Command_expandInitCmd___closed__31; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); @@ -7325,11 +7314,11 @@ x_119 = l_Lean_nullKind___closed__2; x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_Elab_Command_expandInitCmd___closed__30; +x_121 = l_Lean_Elab_Command_expandInitCmd___closed__29; x_122 = lean_array_push(x_121, x_120); x_123 = l_Lean_Elab_Term_expandArrayLit___closed__11; x_124 = lean_array_push(x_122, x_123); -x_125 = l_Lean_Elab_Command_expandInitCmd___closed__28; +x_125 = l_Lean_Elab_Command_expandInitCmd___closed__27; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -7382,8 +7371,8 @@ lean_ctor_set(x_154, 3, x_153); x_155 = lean_array_push(x_112, x_154); x_156 = l_Lean_mkSimpleThunkType___closed__2; x_157 = l_Lean_addMacroScope(x_111, x_156, x_110); -x_158 = l_Lean_Elab_Command_expandInitCmd___closed__38; -x_159 = l_Lean_Elab_Command_expandInitCmd___closed__40; +x_158 = l_Lean_Elab_Command_expandInitCmd___closed__37; +x_159 = l_Lean_Elab_Command_expandInitCmd___closed__39; x_160 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_160, 0, x_141); lean_ctor_set(x_160, 1, x_158); @@ -7398,7 +7387,7 @@ x_164 = l_Lean_mkAppStx___closed__8; x_165 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_163); -x_166 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_166 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_167 = lean_array_push(x_166, x_165); x_168 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_169 = lean_alloc_ctor(1, 2, 0); @@ -7414,13 +7403,13 @@ x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_173); lean_ctor_set(x_174, 1, x_172); x_175 = lean_array_push(x_149, x_174); -x_176 = l_Lean_Elab_Command_expandInitCmd___closed__26; +x_176 = l_Lean_Elab_Command_expandInitCmd___closed__25; x_177 = lean_array_push(x_176, x_8); -x_178 = l_Lean_Elab_Command_expandInitCmd___closed__24; +x_178 = l_Lean_Elab_Command_expandInitCmd___closed__23; x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); -x_180 = l_Lean_Elab_Command_expandInitCmd___closed__22; +x_180 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_181 = lean_array_push(x_180, x_179); x_182 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; x_183 = lean_alloc_ctor(1, 2, 0); @@ -7786,8 +7775,6 @@ l_Lean_Elab_Command_expandInitCmd___closed__38 = _init_l_Lean_Elab_Command_expan lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__38); l_Lean_Elab_Command_expandInitCmd___closed__39 = _init_l_Lean_Elab_Command_expandInitCmd___closed__39(); lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__39); -l_Lean_Elab_Command_expandInitCmd___closed__40 = _init_l_Lean_Elab_Command_expandInitCmd___closed__40(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__40); l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1); l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 72db4d8882..44cca89f71 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -18,7 +18,6 @@ lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__2(lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); @@ -49,6 +48,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2; lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev_match__1(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfExample(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; lean_object* l_Lean_Elab_Command_mkDefView___closed__2; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_834____closed__1; lean_object* l_Lean_Elab_Command_isDefLike___closed__4; @@ -106,6 +106,7 @@ extern lean_object* l_Lean_mkAppStx___closed__9; lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_662____closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object*, lean_object*); @@ -118,7 +119,6 @@ lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object* lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView___closed__1; extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__1; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_224____closed__1; lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_662____closed__2; lean_object* l_Lean_Elab_Command_isDefLike___closed__10; @@ -886,13 +886,13 @@ 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_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; +x_28 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; x_29 = lean_array_push(x_27, x_28); x_30 = l_Lean_mkAppStx___closed__8; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; +x_32 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; x_33 = l_Lean_mkAtomFrom(x_2, x_32); x_34 = l_Lean_mkAppStx___closed__9; x_35 = lean_array_push(x_34, x_33); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index bf95c7062d..baf085da9f 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -127,7 +127,6 @@ extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchA lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__9; lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__2; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore(lean_object*, lean_object*, lean_object*, lean_object*); @@ -155,6 +154,7 @@ lean_object* l_Lean_Elab_Term_Do_getDoLetRecVars___boxed(lean_object*, lean_obje lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_getLetPatDeclVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___closed__11; @@ -236,7 +236,6 @@ lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(lean_object*, lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__6; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___closed__6; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___boxed(lean_object*); @@ -267,6 +266,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__7; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__6; uint8_t l_USize_decLt(size_t, size_t); @@ -307,6 +307,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(lean_object*, lean_ extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___closed__2; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__3(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_Do_eraseOptVar(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -358,7 +359,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__1 lean_object* l_Lean_Elab_Term_Do_getLetDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__5; lean_object* l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___spec__2(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__21; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -584,7 +584,6 @@ extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l_Lean_Elab_Term_Do_extendUpdatedVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__5; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1; @@ -628,6 +627,7 @@ lean_object* l_Lean_Elab_Term_Do_insertVars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkUnless(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -660,7 +660,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__32; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkJmp___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__3; -lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__14; @@ -682,6 +681,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__20; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__2; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_Lean_Meta_Basic___instance__10___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_object*, lean_object*, lean_object*); @@ -871,6 +871,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__40; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__2; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult_match__1___rarg(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1095,7 +1096,6 @@ lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_o uint8_t l_Lean_Elab_Term_Do_hasBreakContinue(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__3; lean_object* l_Lean_Elab_Term_Do_isDoExpr_x3f(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___closed__1; @@ -22229,7 +22229,7 @@ x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = lean_array_push(x_23, x_32); -x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_34 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_35 = lean_array_push(x_33, x_34); x_36 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -22364,7 +22364,7 @@ x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); x_99 = lean_array_push(x_89, x_98); -x_100 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_100 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_101 = lean_array_push(x_99, x_100); x_102 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -22492,7 +22492,7 @@ lean_ctor_set(x_161, 0, x_150); lean_ctor_set(x_161, 1, x_159); lean_ctor_set(x_161, 2, x_158); lean_ctor_set(x_161, 3, x_160); -x_162 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_162 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_163 = lean_array_push(x_162, x_161); x_164 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_165 = lean_alloc_ctor(1, 2, 0); @@ -22503,7 +22503,7 @@ x_167 = l_Lean_nullKind___closed__2; x_168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_168, 0, x_167); lean_ctor_set(x_168, 1, x_166); -x_169 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_169 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_170 = lean_array_push(x_169, x_168); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_167); @@ -22521,7 +22521,7 @@ x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_167); lean_ctor_set(x_179, 1, x_178); x_180 = lean_array_push(x_154, x_179); -x_181 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_181 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_182 = lean_array_push(x_180, x_181); x_183 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -22629,7 +22629,7 @@ lean_ctor_set(x_237, 0, x_226); lean_ctor_set(x_237, 1, x_235); lean_ctor_set(x_237, 2, x_234); lean_ctor_set(x_237, 3, x_236); -x_238 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_238 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_239 = lean_array_push(x_238, x_237); x_240 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_241 = lean_alloc_ctor(1, 2, 0); @@ -22640,7 +22640,7 @@ x_243 = l_Lean_nullKind___closed__2; x_244 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_244, 0, x_243); lean_ctor_set(x_244, 1, x_242); -x_245 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_245 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_246 = lean_array_push(x_245, x_244); x_247 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_247, 0, x_243); @@ -22658,7 +22658,7 @@ x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_243); lean_ctor_set(x_255, 1, x_254); x_256 = lean_array_push(x_230, x_255); -x_257 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_257 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_258 = lean_array_push(x_256, x_257); x_259 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -22771,7 +22771,7 @@ lean_ctor_set(x_314, 0, x_303); lean_ctor_set(x_314, 1, x_312); lean_ctor_set(x_314, 2, x_311); lean_ctor_set(x_314, 3, x_313); -x_315 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_315 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_316 = lean_array_push(x_315, x_314); x_317 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_318 = lean_alloc_ctor(1, 2, 0); @@ -22782,7 +22782,7 @@ x_320 = l_Lean_nullKind___closed__2; x_321 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_321, 0, x_320); lean_ctor_set(x_321, 1, x_319); -x_322 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_322 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_323 = lean_array_push(x_322, x_321); x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_320); @@ -22800,7 +22800,7 @@ x_332 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_332, 0, x_320); lean_ctor_set(x_332, 1, x_331); x_333 = lean_array_push(x_307, x_332); -x_334 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_334 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_335 = lean_array_push(x_333, x_334); x_336 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -22950,7 +22950,7 @@ lean_ctor_set(x_412, 0, x_401); lean_ctor_set(x_412, 1, x_410); lean_ctor_set(x_412, 2, x_409); lean_ctor_set(x_412, 3, x_411); -x_413 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_413 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_414 = lean_array_push(x_413, x_412); x_415 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_416 = lean_alloc_ctor(1, 2, 0); @@ -22961,7 +22961,7 @@ x_418 = l_Lean_nullKind___closed__2; x_419 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_419, 0, x_418); lean_ctor_set(x_419, 1, x_417); -x_420 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_420 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_421 = lean_array_push(x_420, x_419); x_422 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_422, 0, x_418); @@ -22979,7 +22979,7 @@ x_430 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_430, 0, x_418); lean_ctor_set(x_430, 1, x_429); x_431 = lean_array_push(x_405, x_430); -x_432 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_432 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_433 = lean_array_push(x_431, x_432); x_434 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23156,7 +23156,7 @@ x_519 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_519, 0, x_518); lean_ctor_set(x_519, 1, x_517); x_520 = lean_array_push(x_510, x_519); -x_521 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_521 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_522 = lean_array_push(x_520, x_521); x_523 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23284,7 +23284,7 @@ x_589 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_589, 0, x_588); lean_ctor_set(x_589, 1, x_587); x_590 = lean_array_push(x_580, x_589); -x_591 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_591 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_592 = lean_array_push(x_590, x_591); x_593 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23417,7 +23417,7 @@ x_660 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_660, 0, x_659); lean_ctor_set(x_660, 1, x_658); x_661 = lean_array_push(x_651, x_660); -x_662 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_662 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_663 = lean_array_push(x_661, x_662); x_664 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23545,7 +23545,7 @@ x_730 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_730, 0, x_729); lean_ctor_set(x_730, 1, x_728); x_731 = lean_array_push(x_721, x_730); -x_732 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_732 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_733 = lean_array_push(x_731, x_732); x_734 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23678,7 +23678,7 @@ x_801 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_801, 0, x_800); lean_ctor_set(x_801, 1, x_799); x_802 = lean_array_push(x_792, x_801); -x_803 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_803 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_804 = lean_array_push(x_802, x_803); x_805 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23806,7 +23806,7 @@ x_871 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_871, 0, x_870); lean_ctor_set(x_871, 1, x_869); x_872 = lean_array_push(x_862, x_871); -x_873 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_873 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_874 = lean_array_push(x_872, x_873); x_875 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -23980,7 +23980,7 @@ x_952 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_952, 0, x_951); lean_ctor_set(x_952, 1, x_950); x_953 = lean_array_push(x_943, x_952); -x_954 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_954 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_955 = lean_array_push(x_953, x_954); x_956 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -24122,7 +24122,7 @@ lean_ctor_set(x_1016, 0, x_1005); lean_ctor_set(x_1016, 1, x_1014); lean_ctor_set(x_1016, 2, x_1013); lean_ctor_set(x_1016, 3, x_1015); -x_1017 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_1017 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_1018 = lean_array_push(x_1017, x_1016); x_1019 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_1020 = lean_alloc_ctor(1, 2, 0); @@ -24133,7 +24133,7 @@ x_1022 = l_Lean_nullKind___closed__2; x_1023 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1023, 0, x_1022); lean_ctor_set(x_1023, 1, x_1021); -x_1024 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_1024 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_1025 = lean_array_push(x_1024, x_1023); x_1026 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1026, 0, x_1022); @@ -24151,7 +24151,7 @@ x_1034 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1034, 0, x_1022); lean_ctor_set(x_1034, 1, x_1033); x_1035 = lean_array_push(x_1009, x_1034); -x_1036 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1036 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1037 = lean_array_push(x_1035, x_1036); x_1038 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -24274,7 +24274,7 @@ lean_ctor_set(x_1094, 0, x_1083); lean_ctor_set(x_1094, 1, x_1092); lean_ctor_set(x_1094, 2, x_1091); lean_ctor_set(x_1094, 3, x_1093); -x_1095 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_1095 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_1096 = lean_array_push(x_1095, x_1094); x_1097 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_1098 = lean_alloc_ctor(1, 2, 0); @@ -24285,7 +24285,7 @@ x_1100 = l_Lean_nullKind___closed__2; x_1101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1101, 0, x_1100); lean_ctor_set(x_1101, 1, x_1099); -x_1102 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_1102 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; x_1103 = lean_array_push(x_1102, x_1101); x_1104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1104, 0, x_1100); @@ -24303,7 +24303,7 @@ x_1112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1112, 0, x_1100); lean_ctor_set(x_1112, 1, x_1111); x_1113 = lean_array_push(x_1087, x_1112); -x_1114 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1114 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1115 = lean_array_push(x_1113, x_1114); x_1116 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -24490,7 +24490,7 @@ x_1202 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1202, 0, x_1201); lean_ctor_set(x_1202, 1, x_1200); x_1203 = lean_array_push(x_1193, x_1202); -x_1204 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1204 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1205 = lean_array_push(x_1203, x_1204); x_1206 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -24633,7 +24633,7 @@ x_1274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1274, 0, x_1273); lean_ctor_set(x_1274, 1, x_1272); x_1275 = lean_array_push(x_1265, x_1274); -x_1276 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1276 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1277 = lean_array_push(x_1275, x_1276); x_1278 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -24776,7 +24776,7 @@ x_1346 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1346, 0, x_1345); lean_ctor_set(x_1346, 1, x_1344); x_1347 = lean_array_push(x_1337, x_1346); -x_1348 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1348 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1349 = lean_array_push(x_1347, x_1348); x_1350 = l_Lean_Meta_mkPure___rarg___closed__4; lean_inc(x_4); @@ -25092,7 +25092,7 @@ lean_ctor_set(x_18, 3, x_17); x_19 = l_Array_empty___closed__1; x_20 = lean_array_push(x_19, x_18); x_21 = lean_array_push(x_19, x_1); -x_22 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_22 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_23 = lean_array_push(x_22, x_2); x_24 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_25 = lean_alloc_ctor(1, 2, 0); @@ -25300,22 +25300,14 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("have"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8() { _start: { lean_object* x_1; @@ -25323,12 +25315,12 @@ x_1 = lean_mk_string("letrec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9; +x_2 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -25390,7 +25382,7 @@ x_23 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchA x_24 = lean_array_push(x_23, x_2); x_25 = l_Array_append___rarg(x_22, x_24); lean_dec(x_24); -x_26 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8; +x_26 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); @@ -25469,7 +25461,7 @@ x_51 = l_Array_empty___closed__1; x_52 = lean_array_push(x_51, x_50); x_53 = lean_array_push(x_51, x_44); x_54 = lean_array_push(x_51, x_36); -x_55 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_55 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_56 = lean_array_push(x_55, x_38); x_57 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_58 = lean_alloc_ctor(1, 2, 0); @@ -25497,7 +25489,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_60); lean_ctor_set(x_71, 1, x_70); x_72 = lean_array_push(x_51, x_71); -x_73 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_73 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_2); x_76 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -25555,7 +25547,7 @@ x_100 = lean_array_push(x_99, x_97); x_101 = l_Lean_mkOptionalNode___closed__1; x_102 = lean_array_push(x_100, x_101); x_103 = lean_array_push(x_102, x_2); -x_104 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10; +x_104 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -25619,7 +25611,7 @@ x_121 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatch x_122 = lean_array_push(x_121, x_2); x_123 = l_Array_append___rarg(x_120, x_122); lean_dec(x_122); -x_124 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8; +x_124 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7; x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); @@ -25698,7 +25690,7 @@ x_149 = l_Array_empty___closed__1; x_150 = lean_array_push(x_149, x_148); x_151 = lean_array_push(x_149, x_142); x_152 = lean_array_push(x_149, x_134); -x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_153 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_154 = lean_array_push(x_153, x_136); x_155 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_156 = lean_alloc_ctor(1, 2, 0); @@ -25726,7 +25718,7 @@ x_169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_169, 0, x_158); lean_ctor_set(x_169, 1, x_168); x_170 = lean_array_push(x_149, x_169); -x_171 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_171 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_172 = lean_array_push(x_170, x_171); x_173 = lean_array_push(x_172, x_2); x_174 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -25784,7 +25776,7 @@ x_198 = lean_array_push(x_197, x_195); x_199 = l_Lean_mkOptionalNode___closed__1; x_200 = lean_array_push(x_198, x_199); x_201 = lean_array_push(x_200, x_2); -x_202 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10; +x_202 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9; x_203 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_203, 0, x_202); lean_ctor_set(x_203, 1, x_201); @@ -26322,7 +26314,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean x_17 = lean_ctor_get(x_14, 0); lean_inc(x_17); lean_dec(x_14); -x_18 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_18 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___spec__1___lambda__1(x_1, x_17, x_18, x_5, x_6, x_7); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -26442,7 +26434,7 @@ lean_inc(x_22); lean_dec(x_5); x_23 = l_Array_empty___closed__1; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; +x_25 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; x_26 = lean_array_push(x_24, x_25); x_27 = l_Lean_mkAppStx___closed__8; x_28 = lean_alloc_ctor(1, 2, 0); @@ -26457,7 +26449,7 @@ x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); x_34 = lean_array_push(x_30, x_33); -x_35 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_35 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_36 = lean_array_push(x_35, x_28); x_37 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_38 = lean_alloc_ctor(1, 2, 0); @@ -26468,7 +26460,7 @@ x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_39); x_41 = lean_array_push(x_34, x_40); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_42 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_3); x_45 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -26505,7 +26497,7 @@ lean_inc(x_59); lean_dec(x_5); x_60 = l_Array_empty___closed__1; x_61 = lean_array_push(x_60, x_59); -x_62 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; +x_62 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; x_63 = lean_array_push(x_61, x_62); x_64 = l_Lean_mkAppStx___closed__8; x_65 = lean_alloc_ctor(1, 2, 0); @@ -26520,7 +26512,7 @@ x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); x_71 = lean_array_push(x_67, x_70); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_72 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_73 = lean_array_push(x_72, x_65); x_74 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_75 = lean_alloc_ctor(1, 2, 0); @@ -26531,7 +26523,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_69); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_71, x_77); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_79 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_3); x_82 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -26626,7 +26618,7 @@ lean_inc(x_109); lean_dec(x_5); x_110 = l_Array_empty___closed__1; x_111 = lean_array_push(x_110, x_109); -x_112 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; +x_112 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; x_113 = lean_array_push(x_111, x_112); x_114 = l_Lean_mkAppStx___closed__8; x_115 = lean_alloc_ctor(1, 2, 0); @@ -26641,7 +26633,7 @@ x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); x_121 = lean_array_push(x_117, x_120); -x_122 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_122 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_123 = lean_array_push(x_122, x_115); x_124 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_125 = lean_alloc_ctor(1, 2, 0); @@ -26652,7 +26644,7 @@ x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_119); lean_ctor_set(x_127, 1, x_126); x_128 = lean_array_push(x_121, x_127); -x_129 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_129 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_130 = lean_array_push(x_128, x_129); x_131 = lean_array_push(x_130, x_3); x_132 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -27119,7 +27111,7 @@ lean_dec(x_16); x_19 = lean_ctor_get(x_10, 2); lean_inc(x_19); lean_dec(x_10); -x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; +x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; x_21 = l_Lean_mkAtomFrom(x_11, x_20); lean_dec(x_11); x_22 = l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___closed__3; @@ -28924,12 +28916,12 @@ x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_50); lean_ctor_set(x_80, 1, x_79); x_81 = lean_array_push(x_31, x_80); -x_82 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_82 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_31, x_22); x_85 = lean_array_push(x_84, x_33); x_86 = lean_array_push(x_85, x_33); -x_87 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_87 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_88 = lean_array_push(x_86, x_87); x_89 = lean_array_push(x_88, x_73); x_90 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -29149,12 +29141,12 @@ x_212 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_212, 0, x_182); lean_ctor_set(x_212, 1, x_211); x_213 = lean_array_push(x_163, x_212); -x_214 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_214 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_215 = lean_array_push(x_213, x_214); x_216 = lean_array_push(x_163, x_153); x_217 = lean_array_push(x_216, x_165); x_218 = lean_array_push(x_217, x_165); -x_219 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_219 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_220 = lean_array_push(x_218, x_219); x_221 = lean_array_push(x_220, x_205); x_222 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -29333,7 +29325,7 @@ x_318 = lean_array_push(x_297, x_317); x_319 = lean_array_push(x_297, x_287); x_320 = lean_array_push(x_319, x_299); x_321 = lean_array_push(x_320, x_299); -x_322 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_322 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_323 = lean_array_push(x_321, x_322); x_324 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_325 = lean_array_push(x_298, x_324); @@ -29551,7 +29543,7 @@ x_446 = lean_array_push(x_425, x_445); x_447 = lean_array_push(x_425, x_414); x_448 = lean_array_push(x_447, x_427); x_449 = lean_array_push(x_448, x_427); -x_450 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_450 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_451 = lean_array_push(x_449, x_450); x_452 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_453 = lean_array_push(x_426, x_452); @@ -29833,12 +29825,12 @@ x_608 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_608, 0, x_573); lean_ctor_set(x_608, 1, x_607); x_609 = lean_array_push(x_554, x_608); -x_610 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_610 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_611 = lean_array_push(x_609, x_610); x_612 = lean_array_push(x_554, x_545); x_613 = lean_array_push(x_612, x_556); x_614 = lean_array_push(x_613, x_556); -x_615 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_615 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_616 = lean_array_push(x_614, x_615); lean_inc(x_601); x_617 = lean_array_push(x_616, x_601); @@ -30126,12 +30118,12 @@ x_775 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_775, 0, x_740); lean_ctor_set(x_775, 1, x_774); x_776 = lean_array_push(x_721, x_775); -x_777 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_777 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_778 = lean_array_push(x_776, x_777); x_779 = lean_array_push(x_721, x_711); x_780 = lean_array_push(x_779, x_723); x_781 = lean_array_push(x_780, x_723); -x_782 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_782 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_783 = lean_array_push(x_781, x_782); lean_inc(x_768); x_784 = lean_array_push(x_783, x_768); @@ -30372,7 +30364,7 @@ x_911 = lean_array_push(x_890, x_910); x_912 = lean_array_push(x_890, x_880); x_913 = lean_array_push(x_912, x_892); x_914 = lean_array_push(x_913, x_892); -x_915 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_915 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_916 = lean_array_push(x_914, x_915); x_917 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_918 = lean_array_push(x_891, x_917); @@ -30559,7 +30551,7 @@ x_1017 = lean_array_push(x_996, x_1016); x_1018 = lean_array_push(x_996, x_985); x_1019 = lean_array_push(x_1018, x_998); x_1020 = lean_array_push(x_1019, x_998); -x_1021 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1021 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1022 = lean_array_push(x_1020, x_1021); x_1023 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_1024 = lean_array_push(x_997, x_1023); @@ -30808,12 +30800,12 @@ x_1157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1157, 0, x_1122); lean_ctor_set(x_1157, 1, x_1156); x_1158 = lean_array_push(x_1103, x_1157); -x_1159 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1159 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1160 = lean_array_push(x_1158, x_1159); x_1161 = lean_array_push(x_1103, x_1094); x_1162 = lean_array_push(x_1161, x_1105); x_1163 = lean_array_push(x_1162, x_1105); -x_1164 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1164 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1165 = lean_array_push(x_1163, x_1164); lean_inc(x_1150); x_1166 = lean_array_push(x_1165, x_1150); @@ -31115,12 +31107,12 @@ x_1330 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1330, 0, x_1295); lean_ctor_set(x_1330, 1, x_1329); x_1331 = lean_array_push(x_1276, x_1330); -x_1332 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1332 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1333 = lean_array_push(x_1331, x_1332); x_1334 = lean_array_push(x_1276, x_1266); x_1335 = lean_array_push(x_1334, x_1278); x_1336 = lean_array_push(x_1335, x_1278); -x_1337 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1337 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1338 = lean_array_push(x_1336, x_1337); lean_inc(x_1323); x_1339 = lean_array_push(x_1338, x_1323); @@ -31429,12 +31421,12 @@ x_1504 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1504, 0, x_1469); lean_ctor_set(x_1504, 1, x_1503); x_1505 = lean_array_push(x_1450, x_1504); -x_1506 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1506 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1507 = lean_array_push(x_1505, x_1506); x_1508 = lean_array_push(x_1450, x_1441); x_1509 = lean_array_push(x_1508, x_1452); x_1510 = lean_array_push(x_1509, x_1452); -x_1511 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1511 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1512 = lean_array_push(x_1510, x_1511); lean_inc(x_1497); x_1513 = lean_array_push(x_1512, x_1497); @@ -31722,12 +31714,12 @@ x_1668 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1668, 0, x_1633); lean_ctor_set(x_1668, 1, x_1667); x_1669 = lean_array_push(x_1614, x_1668); -x_1670 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1670 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1671 = lean_array_push(x_1669, x_1670); x_1672 = lean_array_push(x_1614, x_1604); x_1673 = lean_array_push(x_1672, x_1616); x_1674 = lean_array_push(x_1673, x_1616); -x_1675 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1675 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1676 = lean_array_push(x_1674, x_1675); lean_inc(x_1661); x_1677 = lean_array_push(x_1676, x_1661); @@ -32019,12 +32011,12 @@ x_1833 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1833, 0, x_1798); lean_ctor_set(x_1833, 1, x_1832); x_1834 = lean_array_push(x_1779, x_1833); -x_1835 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1835 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1836 = lean_array_push(x_1834, x_1835); x_1837 = lean_array_push(x_1779, x_1770); x_1838 = lean_array_push(x_1837, x_1781); x_1839 = lean_array_push(x_1838, x_1781); -x_1840 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_1840 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_1841 = lean_array_push(x_1839, x_1840); lean_inc(x_1826); x_1842 = lean_array_push(x_1841, x_1826); @@ -32376,12 +32368,12 @@ x_2033 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2033, 0, x_1998); lean_ctor_set(x_2033, 1, x_2032); x_2034 = lean_array_push(x_1979, x_2033); -x_2035 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_2035 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_2036 = lean_array_push(x_2034, x_2035); x_2037 = lean_array_push(x_1979, x_1969); x_2038 = lean_array_push(x_2037, x_1981); x_2039 = lean_array_push(x_2038, x_1981); -x_2040 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_2040 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_2041 = lean_array_push(x_2039, x_2040); lean_inc(x_2026); x_2042 = lean_array_push(x_2041, x_2026); @@ -35055,8 +35047,8 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -35184,7 +35176,7 @@ x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_61); lean_ctor_set(x_76, 1, x_75); x_77 = lean_array_push(x_46, x_76); -x_78 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_78 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_79 = lean_array_push(x_77, x_78); x_80 = lean_array_push(x_79, x_31); x_81 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__17; @@ -35318,7 +35310,7 @@ x_152 = lean_array_push(x_135, x_151); x_153 = lean_array_push(x_135, x_22); x_154 = lean_array_push(x_153, x_137); x_155 = lean_array_push(x_154, x_137); -x_156 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_156 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_157 = lean_array_push(x_155, x_156); x_158 = lean_array_push(x_157, x_134); x_159 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -35443,7 +35435,7 @@ x_222 = lean_array_push(x_205, x_221); x_223 = lean_array_push(x_205, x_22); x_224 = lean_array_push(x_223, x_207); x_225 = lean_array_push(x_224, x_207); -x_226 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_226 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_227 = lean_array_push(x_225, x_226); x_228 = lean_array_push(x_227, x_204); x_229 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -35605,7 +35597,7 @@ x_301 = lean_array_push(x_284, x_300); x_302 = lean_array_push(x_284, x_22); x_303 = lean_array_push(x_302, x_286); x_304 = lean_array_push(x_303, x_286); -x_305 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_305 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_306 = lean_array_push(x_304, x_305); x_307 = lean_array_push(x_306, x_283); x_308 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36269,7 +36261,7 @@ x_69 = lean_array_push(x_52, x_68); x_70 = lean_array_push(x_52, x_21); x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_54); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_73 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_51); x_76 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36389,7 +36381,7 @@ x_136 = lean_array_push(x_119, x_135); x_137 = lean_array_push(x_119, x_21); x_138 = lean_array_push(x_137, x_121); x_139 = lean_array_push(x_138, x_121); -x_140 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_140 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_141 = lean_array_push(x_139, x_140); x_142 = lean_array_push(x_141, x_118); x_143 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36547,7 +36539,7 @@ x_213 = lean_array_push(x_196, x_212); x_214 = lean_array_push(x_196, x_21); x_215 = lean_array_push(x_214, x_198); x_216 = lean_array_push(x_215, x_198); -x_217 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_217 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_218 = lean_array_push(x_216, x_217); x_219 = lean_array_push(x_218, x_195); x_220 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36647,7 +36639,7 @@ x_273 = lean_array_push(x_256, x_272); x_274 = lean_array_push(x_256, x_243); x_275 = lean_array_push(x_274, x_258); x_276 = lean_array_push(x_275, x_258); -x_277 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_277 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_278 = lean_array_push(x_276, x_277); x_279 = lean_array_push(x_278, x_255); x_280 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -37571,7 +37563,7 @@ x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); x_64 = lean_array_push(x_45, x_63); -x_65 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_65 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_66 = lean_array_push(x_64, x_65); x_67 = lean_array_push(x_66, x_34); x_68 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -37649,7 +37641,7 @@ lean_ctor_set(x_108, 1, x_107); x_109 = lean_array_push(x_45, x_108); x_110 = lean_array_push(x_59, x_91); x_111 = lean_array_push(x_110, x_91); -x_112 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_112 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_113 = lean_array_push(x_111, x_112); x_114 = lean_array_push(x_113, x_89); x_115 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -37745,7 +37737,7 @@ lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_45, x_164); x_166 = lean_array_push(x_59, x_147); x_167 = lean_array_push(x_166, x_147); -x_168 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_168 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_169 = lean_array_push(x_167, x_168); x_170 = lean_array_push(x_169, x_145); x_171 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -37929,7 +37921,7 @@ lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); x_273 = lean_array_push(x_231, x_272); x_274 = lean_array_push(x_231, x_13); -x_275 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; +x_275 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; lean_inc(x_35); x_276 = lean_array_push(x_275, x_35); x_277 = lean_alloc_ctor(1, 2, 0); @@ -37954,7 +37946,7 @@ x_287 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_287, 0, x_258); lean_ctor_set(x_287, 1, x_286); x_288 = lean_array_push(x_231, x_287); -x_289 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_289 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_290 = lean_array_push(x_288, x_289); x_291 = lean_array_push(x_290, x_34); x_292 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -38028,7 +38020,7 @@ x_330 = lean_array_push(x_231, x_329); x_331 = lean_array_push(x_231, x_35); x_332 = lean_array_push(x_331, x_264); x_333 = lean_array_push(x_332, x_264); -x_334 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_334 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_335 = lean_array_push(x_333, x_334); x_336 = lean_array_push(x_312, x_233); x_337 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; @@ -39992,7 +39984,7 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); x_53 = lean_array_push(x_45, x_52); -x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_54 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_27); x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -40070,7 +40062,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); x_97 = lean_array_push(x_90, x_96); -x_98 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_98 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_99 = lean_array_push(x_97, x_98); x_100 = lean_array_push(x_99, x_27); x_101 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -47290,8 +47282,6 @@ l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8 = _init_l_Lean_Elab_Term_D lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8); l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9 = _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__9); -l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10 = _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10); l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1); l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 7104fd1d39..0d34f170cb 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -50,7 +50,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_Lean_Elab_Match___instance__2___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_Lean_Elab_throwIllFormedSyntax___rarg___closed__3; @@ -108,7 +107,6 @@ extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchA lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__1___closed__5; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,6 +127,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___ lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwAmbiguous(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); @@ -172,7 +171,6 @@ lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1___boxed(lean lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processId_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_pushNewArg___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,6 +221,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp(lean_obj lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___boxed(lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -294,7 +293,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(lean_object*); lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___spec__2(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_getNextParam(lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,6 +484,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_thro lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp_match__3(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__21___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_toHeadIndex(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; lean_object* l_Lean_Elab_Term_mkInaccessible(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__10___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; @@ -700,6 +699,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg__ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__9___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_toList___rarg(lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_pushNewArg___closed__5; uint8_t l_Lean_Expr_isStringLit(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_regTraceClasses(lean_object*); @@ -913,7 +913,7 @@ x_18 = lean_array_push(x_17, x_3); x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_20 = lean_array_push(x_18, x_19); x_21 = lean_array_push(x_20, x_19); -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_22 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_23 = lean_array_push(x_21, x_22); x_24 = lean_array_push(x_23, x_2); x_25 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -1013,7 +1013,7 @@ x_18 = l_Array_empty___closed__1; x_19 = lean_array_push(x_18, x_3); x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_21 = lean_array_push(x_19, x_20); -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_22 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_23 = lean_array_push(x_22, x_4); x_24 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_25 = lean_alloc_ctor(1, 2, 0); @@ -1025,7 +1025,7 @@ 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_array_push(x_21, x_28); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_30 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_2); x_33 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -6270,7 +6270,7 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectP _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -9029,7 +9029,7 @@ x_49 = lean_array_push(x_47, x_33); x_50 = l_Lean_mkStxStrLit(x_31, x_43); lean_dec(x_31); x_51 = lean_array_push(x_49, x_50); -x_52 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_52 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_53 = lean_array_push(x_51, x_52); x_54 = l_Lean_nullKind___closed__2; x_55 = lean_alloc_ctor(1, 2, 0); @@ -9067,7 +9067,7 @@ x_69 = lean_array_push(x_67, x_33); x_70 = l_Lean_mkStxStrLit(x_31, x_63); lean_dec(x_31); x_71 = lean_array_push(x_69, x_70); -x_72 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_72 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_73 = lean_array_push(x_71, x_72); x_74 = l_Lean_nullKind___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); @@ -9127,7 +9127,7 @@ x_100 = l_Nat_repr(x_81); x_101 = l_Lean_numLitKind; x_102 = l_Lean_mkStxLit(x_101, x_100, x_93); x_103 = lean_array_push(x_99, x_102); -x_104 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_104 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_105 = lean_array_push(x_103, x_104); x_106 = l_Lean_nullKind___closed__2; x_107 = lean_alloc_ctor(1, 2, 0); @@ -9166,7 +9166,7 @@ x_122 = l_Nat_repr(x_81); x_123 = l_Lean_numLitKind; x_124 = l_Lean_mkStxLit(x_123, x_122, x_115); x_125 = lean_array_push(x_121, x_124); -x_126 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_126 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_127 = lean_array_push(x_125, x_126); x_128 = l_Lean_nullKind___closed__2; x_129 = lean_alloc_ctor(1, 2, 0); @@ -24582,7 +24582,7 @@ x_37 = lean_array_push(x_33, x_36); x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_39 = lean_array_push(x_37, x_38); x_40 = lean_array_push(x_39, x_38); -x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; +x_41 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_inc(x_6); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_6); @@ -24643,7 +24643,7 @@ x_68 = lean_array_push(x_64, x_67); x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_70 = lean_array_push(x_68, x_69); x_71 = lean_array_push(x_70, x_69); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__19; +x_72 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__5; lean_inc(x_6); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_6); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 376dfd57c5..145799dc18 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -66,7 +66,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__3; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; @@ -90,6 +89,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_E lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__3; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___lambda__2___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__21; @@ -101,7 +101,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; @@ -121,7 +120,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBind lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_elimAntiquotChoices(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_rhsFn___default___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__17; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_kind___default; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabfunBinderQuot___closed__2; lean_object* l_Lean_Elab_Term_Quotation_antiquotKind_x3f___boxed(lean_object*); @@ -138,6 +136,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -218,6 +217,7 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplice___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__7; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -269,7 +269,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___lambda__2___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Level_elabLevel___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,6 +291,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_E lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_elimAntiquotChoices_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__5; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___closed__1; @@ -471,6 +471,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabfunBinderQuot___closed__3; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__16; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; @@ -498,7 +499,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__2; uint8_t l_Lean_Elab_Term_Quotation_isEscapedAntiquot(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4077,7 +4077,7 @@ x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); x_43 = lean_array_push(x_28, x_42); -x_44 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_44 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_45 = lean_array_push(x_43, x_44); x_46 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_inc(x_16); @@ -4240,7 +4240,7 @@ x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); x_130 = lean_array_push(x_115, x_129); -x_131 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_131 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_132 = lean_array_push(x_130, x_131); x_133 = l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_inc(x_16); @@ -5130,7 +5130,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_21 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5177,7 +5177,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_49 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -5481,7 +5481,7 @@ x_25 = lean_array_push(x_24, x_2); x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_29 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_mkAppStx___closed__7; x_32 = lean_name_mk_string(x_1, x_31); @@ -5566,7 +5566,7 @@ x_74 = lean_array_push(x_73, x_2); x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_76 = lean_array_push(x_74, x_75); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_78 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_79 = lean_array_push(x_77, x_78); x_80 = l_Lean_mkAppStx___closed__7; x_81 = lean_name_mk_string(x_1, x_80); @@ -5715,7 +5715,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_21 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5762,7 +5762,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_49 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -6363,7 +6363,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_4 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -7950,7 +7950,7 @@ x_25 = lean_array_push(x_24, x_23); x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_29 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_30 = lean_array_push(x_28, x_29); x_31 = lean_array_push(x_30, x_2); x_32 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -8035,7 +8035,7 @@ x_75 = lean_array_push(x_74, x_73); x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_76); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_79 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_2); x_82 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -8486,7 +8486,7 @@ x_54 = lean_array_push(x_53, x_52); x_55 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_56 = lean_array_push(x_54, x_55); x_57 = lean_array_push(x_56, x_55); -x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_58 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_59 = lean_array_push(x_57, x_58); x_60 = lean_array_push(x_59, x_4); x_61 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -8532,7 +8532,7 @@ x_81 = lean_array_push(x_80, x_79); x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_82); -x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_85 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_86 = lean_array_push(x_84, x_85); x_87 = lean_array_push(x_86, x_4); x_88 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -9306,7 +9306,7 @@ x_385 = lean_array_push(x_384, x_383); x_386 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_387 = lean_array_push(x_385, x_386); x_388 = lean_array_push(x_387, x_386); -x_389 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_389 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_390 = lean_array_push(x_388, x_389); x_391 = lean_array_push(x_390, x_4); x_392 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -10370,7 +10370,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; x_2 = l_Lean_mkAtom(x_1); return x_2; } @@ -10547,9 +10547,9 @@ x_69 = lean_array_push(x_33, x_68); x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_71 = lean_array_push(x_69, x_70); x_72 = lean_array_push(x_71, x_70); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_73 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_74 = lean_array_push(x_72, x_73); -x_75 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_75 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_76 = lean_array_push(x_75, x_18); x_77 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_78 = lean_alloc_ctor(1, 2, 0); @@ -10601,9 +10601,9 @@ x_100 = lean_array_push(x_33, x_99); x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_102 = lean_array_push(x_100, x_101); x_103 = lean_array_push(x_102, x_101); -x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_104 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_105 = lean_array_push(x_103, x_104); -x_106 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_106 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_107 = lean_array_push(x_106, x_18); x_108 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_109 = lean_alloc_ctor(1, 2, 0); @@ -10769,9 +10769,9 @@ x_163 = lean_array_push(x_33, x_162); x_164 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_165 = lean_array_push(x_163, x_164); x_166 = lean_array_push(x_165, x_164); -x_167 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_167 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_168 = lean_array_push(x_166, x_167); -x_169 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_169 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_170 = lean_array_push(x_169, x_18); x_171 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_172 = lean_alloc_ctor(1, 2, 0); @@ -10987,7 +10987,7 @@ x_253 = lean_array_push(x_252, x_251); x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_255 = lean_array_push(x_253, x_254); x_256 = lean_array_push(x_255, x_254); -x_257 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_257 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_258 = lean_array_push(x_256, x_257); x_259 = lean_array_push(x_258, x_209); x_260 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -11030,7 +11030,7 @@ x_277 = lean_array_push(x_276, x_275); x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_279 = lean_array_push(x_277, x_278); x_280 = lean_array_push(x_279, x_278); -x_281 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_281 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_282 = lean_array_push(x_280, x_281); x_283 = lean_array_push(x_282, x_209); x_284 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -11187,7 +11187,7 @@ x_333 = lean_array_push(x_332, x_331); x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_335 = lean_array_push(x_333, x_334); x_336 = lean_array_push(x_335, x_334); -x_337 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_337 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_338 = lean_array_push(x_336, x_337); x_339 = lean_array_push(x_338, x_209); x_340 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -11409,7 +11409,7 @@ x_415 = lean_array_push(x_414, x_413); x_416 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_417 = lean_array_push(x_415, x_416); x_418 = lean_array_push(x_417, x_416); -x_419 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_419 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_420 = lean_array_push(x_418, x_419); x_421 = lean_array_push(x_420, x_365); x_422 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -11638,9 +11638,9 @@ x_498 = lean_array_push(x_456, x_497); x_499 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_500 = lean_array_push(x_498, x_499); x_501 = lean_array_push(x_500, x_499); -x_502 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_502 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_503 = lean_array_push(x_501, x_502); -x_504 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_504 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_505 = lean_array_push(x_504, x_441); x_506 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_507 = lean_alloc_ctor(1, 2, 0); @@ -11890,7 +11890,7 @@ x_593 = lean_array_push(x_592, x_591); x_594 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_595 = lean_array_push(x_593, x_594); x_596 = lean_array_push(x_595, x_594); -x_597 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_597 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_598 = lean_array_push(x_596, x_597); x_599 = lean_array_push(x_598, x_542); x_600 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -12135,9 +12135,9 @@ x_679 = lean_array_push(x_636, x_678); x_680 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_681 = lean_array_push(x_679, x_680); x_682 = lean_array_push(x_681, x_680); -x_683 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_683 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_684 = lean_array_push(x_682, x_683); -x_685 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_685 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_686 = lean_array_push(x_685, x_620); x_687 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_688 = lean_alloc_ctor(1, 2, 0); @@ -12390,7 +12390,7 @@ x_774 = lean_array_push(x_773, x_772); x_775 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; x_776 = lean_array_push(x_774, x_775); x_777 = lean_array_push(x_776, x_775); -x_778 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_778 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_779 = lean_array_push(x_777, x_778); x_780 = lean_array_push(x_779, x_723); x_781 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index aa2681c3fe..49438e4948 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -85,7 +85,6 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__3(lean_obje lean_object* l_Lean_Elab_Term_StructInst_formatStruct_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__2; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___spec__1___closed__1; lean_object* l_Lean_Elab_Term_StructInst_Lean_Elab_StructInst___instance__4(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -100,6 +99,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___lambda__1(lean_o lean_object* l_Lean_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_allStructNames___default; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_findField_x3f_match__1(lean_object*); @@ -242,7 +242,6 @@ extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_ lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__2(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_Elab_Term_StructInst_Lean_Elab_StructInst___instance__9; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames___spec__1(lean_object*, lean_object*); @@ -394,7 +393,6 @@ extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -423,6 +421,7 @@ extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_fields_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__10; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__9; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step_match__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f_match__1(lean_object*); @@ -676,6 +675,7 @@ lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_S lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f___boxed(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___spec__1___boxed(lean_object*, lean_object*); @@ -773,7 +773,7 @@ x_9 = l_Lean_mkOptionalNode___closed__1; x_10 = l_Lean_Syntax_setArg(x_1, x_4, x_9); x_11 = l_Array_empty___closed__1; x_12 = lean_array_push(x_11, x_10); -x_13 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_13 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_14 = lean_array_push(x_13, x_8); x_15 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_16 = lean_alloc_ctor(1, 2, 0); @@ -1036,7 +1036,7 @@ x_50 = lean_array_push(x_49, x_48); x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_52 = lean_array_push(x_50, x_51); x_53 = lean_array_push(x_52, x_51); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_54 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_23); x_57 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -1081,7 +1081,7 @@ x_75 = lean_array_push(x_74, x_73); x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_76); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_79 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_23); x_82 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -1243,7 +1243,7 @@ x_141 = lean_array_push(x_140, x_139); x_142 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_143 = lean_array_push(x_141, x_142); x_144 = lean_array_push(x_143, x_142); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_145 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_146 = lean_array_push(x_144, x_145); x_147 = lean_array_push(x_146, x_113); x_148 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -1477,7 +1477,7 @@ x_220 = lean_array_push(x_219, x_218); x_221 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; x_222 = lean_array_push(x_220, x_221); x_223 = lean_array_push(x_222, x_221); -x_224 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_224 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_225 = lean_array_push(x_223, x_224); x_226 = lean_array_push(x_225, x_192); x_227 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -2984,7 +2984,7 @@ lean_ctor_set(x_75, 2, x_73); lean_ctor_set(x_75, 3, x_24); x_76 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_78 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_79 = lean_array_push(x_77, x_78); x_80 = lean_array_push(x_79, x_52); x_81 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; @@ -3006,7 +3006,7 @@ x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_60, x_90); -x_92 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_92 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_93 = lean_array_push(x_91, x_92); x_94 = lean_array_push(x_93, x_49); x_95 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -3284,7 +3284,7 @@ lean_ctor_set(x_230, 2, x_228); lean_ctor_set(x_230, 3, x_219); x_231 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; x_232 = lean_array_push(x_231, x_230); -x_233 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; +x_233 = l_myMacro____x40_Init_Tactics___hyg_502____closed__10; x_234 = lean_array_push(x_232, x_233); x_235 = lean_array_push(x_234, x_205); x_236 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; @@ -3308,7 +3308,7 @@ x_247 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_247, 0, x_246); lean_ctor_set(x_247, 1, x_245); x_248 = lean_array_push(x_213, x_247); -x_249 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_249 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_250 = lean_array_push(x_248, x_249); x_251 = lean_array_push(x_250, x_202); x_252 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 46d63a318b..915068c81e 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -170,7 +170,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToPar lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType___boxed(lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent___boxed(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__2; uint8_t l_Lean_Elab_Command_StructFieldInfo_inferMod___default; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -542,6 +541,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_mat uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__6; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -15349,7 +15349,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Level_elabLevel___closed__6; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 6243e9ed27..02c8481728 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -120,7 +120,6 @@ lean_object* l_Lean_Elab_Command_Macro_mkFreshKind(lean_object*, lean_object*, l lean_object* l_Lean_Elab_Command_expandMixfix___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__43; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix_match__1(lean_object*); @@ -141,6 +140,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__32; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__73; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +extern lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__20; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__98; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); @@ -158,6 +158,7 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacro___boxed__const__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__81; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__172; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; lean_object* l_Lean_Elab_Command_expandElab___closed__45; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -208,7 +209,6 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux_match__2(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__101; @@ -235,6 +235,7 @@ lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Command_elabMacroRulesAux___spe lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__108; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__133; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; @@ -299,7 +300,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__71; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__63; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__49; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; @@ -371,7 +371,6 @@ lean_object* l_Lean_Macro_addMacroScope(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__130; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__62; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__137; @@ -425,6 +424,7 @@ extern lean_object* l_Lean_Parser_categoryParserFnImpl___closed__4; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; @@ -459,7 +459,6 @@ lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed(lean_object*, lea lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__154; extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__80; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__6; @@ -487,7 +486,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__141; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__111; extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__1; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l_Nat_pred(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__34; @@ -534,7 +532,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__46; lean_object* l_Lean_Elab_Command_expandElab___closed__46; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__5; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*); @@ -751,6 +748,7 @@ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__14; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55; lean_object* l___private_Init_LeanInit_0__Array_filterSepElemsMAux___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_0__Lean_quoteName(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__11; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__129; lean_object* l_Lean_Elab_Command_expandElab___closed__40; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object*, size_t, size_t, lean_object*); @@ -806,6 +804,7 @@ lean_object* l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem(lean_object*, lea extern lean_object* l_Lean_Parser_mkAntiquot___closed__8; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__61; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); @@ -10973,37 +10972,27 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("Lean.ParserDescr.node"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; +x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11011,7 +11000,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11021,13 +11010,25 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -x_3 = lean_alloc_ctor(0, 2, 0); +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; @@ -11036,36 +11037,24 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_maxPrec; x_2 = l_Nat_repr(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_numLitKind; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; x_3 = l_Lean_Init_LeanInit___instance__8___closed__1; x_4 = l_Lean_mkStxLit(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36() { _start: { lean_object* x_1; @@ -11073,22 +11062,22 @@ x_1 = lean_mk_string("Lean.ParserDescr.andthen"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11096,7 +11085,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11108,19 +11097,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41() { _start: { lean_object* x_1; @@ -11128,22 +11117,22 @@ x_1 = lean_mk_string("Lean.ParserDescr.symbol"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43; +x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11151,7 +11140,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11163,19 +11152,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46() { _start: { lean_object* x_1; @@ -11183,22 +11172,22 @@ x_1 = lean_mk_string("Lean.ParserDescr.cat"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11206,7 +11195,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11218,19 +11207,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51() { _start: { lean_object* x_1; @@ -11238,25 +11227,37 @@ x_1 = lean_mk_string("\")\""); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_Lean_strLitKind___closed__2; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53; -x_3 = lean_array_push(x_1, x_2); +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; } } @@ -11264,11 +11265,9 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_strLitKind___closed__2; +x_1 = l_Array_empty___closed__1; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -11276,18 +11275,8 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -11381,7 +11370,7 @@ lean_ctor_set(x_57, 0, x_21); lean_ctor_set(x_57, 1, x_55); lean_ctor_set(x_57, 2, x_54); lean_ctor_set(x_57, 3, x_56); -x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_58 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_59 = lean_array_push(x_58, x_57); x_60 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_61 = lean_alloc_ctor(1, 2, 0); @@ -11397,12 +11386,12 @@ x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); x_67 = lean_array_push(x_52, x_66); -x_68 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +x_68 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; lean_inc(x_13); lean_inc(x_16); x_69 = l_Lean_addMacroScope(x_16, x_68, x_13); -x_70 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; +x_70 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; +x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_21); lean_ctor_set(x_72, 1, x_70); @@ -11411,14 +11400,14 @@ lean_ctor_set(x_72, 3, x_71); x_73 = lean_array_push(x_24, x_72); x_74 = l___private_Init_LeanInit_0__Lean_quoteName(x_11); x_75 = lean_array_push(x_24, x_74); -x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; x_77 = lean_array_push(x_75, x_76); x_78 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; lean_inc(x_13); lean_inc(x_16); x_79 = l_Lean_addMacroScope(x_16, x_78, x_13); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -x_81 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_81 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_21); lean_ctor_set(x_82, 1, x_80); @@ -11429,8 +11418,8 @@ x_84 = l_Lean_Elab_Term_toParserDescrAux___closed__142; lean_inc(x_13); lean_inc(x_16); x_85 = l_Lean_addMacroScope(x_16, x_84, x_13); -x_86 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -x_87 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; +x_86 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43; +x_87 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; x_88 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_88, 0, x_21); lean_ctor_set(x_88, 1, x_86); @@ -11465,8 +11454,8 @@ lean_ctor_set(x_104, 1, x_102); x_105 = lean_array_push(x_24, x_104); x_106 = l_Lean_Elab_Term_toParserDescrAux___closed__163; x_107 = l_Lean_addMacroScope(x_16, x_106, x_13); -x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; +x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; x_110 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_110, 0, x_21); lean_ctor_set(x_110, 1, x_108); @@ -11495,7 +11484,7 @@ x_124 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_124, 0, x_103); lean_ctor_set(x_124, 1, x_123); x_125 = lean_array_push(x_24, x_124); -x_126 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57; +x_126 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56; x_127 = lean_array_push(x_89, x_126); x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_94); @@ -11555,7 +11544,7 @@ x_157 = lean_array_push(x_73, x_156); x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_94); lean_ctor_set(x_158, 1, x_157); -x_159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_159 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_160 = lean_array_push(x_159, x_158); x_161 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_162 = lean_alloc_ctor(1, 2, 0); @@ -12993,7 +12982,7 @@ lean_ctor_set(x_75, 0, x_40); lean_ctor_set(x_75, 1, x_73); lean_ctor_set(x_75, 2, x_72); lean_ctor_set(x_75, 3, x_74); -x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_76 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_77 = lean_array_push(x_76, x_75); x_78 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_79 = lean_alloc_ctor(1, 2, 0); @@ -13012,7 +13001,7 @@ x_85 = lean_array_push(x_70, x_84); x_86 = l_Lean_Elab_Command_elabSyntax___lambda__3___closed__6; x_87 = l_Lean_addMacroScope(x_34, x_86, x_31); x_88 = l_Lean_Elab_Command_elabSyntax___lambda__3___closed__5; -x_89 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; +x_89 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; x_90 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_90, 0, x_40); lean_ctor_set(x_90, 1, x_88); @@ -13033,7 +13022,7 @@ x_100 = l_Lean_mkAppStx___closed__8; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_102 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_103 = lean_array_push(x_102, x_101); x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_105 = lean_alloc_ctor(1, 2, 0); @@ -13132,7 +13121,7 @@ lean_ctor_set(x_160, 0, x_125); lean_ctor_set(x_160, 1, x_158); lean_ctor_set(x_160, 2, x_157); lean_ctor_set(x_160, 3, x_159); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_161 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_162 = lean_array_push(x_161, x_160); x_163 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_164 = lean_alloc_ctor(1, 2, 0); @@ -13172,7 +13161,7 @@ x_185 = l_Lean_mkAppStx___closed__8; x_186 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_186, 0, x_185); lean_ctor_set(x_186, 1, x_184); -x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_187 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_188 = lean_array_push(x_187, x_186); x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_190 = lean_alloc_ctor(1, 2, 0); @@ -13542,7 +13531,7 @@ lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_29); lean_ctor_set(x_31, 2, x_27); lean_ctor_set(x_31, 3, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_32 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_33 = lean_array_push(x_32, x_31); x_34 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_35 = lean_alloc_ctor(1, 2, 0); @@ -13561,7 +13550,7 @@ x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); x_44 = lean_array_push(x_25, x_43); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_45 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_46 = lean_array_push(x_45, x_17); x_47 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_48 = lean_alloc_ctor(1, 2, 0); @@ -14280,8 +14269,8 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -14568,7 +14557,7 @@ lean_ctor_set(x_65, 0, x_19); lean_ctor_set(x_65, 1, x_63); lean_ctor_set(x_65, 2, x_62); lean_ctor_set(x_65, 3, x_64); -x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_66 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_67 = lean_array_push(x_66, x_65); x_68 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_69 = lean_alloc_ctor(1, 2, 0); @@ -14600,7 +14589,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_26); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_22, x_81); -x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_84 = lean_array_push(x_82, x_83); x_85 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_86 = lean_array_push(x_85, x_79); @@ -14671,7 +14660,7 @@ x_125 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_127 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_128 = lean_array_push(x_127, x_126); x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_130 = lean_alloc_ctor(1, 2, 0); @@ -14780,7 +14769,7 @@ lean_ctor_set(x_188, 0, x_142); lean_ctor_set(x_188, 1, x_186); lean_ctor_set(x_188, 2, x_185); lean_ctor_set(x_188, 3, x_187); -x_189 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_189 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_190 = lean_array_push(x_189, x_188); x_191 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_192 = lean_alloc_ctor(1, 2, 0); @@ -14812,7 +14801,7 @@ x_204 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_204, 0, x_149); lean_ctor_set(x_204, 1, x_203); x_205 = lean_array_push(x_145, x_204); -x_206 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_206 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_207 = lean_array_push(x_205, x_206); x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_209 = lean_array_push(x_208, x_202); @@ -14883,7 +14872,7 @@ x_248 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_250 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_251 = lean_array_push(x_250, x_249); x_252 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_253 = lean_alloc_ctor(1, 2, 0); @@ -16726,7 +16715,7 @@ x_353 = l_Lean_Syntax_getArg(x_1, x_348); x_354 = lean_unsigned_to_nat(4u); x_355 = l_Lean_Syntax_getArg(x_1, x_354); lean_dec(x_1); -x_356 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_356 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_357 = lean_array_push(x_356, x_352); x_358 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_358, 0, x_342); @@ -16739,7 +16728,7 @@ lean_ctor_set(x_361, 1, x_360); x_362 = l_Lean_Elab_Command_expandMixfix___closed__32; x_363 = lean_array_push(x_362, x_361); x_364 = lean_array_push(x_363, x_353); -x_365 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_365 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_366 = lean_array_push(x_364, x_365); x_367 = lean_array_push(x_366, x_355); x_368 = lean_alloc_ctor(1, 2, 0); @@ -16895,7 +16884,7 @@ lean_inc(x_54); x_55 = lean_ctor_get(x_2, 1); lean_inc(x_55); lean_dec(x_2); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_56 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_57 = lean_array_push(x_56, x_50); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_40); @@ -16931,7 +16920,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_30); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_63, x_77); -x_79 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_79 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_59, x_53); x_82 = lean_alloc_ctor(1, 2, 0); @@ -17073,7 +17062,7 @@ lean_inc(x_121); x_122 = lean_ctor_get(x_2, 1); lean_inc(x_122); lean_dec(x_2); -x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_123 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_124 = lean_array_push(x_123, x_117); x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_107); @@ -17109,7 +17098,7 @@ x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_97); lean_ctor_set(x_143, 1, x_142); x_144 = lean_array_push(x_130, x_143); -x_145 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_145 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_146 = lean_array_push(x_144, x_145); x_147 = lean_array_push(x_126, x_120); x_148 = lean_alloc_ctor(1, 2, 0); @@ -17274,7 +17263,7 @@ lean_inc(x_199); x_200 = lean_ctor_get(x_2, 1); lean_inc(x_200); lean_dec(x_2); -x_201 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_201 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_202 = lean_array_push(x_201, x_189); x_203 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_203, 0, x_179); @@ -17334,7 +17323,7 @@ x_233 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_233, 0, x_169); lean_ctor_set(x_233, 1, x_232); x_234 = lean_array_push(x_208, x_233); -x_235 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_235 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_236 = lean_array_push(x_234, x_235); x_237 = lean_array_push(x_204, x_192); x_238 = lean_array_push(x_214, x_224); @@ -17473,7 +17462,7 @@ lean_inc(x_277); x_278 = lean_ctor_get(x_2, 1); lean_inc(x_278); lean_dec(x_2); -x_279 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_279 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_280 = lean_array_push(x_279, x_273); x_281 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_281, 0, x_263); @@ -17527,7 +17516,7 @@ x_308 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_308, 0, x_253); lean_ctor_set(x_308, 1, x_307); x_309 = lean_array_push(x_286, x_308); -x_310 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_310 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_311 = lean_array_push(x_309, x_310); x_312 = lean_array_push(x_282, x_276); x_313 = lean_array_push(x_293, x_303); @@ -17856,7 +17845,7 @@ else { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_dec(x_4); -x_16 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_16 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_17 = l_Lean_mkIdentFrom(x_1, x_16); x_18 = lean_unsigned_to_nat(1u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); @@ -18332,7 +18321,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_7 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_7 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_5); x_8 = l_Lean_Elab_Command_Macro_mkFreshKind(x_7, x_5, x_6); x_9 = lean_ctor_get(x_8, 0); @@ -18454,7 +18443,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_49); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_52, x_54); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_56 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_57 = lean_array_push(x_55, x_56); x_58 = lean_array_push(x_57, x_22); x_59 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -18475,7 +18464,7 @@ x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_push(x_41, x_69); -x_71 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_71 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_72 = lean_array_push(x_70, x_71); x_73 = lean_array_push(x_62, x_38); x_74 = lean_array_push(x_73, x_64); @@ -18516,7 +18505,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean x_91 = lean_ctor_get(x_2, 0); lean_inc(x_91); lean_dec(x_2); -x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_92 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_93 = lean_array_push(x_92, x_91); x_94 = l_Lean_Elab_Command_expandMixfix___closed__8; x_95 = lean_alloc_ctor(1, 2, 0); @@ -18550,7 +18539,7 @@ x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_98); lean_ctor_set(x_113, 1, x_112); x_114 = lean_array_push(x_111, x_113); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_115 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_116 = lean_array_push(x_114, x_115); x_117 = lean_array_push(x_116, x_22); x_118 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -18571,7 +18560,7 @@ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_98); lean_ctor_set(x_128, 1, x_127); x_129 = lean_array_push(x_96, x_128); -x_130 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_130 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_131 = lean_array_push(x_129, x_130); x_132 = lean_array_push(x_121, x_38); x_133 = lean_array_push(x_132, x_123); @@ -18653,7 +18642,7 @@ x_173 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_173, 0, x_168); lean_ctor_set(x_173, 1, x_172); x_174 = lean_array_push(x_171, x_173); -x_175 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_175 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_176 = lean_array_push(x_174, x_175); x_177 = lean_array_push(x_176, x_22); x_178 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -18674,7 +18663,7 @@ x_188 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_188, 0, x_168); lean_ctor_set(x_188, 1, x_187); x_189 = lean_array_push(x_160, x_188); -x_190 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_190 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_191 = lean_array_push(x_189, x_190); x_192 = lean_array_push(x_181, x_157); x_193 = lean_array_push(x_192, x_183); @@ -18717,7 +18706,7 @@ lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; x_211 = lean_ctor_get(x_2, 0); lean_inc(x_211); lean_dec(x_2); -x_212 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_212 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_213 = lean_array_push(x_212, x_211); x_214 = l_Lean_Elab_Command_expandMixfix___closed__8; x_215 = lean_alloc_ctor(1, 2, 0); @@ -18751,7 +18740,7 @@ x_233 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_233, 0, x_218); lean_ctor_set(x_233, 1, x_232); x_234 = lean_array_push(x_231, x_233); -x_235 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_235 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_236 = lean_array_push(x_234, x_235); x_237 = lean_array_push(x_236, x_22); x_238 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -18772,7 +18761,7 @@ x_248 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_248, 0, x_218); lean_ctor_set(x_248, 1, x_247); x_249 = lean_array_push(x_216, x_248); -x_250 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_250 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_251 = lean_array_push(x_249, x_250); x_252 = lean_array_push(x_241, x_157); x_253 = lean_array_push(x_252, x_243); @@ -19688,7 +19677,7 @@ x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_58); lean_ctor_set(x_80, 1, x_79); x_81 = lean_array_push(x_78, x_80); -x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_82 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_16); x_85 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19709,7 +19698,7 @@ x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_58); lean_ctor_set(x_95, 1, x_94); x_96 = lean_array_push(x_56, x_95); -x_97 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_97 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_98 = lean_array_push(x_96, x_97); x_99 = lean_array_push(x_88, x_55); x_100 = lean_array_push(x_99, x_90); @@ -19785,7 +19774,7 @@ x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_121); lean_ctor_set(x_143, 1, x_142); x_144 = lean_array_push(x_141, x_143); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_145 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_146 = lean_array_push(x_144, x_145); x_147 = lean_array_push(x_146, x_16); x_148 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19806,7 +19795,7 @@ x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_121); lean_ctor_set(x_158, 1, x_157); x_159 = lean_array_push(x_119, x_158); -x_160 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_160 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_161 = lean_array_push(x_159, x_160); x_162 = lean_array_push(x_161, x_118); x_163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -19898,7 +19887,7 @@ x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_189); lean_ctor_set(x_211, 1, x_210); x_212 = lean_array_push(x_209, x_211); -x_213 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_213 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_214 = lean_array_push(x_212, x_213); x_215 = lean_array_push(x_214, x_16); x_216 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19919,7 +19908,7 @@ x_226 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_226, 0, x_189); lean_ctor_set(x_226, 1, x_225); x_227 = lean_array_push(x_187, x_226); -x_228 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_228 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_229 = lean_array_push(x_227, x_228); x_230 = lean_array_push(x_219, x_186); x_231 = lean_array_push(x_230, x_221); @@ -19997,7 +19986,7 @@ x_275 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_275, 0, x_253); lean_ctor_set(x_275, 1, x_274); x_276 = lean_array_push(x_273, x_275); -x_277 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_277 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_278 = lean_array_push(x_276, x_277); x_279 = lean_array_push(x_278, x_16); x_280 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -20018,7 +20007,7 @@ x_290 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_290, 0, x_253); lean_ctor_set(x_290, 1, x_289); x_291 = lean_array_push(x_251, x_290); -x_292 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_292 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_293 = lean_array_push(x_291, x_292); x_294 = lean_array_push(x_293, x_250); x_295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; @@ -21024,7 +21013,7 @@ if (x_57 == 0) { lean_object* x_58; uint8_t x_59; lean_dec(x_18); -x_58 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_58 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_59 = lean_name_eq(x_21, x_58); if (x_59 == 0) { @@ -21104,7 +21093,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_75); lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_push(x_94, x_96); -x_98 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_98 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_99 = lean_array_push(x_97, x_98); x_100 = lean_array_push(x_99, x_16); x_101 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -21187,7 +21176,7 @@ lean_ctor_set(x_146, 0, x_84); lean_ctor_set(x_146, 1, x_144); lean_ctor_set(x_146, 2, x_143); lean_ctor_set(x_146, 3, x_145); -x_147 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_147 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_148 = lean_array_push(x_147, x_146); x_149 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_150 = lean_alloc_ctor(1, 2, 0); @@ -21219,7 +21208,7 @@ x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_75); lean_ctor_set(x_162, 1, x_161); x_163 = lean_array_push(x_73, x_162); -x_164 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_164 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_165 = lean_array_push(x_163, x_164); x_166 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_167 = lean_array_push(x_166, x_160); @@ -21287,7 +21276,7 @@ x_208 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_209 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_209, 0, x_208); lean_ctor_set(x_209, 1, x_207); -x_210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_210 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_211 = lean_array_push(x_210, x_209); x_212 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_213 = lean_alloc_ctor(1, 2, 0); @@ -21357,7 +21346,7 @@ x_247 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_247, 0, x_226); lean_ctor_set(x_247, 1, x_246); x_248 = lean_array_push(x_245, x_247); -x_249 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_249 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_250 = lean_array_push(x_248, x_249); x_251 = lean_array_push(x_250, x_16); x_252 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -21441,7 +21430,7 @@ lean_ctor_set(x_298, 0, x_235); lean_ctor_set(x_298, 1, x_296); lean_ctor_set(x_298, 2, x_295); lean_ctor_set(x_298, 3, x_297); -x_299 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_299 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_300 = lean_array_push(x_299, x_298); x_301 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_302 = lean_alloc_ctor(1, 2, 0); @@ -21473,7 +21462,7 @@ x_314 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_314, 0, x_226); lean_ctor_set(x_314, 1, x_313); x_315 = lean_array_push(x_224, x_314); -x_316 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_316 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_317 = lean_array_push(x_315, x_316); x_318 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_319 = lean_array_push(x_318, x_312); @@ -21541,7 +21530,7 @@ x_360 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_361 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_361, 0, x_360); lean_ctor_set(x_361, 1, x_359); -x_362 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_362 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_363 = lean_array_push(x_362, x_361); x_364 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_365 = lean_alloc_ctor(1, 2, 0); @@ -21611,7 +21600,7 @@ x_399 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_399, 0, x_378); lean_ctor_set(x_399, 1, x_398); x_400 = lean_array_push(x_397, x_399); -x_401 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_401 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_402 = lean_array_push(x_400, x_401); x_403 = lean_array_push(x_402, x_16); x_404 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -21695,7 +21684,7 @@ lean_ctor_set(x_450, 0, x_387); lean_ctor_set(x_450, 1, x_448); lean_ctor_set(x_450, 2, x_447); lean_ctor_set(x_450, 3, x_449); -x_451 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_451 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_452 = lean_array_push(x_451, x_450); x_453 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_454 = lean_alloc_ctor(1, 2, 0); @@ -21723,13 +21712,13 @@ lean_ctor_set(x_464, 2, x_462); lean_ctor_set(x_464, 3, x_409); lean_inc(x_464); x_465 = lean_array_push(x_376, x_464); -x_466 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_466 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_467 = lean_array_push(x_465, x_466); x_468 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_468, 0, x_378); lean_ctor_set(x_468, 1, x_467); x_469 = lean_array_push(x_376, x_468); -x_470 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_470 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_471 = lean_array_push(x_469, x_470); x_472 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_473 = lean_array_push(x_472, x_464); @@ -21797,7 +21786,7 @@ x_514 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_515 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_515, 0, x_514); lean_ctor_set(x_515, 1, x_513); -x_516 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_516 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_517 = lean_array_push(x_516, x_515); x_518 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_519 = lean_alloc_ctor(1, 2, 0); @@ -21825,7 +21814,7 @@ else { lean_object* x_528; uint8_t x_529; lean_dec(x_1); -x_528 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_528 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_529 = lean_name_eq(x_21, x_528); if (x_529 == 0) { @@ -21896,7 +21885,7 @@ x_563 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_563, 0, x_542); lean_ctor_set(x_563, 1, x_562); x_564 = lean_array_push(x_561, x_563); -x_565 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_565 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_566 = lean_array_push(x_564, x_565); x_567 = lean_array_push(x_566, x_16); x_568 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -21980,7 +21969,7 @@ lean_ctor_set(x_614, 0, x_551); lean_ctor_set(x_614, 1, x_612); lean_ctor_set(x_614, 2, x_611); lean_ctor_set(x_614, 3, x_613); -x_615 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_615 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_616 = lean_array_push(x_615, x_614); x_617 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_618 = lean_alloc_ctor(1, 2, 0); @@ -22024,7 +22013,7 @@ x_635 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_635, 0, x_542); lean_ctor_set(x_635, 1, x_634); x_636 = lean_array_push(x_540, x_635); -x_637 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_637 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_638 = lean_array_push(x_636, x_637); x_639 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_640 = lean_array_push(x_639, x_628); @@ -22128,7 +22117,7 @@ x_701 = lean_array_push(x_667, x_700); x_702 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_702, 0, x_669); lean_ctor_set(x_702, 1, x_701); -x_703 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_703 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_704 = lean_array_push(x_703, x_702); x_705 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_706 = lean_alloc_ctor(1, 2, 0); @@ -22174,7 +22163,7 @@ if (x_721 == 0) { lean_object* x_722; uint8_t x_723; lean_dec(x_18); -x_722 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_722 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_723 = lean_name_eq(x_21, x_722); if (x_723 == 0) { @@ -22253,7 +22242,7 @@ x_760 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_760, 0, x_739); lean_ctor_set(x_760, 1, x_759); x_761 = lean_array_push(x_758, x_760); -x_762 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_762 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_763 = lean_array_push(x_761, x_762); x_764 = lean_array_push(x_763, x_16); x_765 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -22336,7 +22325,7 @@ lean_ctor_set(x_810, 0, x_748); lean_ctor_set(x_810, 1, x_808); lean_ctor_set(x_810, 2, x_807); lean_ctor_set(x_810, 3, x_809); -x_811 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_811 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_812 = lean_array_push(x_811, x_810); x_813 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_814 = lean_alloc_ctor(1, 2, 0); @@ -22368,7 +22357,7 @@ x_826 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_826, 0, x_739); lean_ctor_set(x_826, 1, x_825); x_827 = lean_array_push(x_737, x_826); -x_828 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_828 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_829 = lean_array_push(x_827, x_828); x_830 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_831 = lean_array_push(x_830, x_824); @@ -22436,7 +22425,7 @@ x_872 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_873 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_873, 0, x_872); lean_ctor_set(x_873, 1, x_871); -x_874 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_874 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_875 = lean_array_push(x_874, x_873); x_876 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_877 = lean_alloc_ctor(1, 2, 0); @@ -22508,7 +22497,7 @@ x_912 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_912, 0, x_891); lean_ctor_set(x_912, 1, x_911); x_913 = lean_array_push(x_910, x_912); -x_914 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_914 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_915 = lean_array_push(x_913, x_914); x_916 = lean_array_push(x_915, x_16); x_917 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -22592,7 +22581,7 @@ lean_ctor_set(x_963, 0, x_900); lean_ctor_set(x_963, 1, x_961); lean_ctor_set(x_963, 2, x_960); lean_ctor_set(x_963, 3, x_962); -x_964 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_964 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_965 = lean_array_push(x_964, x_963); x_966 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_967 = lean_alloc_ctor(1, 2, 0); @@ -22624,7 +22613,7 @@ x_979 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_979, 0, x_891); lean_ctor_set(x_979, 1, x_978); x_980 = lean_array_push(x_889, x_979); -x_981 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_981 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_982 = lean_array_push(x_980, x_981); x_983 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_984 = lean_array_push(x_983, x_977); @@ -22692,7 +22681,7 @@ x_1025 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_1026 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1026, 0, x_1025); lean_ctor_set(x_1026, 1, x_1024); -x_1027 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_1027 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_1028 = lean_array_push(x_1027, x_1026); x_1029 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_1030 = lean_alloc_ctor(1, 2, 0); @@ -22764,7 +22753,7 @@ x_1065 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1065, 0, x_1044); lean_ctor_set(x_1065, 1, x_1064); x_1066 = lean_array_push(x_1063, x_1065); -x_1067 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_1067 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_1068 = lean_array_push(x_1066, x_1067); x_1069 = lean_array_push(x_1068, x_16); x_1070 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -22848,7 +22837,7 @@ lean_ctor_set(x_1116, 0, x_1053); lean_ctor_set(x_1116, 1, x_1114); lean_ctor_set(x_1116, 2, x_1113); lean_ctor_set(x_1116, 3, x_1115); -x_1117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_1117 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_1118 = lean_array_push(x_1117, x_1116); x_1119 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_1120 = lean_alloc_ctor(1, 2, 0); @@ -22876,13 +22865,13 @@ lean_ctor_set(x_1130, 2, x_1128); lean_ctor_set(x_1130, 3, x_1075); lean_inc(x_1130); x_1131 = lean_array_push(x_1042, x_1130); -x_1132 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_1132 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_1133 = lean_array_push(x_1131, x_1132); x_1134 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1134, 0, x_1044); lean_ctor_set(x_1134, 1, x_1133); x_1135 = lean_array_push(x_1042, x_1134); -x_1136 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1136 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1137 = lean_array_push(x_1135, x_1136); x_1138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_1139 = lean_array_push(x_1138, x_1130); @@ -22950,7 +22939,7 @@ x_1180 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_1181 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1181, 0, x_1180); lean_ctor_set(x_1181, 1, x_1179); -x_1182 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_1182 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_1183 = lean_array_push(x_1182, x_1181); x_1184 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_1185 = lean_alloc_ctor(1, 2, 0); @@ -22980,7 +22969,7 @@ else { lean_object* x_1195; uint8_t x_1196; lean_dec(x_1); -x_1195 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1195 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_1196 = lean_name_eq(x_21, x_1195); if (x_1196 == 0) { @@ -23050,7 +23039,7 @@ x_1230 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1230, 0, x_1209); lean_ctor_set(x_1230, 1, x_1229); x_1231 = lean_array_push(x_1228, x_1230); -x_1232 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__21; +x_1232 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; x_1233 = lean_array_push(x_1231, x_1232); x_1234 = lean_array_push(x_1233, x_16); x_1235 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -23134,7 +23123,7 @@ lean_ctor_set(x_1281, 0, x_1218); lean_ctor_set(x_1281, 1, x_1279); lean_ctor_set(x_1281, 2, x_1278); lean_ctor_set(x_1281, 3, x_1280); -x_1282 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_1282 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2; x_1283 = lean_array_push(x_1282, x_1281); x_1284 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; x_1285 = lean_alloc_ctor(1, 2, 0); @@ -23178,7 +23167,7 @@ x_1302 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1302, 0, x_1209); lean_ctor_set(x_1302, 1, x_1301); x_1303 = lean_array_push(x_1207, x_1302); -x_1304 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_1304 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_1305 = lean_array_push(x_1303, x_1304); x_1306 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_1307 = lean_array_push(x_1306, x_1295); @@ -23282,7 +23271,7 @@ x_1368 = lean_array_push(x_1334, x_1367); x_1369 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1369, 0, x_1336); lean_ctor_set(x_1369, 1, x_1368); -x_1370 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +x_1370 = l_myMacro____x40_Init_Tactics___hyg_502____closed__11; x_1371 = lean_array_push(x_1370, x_1369); x_1372 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; x_1373 = lean_alloc_ctor(1, 2, 0); @@ -24026,8 +24015,6 @@ l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___c lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56); -l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57(); -lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57); l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1); l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 09af14e308..9e3849b55b 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -120,7 +120,6 @@ lean_object* l_Lean_Elab_Tactic_saveAllState(lean_object*); lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); @@ -159,6 +158,7 @@ lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_evalTactic_ extern lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__2; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -313,7 +313,6 @@ lean_object* l_Lean_Elab_Tactic_evalChoice(lean_object*, lean_object*, lean_obje lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntro___closed__2; lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___boxed(lean_object*); @@ -538,6 +537,7 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOrelse(lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; @@ -10344,9 +10344,9 @@ x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_72); lean_ctor_set(x_118, 1, x_117); x_119 = lean_array_push(x_96, x_118); -x_120 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_120 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_121 = lean_array_push(x_119, x_120); -x_122 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_122 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_123 = lean_array_push(x_121, x_122); x_124 = l_Lean_Elab_Tactic_evalIntro___closed__6; x_125 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Binders.c b/stage0/stdlib/Lean/Elab/Tactic/Binders.c index 29fbb950fd..bccd77ce70 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Binders.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Binders.c @@ -19,6 +19,7 @@ lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__5; lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandLetTactic(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandHaveTactic(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__3; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1; @@ -29,7 +30,6 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi lean_object* l_Lean_Elab_Tactic_expandLetTactic___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__1; extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; lean_object* l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetBangTactic___closed__2; @@ -40,6 +40,7 @@ extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__1; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetBangTactic___closed__1; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5; lean_object* l_Lean_Elab_Tactic_expandLetBangTactic(lean_object*, lean_object*, lean_object*); @@ -74,11 +75,9 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandShowTactic___closed__2; extern lean_object* l_Lean_Init_LeanInit___instance__8___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2; extern lean_object* l_Lean_mkAppStx___closed__9; lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__2; extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__4; extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__9; lean_object* l___regBuiltin_Lean_Elab_Tactic_expandShowTactic(lean_object*); @@ -189,7 +188,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -369,24 +368,6 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("have"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandHaveTactic___boxed), 3, 0); return x_1; } @@ -396,8 +377,8 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3; +x_3 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } @@ -772,10 +753,6 @@ l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___ lean_mark_persistent(l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__9); l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1); -l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__2); -l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__3); res = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index 43b4526048..62bfc08a75 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -52,7 +52,6 @@ lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1; -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_Elab_Tactic_AuxMatchTermState_nextIdx___default; @@ -81,6 +80,7 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___private_Init_LeanInit_0__Array_mapSepElemsMAux___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(lean_object*, lean_object*, lean_object*, lean_object*); @@ -302,7 +302,7 @@ lean_ctor_set(x_25, 1, x_24); x_26 = l_Lean_Syntax_getArg(x_25, x_14); x_27 = l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___lambda__1___closed__4; x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_29 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_30 = lean_array_push(x_28, x_29); x_31 = lean_array_push(x_30, x_9); x_32 = l_Lean_Elab_Tactic_evalCase___closed__2; diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 61a7d144c2..2cbea9f05a 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -501,6 +501,7 @@ lean_object* l_Lean_Name_toExprAux(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_withNestedTraces___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -582,7 +583,6 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore_match__1___rarg(lean_object lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__3___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__4; @@ -1017,7 +1017,6 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1(lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); lean_object* l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -1025,6 +1024,7 @@ lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos__ lean_object* l_Lean_Elab_Term_Lean_Elab_Term___instance__8___closed__3; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); @@ -3670,7 +3670,7 @@ x_3 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; x_4 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; x_5 = l_Lean_mkAppStx___closed__6; x_6 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; -x_7 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; +x_7 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1); return x_8; } @@ -9720,7 +9720,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); x_16 = lean_array_push(x_7, x_15); -x_17 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_17 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_18 = lean_array_push(x_16, x_17); x_19 = lean_array_push(x_18, x_11); x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; @@ -9758,7 +9758,7 @@ x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); x_34 = lean_array_push(x_7, x_33); -x_35 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; +x_35 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_36 = lean_array_push(x_34, x_35); x_37 = lean_array_push(x_36, x_29); x_38 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; diff --git a/stage0/stdlib/Lean/Exception.c b/stage0/stdlib/Lean/Exception.c index decca09cc4..fdc90000fd 100644 --- a/stage0/stdlib/Lean/Exception.c +++ b/stage0/stdlib/Lean/Exception.c @@ -32,6 +32,7 @@ lean_object* l_Lean_throwError_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; extern lean_object* l_Array_empty___closed__1; lean_object* l_StateRefT_x27_run___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -43,7 +44,6 @@ lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_interpolatedStrKind; lean_object* l_Lean_throwKernelException(lean_object*); lean_object* l_Lean_Lean_Exception___instance__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__6; @@ -72,6 +72,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__6; lean_object* l_Lean_Lean_Exception___instance__4___rarg___lambda__3(lean_object*, lean_object*); lean_object* l_Lean_Lean_Exception___instance__2(lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; extern lean_object* l_Lean_MessageData_nil___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -138,7 +139,6 @@ extern lean_object* l_Lean_mkAppStx___closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_974_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_727_(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_974____closed__2; @@ -1060,7 +1060,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1133,7 +1133,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Exception___hyg_682____ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(1024u); x_3 = lean_alloc_ctor(20, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Message.c b/stage0/stdlib/Lean/Message.c index 297b5b7b9b..e88ea2d0a4 100644 --- a/stage0/stdlib/Lean/Message.c +++ b/stage0/stdlib/Lean/Message.c @@ -63,12 +63,14 @@ lean_object* l_Std_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___ lean_object* l_Lean_Message_getMessageStringEx_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_joinSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_isNil_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2; lean_object* l_Lean_Lean_Message___instance__25(lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__4; lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList_match__1(lean_object*); extern lean_object* l_Std_PersistentArray_empty___closed__1; @@ -130,7 +132,6 @@ lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMA lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_getInfoMessages___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__6; lean_object* l_Lean_Lean_Message___instance__21; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_MessageLog_Lean_Message___instance__15; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_getInfoMessages___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -176,6 +177,7 @@ lean_object* l_Lean_Lean_Message___instance__16___rarg(lean_object*, lean_object lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors___spec__4(lean_object*, size_t, size_t); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_toList___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875_(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -251,6 +253,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__45; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Lean_Message___instance__28___closed__3; lean_object* l_Lean_MessageData_format___closed__1; +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9; lean_object* l_Lean_MessageData_ofArray(lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; extern lean_object* l_Lean_Format_sbracket___closed__3; @@ -354,7 +357,6 @@ lean_object* l_Lean_MessageData_joinSep_match__1(lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__3; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); extern lean_object* l_Init_Core___instance__1___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; lean_object* l_Lean_KernelException_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_System_FilePath_dirName___closed__1; lean_object* l_Lean_KernelException_toMessageData___closed__44; @@ -381,7 +383,6 @@ lean_object* l_Lean_Level_format(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_getInfoMessages___spec__5(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToWarnings___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; lean_object* l_Lean_MessageData_formatAux___closed__2; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11; @@ -7439,7 +7440,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -7524,7 +7525,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____c _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; x_2 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -7705,27 +7706,37 @@ return x_1; static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("MessageData"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("MessageData"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3; +x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7733,22 +7744,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -7757,11 +7758,9 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_mkAppStx___closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -7771,6 +7770,18 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -7843,17 +7854,17 @@ lean_inc(x_23); lean_dec(x_2); x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; x_27 = l_Lean_addMacroScope(x_23, x_26, x_22); x_28 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_29 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; -x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8; +x_29 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9; x_31 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_31, 0, x_28); lean_ctor_set(x_31, 1, x_29); lean_ctor_set(x_31, 2, x_27); lean_ctor_set(x_31, 3, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; x_33 = lean_array_push(x_32, x_31); x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_35 = lean_alloc_ctor(1, 2, 0); @@ -7894,17 +7905,17 @@ lean_inc(x_50); lean_dec(x_2); x_51 = l_Array_empty___closed__1; x_52 = lean_array_push(x_51, x_47); -x_53 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_53 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; x_54 = l_Lean_addMacroScope(x_50, x_53, x_49); x_55 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_56 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; -x_57 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8; +x_56 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_57 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9; x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_55); lean_ctor_set(x_58, 1, x_56); lean_ctor_set(x_58, 2, x_54); lean_ctor_set(x_58, 3, x_57); -x_59 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_59 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; x_60 = lean_array_push(x_59, x_58); x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_62 = lean_alloc_ctor(1, 2, 0); @@ -8254,6 +8265,8 @@ l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__7 = _init_l_Lean_myMacr lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__7); l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__8); +l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__9); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 207294336e..e4077609bf 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -49,6 +49,7 @@ lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1___closed__1; lean_object* l_Lean_Parser_strLitNoAntiquot___closed__2; +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__1___rarg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2___rarg___boxed(lean_object*, lean_object*); @@ -116,6 +117,7 @@ lean_object* l_Lean_Parser_whitespace___lambda__1___boxed(lean_object*); 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_Lean_Parser_errorAtSavedPos___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_octalNumberFn___closed__2; lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*); @@ -137,7 +139,6 @@ lean_object* l_Lean_Parser_ParserInfo_collectKinds___default(lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos_match__1(lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Parser_PrattParsingTables_leadingTable___default; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____lambda__1(lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__17; @@ -162,7 +163,6 @@ lean_object* l_Lean_Parser_FirstTokens_toStr_match__1___rarg(lean_object*, lean_ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_ParserState_mergeErrors_match__1(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Parser_hexNumberFn___lambda__1(uint32_t); lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*); @@ -202,7 +202,6 @@ lean_object* l_Lean_Parser_charLit___elambda__1___closed__1; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_info___default___closed__1; lean_object* l_Lean_Parser_numLit___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1; lean_object* l_Lean_Parser_charLit___elambda__1___closed__2; uint8_t l_Char_isWhitespace(uint32_t); lean_object* l_Lean_Parser_Error_merge_match__1(lean_object*); @@ -215,7 +214,6 @@ lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__14; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParserAux___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*); @@ -234,11 +232,11 @@ extern lean_object* l_Init_Data_Repr___instance__11___rarg___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkStackTopFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____spec__1(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_Lean_Parser_binNumberFn___closed__2; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__11___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux___boxed(lean_object*, lean_object*, lean_object*); @@ -319,6 +317,7 @@ lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__3(lean_ob lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__1; lean_object* l_Lean_Parser_tryFn_match__1(lean_object*); lean_object* l_Lean_Parser_whitespace___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__2(lean_object*); lean_object* l_Lean_Parser_quotedCharFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__9; lean_object* l_Lean_Parser_checkNoWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); @@ -406,7 +405,6 @@ lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__4; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__8___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___elambda__1___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_SyntaxNodeKindSet_insert(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__2; @@ -428,6 +426,7 @@ lean_object* l_Lean_Parser_checkTailWs___boxed(lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_trailingLoopStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___closed__2; lean_object* l_Lean_Parser_longestMatchStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_tryAnti_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -441,12 +440,14 @@ extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_FirstTokens_seq_match__1(lean_object*); lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default; size_t l_Lean_Name_hash(lean_object*); +lean_object* l_Lean_Parser_errorAtSavedPosFn(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_nameLit___closed__1; lean_object* l_Lean_Parser_antiquotExpr___closed__1; lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__5; lean_object* l_Lean_Parser_categoryParserOfStack(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__20; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_checkWsBefore(lean_object*); lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setCache(lean_object*, lean_object*); @@ -480,6 +481,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1(lean lean_object* l_Lean_Parser_mergeOrElseErrors_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent; lean_object* l_Lean_Parser_checkLineEqFn_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1; lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__6(lean_object*); lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Unbox___closed__1; @@ -502,13 +504,16 @@ lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__1___boxed(lean_objec lean_object* l_Lean_Parser_FirstTokens_Lean_Parser_Basic___instance__7; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1; lean_object* l_Lean_Parser_mkAntiquot___closed__13; +lean_object* l_Lean_Parser_errorAtSavedPosFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__3(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____lambda__1(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__23; lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___closed__3; @@ -551,7 +556,6 @@ lean_object* l_Lean_Parser_sepBy1___boxed(lean_object*, lean_object*, lean_objec uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_isIdFirstOrBeginEscape(uint32_t); lean_object* l_Lean_Parser_binNumberFn___lambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_strLit___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1; lean_object* l_Lean_Parser_identFnAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); lean_object* l_Lean_Parser_termParser(lean_object*); @@ -591,8 +595,8 @@ lean_object* l_Lean_Parser_checkOutsideQuotFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkInsideQuot___closed__1; -lean_object* l_Lean_Parser_checkLineEqFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_updateCache(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___closed__1; lean_object* l_Lean_Parser_charLitFnAux___closed__1; @@ -688,6 +692,7 @@ lean_object* l_Lean_Parser_numLitNoAntiquot; lean_object* l_Lean_Parser_checkTailNoWs_match__1(lean_object*); 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_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t); lean_object* l_Lean_Parser_mkAntiquot___closed__14; lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); @@ -759,6 +764,7 @@ lean_object* l_Lean_Parser_rawFn(lean_object*, uint8_t, lean_object*, lean_objec lean_object* l_Lean_Parser_charLitFn___closed__1; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__3; lean_object* l_Lean_Syntax_getTailInfo(lean_object*); +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_pos___default; extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__4; @@ -790,8 +796,8 @@ lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1(le lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_rawIdent___closed__1; lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__10___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916_(lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__7; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); @@ -867,7 +873,6 @@ lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, l lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__25; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_tryFn_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenCacheEntry_stopPos___default; lean_object* l_Lean_Parser_setExpected___elambda__1(lean_object*); @@ -890,6 +895,7 @@ lean_object* l_Array_qpartition_loop___at_Lean_Parser_Error_toString___spec__2__ lean_object* l_Lean_Parser_manyAux___closed__1; lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__1(lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux_parse_match__2(lean_object*); lean_object* l_Lean_Parser_antiquotExpr___closed__3; lean_object* l_Lean_Parser_charLitNoAntiquot; @@ -900,7 +906,6 @@ lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__14___closed__1; lean_object* l_Lean_Parser_nameLit___elambda__1___closed__2; lean_object* l_Lean_Parser_indexed_match__3(lean_object*, lean_object*); -lean_object* l_Lean_Parser_checkColGtFn___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(lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__4___rarg(lean_object*, lean_object*, lean_object*); @@ -4922,6 +4927,302 @@ lean_ctor_set(x_4, 1, x_2); return x_4; } } +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__1___rarg(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; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 3); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_4(x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_errorAtSavedPosFn_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Parser_errorAtSavedPosFn_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_errorAtSavedPosFn_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Parser_errorAtSavedPosFn(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 4); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +else +{ +if (x_2 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_4); +if (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_5, 0); +x_9 = lean_ctor_get(x_4, 3); +lean_dec(x_9); +x_10 = lean_ctor_get(x_4, 1); +lean_dec(x_10); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_5, 0, x_12); +lean_ctor_set(x_4, 3, x_5); +lean_ctor_set(x_4, 1, x_8); +return x_4; +} +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; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_4); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_5, 0, x_17); +x_18 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_13); +lean_ctor_set(x_18, 2, x_15); +lean_ctor_set(x_18, 3, x_5); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_4, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_4, 2); +lean_inc(x_21); +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); + x_22 = x_4; +} else { + lean_dec_ref(x_4); + x_22 = lean_box(0); +} +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +if (lean_is_scalar(x_22)) { + x_26 = lean_alloc_ctor(0, 4, 0); +} else { + x_26 = x_22; +} +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_19); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_5); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_5, 0); +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +lean_dec(x_3); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_string_utf8_next(x_30, x_28); +lean_dec(x_28); +lean_dec(x_30); +x_32 = !lean_is_exclusive(x_4); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_4, 3); +lean_dec(x_33); +x_34 = lean_ctor_get(x_4, 1); +lean_dec(x_34); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_1); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_5, 0, x_36); +lean_ctor_set(x_4, 3, x_5); +lean_ctor_set(x_4, 1, x_31); +return x_4; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_4, 0); +x_38 = lean_ctor_get(x_4, 2); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_4); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_5, 0, x_40); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_31); +lean_ctor_set(x_41, 2, x_38); +lean_ctor_set(x_41, 3, x_5); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_42 = lean_ctor_get(x_5, 0); +lean_inc(x_42); +lean_dec(x_5); +x_43 = lean_ctor_get(x_3, 0); +lean_inc(x_43); +lean_dec(x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_string_utf8_next(x_44, x_42); +lean_dec(x_42); +lean_dec(x_44); +x_46 = lean_ctor_get(x_4, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_4, 2); +lean_inc(x_47); +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); + x_48 = x_4; +} else { + lean_dec_ref(x_4); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +if (lean_is_scalar(x_48)) { + x_52 = lean_alloc_ctor(0, 4, 0); +} else { + x_52 = x_48; +} +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_52, 1, x_45); +lean_ctor_set(x_52, 2, x_47); +lean_ctor_set(x_52, 3, x_51); +return x_52; +} +} +} +} +} +lean_object* l_Lean_Parser_errorAtSavedPosFn___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 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Parser_errorAtSavedPosFn(x_1, x_5, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Parser_errorAtSavedPos(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_errorAtSavedPosFn___boxed), 4, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +x_5 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +} +lean_object* l_Lean_Parser_errorAtSavedPos___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_Parser_errorAtSavedPos(x_1, x_3); +return x_4; +} +} static lean_object* _init_l_Lean_Parser_checkPrecFn___closed__1() { _start: { @@ -13640,54 +13941,58 @@ _start: { lean_object* x_4; x_4 = lean_ctor_get(x_2, 4); +lean_inc(x_4); if (lean_obj_tag(x_4) == 0) { -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_5 = lean_ctor_get(x_4, 0); -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_6, 2); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = l_Lean_FileMap_toPosition(x_7, x_8); -x_10 = lean_ctor_get(x_5, 1); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_nat_dec_le(x_10, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = l_Lean_Parser_ParserState_mkError(x_3, x_1); -return x_13; -} -else -{ -lean_dec(x_1); -return x_3; -} -} -} -} -lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Parser_checkColGeFn(x_1, x_2, x_3); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_6, 2); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_FileMap_toPosition(x_7, x_5); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = l_Lean_FileMap_toPosition(x_7, x_9); +lean_dec(x_7); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_nat_dec_le(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Parser_ParserState_mkError(x_3, x_1); +return x_14; +} +else +{ +lean_dec(x_1); +return x_3; +} +} } } lean_object* l_Lean_Parser_checkColGe(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn), 3, 1); lean_closure_set(x_2, 0, x_1); x_3 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; x_4 = lean_alloc_ctor(0, 2, 0); @@ -13732,54 +14037,58 @@ _start: { lean_object* x_4; x_4 = lean_ctor_get(x_2, 4); +lean_inc(x_4); if (lean_obj_tag(x_4) == 0) { -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_5 = lean_ctor_get(x_4, 0); -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_6, 2); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = l_Lean_FileMap_toPosition(x_7, x_8); -x_10 = lean_ctor_get(x_5, 1); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_nat_dec_lt(x_10, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = l_Lean_Parser_ParserState_mkError(x_3, x_1); -return x_13; -} -else -{ -lean_dec(x_1); -return x_3; -} -} -} -} -lean_object* l_Lean_Parser_checkColGtFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Parser_checkColGtFn(x_1, x_2, x_3); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_6, 2); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_FileMap_toPosition(x_7, x_5); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = l_Lean_FileMap_toPosition(x_7, x_9); +lean_dec(x_7); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_nat_dec_lt(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Parser_ParserState_mkError(x_3, x_1); +return x_14; +} +else +{ +lean_dec(x_1); +return x_3; +} +} } } lean_object* l_Lean_Parser_checkColGt(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn), 3, 1); lean_closure_set(x_2, 0, x_1); x_3 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; x_4 = lean_alloc_ctor(0, 2, 0); @@ -13824,54 +14133,58 @@ _start: { lean_object* x_4; x_4 = lean_ctor_get(x_2, 4); +lean_inc(x_4); if (lean_obj_tag(x_4) == 0) { -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_5 = lean_ctor_get(x_4, 0); -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_6, 2); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = l_Lean_FileMap_toPosition(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_5, 0); -x_12 = lean_nat_dec_eq(x_10, x_11); -lean_dec(x_10); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = l_Lean_Parser_ParserState_mkError(x_3, x_1); -return x_13; -} -else -{ -lean_dec(x_1); -return x_3; -} -} -} -} -lean_object* l_Lean_Parser_checkLineEqFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Parser_checkLineEqFn(x_1, x_2, x_3); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_6, 2); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_FileMap_toPosition(x_7, x_5); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = l_Lean_FileMap_toPosition(x_7, x_9); +lean_dec(x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Parser_ParserState_mkError(x_3, x_1); +return x_14; +} +else +{ +lean_dec(x_1); +return x_3; +} +} } } lean_object* l_Lean_Parser_checkLineEq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkLineEqFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkLineEqFn), 3, 1); lean_closure_set(x_2, 0, x_1); x_3 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; x_4 = lean_alloc_ctor(0, 2, 0); @@ -13883,117 +14196,108 @@ return x_4; lean_object* l_Lean_Parser_withPosition___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; -x_4 = !lean_is_exclusive(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 0); -x_6 = lean_ctor_get(x_2, 4); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 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 = lean_ctor_get(x_5, 2); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_FileMap_toPosition(x_8, x_9); -x_11 = lean_ctor_get(x_1, 1); -lean_inc(x_11); +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); lean_dec(x_1); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_2, 4, x_12); -x_13 = lean_apply_2(x_11, x_2, x_3); -return x_13; +x_6 = !lean_is_exclusive(x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_2, 4); +lean_dec(x_7); +x_8 = lean_ctor_get(x_2, 0); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_4); +if (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); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_2, 4, x_11); +x_12 = lean_apply_2(x_5, x_2, x_3); +return x_12; } 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; -x_14 = lean_ctor_get(x_5, 0); -x_15 = lean_ctor_get(x_5, 1); -x_16 = lean_ctor_get(x_5, 2); -lean_inc(x_16); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_4, 0); +x_14 = lean_ctor_get(x_4, 1); +x_15 = lean_ctor_get(x_4, 2); lean_inc(x_15); lean_inc(x_14); -lean_dec(x_5); +lean_inc(x_13); +lean_dec(x_4); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); x_17 = lean_ctor_get(x_3, 1); lean_inc(x_17); -x_18 = l_Lean_FileMap_toPosition(x_16, x_17); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_15); -lean_ctor_set(x_20, 2, x_16); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_2, 4, x_21); -lean_ctor_set(x_2, 0, x_20); -x_22 = lean_apply_2(x_19, x_2, x_3); -return x_22; +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_2, 4, x_18); +lean_ctor_set(x_2, 0, x_16); +x_19 = lean_apply_2(x_5, x_2, x_3); +return x_19; } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_23 = lean_ctor_get(x_2, 0); -x_24 = lean_ctor_get(x_2, 1); -x_25 = lean_ctor_get(x_2, 2); -x_26 = lean_ctor_get(x_2, 3); -x_27 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_28 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_29 = lean_ctor_get(x_2, 5); -lean_inc(x_29); -lean_inc(x_26); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +x_22 = lean_ctor_get(x_2, 3); +x_23 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_24 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_25 = lean_ctor_get(x_2, 5); lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); lean_dec(x_2); -x_30 = lean_ctor_get(x_23, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_23, 1); +x_26 = lean_ctor_get(x_4, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_4, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_4, 2); +lean_inc(x_28); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + x_29 = x_4; +} else { + lean_dec_ref(x_4); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(0, 3, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_27); +lean_ctor_set(x_30, 2, x_28); +x_31 = lean_ctor_get(x_3, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_23, 2); -lean_inc(x_32); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - x_33 = x_23; -} else { - lean_dec_ref(x_23); - x_33 = lean_box(0); -} -x_34 = lean_ctor_get(x_3, 1); -lean_inc(x_34); -x_35 = l_Lean_FileMap_toPosition(x_32, x_34); -x_36 = lean_ctor_get(x_1, 1); -lean_inc(x_36); -lean_dec(x_1); -if (lean_is_scalar(x_33)) { - x_37 = lean_alloc_ctor(0, 3, 0); -} else { - x_37 = x_33; -} -lean_ctor_set(x_37, 0, x_30); -lean_ctor_set(x_37, 1, x_31); -lean_ctor_set(x_37, 2, x_32); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_35); -x_39 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_24); -lean_ctor_set(x_39, 2, x_25); -lean_ctor_set(x_39, 3, x_26); -lean_ctor_set(x_39, 4, x_38); -lean_ctor_set(x_39, 5, x_29); -lean_ctor_set_uint8(x_39, sizeof(void*)*6, x_27); -lean_ctor_set_uint8(x_39, sizeof(void*)*6 + 1, x_28); -x_40 = lean_apply_2(x_36, x_39, x_3); -return x_40; +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_20); +lean_ctor_set(x_33, 2, x_21); +lean_ctor_set(x_33, 3, x_22); +lean_ctor_set(x_33, 4, x_32); +lean_ctor_set(x_33, 5, x_25); +lean_ctor_set_uint8(x_33, sizeof(void*)*6, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*6 + 1, x_24); +x_34 = lean_apply_2(x_5, x_33, x_3); +return x_34; } } } @@ -25623,7 +25927,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -25648,7 +25952,7 @@ return x_7; } } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -25656,34 +25960,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1___boxed), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1; -x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____spec__1(x_2, x_1); +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1; +x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -25709,19 +26013,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -25849,7 +26153,7 @@ lean_object* l_Lean_Parser_termParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -26297,7 +26601,7 @@ static lean_object* _init_l_Lean_Parser_antiquotNestedExpr___elambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -26420,7 +26724,7 @@ static lean_object* _init_l_Lean_Parser_antiquotNestedExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -29273,16 +29577,16 @@ l_Lean_Parser_Lean_Parser_Basic___instance__15___closed__1 = _init_l_Lean_Parser lean_mark_persistent(l_Lean_Parser_Lean_Parser_Basic___instance__15___closed__1); l_Lean_Parser_Lean_Parser_Basic___instance__15 = _init_l_Lean_Parser_Lean_Parser_Basic___instance__15(); lean_mark_persistent(l_Lean_Parser_Lean_Parser_Basic___instance__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5825_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5897_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5844_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_5916_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 3932c5e772..ad4214dde1 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -588,7 +588,6 @@ lean_object* l_Lean_Parser_Command_set__option_formatter___closed__8; lean_object* l_Lean_Parser_Command_mutual_formatter___closed__4; lean_object* l_Lean_Parser_Command_end_formatter___closed__4; lean_object* l_Lean_Parser_Command_print___elambda__1___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l___regBuiltin_Lean_Parser_Command_attribute_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_instance; lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6; @@ -1176,6 +1175,7 @@ lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_export___closed__1; lean_object* l_Lean_Parser_Command_set__option___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_formatter(lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_Command_exit_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_formatter___closed__1; lean_object* l_Lean_Parser_Command_section___closed__2; @@ -1561,6 +1561,7 @@ extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___clos lean_object* l_Lean_Parser_Command_noncomputable___closed__3; lean_object* l_Lean_Parser_Command_unsafe___closed__6; lean_object* l_Lean_Parser_Command_ctor_formatter___closed__10; +extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__12; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_open_parenthesizer___closed__7; @@ -2118,7 +2119,6 @@ lean_object* l_Lean_Parser_Command_builtin__initialize; lean_object* l_Lean_Parser_Command_variable___closed__7; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__6; -extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_builtin__initialize_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__8; lean_object* l_Lean_Parser_Command_builtin__initialize___closed__7; @@ -2953,7 +2953,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_quot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_quot___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_quot; @@ -10349,7 +10349,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_2 = l_Lean_Parser_Command_structure___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index 6178d65888..a4296300e1 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -318,7 +318,6 @@ lean_object* l_Lean_Parser_Term_doMatchAlts_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_liftMethod___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_doReassign___closed__2; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doCatch_parenthesizer___closed__8; extern lean_object* l_Lean_Parser_Term_letRecDecls___closed__5; @@ -343,7 +342,6 @@ lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_doCatch___closed__2; lean_object* l_Lean_Parser_Term_doAssert___closed__4; lean_object* l_Lean_Parser_Term_doReassign; -lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__19; lean_object* l_Lean_Parser_Term_doTry_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,7 +423,6 @@ lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__9; extern lean_object* l_Lean_Parser_Term_letrec_formatter___closed__6; lean_object* l_Lean_Parser_Term_doPatDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; -extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doFor___closed__2; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_14____closed__1; lean_object* l_Lean_Parser_Term_doMatchAlt___elambda__1(lean_object*, lean_object*); @@ -570,6 +567,7 @@ lean_object* l_Lean_Parser_Term_doLetArrow; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doMatchAlts_formatter___closed__6; lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__3; +lean_object* l_Lean_Parser_checkLineEqFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doHave_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_doAssert_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -631,6 +629,7 @@ lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer___closed__3; lean_object* l_Lean_Parser_doElemParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReassign___closed__3; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_14____closed__2; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__5; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_doFor_formatter(lean_object*); @@ -738,7 +737,6 @@ lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_obj lean_object* l_Lean_Parser_Term_doAssert_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIdDecl; lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__6; -extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doHave_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doBreak___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__1; @@ -857,7 +855,7 @@ lean_object* l_Lean_Parser_Term_liftMethod___elambda__1___closed__8; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__2; -lean_object* l_Lean_Parser_checkLineEqFn___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doMatch___closed__2; @@ -886,6 +884,7 @@ lean_object* l_Lean_Parser_Term_doSeqIndent___closed__6; lean_object* l_Lean_Parser_Term_doFor___closed__6; lean_object* l_Lean_Parser_Term_doSeqBracketed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__16; +lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doDbgTrace_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doTry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Do___hyg_4____closed__1; @@ -1174,6 +1173,7 @@ lean_object* l_Lean_Parser_Term_doReturn_parenthesizer(lean_object*, lean_object lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_doReassignArrow(lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__5; +extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doIdDecl_formatter___closed__6; extern lean_object* l_Lean_Parser_Term_have_formatter___closed__4; lean_object* l_Lean_Parser_Term_doMatchAlt_formatter___closed__3; @@ -1824,7 +1824,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_liftMethod(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_liftMethod___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_liftMethod; @@ -2908,7 +2908,7 @@ static lean_object* _init_l_Lean_Parser_Term_notFollowedByRedefinedTermToken___e _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -5886,7 +5886,7 @@ static lean_object* _init_l_Lean_Parser_Term_doHave___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -6152,36 +6152,36 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -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_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; x_9 = lean_ctor_get(x_6, 2); +lean_inc(x_9); x_10 = lean_ctor_get(x_4, 1); lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -lean_inc(x_9); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Init_Data_Repr___instance__15___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_3, 4, x_11); +x_12 = l_Init_Data_Repr___instance__15___closed__1; +x_13 = lean_string_append(x_12, x_1); +x_14 = lean_string_append(x_13, x_12); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_15 = l_Lean_Parser_symbolFnAux(x_1, 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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = l_Lean_FileMap_toPosition(x_9, x_10); +x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); x_19 = l_Lean_FileMap_toPosition(x_9, x_18); lean_dec(x_9); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); lean_dec(x_19); -x_21 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); -lean_dec(x_11); +lean_dec(x_17); x_22 = lean_nat_dec_eq(x_20, x_21); lean_dec(x_21); lean_dec(x_20); @@ -6190,30 +6190,30 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; lean_dec(x_3); x_23 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_24 = l_Lean_Parser_ParserState_mkError(x_16, x_23); +x_24 = l_Lean_Parser_ParserState_mkError(x_15, x_23); return x_24; } else { lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_string_append(x_13, x_2); -x_26 = lean_string_append(x_25, x_13); -x_27 = l_Lean_Parser_symbolFnAux(x_2, x_26, x_3, x_16); +x_25 = lean_string_append(x_12, x_2); +x_26 = lean_string_append(x_25, x_12); +x_27 = l_Lean_Parser_symbolFnAux(x_2, x_26, x_3, x_15); return x_27; } } else { -lean_dec(x_17); +lean_dec(x_16); lean_dec(x_3); -lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); -return x_16; +return x_15; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_28 = lean_ctor_get(x_6, 0); x_29 = lean_ctor_get(x_6, 1); x_30 = lean_ctor_get(x_6, 2); @@ -6221,39 +6221,39 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_dec(x_6); -x_31 = lean_ctor_get(x_4, 1); -lean_inc(x_31); -x_32 = l_Lean_FileMap_toPosition(x_30, x_31); lean_inc(x_30); -x_33 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_29); -lean_ctor_set(x_33, 2, x_30); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = lean_ctor_get(x_4, 1); lean_inc(x_32); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_3, 4, x_34); -lean_ctor_set(x_3, 0, x_33); -x_35 = l_Init_Data_Repr___instance__15___closed__1; -x_36 = lean_string_append(x_35, x_1); -x_37 = lean_string_append(x_36, x_35); +lean_inc(x_32); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_3, 4, x_33); +lean_ctor_set(x_3, 0, x_31); +x_34 = l_Init_Data_Repr___instance__15___closed__1; +x_35 = lean_string_append(x_34, x_1); +x_36 = lean_string_append(x_35, x_34); lean_inc(x_3); -x_38 = l_Lean_Parser_symbolFnAux(x_1, x_37, x_3, x_4); -x_39 = lean_ctor_get(x_38, 3); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) +x_37 = l_Lean_Parser_symbolFnAux(x_1, x_36, x_3, x_4); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_39 = l_Lean_FileMap_toPosition(x_30, x_32); +x_40 = lean_ctor_get(x_37, 1); lean_inc(x_40); x_41 = l_Lean_FileMap_toPosition(x_30, x_40); lean_dec(x_30); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); lean_dec(x_41); -x_43 = lean_ctor_get(x_32, 0); +x_43 = lean_ctor_get(x_39, 0); lean_inc(x_43); -lean_dec(x_32); +lean_dec(x_39); x_44 = lean_nat_dec_eq(x_42, x_43); lean_dec(x_43); lean_dec(x_42); @@ -6262,31 +6262,31 @@ if (x_44 == 0) lean_object* x_45; lean_object* x_46; lean_dec(x_3); x_45 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_46 = l_Lean_Parser_ParserState_mkError(x_38, x_45); +x_46 = l_Lean_Parser_ParserState_mkError(x_37, x_45); return x_46; } else { lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_string_append(x_35, x_2); -x_48 = lean_string_append(x_47, x_35); -x_49 = l_Lean_Parser_symbolFnAux(x_2, x_48, x_3, x_38); +x_47 = lean_string_append(x_34, x_2); +x_48 = lean_string_append(x_47, x_34); +x_49 = l_Lean_Parser_symbolFnAux(x_2, x_48, x_3, x_37); return x_49; } } else { -lean_dec(x_39); +lean_dec(x_38); lean_dec(x_3); lean_dec(x_32); lean_dec(x_30); -return x_38; +return x_37; } } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t 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_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; x_50 = lean_ctor_get(x_3, 0); x_51 = lean_ctor_get(x_3, 1); x_52 = lean_ctor_get(x_3, 2); @@ -6315,77 +6315,77 @@ if (lean_is_exclusive(x_50)) { lean_dec_ref(x_50); x_60 = lean_box(0); } -x_61 = lean_ctor_get(x_4, 1); -lean_inc(x_61); -x_62 = l_Lean_FileMap_toPosition(x_59, x_61); lean_inc(x_59); if (lean_is_scalar(x_60)) { - x_63 = lean_alloc_ctor(0, 3, 0); + x_61 = lean_alloc_ctor(0, 3, 0); } else { - x_63 = x_60; + x_61 = x_60; } -lean_ctor_set(x_63, 0, x_57); -lean_ctor_set(x_63, 1, x_58); -lean_ctor_set(x_63, 2, x_59); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_58); +lean_ctor_set(x_61, 2, x_59); +x_62 = lean_ctor_get(x_4, 1); lean_inc(x_62); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_62); -x_65 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_51); -lean_ctor_set(x_65, 2, x_52); -lean_ctor_set(x_65, 3, x_53); -lean_ctor_set(x_65, 4, x_64); -lean_ctor_set(x_65, 5, x_56); -lean_ctor_set_uint8(x_65, sizeof(void*)*6, x_54); -lean_ctor_set_uint8(x_65, sizeof(void*)*6 + 1, x_55); -x_66 = l_Init_Data_Repr___instance__15___closed__1; -x_67 = lean_string_append(x_66, x_1); -x_68 = lean_string_append(x_67, x_66); -lean_inc(x_65); -x_69 = l_Lean_Parser_symbolFnAux(x_1, x_68, x_65, x_4); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) +lean_inc(x_62); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_51); +lean_ctor_set(x_64, 2, x_52); +lean_ctor_set(x_64, 3, x_53); +lean_ctor_set(x_64, 4, x_63); +lean_ctor_set(x_64, 5, x_56); +lean_ctor_set_uint8(x_64, sizeof(void*)*6, x_54); +lean_ctor_set_uint8(x_64, sizeof(void*)*6 + 1, x_55); +x_65 = l_Init_Data_Repr___instance__15___closed__1; +x_66 = lean_string_append(x_65, x_1); +x_67 = lean_string_append(x_66, x_65); +lean_inc(x_64); +x_68 = l_Lean_Parser_symbolFnAux(x_1, x_67, x_64, x_4); +x_69 = lean_ctor_get(x_68, 3); +lean_inc(x_69); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = lean_ctor_get(x_69, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_70 = l_Lean_FileMap_toPosition(x_59, x_62); +x_71 = lean_ctor_get(x_68, 1); lean_inc(x_71); x_72 = l_Lean_FileMap_toPosition(x_59, x_71); lean_dec(x_59); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); lean_dec(x_72); -x_74 = lean_ctor_get(x_62, 0); +x_74 = lean_ctor_get(x_70, 0); lean_inc(x_74); -lean_dec(x_62); +lean_dec(x_70); x_75 = lean_nat_dec_eq(x_73, x_74); lean_dec(x_74); lean_dec(x_73); if (x_75 == 0) { lean_object* x_76; lean_object* x_77; -lean_dec(x_65); +lean_dec(x_64); x_76 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_77 = l_Lean_Parser_ParserState_mkError(x_69, x_76); +x_77 = l_Lean_Parser_ParserState_mkError(x_68, x_76); return x_77; } else { lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_string_append(x_66, x_2); -x_79 = lean_string_append(x_78, x_66); -x_80 = l_Lean_Parser_symbolFnAux(x_2, x_79, x_65, x_69); +x_78 = lean_string_append(x_65, x_2); +x_79 = lean_string_append(x_78, x_65); +x_80 = l_Lean_Parser_symbolFnAux(x_2, x_79, x_64, x_68); return x_80; } } else { -lean_dec(x_70); -lean_dec(x_65); +lean_dec(x_69); +lean_dec(x_64); lean_dec(x_62); lean_dec(x_59); -return x_69; +return x_68; } } } @@ -6531,117 +6531,105 @@ lean_dec(x_10); x_11 = !lean_is_exclusive(x_9); if (x_11 == 0) { -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; -x_12 = lean_ctor_get(x_9, 2); -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -x_14 = l_Lean_FileMap_toPosition(x_12, x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_6, 4, x_15); -x_16 = l_Init_Data_Repr___instance__15___closed__1; -x_17 = lean_string_append(x_16, x_1); -x_18 = lean_string_append(x_17, x_16); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_6, 4, x_13); +x_14 = l_Init_Data_Repr___instance__15___closed__1; +x_15 = lean_string_append(x_14, x_1); +x_16 = lean_string_append(x_15, x_14); lean_inc(x_6); -x_19 = l_Lean_Parser_symbolFnAux(x_1, x_18, x_6, x_7); +x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_6, x_7); +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_inc(x_6); +x_19 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_17); x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(0u); lean_inc(x_6); -x_21 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_19); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) +x_22 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_21, x_6, x_19); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_unsigned_to_nat(0u); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_string_append(x_14, x_3); +x_25 = lean_string_append(x_24, x_14); lean_inc(x_6); -x_24 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_23, x_6, x_21); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Parser_symbolFnAux(x_3, x_25, x_6, x_22); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_string_append(x_16, x_3); -x_27 = lean_string_append(x_26, x_16); +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; +x_28 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_29 = l_Lean_Parser_Term_doSeqIndent___closed__10; +x_30 = 1; lean_inc(x_6); -x_28 = l_Lean_Parser_symbolFnAux(x_3, x_27, x_6, x_24); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_31 = l_Lean_Parser_orelseFnCore(x_28, x_29, x_30, x_6, x_26); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_30 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_31 = l_Lean_Parser_Term_doSeqIndent___closed__10; -x_32 = 1; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +x_34 = lean_array_get_size(x_33); +lean_dec(x_33); lean_inc(x_6); -x_33 = l_Lean_Parser_orelseFnCore(x_30, x_31, x_32, x_6, x_28); -x_34 = lean_ctor_get(x_33, 3); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) +x_35 = l_Lean_Parser_manyAux(x_4, x_6, x_31); +x_36 = l_Lean_nullKind; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -x_36 = lean_array_get_size(x_35); -lean_dec(x_35); -lean_inc(x_6); -x_37 = l_Lean_Parser_manyAux(x_4, x_6, x_33); -x_38 = l_Lean_nullKind; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_36); -x_40 = lean_ctor_get(x_39, 3); -lean_inc(x_40); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; -x_41 = l_Lean_Parser_optionalFn(x_5, x_6, x_39); -return x_41; -} -else -{ -lean_dec(x_40); -lean_dec(x_6); -lean_dec(x_5); +lean_object* x_39; +x_39 = l_Lean_Parser_optionalFn(x_5, x_6, x_37); return x_39; } -} else { -lean_dec(x_34); +lean_dec(x_38); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_33; +return x_37; } } else { -lean_dec(x_29); +lean_dec(x_32); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_28; +return x_31; } } else { -lean_dec(x_25); +lean_dec(x_27); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_24; +return x_26; } } else { -lean_dec(x_22); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_21; +return x_22; } } else @@ -6656,118 +6644,118 @@ return x_19; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_42 = lean_ctor_get(x_9, 0); -x_43 = lean_ctor_get(x_9, 1); -x_44 = lean_ctor_get(x_9, 2); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_9); -x_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -x_46 = l_Lean_FileMap_toPosition(x_44, x_45); -x_47 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_43); -lean_ctor_set(x_47, 2, x_44); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_6, 4, x_48); -lean_ctor_set(x_6, 0, x_47); -x_49 = l_Init_Data_Repr___instance__15___closed__1; -x_50 = lean_string_append(x_49, x_1); -x_51 = lean_string_append(x_50, x_49); -lean_inc(x_6); -x_52 = l_Lean_Parser_symbolFnAux(x_1, x_51, x_6, x_7); -x_53 = lean_ctor_get(x_52, 3); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_17; +} +} +else { -lean_object* x_54; lean_object* x_55; +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_40 = lean_ctor_get(x_9, 0); +x_41 = lean_ctor_get(x_9, 1); +x_42 = lean_ctor_get(x_9, 2); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_9); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_43, 2, x_42); +x_44 = lean_ctor_get(x_7, 1); +lean_inc(x_44); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_6, 4, x_45); +lean_ctor_set(x_6, 0, x_43); +x_46 = l_Init_Data_Repr___instance__15___closed__1; +x_47 = lean_string_append(x_46, x_1); +x_48 = lean_string_append(x_47, x_46); lean_inc(x_6); -x_54 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_52); +x_49 = l_Lean_Parser_symbolFnAux(x_1, x_48, x_6, x_7); +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_6); +x_51 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, 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_unsigned_to_nat(0u); +lean_inc(x_6); +x_54 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_53, x_6, 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; lean_object* x_58; -x_56 = lean_unsigned_to_nat(0u); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_string_append(x_46, x_3); +x_57 = lean_string_append(x_56, x_46); lean_inc(x_6); -x_57 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_56, x_6, x_54); -x_58 = lean_ctor_get(x_57, 3); -lean_inc(x_58); -if (lean_obj_tag(x_58) == 0) +x_58 = l_Lean_Parser_symbolFnAux(x_3, x_57, x_6, x_54); +x_59 = lean_ctor_get(x_58, 3); +lean_inc(x_59); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_string_append(x_49, x_3); -x_60 = lean_string_append(x_59, x_49); +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +x_60 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_61 = l_Lean_Parser_Term_doSeqIndent___closed__10; +x_62 = 1; lean_inc(x_6); -x_61 = l_Lean_Parser_symbolFnAux(x_3, x_60, x_6, x_57); -x_62 = lean_ctor_get(x_61, 3); -lean_inc(x_62); -if (lean_obj_tag(x_62) == 0) +x_63 = l_Lean_Parser_orelseFnCore(x_60, x_61, x_62, x_6, x_58); +x_64 = lean_ctor_get(x_63, 3); +lean_inc(x_64); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -x_63 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_64 = l_Lean_Parser_Term_doSeqIndent___closed__10; -x_65 = 1; +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_65 = lean_ctor_get(x_63, 0); +lean_inc(x_65); +x_66 = lean_array_get_size(x_65); +lean_dec(x_65); lean_inc(x_6); -x_66 = l_Lean_Parser_orelseFnCore(x_63, x_64, x_65, x_6, x_61); -x_67 = lean_ctor_get(x_66, 3); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) +x_67 = l_Lean_Parser_manyAux(x_4, x_6, x_63); +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_67, x_68, x_66); +x_70 = lean_ctor_get(x_69, 3); +lean_inc(x_70); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = lean_array_get_size(x_68); -lean_dec(x_68); -lean_inc(x_6); -x_70 = l_Lean_Parser_manyAux(x_4, x_6, x_66); -x_71 = l_Lean_nullKind; -x_72 = l_Lean_Parser_ParserState_mkNode(x_70, x_71, x_69); -x_73 = lean_ctor_get(x_72, 3); -lean_inc(x_73); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; -x_74 = l_Lean_Parser_optionalFn(x_5, x_6, x_72); -return x_74; +lean_object* x_71; +x_71 = l_Lean_Parser_optionalFn(x_5, x_6, x_69); +return x_71; } else { -lean_dec(x_73); +lean_dec(x_70); lean_dec(x_6); lean_dec(x_5); -return x_72; +return x_69; } } else { -lean_dec(x_67); +lean_dec(x_64); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_66; +return x_63; } } else { -lean_dec(x_62); +lean_dec(x_59); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_61; -} -} -else -{ -lean_dec(x_58); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_57; +return x_58; } } else @@ -6776,164 +6764,163 @@ lean_dec(x_55); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); return x_54; } } else { -lean_dec(x_53); +lean_dec(x_52); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -return x_52; +return x_51; +} +} +else +{ +lean_dec(x_50); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_49; } } } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_75 = lean_ctor_get(x_6, 0); -x_76 = lean_ctor_get(x_6, 1); -x_77 = lean_ctor_get(x_6, 2); -x_78 = lean_ctor_get(x_6, 3); -x_79 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); -x_80 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); -x_81 = lean_ctor_get(x_6, 5); -lean_inc(x_81); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_72 = lean_ctor_get(x_6, 0); +x_73 = lean_ctor_get(x_6, 1); +x_74 = lean_ctor_get(x_6, 2); +x_75 = lean_ctor_get(x_6, 3); +x_76 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); +x_77 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); +x_78 = lean_ctor_get(x_6, 5); 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_dec(x_6); -x_82 = lean_ctor_get(x_75, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_75, 2); +x_79 = lean_ctor_get(x_72, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_72, 1); +lean_inc(x_80); +x_81 = lean_ctor_get(x_72, 2); +lean_inc(x_81); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + x_82 = x_72; +} else { + lean_dec_ref(x_72); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(0, 3, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_79); +lean_ctor_set(x_83, 1, x_80); +lean_ctor_set(x_83, 2, x_81); +x_84 = lean_ctor_get(x_7, 1); lean_inc(x_84); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - lean_ctor_release(x_75, 2); - x_85 = x_75; -} else { - lean_dec_ref(x_75); - x_85 = lean_box(0); -} -x_86 = lean_ctor_get(x_7, 1); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_73); +lean_ctor_set(x_86, 2, x_74); +lean_ctor_set(x_86, 3, x_75); +lean_ctor_set(x_86, 4, x_85); +lean_ctor_set(x_86, 5, x_78); +lean_ctor_set_uint8(x_86, sizeof(void*)*6, x_76); +lean_ctor_set_uint8(x_86, sizeof(void*)*6 + 1, x_77); +x_87 = l_Init_Data_Repr___instance__15___closed__1; +x_88 = lean_string_append(x_87, x_1); +x_89 = lean_string_append(x_88, x_87); lean_inc(x_86); -x_87 = l_Lean_FileMap_toPosition(x_84, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 3, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_82); -lean_ctor_set(x_88, 1, x_83); -lean_ctor_set(x_88, 2, x_84); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_87); -x_90 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_76); -lean_ctor_set(x_90, 2, x_77); -lean_ctor_set(x_90, 3, x_78); -lean_ctor_set(x_90, 4, x_89); -lean_ctor_set(x_90, 5, x_81); -lean_ctor_set_uint8(x_90, sizeof(void*)*6, x_79); -lean_ctor_set_uint8(x_90, sizeof(void*)*6 + 1, x_80); -x_91 = l_Init_Data_Repr___instance__15___closed__1; -x_92 = lean_string_append(x_91, x_1); -x_93 = lean_string_append(x_92, x_91); -lean_inc(x_90); -x_94 = l_Lean_Parser_symbolFnAux(x_1, x_93, x_90, x_7); -x_95 = lean_ctor_get(x_94, 3); -lean_inc(x_95); -if (lean_obj_tag(x_95) == 0) +x_90 = l_Lean_Parser_symbolFnAux(x_1, x_89, x_86, x_7); +x_91 = lean_ctor_get(x_90, 3); +lean_inc(x_91); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_96; lean_object* x_97; -lean_inc(x_90); -x_96 = l_Lean_Parser_Term_optIdent___elambda__1(x_90, x_94); -x_97 = lean_ctor_get(x_96, 3); -lean_inc(x_97); -if (lean_obj_tag(x_97) == 0) +lean_object* x_92; lean_object* x_93; +lean_inc(x_86); +x_92 = l_Lean_Parser_Term_optIdent___elambda__1(x_86, x_90); +x_93 = lean_ctor_get(x_92, 3); +lean_inc(x_93); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_unsigned_to_nat(0u); -lean_inc(x_90); -x_99 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_98, x_90, x_96); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_unsigned_to_nat(0u); +lean_inc(x_86); +x_95 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_94, x_86, x_92); +x_96 = lean_ctor_get(x_95, 3); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_97 = lean_string_append(x_87, x_3); +x_98 = lean_string_append(x_97, x_87); +lean_inc(x_86); +x_99 = l_Lean_Parser_symbolFnAux(x_3, x_98, x_86, x_95); x_100 = lean_ctor_get(x_99, 3); lean_inc(x_100); if (lean_obj_tag(x_100) == 0) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_101 = lean_string_append(x_91, x_3); -x_102 = lean_string_append(x_101, x_91); -lean_inc(x_90); -x_103 = l_Lean_Parser_symbolFnAux(x_3, x_102, x_90, x_99); -x_104 = lean_ctor_get(x_103, 3); -lean_inc(x_104); -if (lean_obj_tag(x_104) == 0) +lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; +x_101 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_102 = l_Lean_Parser_Term_doSeqIndent___closed__10; +x_103 = 1; +lean_inc(x_86); +x_104 = l_Lean_Parser_orelseFnCore(x_101, x_102, x_103, x_86, x_99); +x_105 = lean_ctor_get(x_104, 3); +lean_inc(x_105); +if (lean_obj_tag(x_105) == 0) { -lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; -x_105 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_106 = l_Lean_Parser_Term_doSeqIndent___closed__10; -x_107 = 1; -lean_inc(x_90); -x_108 = l_Lean_Parser_orelseFnCore(x_105, x_106, x_107, x_90, x_103); -x_109 = lean_ctor_get(x_108, 3); -lean_inc(x_109); -if (lean_obj_tag(x_109) == 0) +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +x_107 = lean_array_get_size(x_106); +lean_dec(x_106); +lean_inc(x_86); +x_108 = l_Lean_Parser_manyAux(x_4, x_86, x_104); +x_109 = l_Lean_nullKind; +x_110 = l_Lean_Parser_ParserState_mkNode(x_108, x_109, x_107); +x_111 = lean_ctor_get(x_110, 3); +lean_inc(x_111); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_110 = lean_ctor_get(x_108, 0); -lean_inc(x_110); -x_111 = lean_array_get_size(x_110); -lean_dec(x_110); -lean_inc(x_90); -x_112 = l_Lean_Parser_manyAux(x_4, x_90, x_108); -x_113 = l_Lean_nullKind; -x_114 = l_Lean_Parser_ParserState_mkNode(x_112, x_113, x_111); -x_115 = lean_ctor_get(x_114, 3); -lean_inc(x_115); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; -x_116 = l_Lean_Parser_optionalFn(x_5, x_90, x_114); -return x_116; +lean_object* x_112; +x_112 = l_Lean_Parser_optionalFn(x_5, x_86, x_110); +return x_112; } else { -lean_dec(x_115); -lean_dec(x_90); +lean_dec(x_111); +lean_dec(x_86); lean_dec(x_5); -return x_114; +return x_110; } } else { -lean_dec(x_109); -lean_dec(x_90); +lean_dec(x_105); +lean_dec(x_86); lean_dec(x_5); lean_dec(x_4); -return x_108; -} -} -else -{ -lean_dec(x_104); -lean_dec(x_90); -lean_dec(x_5); -lean_dec(x_4); -return x_103; +return x_104; } } else { lean_dec(x_100); -lean_dec(x_90); +lean_dec(x_86); lean_dec(x_5); lean_dec(x_4); return x_99; @@ -6941,22 +6928,31 @@ return x_99; } else { -lean_dec(x_97); -lean_dec(x_90); +lean_dec(x_96); +lean_dec(x_86); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_96; +return x_95; } } else { -lean_dec(x_95); -lean_dec(x_90); +lean_dec(x_93); +lean_dec(x_86); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -return x_94; +return x_92; +} +} +else +{ +lean_dec(x_91); +lean_dec(x_86); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_90; } } } @@ -7013,7 +7009,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_doIf___elambda__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -7103,7 +7099,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_doIf___elambda__1___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -7137,7 +7133,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Parser_Term_if___elambda__1___closed__6; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_if___elambda__1___closed__9; x_4 = l_Lean_Parser_Term_doIf___elambda__1___closed__12; x_5 = l_Lean_Parser_Term_doIf___elambda__1___closed__16; @@ -8686,7 +8682,7 @@ static lean_object* _init_l_Lean_Parser_Term_doUnless___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doUnless___elambda__1___lambda__1), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -9880,147 +9876,143 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); lean_inc(x_3); -x_13 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_11 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); +x_12 = lean_ctor_get(x_11, 3); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = 0; -x_16 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_17 = l_Lean_Parser_sepBy1Fn(x_15, x_16, x_2, x_3, x_13); -return x_17; +uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_13 = 0; +x_14 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_15 = l_Lean_Parser_sepBy1Fn(x_13, x_14, x_2, x_3, x_11); +return x_15; } else { -lean_dec(x_14); +lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -return x_13; +return x_11; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_6, 0); -x_19 = lean_ctor_get(x_6, 1); -x_20 = lean_ctor_get(x_6, 2); -lean_inc(x_20); -lean_inc(x_19); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_6, 0); +x_17 = lean_ctor_get(x_6, 1); +x_18 = lean_ctor_get(x_6, 2); lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); lean_dec(x_6); -x_21 = lean_ctor_get(x_4, 1); -lean_inc(x_21); -x_22 = l_Lean_FileMap_toPosition(x_20, x_21); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_19); -lean_ctor_set(x_23, 2, x_20); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_3, 4, x_24); -lean_ctor_set(x_3, 0, x_23); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_ctor_get(x_4, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_3, 4, x_21); +lean_ctor_set(x_3, 0, x_19); lean_inc(x_3); -x_25 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) +x_22 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_27 = 0; -x_28 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_29 = l_Lean_Parser_sepBy1Fn(x_27, x_28, x_2, x_3, x_25); -return x_29; +uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_24 = 0; +x_25 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_26 = l_Lean_Parser_sepBy1Fn(x_24, x_25, x_2, x_3, x_22); +return x_26; } else { -lean_dec(x_26); +lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); -return x_25; +return x_22; } } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_30 = lean_ctor_get(x_3, 0); -x_31 = lean_ctor_get(x_3, 1); -x_32 = lean_ctor_get(x_3, 2); -x_33 = lean_ctor_get(x_3, 3); -x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_35 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_36 = lean_ctor_get(x_3, 5); -lean_inc(x_36); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; 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_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +x_29 = lean_ctor_get(x_3, 2); +x_30 = lean_ctor_get(x_3, 3); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_33 = lean_ctor_get(x_3, 5); lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); lean_dec(x_3); -x_37 = lean_ctor_get(x_30, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_30, 1); -lean_inc(x_38); -x_39 = lean_ctor_get(x_30, 2); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_37 = x_27; +} else { + lean_dec_ref(x_27); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_4, 1); lean_inc(x_39); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - lean_ctor_release(x_30, 2); - x_40 = x_30; -} else { - lean_dec_ref(x_30); - x_40 = lean_box(0); -} -x_41 = lean_ctor_get(x_4, 1); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_28); +lean_ctor_set(x_41, 2, x_29); +lean_ctor_set(x_41, 3, x_30); +lean_ctor_set(x_41, 4, x_40); +lean_ctor_set(x_41, 5, x_33); +lean_ctor_set_uint8(x_41, sizeof(void*)*6, x_31); +lean_ctor_set_uint8(x_41, sizeof(void*)*6 + 1, x_32); lean_inc(x_41); -x_42 = l_Lean_FileMap_toPosition(x_39, x_41); -if (lean_is_scalar(x_40)) { - x_43 = lean_alloc_ctor(0, 3, 0); -} else { - x_43 = x_40; -} -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_38); -lean_ctor_set(x_43, 2, x_39); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_42); -x_45 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_31); -lean_ctor_set(x_45, 2, x_32); -lean_ctor_set(x_45, 3, x_33); -lean_ctor_set(x_45, 4, x_44); -lean_ctor_set(x_45, 5, x_36); -lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_34); -lean_ctor_set_uint8(x_45, sizeof(void*)*6 + 1, x_35); -lean_inc(x_45); -x_46 = l_Lean_Parser_optionalFn(x_1, x_45, x_4); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) +x_42 = l_Lean_Parser_optionalFn(x_1, x_41, x_4); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) { -uint8_t x_48; lean_object* x_49; lean_object* x_50; -x_48 = 0; -x_49 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_50 = l_Lean_Parser_sepBy1Fn(x_48, x_49, x_2, x_45, x_46); -return x_50; +uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_44 = 0; +x_45 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_46 = l_Lean_Parser_sepBy1Fn(x_44, x_45, x_2, x_41, x_42); +return x_46; } else { -lean_dec(x_47); -lean_dec(x_45); +lean_dec(x_43); +lean_dec(x_41); lean_dec(x_2); -return x_46; +return x_42; } } } @@ -13309,150 +13301,146 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Init_Data_Repr___instance__15___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +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_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = l_Init_Data_Repr___instance__15___closed__1; +x_12 = lean_string_append(x_11, x_1); +x_13 = lean_string_append(x_12, x_11); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; -x_18 = l_Lean_Parser_optionalFn(x_2, x_3, x_16); -return x_18; -} -else -{ -lean_dec(x_17); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_16; +x_16 = l_Lean_Parser_optionalFn(x_2, x_3, x_14); return x_16; } +else +{ +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +return x_14; +} } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_19 = lean_ctor_get(x_6, 0); -x_20 = lean_ctor_get(x_6, 1); -x_21 = lean_ctor_get(x_6, 2); -lean_inc(x_21); -lean_inc(x_20); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_6); -x_22 = lean_ctor_get(x_4, 1); -lean_inc(x_22); -x_23 = l_Lean_FileMap_toPosition(x_21, x_22); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_3, 4, x_25); -lean_ctor_set(x_3, 0, x_24); -x_26 = l_Init_Data_Repr___instance__15___closed__1; -x_27 = lean_string_append(x_26, x_1); -x_28 = lean_string_append(x_27, x_26); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_4, 1); +lean_inc(x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_3, 4, x_22); +lean_ctor_set(x_3, 0, x_20); +x_23 = l_Init_Data_Repr___instance__15___closed__1; +x_24 = lean_string_append(x_23, x_1); +x_25 = lean_string_append(x_24, x_23); lean_inc(x_3); -x_29 = l_Lean_Parser_symbolFnAux(x_1, x_28, x_3, x_4); -x_30 = lean_ctor_get(x_29, 3); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) +x_26 = l_Lean_Parser_symbolFnAux(x_1, x_25, x_3, x_4); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_31; -x_31 = l_Lean_Parser_optionalFn(x_2, x_3, x_29); -return x_31; +lean_object* x_28; +x_28 = l_Lean_Parser_optionalFn(x_2, x_3, x_26); +return x_28; } else { -lean_dec(x_30); +lean_dec(x_27); lean_dec(x_3); lean_dec(x_2); -return x_29; +return x_26; } } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_32 = lean_ctor_get(x_3, 0); -x_33 = lean_ctor_get(x_3, 1); -x_34 = lean_ctor_get(x_3, 2); -x_35 = lean_ctor_get(x_3, 3); -x_36 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_37 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_38 = lean_ctor_get(x_3, 5); -lean_inc(x_38); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t 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; +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +x_31 = lean_ctor_get(x_3, 2); +x_32 = lean_ctor_get(x_3, 3); +x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_35 = lean_ctor_get(x_3, 5); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_3); -x_39 = lean_ctor_get(x_32, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_32, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_32, 2); +x_36 = lean_ctor_get(x_29, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_29, 2); +lean_inc(x_38); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + lean_ctor_release(x_29, 2); + x_39 = x_29; +} else { + lean_dec_ref(x_29); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(0, 3, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); +x_41 = lean_ctor_get(x_4, 1); lean_inc(x_41); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - lean_ctor_release(x_32, 2); - x_42 = x_32; -} else { - lean_dec_ref(x_32); - x_42 = lean_box(0); -} -x_43 = lean_ctor_get(x_4, 1); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_30); +lean_ctor_set(x_43, 2, x_31); +lean_ctor_set(x_43, 3, x_32); +lean_ctor_set(x_43, 4, x_42); +lean_ctor_set(x_43, 5, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*6, x_33); +lean_ctor_set_uint8(x_43, sizeof(void*)*6 + 1, x_34); +x_44 = l_Init_Data_Repr___instance__15___closed__1; +x_45 = lean_string_append(x_44, x_1); +x_46 = lean_string_append(x_45, x_44); lean_inc(x_43); -x_44 = l_Lean_FileMap_toPosition(x_41, x_43); -if (lean_is_scalar(x_42)) { - x_45 = lean_alloc_ctor(0, 3, 0); -} else { - x_45 = x_42; -} -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_40); -lean_ctor_set(x_45, 2, x_41); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_44); -x_47 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_33); -lean_ctor_set(x_47, 2, x_34); -lean_ctor_set(x_47, 3, x_35); -lean_ctor_set(x_47, 4, x_46); -lean_ctor_set(x_47, 5, x_38); -lean_ctor_set_uint8(x_47, sizeof(void*)*6, x_36); -lean_ctor_set_uint8(x_47, sizeof(void*)*6 + 1, x_37); -x_48 = l_Init_Data_Repr___instance__15___closed__1; -x_49 = lean_string_append(x_48, x_1); -x_50 = lean_string_append(x_49, x_48); -lean_inc(x_47); -x_51 = l_Lean_Parser_symbolFnAux(x_1, x_50, x_47, x_4); -x_52 = lean_ctor_get(x_51, 3); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) +x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_43, x_4); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_53; -x_53 = l_Lean_Parser_optionalFn(x_2, x_47, x_51); -return x_53; +lean_object* x_49; +x_49 = l_Lean_Parser_optionalFn(x_2, x_43, x_47); +return x_49; } else { -lean_dec(x_52); -lean_dec(x_47); +lean_dec(x_48); +lean_dec(x_43); lean_dec(x_2); -return x_51; +return x_47; } } } @@ -13518,7 +13506,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkLineEqFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkLineEqFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -15230,7 +15218,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_do(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_do; @@ -15589,7 +15577,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_doElem_quot(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_doElem_quot___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_doElem_quot; diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index 2d27523244..559f2340e5 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -120,7 +120,6 @@ lean_object* l_Lean_Parser_declareBuiltinParser___closed__1; lean_object* l_Lean_Parser_categoryParserFnImpl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1___boxed(lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParserAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1865____closed__4; @@ -272,6 +271,7 @@ lean_object* l_Lean_Parser_addToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnImpl___closed__4; lean_object* l_Lean_Parser_notFollowedByCategoryToken(lean_object*); lean_object* l_Nat_repr(lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_registerBuiltinParserAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit_match__3(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1602____closed__5; @@ -14266,7 +14266,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3105____closed__2; -x_3 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_3 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; @@ -14295,7 +14295,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3115____closed__2; -x_3 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_3 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } @@ -14772,7 +14772,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByTermToken___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index 04f508029e..f5de7639be 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -71,7 +71,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(l extern lean_object* l_Lean_Parser_charLit___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_try_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_PrettyPrinter_Formatter_ppSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__5; @@ -85,7 +84,6 @@ extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; -lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_antiquotNestedExpr_formatter___closed__1; @@ -150,6 +148,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer_ lean_object* l_Lean_Parser_manyIndent(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Formatter_ppSpace_formatter(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_ppSpace; lean_object* l_Lean_Parser_ppHardSpace; lean_object* l_Lean_Parser_termParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,6 +201,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___boxed(le lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident___elambda__1___closed__1; +lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__1; lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -339,7 +339,7 @@ lean_object* l_Lean_Parser_termParser_formatter___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_6; lean_object* x_7; -x_6 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_6 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5); return x_7; } @@ -365,7 +365,7 @@ lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object* x_1, lean_objec _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_7 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6); return x_8; } @@ -1885,20 +1885,22 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_9 = lean_ctor_get(x_6, 2); +lean_inc(x_9); x_10 = lean_ctor_get(x_4, 1); lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); -x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_3, 4, x_11); +x_12 = lean_ctor_get(x_4, 0); +lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = l_Lean_FileMap_toPosition(x_9, x_10); +lean_dec(x_9); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -lean_dec(x_11); +lean_dec(x_14); x_16 = lean_nat_dec_le(x_15, x_15); lean_dec(x_15); if (x_16 == 0) @@ -1910,7 +1912,7 @@ lean_dec(x_1); x_17 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_18 = l_Lean_Parser_ParserState_mkError(x_4, x_17); x_19 = l_Lean_nullKind; -x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_14); +x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_13); return x_20; } else @@ -1930,7 +1932,7 @@ if (lean_obj_tag(x_23) == 0) lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = l_Lean_Parser_manyAux(x_2, x_3, x_22); x_25 = l_Lean_nullKind; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_14); +x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_13); return x_26; } else @@ -1940,7 +1942,7 @@ lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_22, x_27, x_14); +x_28 = l_Lean_Parser_ParserState_mkNode(x_22, x_27, x_13); return x_28; } } @@ -1952,7 +1954,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_4, x_29, x_14); +x_30 = l_Lean_Parser_ParserState_mkNode(x_4, x_29, x_13); return x_30; } } @@ -1967,25 +1969,27 @@ lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_dec(x_6); -x_34 = lean_ctor_get(x_4, 1); -lean_inc(x_34); -x_35 = l_Lean_FileMap_toPosition(x_33, x_34); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); +lean_inc(x_33); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +x_35 = lean_ctor_get(x_4, 1); lean_inc(x_35); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_3, 4, x_37); -lean_ctor_set(x_3, 0, x_36); -x_38 = lean_ctor_get(x_4, 0); -lean_inc(x_38); -x_39 = lean_array_get_size(x_38); -lean_dec(x_38); -x_40 = lean_ctor_get(x_35, 1); +lean_inc(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_3, 4, x_36); +lean_ctor_set(x_3, 0, x_34); +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_array_get_size(x_37); +lean_dec(x_37); +x_39 = l_Lean_FileMap_toPosition(x_33, x_35); +lean_dec(x_33); +x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); -lean_dec(x_35); +lean_dec(x_39); x_41 = lean_nat_dec_le(x_40, x_40); lean_dec(x_40); if (x_41 == 0) @@ -1997,7 +2001,7 @@ lean_dec(x_1); x_42 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_43 = l_Lean_Parser_ParserState_mkError(x_4, x_42); x_44 = l_Lean_nullKind; -x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_39); +x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_38); return x_45; } else @@ -2017,7 +2021,7 @@ if (lean_obj_tag(x_48) == 0) lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = l_Lean_Parser_manyAux(x_2, x_3, x_47); x_50 = l_Lean_nullKind; -x_51 = l_Lean_Parser_ParserState_mkNode(x_49, x_50, x_39); +x_51 = l_Lean_Parser_ParserState_mkNode(x_49, x_50, x_38); return x_51; } else @@ -2027,7 +2031,7 @@ lean_dec(x_48); lean_dec(x_3); lean_dec(x_2); x_52 = l_Lean_nullKind; -x_53 = l_Lean_Parser_ParserState_mkNode(x_47, x_52, x_39); +x_53 = l_Lean_Parser_ParserState_mkNode(x_47, x_52, x_38); return x_53; } } @@ -2039,7 +2043,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_54 = l_Lean_nullKind; -x_55 = l_Lean_Parser_ParserState_mkNode(x_4, x_54, x_39); +x_55 = l_Lean_Parser_ParserState_mkNode(x_4, x_54, x_38); return x_55; } } @@ -2076,48 +2080,50 @@ if (lean_is_exclusive(x_56)) { lean_dec_ref(x_56); x_66 = lean_box(0); } -x_67 = lean_ctor_get(x_4, 1); -lean_inc(x_67); -x_68 = l_Lean_FileMap_toPosition(x_65, x_67); +lean_inc(x_65); if (lean_is_scalar(x_66)) { - x_69 = lean_alloc_ctor(0, 3, 0); + x_67 = lean_alloc_ctor(0, 3, 0); } else { - x_69 = x_66; + x_67 = x_66; } -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_64); -lean_ctor_set(x_69, 2, x_65); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +x_68 = lean_ctor_get(x_4, 1); lean_inc(x_68); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_68); -x_71 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_57); -lean_ctor_set(x_71, 2, x_58); -lean_ctor_set(x_71, 3, x_59); -lean_ctor_set(x_71, 4, x_70); -lean_ctor_set(x_71, 5, x_62); -lean_ctor_set_uint8(x_71, sizeof(void*)*6, x_60); -lean_ctor_set_uint8(x_71, sizeof(void*)*6 + 1, x_61); -x_72 = lean_ctor_get(x_4, 0); -lean_inc(x_72); -x_73 = lean_array_get_size(x_72); -lean_dec(x_72); -x_74 = lean_ctor_get(x_68, 1); +lean_inc(x_68); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_57); +lean_ctor_set(x_70, 2, x_58); +lean_ctor_set(x_70, 3, x_59); +lean_ctor_set(x_70, 4, x_69); +lean_ctor_set(x_70, 5, x_62); +lean_ctor_set_uint8(x_70, sizeof(void*)*6, x_60); +lean_ctor_set_uint8(x_70, sizeof(void*)*6 + 1, x_61); +x_71 = lean_ctor_get(x_4, 0); +lean_inc(x_71); +x_72 = lean_array_get_size(x_71); +lean_dec(x_71); +x_73 = l_Lean_FileMap_toPosition(x_65, x_68); +lean_dec(x_65); +x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -lean_dec(x_68); +lean_dec(x_73); x_75 = lean_nat_dec_le(x_74, x_74); lean_dec(x_74); if (x_75 == 0) { lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_71); +lean_dec(x_70); lean_dec(x_2); lean_dec(x_1); x_76 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_77 = l_Lean_Parser_ParserState_mkError(x_4, x_76); x_78 = l_Lean_nullKind; -x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_73); +x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_72); return x_79; } else @@ -2128,26 +2134,26 @@ lean_inc(x_80); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_object* x_82; -lean_inc(x_71); -x_81 = lean_apply_2(x_1, x_71, x_4); +lean_inc(x_70); +x_81 = lean_apply_2(x_1, x_70, x_4); x_82 = lean_ctor_get(x_81, 3); lean_inc(x_82); if (lean_obj_tag(x_82) == 0) { lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = l_Lean_Parser_manyAux(x_2, x_71, x_81); +x_83 = l_Lean_Parser_manyAux(x_2, x_70, x_81); x_84 = l_Lean_nullKind; -x_85 = l_Lean_Parser_ParserState_mkNode(x_83, x_84, x_73); +x_85 = l_Lean_Parser_ParserState_mkNode(x_83, x_84, x_72); return x_85; } else { lean_object* x_86; lean_object* x_87; lean_dec(x_82); -lean_dec(x_71); +lean_dec(x_70); lean_dec(x_2); x_86 = l_Lean_nullKind; -x_87 = l_Lean_Parser_ParserState_mkNode(x_81, x_86, x_73); +x_87 = l_Lean_Parser_ParserState_mkNode(x_81, x_86, x_72); return x_87; } } @@ -2155,11 +2161,11 @@ else { lean_object* x_88; lean_object* x_89; lean_dec(x_80); -lean_dec(x_71); +lean_dec(x_70); lean_dec(x_2); lean_dec(x_1); x_88 = l_Lean_nullKind; -x_89 = l_Lean_Parser_ParserState_mkNode(x_4, x_88, x_73); +x_89 = l_Lean_Parser_ParserState_mkNode(x_4, x_88, x_72); return x_89; } } @@ -2171,7 +2177,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2241,115 +2247,111 @@ lean_dec(x_6); x_7 = !lean_is_exclusive(x_5); if (x_7 == 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_5, 2); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_FileMap_toPosition(x_8, x_9); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_2, 4, x_11); -x_12 = lean_ctor_get(x_3, 0); -lean_inc(x_12); -x_13 = lean_array_get_size(x_12); -lean_dec(x_12); -x_14 = l_Lean_Parser_manyAux(x_1, x_2, x_3); -x_15 = l_Lean_nullKind; -x_16 = l_Lean_Parser_ParserState_mkNode(x_14, x_15, x_13); -return x_16; +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; +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_2, 4, x_9); +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +x_11 = lean_array_get_size(x_10); +lean_dec(x_10); +x_12 = l_Lean_Parser_manyAux(x_1, x_2, x_3); +x_13 = l_Lean_nullKind; +x_14 = l_Lean_Parser_ParserState_mkNode(x_12, x_13, x_11); +return x_14; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_17 = lean_ctor_get(x_5, 0); -x_18 = lean_ctor_get(x_5, 1); -x_19 = lean_ctor_get(x_5, 2); -lean_inc(x_19); -lean_inc(x_18); +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; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +x_17 = lean_ctor_get(x_5, 2); lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); lean_dec(x_5); -x_20 = lean_ctor_get(x_3, 1); -lean_inc(x_20); -x_21 = l_Lean_FileMap_toPosition(x_19, x_20); -x_22 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_18); -lean_ctor_set(x_22, 2, x_19); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_2, 4, x_23); -lean_ctor_set(x_2, 0, x_22); -x_24 = lean_ctor_get(x_3, 0); -lean_inc(x_24); -x_25 = lean_array_get_size(x_24); -lean_dec(x_24); -x_26 = l_Lean_Parser_manyAux(x_1, x_2, x_3); -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_25); -return x_28; +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_2, 4, x_20); +lean_ctor_set(x_2, 0, x_18); +x_21 = lean_ctor_get(x_3, 0); +lean_inc(x_21); +x_22 = lean_array_get_size(x_21); +lean_dec(x_21); +x_23 = l_Lean_Parser_manyAux(x_1, x_2, x_3); +x_24 = l_Lean_nullKind; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_22); +return x_25; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t 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_29 = lean_ctor_get(x_2, 0); -x_30 = lean_ctor_get(x_2, 1); -x_31 = lean_ctor_get(x_2, 2); -x_32 = lean_ctor_get(x_2, 3); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_35 = lean_ctor_get(x_2, 5); -lean_inc(x_35); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 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; +x_26 = lean_ctor_get(x_2, 0); +x_27 = lean_ctor_get(x_2, 1); +x_28 = lean_ctor_get(x_2, 2); +x_29 = lean_ctor_get(x_2, 3); +x_30 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_31 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_32 = lean_ctor_get(x_2, 5); lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); lean_dec(x_2); -x_36 = lean_ctor_get(x_29, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_29, 1); -lean_inc(x_37); -x_38 = lean_ctor_get(x_29, 2); +x_33 = lean_ctor_get(x_26, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_26, 2); +lean_inc(x_35); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_36 = x_26; +} else { + lean_dec_ref(x_26); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 3, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_ctor_get(x_3, 1); lean_inc(x_38); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - lean_ctor_release(x_29, 2); - x_39 = x_29; -} else { - lean_dec_ref(x_29); - x_39 = lean_box(0); -} -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -x_41 = l_Lean_FileMap_toPosition(x_38, x_40); -if (lean_is_scalar(x_39)) { - x_42 = lean_alloc_ctor(0, 3, 0); -} else { - x_42 = x_39; -} -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_37); -lean_ctor_set(x_42, 2, x_38); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_41); -x_44 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_30); -lean_ctor_set(x_44, 2, x_31); -lean_ctor_set(x_44, 3, x_32); -lean_ctor_set(x_44, 4, x_43); -lean_ctor_set(x_44, 5, x_35); -lean_ctor_set_uint8(x_44, sizeof(void*)*6, x_33); -lean_ctor_set_uint8(x_44, sizeof(void*)*6 + 1, x_34); -x_45 = lean_ctor_get(x_3, 0); -lean_inc(x_45); -x_46 = lean_array_get_size(x_45); -lean_dec(x_45); -x_47 = l_Lean_Parser_manyAux(x_1, x_44, x_3); -x_48 = l_Lean_nullKind; -x_49 = l_Lean_Parser_ParserState_mkNode(x_47, x_48, x_46); -return x_49; +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_27); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set(x_40, 4, x_39); +lean_ctor_set(x_40, 5, x_32); +lean_ctor_set_uint8(x_40, sizeof(void*)*6, x_30); +lean_ctor_set_uint8(x_40, sizeof(void*)*6 + 1, x_31); +x_41 = lean_ctor_get(x_3, 0); +lean_inc(x_41); +x_42 = lean_array_get_size(x_41); +lean_dec(x_41); +x_43 = l_Lean_Parser_manyAux(x_1, x_40, x_3); +x_44 = l_Lean_nullKind; +x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_42); +return x_45; } } } diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 8bf6bf65f2..8e5229791f 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -376,7 +376,6 @@ lean_object* l_Lean_Parser_Command_elab_formatter___closed__2; lean_object* l_Lean_Parser_Command_notation_formatter___closed__5; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroHead___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_parserKindPrio_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3; @@ -828,6 +827,7 @@ lean_object* l_Lean_Parser_precedence_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_infixl___closed__6; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__6; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_stx_quot___closed__6; lean_object* l_Lean_Parser_Syntax_noWs___elambda__1___closed__4; @@ -1064,6 +1064,7 @@ lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_num_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_optPrio_parenthesizer___closed__2; +extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_parserKindPrio_parenthesizer___closed__1; lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__4; @@ -1431,7 +1432,6 @@ lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_syntax_formatter___closed__7; lean_object* l_Lean_Parser_Command_optKind___closed__1; lean_object* l_Lean_Parser_Syntax_char_parenthesizer___closed__3; -extern lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; lean_object* l_Lean_Parser_Syntax_paren_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_paren___closed__7; lean_object* l_Lean_Parser_Command_optKind; @@ -8570,7 +8570,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_stx_quot; @@ -14135,7 +14135,7 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxAbbrev___elambda__1___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_2 = l_Lean_Parser_Syntax_paren___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -18137,7 +18137,7 @@ 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 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_8 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Parser_categoryParser___elambda__1(x_8, x_9, x_1, x_6); return x_10; diff --git a/stage0/stdlib/Lean/Parser/Tactic.c b/stage0/stdlib/Lean/Parser/Tactic.c index b6fb753c38..a17cae108f 100644 --- a/stage0/stdlib/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Lean/Parser/Tactic.c @@ -36,10 +36,12 @@ extern lean_object* l_Lean_Parser_Term_subtype_parenthesizer___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_failIfSuccess(lean_object*); lean_object* l_Lean_Parser_Tactic_apply_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___elambda__1___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_nestedTactic___closed__2; lean_object* l_Lean_Parser_Tactic_exact___closed__6; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_orelse___closed__2; +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___closed__7; lean_object* l_Lean_Parser_Tactic_let_x21; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__10; @@ -70,6 +72,7 @@ lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_withIds___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_skip_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__2; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_changeWith_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_let___elambda__1(lean_object*, lean_object*); @@ -81,22 +84,27 @@ lean_object* l_Lean_Parser_Tactic_match; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11; lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__6; lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__13; +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_revert_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__6; lean_object* l_Lean_Parser_Tactic_failIfSuccess_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_altRHS___closed__4; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__2; lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_traceState_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_rwRuleSeq_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_apply___closed__2; extern lean_object* l_Lean_Parser_Term_optType___closed__2; extern lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown___closed__4; lean_object* l_Lean_Parser_Tactic_let_x21_formatter___closed__1; +lean_object* l_Lean_Parser_Tactic_letrec_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite_formatter___closed__10; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__3; lean_object* l_Lean_Parser_Tactic_change_parenthesizer___closed__6; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__13; +extern lean_object* l_Lean_Parser_Term_letrec_formatter___closed__7; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__10; lean_object* l_Lean_Parser_Tactic_cases_parenthesizer___closed__5; extern lean_object* l_Lean_Parser_Term_explicit___closed__2; @@ -149,6 +157,7 @@ lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__9; lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__10; lean_object* l_Lean_Parser_Tactic_location_formatter___closed__8; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_x21_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_changeWith___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_rwRuleSeq_parenthesizer___closed__4; @@ -199,6 +208,7 @@ lean_object* l_Lean_Parser_Tactic_introMatch_formatter(lean_object*, lean_object lean_object* l_Lean_Parser_Tactic_locationTarget___closed__4; lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__2; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_paren_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_failIfSuccess_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_orelse_parenthesizer___closed__2; @@ -218,6 +228,7 @@ lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__2; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__7; lean_object* l_Lean_Parser_Tactic_refine_x21_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__8; lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__6; @@ -283,9 +294,11 @@ lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_Tactic_apply___closed__4; lean_object* l_Lean_Parser_Tactic_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_focus___elambda__1___closed__3; +lean_object* l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_done_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_unknown(lean_object*); lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_location_formatter___closed__10; lean_object* l_Lean_Parser_Tactic_change___closed__1; @@ -345,14 +358,17 @@ lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object* l___regBuiltin_Lean_Parser_Tactic_apply_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_rewriteSeq_parenthesizer___closed__5; +lean_object* l_Lean_Parser_Tactic_unknown___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_change_formatter___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_location___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_let___elambda__1___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown; lean_object* l_Lean_Parser_Tactic_focus___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__11; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_seq1; extern lean_object* l_Lean_Parser_Term_subtype_formatter___closed__6; extern lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; @@ -398,7 +414,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer(lean_object*, lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__18; lean_object* l_Lean_Parser_Tactic_cases___closed__3; extern lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__3; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_Parser_Tactic_inductionAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_failIfSuccess___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_clear_formatter___closed__4; @@ -412,12 +427,15 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_assumption_parenthesizer(lean_obj lean_object* l_Lean_Parser_Tactic_match_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app_formatter___closed__5; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__5; +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__1; lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_suffices___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_skip___closed__1; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_rwRule_formatter___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown___closed__1; lean_object* l_Lean_Parser_Tactic_have; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_assumption_parenthesizer___closed__1; @@ -515,6 +533,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lea lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_have___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_cases_formatter___closed__1; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_rwRuleSeq_formatter___closed__5; extern lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_subst___closed__1; @@ -526,6 +545,7 @@ lean_object* l_Lean_Parser_Tactic_refine___closed__7; lean_object* l_Lean_Parser_Tactic_induction; lean_object* l_Lean_Parser_Tactic_refine_x21_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_done(lean_object*); +lean_object* l_Lean_Parser_Tactic_letrec___closed__4; lean_object* l_Lean_Parser_Tactic_rwRule_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_introMatch_formatter___closed__1; @@ -557,7 +577,6 @@ lean_object* l_Lean_Parser_Tactic_rewriteSeq_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_Tactic_subst_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_case_parenthesizer___closed__5; extern lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1; -extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__7; lean_object* l_Lean_Parser_Tactic_cases___closed__4; @@ -581,6 +600,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_focus(lean_object*); lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_change___closed__2; lean_object* l_Lean_Parser_Tactic_usingRec___elambda__1___closed__4; +lean_object* l_Lean_Parser_Tactic_unknown_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__7; lean_object* l_Lean_Parser_Tactic_withIds_formatter___closed__2; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; @@ -609,8 +629,10 @@ lean_object* l_Lean_Parser_Tactic_intros___closed__8; extern lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__2; +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__12; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__5; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_refine_formatter___closed__1; @@ -637,6 +659,7 @@ lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__5; lean_object* l_Lean_Parser_Tactic_matchAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_traceState___closed__3; extern lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_introMatch___closed__5; @@ -682,6 +705,7 @@ lean_object* l_Lean_Parser_Tactic_introMatch___closed__6; lean_object* l_Lean_Parser_Tactic_locationTarget___elambda__1___closed__7; lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_inductionAlt_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_let_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_assumption___closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlts_parenthesizer___closed__5; @@ -702,12 +726,12 @@ lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__1; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Tactic_revert_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_revert; +lean_object* l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_intros_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_generalize; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__3; lean_object* l_Lean_Parser_Tactic_changeWith___closed__2; lean_object* l_Lean_Parser_Tactic_injection_parenthesizer___closed__2; -lean_object* l_Lean_Parser_Tactic_have___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__3; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); @@ -792,6 +816,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_let_x21(lean_object*); lean_object* l_Lean_Parser_Tactic_changeWith_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_assumption___closed__6; +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_formatter(lean_object*); extern lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__1; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_changeWith(lean_object*); @@ -844,11 +869,13 @@ lean_object* l_Lean_Parser_Tactic_intro_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__5; lean_object* l_Lean_Parser_Tactic_let_x21___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_allGoals_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_errorAtSavedPosFn(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_cases_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_intro___elambda__1(lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_Tactic_revert___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__1; @@ -871,6 +898,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_nestedTactic_formatter___closed__ lean_object* l_Lean_Parser_Tactic_changeWith___closed__4; lean_object* l___regBuiltin_Lean_Parser_Tactic_case_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_locationTarget___elambda__1___closed__5; +lean_object* l_Lean_Parser_Tactic_letrec___closed__1; lean_object* l_Lean_Parser_Tactic_match_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_suffices_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__4; @@ -918,6 +946,7 @@ lean_object* l_Lean_Parser_Tactic_exact___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; lean_object* l_Lean_Parser_Tactic_paren___closed__5; lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__2; +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlts_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__2; @@ -994,7 +1023,6 @@ lean_object* l_Lean_Parser_Tactic_injection___closed__3; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__9; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__4; -extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_locationHyp_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__10; lean_object* l_Lean_Parser_Tactic_inductionAlt_parenthesizer___closed__5; @@ -1007,7 +1035,6 @@ extern lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_Lean_Parser_Tactic_change___closed__5; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__8; lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1___closed__5; -lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__3; @@ -1025,6 +1052,7 @@ lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_induction_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_revert_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_done_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_induction_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection_parenthesizer___closed__3; @@ -1070,6 +1098,7 @@ lean_object* l_Lean_Parser_Tactic_have___closed__3; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Tactic_done___closed__2; lean_object* l_Lean_Parser_Tactic_change___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__10; lean_object* l_Lean_Parser_Tactic_inductionAlts_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_match___closed__2; @@ -1087,6 +1116,7 @@ lean_object* l_Lean_Parser_Tactic_subst_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__1; lean_object* l_Lean_Parser_Tactic_underscore_parenthesizer(lean_object*); +lean_object* l_Lean_Parser_Tactic_unknown_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intros_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_suffices___closed__2; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__1; @@ -1127,6 +1157,7 @@ lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; lean_object* l_Lean_Parser_Tactic_withIds___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_subst___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_letrec___closed__4; lean_object* l_Lean_Parser_Tactic_let_x21___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_altRHS_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5; @@ -1135,6 +1166,7 @@ lean_object* l_Lean_Parser_Tactic_subst; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_let_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_case_parenthesizer___closed__4; +lean_object* l_Lean_Parser_Tactic_unknown_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Tactic_assumption_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__8; lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__8; @@ -1148,8 +1180,10 @@ lean_object* l_Lean_Parser_Tactic_suffices___closed__5; lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__10; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l_Lean_Parser_Tactic_rewrite___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_cases___elambda__1___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_change___closed__6; @@ -1196,6 +1230,7 @@ lean_object* l_Lean_Parser_Tactic_locationWildcard_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_refine_x21(lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_exact_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_rewrite_formatter___closed__6; extern lean_object* l_Lean_Parser_Tactic_seq1___closed__4; lean_object* l_Lean_Parser_Tactic_rewrite___elambda__1___closed__11; @@ -1209,9 +1244,11 @@ lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_underscoreFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_rwRule; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__4; +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_refine___closed__1; lean_object* l_Lean_Parser_Tactic_paren___closed__4; lean_object* l_Lean_Parser_Tactic_intro_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__2; lean_object* l_Lean_Parser_Tactic_intro_parenthesizer___closed__7; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__9; @@ -1220,6 +1257,7 @@ lean_object* l_Lean_Parser_Tactic_let; lean_object* l___regBuiltin_Lean_Parser_Tactic_changeWith_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_induction_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlts_formatter___closed__4; +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_intros_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__3; lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__1; @@ -1240,6 +1278,7 @@ lean_object* l_Lean_Parser_Tactic_rwRule_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__3; lean_object* l_Lean_Parser_Tactic_rewriteSeq_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__5; +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_suffices___closed__3; lean_object* l_Lean_Parser_Tactic_injection_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; @@ -1266,6 +1305,7 @@ lean_object* l_Lean_Parser_Tactic_suffices___elambda__1(lean_object*, lean_objec lean_object* l_Lean_Parser_Tactic_induction___closed__6; lean_object* l_Lean_Parser_Tactic_subst_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__17; +lean_object* l_Lean_Parser_Tactic_letrec___closed__2; lean_object* l_Lean_Parser_Tactic_orelse_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_introMatch_formatter___closed__2; @@ -1279,6 +1319,7 @@ lean_object* l_Lean_Parser_Tactic_let_x21___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_assumption_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_apply_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_withAlts; +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_apply___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_subst_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__5; @@ -1314,6 +1355,7 @@ lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__11; lean_object* l_Lean_Parser_Tactic_traceState_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_generalize_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_revert___closed__7; +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_letrec(lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; lean_object* l_Lean_Parser_Tactic_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1333,6 +1375,7 @@ lean_object* l_Lean_Parser_Tactic_cases_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_darrow___closed__2; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__4; lean_object* l_Lean_Parser_Tactic_assumption_formatter___closed__2; +extern lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__4; lean_object* l_Lean_Parser_Tactic_matchAlt_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_usingRec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1352,6 +1395,7 @@ extern lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_formatter___cl extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___closed__6; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__2; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__12; +lean_object* l_Lean_Parser_Tactic_letrec; lean_object* l___regBuiltin_Lean_Parser_Tactic_intros_formatter___closed__1; extern lean_object* l_Lean_Parser_Tactic_tacticSeq; lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__5; @@ -1379,6 +1423,7 @@ lean_object* l_Lean_Parser_Tactic_done___closed__1; lean_object* l_Lean_Parser_Tactic_locationWildcard___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_show_parenthesizer(lean_object*); +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__11; lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__11; @@ -1393,13 +1438,16 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_show_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_exact_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_altRHS___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalizingVars___closed__2; +extern lean_object* l_Lean_Parser_FirstTokens_toStr___closed__2; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__11; lean_object* l_Lean_Parser_Tactic_rewriteSeq___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_let(lean_object*); lean_object* l_Lean_Parser_Tactic_case_formatter___closed__3; +lean_object* l_Lean_Parser_Tactic_unknown_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_traceState_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_induction___closed__5; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_case___closed__2; lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__2; @@ -1478,6 +1526,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_traceState_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_withIds_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_rwRuleSeq___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_change_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_matchAlt_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; @@ -1500,8 +1549,10 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_assumption(lean_object*); lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_show___closed__1; lean_object* l_Lean_Parser_Tactic_underscoreFn___closed__2; +lean_object* l_Lean_Parser_Tactic_letrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__9; lean_object* l_Lean_Parser_Tactic_locationHyp___elambda__1___closed__2; +extern lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_generalize_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_let___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_intro_formatter(lean_object*); @@ -1510,12 +1561,14 @@ lean_object* l_Lean_Parser_Tactic_generalize_formatter(lean_object*, lean_object lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__9; extern lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_letrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__7; lean_object* l_Lean_Parser_Tactic_case_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_rewrite___elambda__1___closed__8; extern lean_object* l_Lean_Parser_Term_matchAlt___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown___closed__6; lean_object* l_Lean_Parser_Tactic_induction___closed__4; extern lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1524,6 +1577,7 @@ lean_object* l_Lean_Parser_Tactic_match_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__5; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_match_parenthesizer___closed__4; +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__2; lean_object* l_Lean_Parser_Tactic_altRHS___closed__1; lean_object* l_Lean_Parser_Tactic_revert_parenthesizer___closed__5; @@ -1549,9 +1603,11 @@ lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__7; lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__11; lean_object* l_Lean_Parser_Tactic_intro___closed__2; lean_object* l_Lean_Parser_Tactic_exact_formatter___closed__2; +extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_focus___closed__3; lean_object* l_Lean_Parser_Tactic_generalize_formatter___closed__8; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__8; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___closed__3; extern lean_object* l_Lean_Parser_Term_suffices_formatter___closed__4; extern lean_object* l_Lean_Parser_Term_have_formatter___closed__4; @@ -1583,11 +1639,13 @@ extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_generalizingVars_formatter___closed__3; extern lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; +lean_object* l_Lean_Parser_checkColGtFn(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__2; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__5; lean_object* l_Lean_Parser_Tactic_matchAlt___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_ident_x27_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess___elambda__1___closed__8; +lean_object* l_Lean_Parser_Tactic_unknown___closed__3; lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__2; lean_object* l_Lean_Parser_Tactic_exact_formatter___closed__1; @@ -1671,6 +1729,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxe lean_object* l_Lean_Parser_Tactic_done_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_rewrite_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_rewrite_formatter(lean_object*); +lean_object* l_Lean_Parser_Tactic_unknown___closed__5; lean_object* l_Lean_Parser_Tactic_let_x21_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; @@ -1684,8 +1743,10 @@ lean_object* l_Lean_Parser_Tactic_allGoals_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_skip(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__4; +lean_object* l_Lean_Parser_Tactic_letrec___closed__3; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_done___closed__5; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_subst(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__4; @@ -1745,6 +1806,8 @@ lean_object* l_Lean_Parser_Tactic_focus_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_changeWith___elambda__1___closed__9; lean_object* l_Lean_Parser_Tactic_locationHyp_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlts_formatter___closed__4; +lean_object* l_Lean_Parser_Tactic_letrec_formatter___closed__1; +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_traceState(lean_object*); lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__1; @@ -1782,6 +1845,7 @@ lean_object* l_Lean_Parser_Tactic_paren_formatter(lean_object*, lean_object*, le lean_object* l_Lean_Parser_Tactic_matchAlts_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_refine_x21_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__3; +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_rewrite_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_have_parenthesizer___closed__2; @@ -1793,10 +1857,10 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_refine(lean_object*); lean_object* l_Lean_Parser_Tactic_withAlts_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__5; +extern lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__7; lean_object* l_Lean_Parser_Tactic_let_x21_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_focus___elambda__1___closed__10; lean_object* l_Lean_Parser_Tactic_rwRule___closed__5; -lean_object* l_Lean_Parser_checkColGtFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_generalize_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_underscore_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_skip___closed__4; @@ -1835,6 +1899,7 @@ lean_object* l_Lean_Parser_Tactic_paren___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_clear_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_changeWith___elambda__1___closed__7; extern lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__8; +lean_object* l_Lean_Parser_Tactic_letrec___closed__5; lean_object* l_Lean_Parser_Tactic_clear_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_have_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__9; @@ -2150,7 +2215,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Tactic_intro___elambda__1___closed__12; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -8769,7 +8834,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_generalize___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -8885,7 +8950,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_generalize___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(51u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -9346,6 +9411,513 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown tactic"); +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 4); +lean_dec(x_5); +x_6 = !lean_is_exclusive(x_4); +if (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_2, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_1, 4, x_8); +lean_inc(x_1); +x_9 = l_Lean_Parser_ident___elambda__1(x_1, x_2); +x_10 = lean_ctor_get(x_9, 3); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_12 = 1; +x_13 = l_Lean_Parser_errorAtSavedPosFn(x_11, x_12, x_1, x_9); +return x_13; +} +else +{ +lean_dec(x_10); +lean_dec(x_1); +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_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +x_16 = lean_ctor_get(x_4, 2); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_4); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_1, 4, x_19); +lean_ctor_set(x_1, 0, x_17); +lean_inc(x_1); +x_20 = l_Lean_Parser_ident___elambda__1(x_1, x_2); +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_22 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_23 = 1; +x_24 = l_Lean_Parser_errorAtSavedPosFn(x_22, x_23, x_1, x_20); +return x_24; +} +else +{ +lean_dec(x_21); +lean_dec(x_1); +return x_20; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_25 = lean_ctor_get(x_1, 0); +x_26 = lean_ctor_get(x_1, 1); +x_27 = lean_ctor_get(x_1, 2); +x_28 = lean_ctor_get(x_1, 3); +x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_30 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_31 = lean_ctor_get(x_1, 5); +lean_inc(x_31); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_1); +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +x_34 = lean_ctor_get(x_25, 2); +lean_inc(x_34); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + lean_ctor_release(x_25, 2); + x_35 = x_25; +} else { + lean_dec_ref(x_25); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 3, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_34); +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_26); +lean_ctor_set(x_39, 2, x_27); +lean_ctor_set(x_39, 3, x_28); +lean_ctor_set(x_39, 4, x_38); +lean_ctor_set(x_39, 5, x_31); +lean_ctor_set_uint8(x_39, sizeof(void*)*6, x_29); +lean_ctor_set_uint8(x_39, sizeof(void*)*6 + 1, x_30); +lean_inc(x_39); +x_40 = l_Lean_Parser_ident___elambda__1(x_39, x_2); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_43 = 1; +x_44 = l_Lean_Parser_errorAtSavedPosFn(x_42, x_43, x_39, x_40); +return x_44; +} +else +{ +lean_dec(x_41); +lean_dec(x_39); +return x_40; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +x_2 = l_Lean_Parser_FirstTokens_toStr___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_FirstTokens_toStr___closed__2; +x_2 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__2; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_unknown___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_3 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__3; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__6; +x_6 = 1; +x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_unknown___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Tactic_unknown___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_unknown___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_unknown___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_unknown___closed__4; +x_2 = l_Lean_Parser_Tactic_unknown___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_unknown___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_unknown(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; +x_3 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_unknown; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_FirstTokens_toStr___closed__2; +x_2 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__2; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_formatter___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___boxed), 6, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_ident_formatter___closed__2; +x_2 = l_Lean_Parser_Tactic_unknown_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_unknown_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_unknown_formatter___closed__4; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_unknown_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_unknown_formatter___closed__1; +x_7 = l_Lean_Parser_Tactic_unknown_formatter___closed__5; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_unknown_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_formatter(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_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_4 = l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_FirstTokens_toStr___closed__2; +x_2 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__2; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed), 6, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_ident_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_unknown_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer(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_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Tactic_unknown___elambda__1___closed__1; +x_4 = l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__1() { _start: { @@ -9816,156 +10388,152 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Init_Data_Repr___instance__15___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +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_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = l_Init_Data_Repr___instance__15___closed__1; +x_12 = lean_string_append(x_11, x_1); +x_13 = lean_string_append(x_12, x_11); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_18 = l_Lean_Parser_Tactic_locationWildcard___closed__4; -x_19 = 1; -x_20 = l_Lean_Parser_orelseFnCore(x_18, x_2, x_19, x_3, x_16); -return x_20; +lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_16 = l_Lean_Parser_Tactic_locationWildcard___closed__4; +x_17 = 1; +x_18 = l_Lean_Parser_orelseFnCore(x_16, x_2, x_17, x_3, x_14); +return x_18; } else { -lean_dec(x_17); +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -return x_16; +return x_14; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_21 = lean_ctor_get(x_6, 0); -x_22 = lean_ctor_get(x_6, 1); -x_23 = lean_ctor_get(x_6, 2); -lean_inc(x_23); -lean_inc(x_22); +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_19 = lean_ctor_get(x_6, 0); +x_20 = lean_ctor_get(x_6, 1); +x_21 = lean_ctor_get(x_6, 2); lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_6); -x_24 = lean_ctor_get(x_4, 1); -lean_inc(x_24); -x_25 = l_Lean_FileMap_toPosition(x_23, x_24); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_3, 4, x_27); -lean_ctor_set(x_3, 0, x_26); -x_28 = l_Init_Data_Repr___instance__15___closed__1; -x_29 = lean_string_append(x_28, x_1); -x_30 = lean_string_append(x_29, x_28); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_3, 4, x_24); +lean_ctor_set(x_3, 0, x_22); +x_25 = l_Init_Data_Repr___instance__15___closed__1; +x_26 = lean_string_append(x_25, x_1); +x_27 = lean_string_append(x_26, x_25); lean_inc(x_3); -x_31 = l_Lean_Parser_symbolFnAux(x_1, 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) +x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_3, x_4); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_33; uint8_t x_34; lean_object* x_35; -x_33 = l_Lean_Parser_Tactic_locationWildcard___closed__4; -x_34 = 1; -x_35 = l_Lean_Parser_orelseFnCore(x_33, x_2, x_34, x_3, x_31); -return x_35; +lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_30 = l_Lean_Parser_Tactic_locationWildcard___closed__4; +x_31 = 1; +x_32 = l_Lean_Parser_orelseFnCore(x_30, x_2, x_31, x_3, x_28); +return x_32; } else { -lean_dec(x_32); +lean_dec(x_29); lean_dec(x_3); lean_dec(x_2); -return x_31; +return x_28; } } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_36 = lean_ctor_get(x_3, 0); -x_37 = lean_ctor_get(x_3, 1); -x_38 = lean_ctor_get(x_3, 2); -x_39 = lean_ctor_get(x_3, 3); -x_40 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_41 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_42 = lean_ctor_get(x_3, 5); -lean_inc(x_42); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_33 = lean_ctor_get(x_3, 0); +x_34 = lean_ctor_get(x_3, 1); +x_35 = lean_ctor_get(x_3, 2); +x_36 = lean_ctor_get(x_3, 3); +x_37 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_38 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_39 = lean_ctor_get(x_3, 5); lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); lean_dec(x_3); -x_43 = lean_ctor_get(x_36, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_36, 1); -lean_inc(x_44); -x_45 = lean_ctor_get(x_36, 2); +x_40 = lean_ctor_get(x_33, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_33, 2); +lean_inc(x_42); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_43 = x_33; +} else { + lean_dec_ref(x_33); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 3, 0); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_ctor_get(x_4, 1); lean_inc(x_45); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_46 = x_36; -} else { - lean_dec_ref(x_36); - x_46 = lean_box(0); -} -x_47 = lean_ctor_get(x_4, 1); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_34); +lean_ctor_set(x_47, 2, x_35); +lean_ctor_set(x_47, 3, x_36); +lean_ctor_set(x_47, 4, x_46); +lean_ctor_set(x_47, 5, x_39); +lean_ctor_set_uint8(x_47, sizeof(void*)*6, x_37); +lean_ctor_set_uint8(x_47, sizeof(void*)*6 + 1, x_38); +x_48 = l_Init_Data_Repr___instance__15___closed__1; +x_49 = lean_string_append(x_48, x_1); +x_50 = lean_string_append(x_49, x_48); lean_inc(x_47); -x_48 = l_Lean_FileMap_toPosition(x_45, x_47); -if (lean_is_scalar(x_46)) { - x_49 = lean_alloc_ctor(0, 3, 0); -} else { - x_49 = x_46; -} -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_44); -lean_ctor_set(x_49, 2, x_45); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_48); -x_51 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -lean_ctor_set(x_51, 4, x_50); -lean_ctor_set(x_51, 5, x_42); -lean_ctor_set_uint8(x_51, sizeof(void*)*6, x_40); -lean_ctor_set_uint8(x_51, sizeof(void*)*6 + 1, x_41); -x_52 = l_Init_Data_Repr___instance__15___closed__1; -x_53 = lean_string_append(x_52, x_1); -x_54 = lean_string_append(x_53, x_52); -lean_inc(x_51); -x_55 = l_Lean_Parser_symbolFnAux(x_1, x_54, x_51, x_4); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -if (lean_obj_tag(x_56) == 0) +x_51 = l_Lean_Parser_symbolFnAux(x_1, x_50, x_47, x_4); +x_52 = lean_ctor_get(x_51, 3); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_57; uint8_t x_58; lean_object* x_59; -x_57 = l_Lean_Parser_Tactic_locationWildcard___closed__4; -x_58 = 1; -x_59 = l_Lean_Parser_orelseFnCore(x_57, x_2, x_58, x_51, x_55); -return x_59; +lean_object* x_53; uint8_t x_54; lean_object* x_55; +x_53 = l_Lean_Parser_Tactic_locationWildcard___closed__4; +x_54 = 1; +x_55 = l_Lean_Parser_orelseFnCore(x_53, x_2, x_54, x_47, x_51); +return x_55; } else { -lean_dec(x_56); -lean_dec(x_51); +lean_dec(x_52); +lean_dec(x_47); lean_dec(x_2); -return x_55; +return x_51; } } } @@ -13735,151 +14303,147 @@ lean_dec(x_8); x_9 = !lean_is_exclusive(x_4); 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; -x_10 = lean_ctor_get(x_4, 2); -x_11 = lean_ctor_get(x_2, 1); -lean_inc(x_11); -x_12 = l_Lean_FileMap_toPosition(x_10, x_11); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_1, 4, x_13); -x_14 = l_Lean_Parser_Term_matchAlts___closed__4; -x_15 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_1, 4, x_11); +x_12 = l_Lean_Parser_Term_matchAlts___closed__4; +x_13 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; lean_inc(x_1); -x_16 = l_Lean_Parser_symbolFnAux(x_14, x_15, x_1, x_2); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_14 = l_Lean_Parser_symbolFnAux(x_12, x_13, x_1, x_2); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_18 = 0; -x_19 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; -x_20 = l_Lean_Parser_sepBy1Fn(x_18, x_5, x_19, x_1, x_16); -return x_20; +uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_16 = 0; +x_17 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; +x_18 = l_Lean_Parser_sepBy1Fn(x_16, x_5, x_17, x_1, x_14); +return x_18; } else { -lean_dec(x_17); +lean_dec(x_15); lean_dec(x_1); lean_dec(x_5); -return x_16; +return x_14; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_19 = lean_ctor_get(x_4, 0); +x_20 = lean_ctor_get(x_4, 1); +x_21 = lean_ctor_get(x_4, 2); lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_4); -x_24 = lean_ctor_get(x_2, 1); -lean_inc(x_24); -x_25 = l_Lean_FileMap_toPosition(x_23, x_24); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_1, 4, x_27); -lean_ctor_set(x_1, 0, x_26); -x_28 = l_Lean_Parser_Term_matchAlts___closed__4; -x_29 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_1, 4, x_24); +lean_ctor_set(x_1, 0, x_22); +x_25 = l_Lean_Parser_Term_matchAlts___closed__4; +x_26 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; lean_inc(x_1); -x_30 = l_Lean_Parser_symbolFnAux(x_28, x_29, x_1, x_2); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_27 = l_Lean_Parser_symbolFnAux(x_25, x_26, x_1, x_2); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_32 = 0; -x_33 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; -x_34 = l_Lean_Parser_sepBy1Fn(x_32, x_5, x_33, x_1, x_30); -return x_34; +uint8_t x_29; lean_object* x_30; lean_object* x_31; +x_29 = 0; +x_30 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; +x_31 = l_Lean_Parser_sepBy1Fn(x_29, x_5, x_30, x_1, x_27); +return x_31; } else { -lean_dec(x_31); +lean_dec(x_28); lean_dec(x_1); lean_dec(x_5); -return x_30; +return x_27; } } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_35 = lean_ctor_get(x_1, 1); -x_36 = lean_ctor_get(x_1, 2); -x_37 = lean_ctor_get(x_1, 3); -x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_39 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_40 = lean_ctor_get(x_1, 5); -lean_inc(x_40); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_32 = lean_ctor_get(x_1, 1); +x_33 = lean_ctor_get(x_1, 2); +x_34 = lean_ctor_get(x_1, 3); +x_35 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_37 = lean_ctor_get(x_1, 5); lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); lean_dec(x_1); -x_41 = lean_ctor_get(x_4, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_4, 1); -lean_inc(x_42); -x_43 = lean_ctor_get(x_4, 2); -lean_inc(x_43); +x_38 = lean_ctor_get(x_4, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_4, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_4, 2); +lean_inc(x_40); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); lean_ctor_release(x_4, 2); - x_44 = x_4; + x_41 = x_4; } else { lean_dec_ref(x_4); - x_44 = lean_box(0); + x_41 = lean_box(0); } -x_45 = lean_ctor_get(x_2, 1); -lean_inc(x_45); -x_46 = l_Lean_FileMap_toPosition(x_43, x_45); -if (lean_is_scalar(x_44)) { - x_47 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 3, 0); } else { - x_47 = x_44; + x_42 = x_41; } -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_42); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_46); -x_49 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_35); -lean_ctor_set(x_49, 2, x_36); -lean_ctor_set(x_49, 3, x_37); -lean_ctor_set(x_49, 4, x_48); -lean_ctor_set(x_49, 5, x_40); -lean_ctor_set_uint8(x_49, sizeof(void*)*6, x_38); -lean_ctor_set_uint8(x_49, sizeof(void*)*6 + 1, x_39); -x_50 = l_Lean_Parser_Term_matchAlts___closed__4; -x_51 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set(x_42, 2, x_40); +x_43 = lean_ctor_get(x_2, 1); +lean_inc(x_43); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_32); +lean_ctor_set(x_45, 2, x_33); +lean_ctor_set(x_45, 3, x_34); +lean_ctor_set(x_45, 4, x_44); +lean_ctor_set(x_45, 5, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_35); +lean_ctor_set_uint8(x_45, sizeof(void*)*6 + 1, x_36); +x_46 = l_Lean_Parser_Term_matchAlts___closed__4; +x_47 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__3; +lean_inc(x_45); +x_48 = l_Lean_Parser_symbolFnAux(x_46, x_47, x_45, x_2); +x_49 = lean_ctor_get(x_48, 3); lean_inc(x_49); -x_52 = l_Lean_Parser_symbolFnAux(x_50, x_51, x_49, x_2); -x_53 = lean_ctor_get(x_52, 3); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) +if (lean_obj_tag(x_49) == 0) { -uint8_t x_54; lean_object* x_55; lean_object* x_56; -x_54 = 0; -x_55 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; -x_56 = l_Lean_Parser_sepBy1Fn(x_54, x_5, x_55, x_49, x_52); -return x_56; +uint8_t x_50; lean_object* x_51; lean_object* x_52; +x_50 = 0; +x_51 = l_Lean_Parser_Tactic_inductionAlts___elambda__1___closed__1; +x_52 = l_Lean_Parser_sepBy1Fn(x_50, x_5, x_51, x_45, x_48); +return x_52; } else { -lean_dec(x_53); lean_dec(x_49); +lean_dec(x_45); lean_dec(x_5); -return x_52; +return x_48; } } } @@ -16020,165 +16584,161 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -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_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_1, 4, x_12); -x_13 = l_Lean_Parser_Term_matchAlts___closed__6; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_1, 4, x_10); +x_11 = l_Lean_Parser_Term_matchAlts___closed__6; lean_inc(x_1); -x_14 = l_Lean_Parser_optionalFn(x_13, x_1, x_2); -x_15 = lean_ctor_get(x_14, 3); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +x_12 = l_Lean_Parser_optionalFn(x_11, x_1, x_2); +x_13 = lean_ctor_get(x_12, 3); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = 0; -x_17 = l_Lean_Parser_Tactic_matchAlt___closed__5; -x_18 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; -x_19 = l_Lean_Parser_sepBy1Fn(x_16, x_17, x_18, x_1, x_14); +uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = 0; +x_15 = l_Lean_Parser_Tactic_matchAlt___closed__5; +x_16 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; +x_17 = l_Lean_Parser_sepBy1Fn(x_14, x_15, x_16, x_1, x_12); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_4); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_13); +lean_dec(x_1); x_20 = l_Lean_nullKind; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_4); +x_21 = l_Lean_Parser_ParserState_mkNode(x_12, x_20, x_4); return x_21; } -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_15); -lean_dec(x_1); -x_22 = l_Lean_nullKind; -x_23 = l_Lean_Parser_ParserState_mkNode(x_14, x_22, x_4); -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_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_24 = lean_ctor_get(x_6, 0); -x_25 = lean_ctor_get(x_6, 1); -x_26 = lean_ctor_get(x_6, 2); -lean_inc(x_26); -lean_inc(x_25); +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; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +x_24 = lean_ctor_get(x_6, 2); lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_6); -x_27 = lean_ctor_get(x_2, 1); -lean_inc(x_27); -x_28 = l_Lean_FileMap_toPosition(x_26, x_27); -x_29 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_25); -lean_ctor_set(x_29, 2, x_26); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_1, 4, x_30); -lean_ctor_set(x_1, 0, x_29); -x_31 = l_Lean_Parser_Term_matchAlts___closed__6; +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_24); +x_26 = lean_ctor_get(x_2, 1); +lean_inc(x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_1, 4, x_27); +lean_ctor_set(x_1, 0, x_25); +x_28 = l_Lean_Parser_Term_matchAlts___closed__6; lean_inc(x_1); -x_32 = l_Lean_Parser_optionalFn(x_31, x_1, x_2); -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +x_29 = l_Lean_Parser_optionalFn(x_28, x_1, x_2); +x_30 = lean_ctor_get(x_29, 3); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = 0; -x_35 = l_Lean_Parser_Tactic_matchAlt___closed__5; -x_36 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; -x_37 = l_Lean_Parser_sepBy1Fn(x_34, x_35, x_36, x_1, x_32); -x_38 = l_Lean_nullKind; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_4); -return x_39; +uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_31 = 0; +x_32 = l_Lean_Parser_Tactic_matchAlt___closed__5; +x_33 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; +x_34 = l_Lean_Parser_sepBy1Fn(x_31, x_32, x_33, x_1, x_29); +x_35 = l_Lean_nullKind; +x_36 = l_Lean_Parser_ParserState_mkNode(x_34, x_35, x_4); +return x_36; } else { -lean_object* x_40; lean_object* x_41; -lean_dec(x_33); +lean_object* x_37; lean_object* x_38; +lean_dec(x_30); lean_dec(x_1); -x_40 = l_Lean_nullKind; -x_41 = l_Lean_Parser_ParserState_mkNode(x_32, x_40, x_4); -return x_41; +x_37 = l_Lean_nullKind; +x_38 = l_Lean_Parser_ParserState_mkNode(x_29, x_37, x_4); +return x_38; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t 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; -x_42 = lean_ctor_get(x_1, 0); -x_43 = lean_ctor_get(x_1, 1); -x_44 = lean_ctor_get(x_1, 2); -x_45 = lean_ctor_get(x_1, 3); -x_46 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_47 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_48 = lean_ctor_get(x_1, 5); -lean_inc(x_48); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_39 = lean_ctor_get(x_1, 0); +x_40 = lean_ctor_get(x_1, 1); +x_41 = lean_ctor_get(x_1, 2); +x_42 = lean_ctor_get(x_1, 3); +x_43 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_44 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_45 = lean_ctor_get(x_1, 5); lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_1); -x_49 = lean_ctor_get(x_42, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_42, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_42, 2); +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_39, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_39, 2); +lean_inc(x_48); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_49 = x_39; +} else { + lean_dec_ref(x_39); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 3, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_47); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_ctor_get(x_2, 1); lean_inc(x_51); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - lean_ctor_release(x_42, 2); - x_52 = x_42; -} else { - lean_dec_ref(x_42); - x_52 = lean_box(0); -} -x_53 = lean_ctor_get(x_2, 1); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_40); +lean_ctor_set(x_53, 2, x_41); +lean_ctor_set(x_53, 3, x_42); +lean_ctor_set(x_53, 4, x_52); +lean_ctor_set(x_53, 5, x_45); +lean_ctor_set_uint8(x_53, sizeof(void*)*6, x_43); +lean_ctor_set_uint8(x_53, sizeof(void*)*6 + 1, x_44); +x_54 = l_Lean_Parser_Term_matchAlts___closed__6; lean_inc(x_53); -x_54 = l_Lean_FileMap_toPosition(x_51, x_53); -if (lean_is_scalar(x_52)) { - x_55 = lean_alloc_ctor(0, 3, 0); -} else { - x_55 = x_52; -} -lean_ctor_set(x_55, 0, x_49); -lean_ctor_set(x_55, 1, x_50); -lean_ctor_set(x_55, 2, x_51); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_54); -x_57 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_43); -lean_ctor_set(x_57, 2, x_44); -lean_ctor_set(x_57, 3, x_45); -lean_ctor_set(x_57, 4, x_56); -lean_ctor_set(x_57, 5, x_48); -lean_ctor_set_uint8(x_57, sizeof(void*)*6, x_46); -lean_ctor_set_uint8(x_57, sizeof(void*)*6 + 1, x_47); -x_58 = l_Lean_Parser_Term_matchAlts___closed__6; -lean_inc(x_57); -x_59 = l_Lean_Parser_optionalFn(x_58, x_57, x_2); -x_60 = lean_ctor_get(x_59, 3); -lean_inc(x_60); -if (lean_obj_tag(x_60) == 0) +x_55 = l_Lean_Parser_optionalFn(x_54, x_53, x_2); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) { -uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_61 = 0; -x_62 = l_Lean_Parser_Tactic_matchAlt___closed__5; -x_63 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; -x_64 = l_Lean_Parser_sepBy1Fn(x_61, x_62, x_63, x_57, x_59); -x_65 = l_Lean_nullKind; -x_66 = l_Lean_Parser_ParserState_mkNode(x_64, x_65, x_4); -return x_66; +uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_57 = 0; +x_58 = l_Lean_Parser_Tactic_matchAlt___closed__5; +x_59 = l_Lean_Parser_Tactic_matchAlts___elambda__1___closed__1; +x_60 = l_Lean_Parser_sepBy1Fn(x_57, x_58, x_59, x_53, x_55); +x_61 = l_Lean_nullKind; +x_62 = l_Lean_Parser_ParserState_mkNode(x_60, x_61, x_4); +return x_62; } else { -lean_object* x_67; lean_object* x_68; -lean_dec(x_60); -lean_dec(x_57); -x_67 = l_Lean_nullKind; -x_68 = l_Lean_Parser_ParserState_mkNode(x_59, x_67, x_4); -return x_68; +lean_object* x_63; lean_object* x_64; +lean_dec(x_56); +lean_dec(x_53); +x_63 = l_Lean_nullKind; +x_64 = l_Lean_Parser_ParserState_mkNode(x_55, x_63, x_4); +return x_64; } } } @@ -18586,51 +19146,53 @@ return x_5; static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__2; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__3; +x_2 = l_Lean_Parser_Term_haveDecl___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__4; -x_2 = l_Lean_Parser_Term_haveDecl___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; +x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -18640,20 +19202,8 @@ static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_have___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__6; +x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -18664,10 +19214,10 @@ lean_object* l_Lean_Parser_Tactic_have___elambda__1(lean_object* x_1, lean_objec _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_3 = l_Lean_Parser_Tactic_have___elambda__1___closed__3; +x_3 = l_Lean_Parser_Tactic_have___elambda__1___closed__2; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Tactic_have___elambda__1___closed__7; +x_5 = l_Lean_Parser_Tactic_have___elambda__1___closed__6; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -18677,7 +19227,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_have___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_2 = l_Lean_Parser_Term_have___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -18697,7 +19247,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_have___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__3; +x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Tactic_have___closed__2; @@ -18738,7 +19288,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; -x_3 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_3 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_4 = 1; x_5 = l_Lean_Parser_Tactic_have; x_6 = lean_unsigned_to_nat(0u); @@ -18750,8 +19300,8 @@ static lean_object* _init_l_Lean_Parser_Tactic_have_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__2; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); @@ -18765,7 +19315,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_have_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_have_formatter___closed__4; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -18798,7 +19348,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_3 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_4 = l___regBuiltin_Lean_Parser_Tactic_have_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -18808,8 +19358,8 @@ static lean_object* _init_l_Lean_Parser_Tactic_have_parenthesizer___closed__1() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__2; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); @@ -18823,7 +19373,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_have_parenthesizer___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_have_parenthesizer___closed__4; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -18856,7 +19406,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_3 = l_myMacro____x40_Init_Tactics___hyg_502____closed__1; x_4 = l___regBuiltin_Lean_Parser_Tactic_have_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -20008,6 +20558,263 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2; +x_2 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__2; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_letrec___elambda__1___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_letrec___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_3 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__3; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__5; +x_6 = 1; +x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_letrec___closed__4; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Tactic_letrec___closed__1; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_letrec___closed__2; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_letrec___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_letrec___closed__3; +x_2 = l_Lean_Parser_Tactic_letrec___closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_letrec___closed__5; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_letrec(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; +x_3 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_letrec; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__2; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_letrec_formatter___closed__7; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_letrec_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_letrec_formatter___closed__1; +x_7 = l_Lean_Parser_Tactic_letrec_formatter___closed__2; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_letrec_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_formatter(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_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_4 = l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__2; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_letrec_parenthesizer___closed__7; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_letrec_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_letrec_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer(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_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Tactic_letrec___elambda__1___closed__1; +x_4 = l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Parser_Term(lean_object*); static bool _G_initialized = false; @@ -21317,6 +22124,67 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_generalize_parenthesizer_ res = l___regBuiltin_Lean_Parser_Tactic_generalize_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__1); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__2); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__3); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__4); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__5); +l_Lean_Parser_Tactic_unknown___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_unknown___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___elambda__1___closed__6); +l_Lean_Parser_Tactic_unknown___closed__1 = _init_l_Lean_Parser_Tactic_unknown___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__1); +l_Lean_Parser_Tactic_unknown___closed__2 = _init_l_Lean_Parser_Tactic_unknown___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__2); +l_Lean_Parser_Tactic_unknown___closed__3 = _init_l_Lean_Parser_Tactic_unknown___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__3); +l_Lean_Parser_Tactic_unknown___closed__4 = _init_l_Lean_Parser_Tactic_unknown___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__4); +l_Lean_Parser_Tactic_unknown___closed__5 = _init_l_Lean_Parser_Tactic_unknown___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__5); +l_Lean_Parser_Tactic_unknown___closed__6 = _init_l_Lean_Parser_Tactic_unknown___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown___closed__6); +l_Lean_Parser_Tactic_unknown = _init_l_Lean_Parser_Tactic_unknown(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown); +res = l___regBuiltinParser_Lean_Parser_Tactic_unknown(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_unknown_formatter___closed__1 = _init_l_Lean_Parser_Tactic_unknown_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_formatter___closed__1); +l_Lean_Parser_Tactic_unknown_formatter___closed__2 = _init_l_Lean_Parser_Tactic_unknown_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_formatter___closed__2); +l_Lean_Parser_Tactic_unknown_formatter___closed__3 = _init_l_Lean_Parser_Tactic_unknown_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_formatter___closed__3); +l_Lean_Parser_Tactic_unknown_formatter___closed__4 = _init_l_Lean_Parser_Tactic_unknown_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_formatter___closed__4); +l_Lean_Parser_Tactic_unknown_formatter___closed__5 = _init_l_Lean_Parser_Tactic_unknown_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_formatter___closed__5); +l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_unknown_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_parenthesizer___closed__1); +l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2); +l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3 = _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_parenthesizer___closed__3); +l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4 = _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_parenthesizer___closed__4); +l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5 = _init_l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_unknown_parenthesizer___closed__5); +l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__1); l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__2(); @@ -22799,8 +23667,6 @@ l_Lean_Parser_Tactic_have___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_have___elambda__1___closed__5); l_Lean_Parser_Tactic_have___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_have___elambda__1___closed__6(); lean_mark_persistent(l_Lean_Parser_Tactic_have___elambda__1___closed__6); -l_Lean_Parser_Tactic_have___elambda__1___closed__7 = _init_l_Lean_Parser_Tactic_have___elambda__1___closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_have___elambda__1___closed__7); l_Lean_Parser_Tactic_have___closed__1 = _init_l_Lean_Parser_Tactic_have___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_have___closed__1); l_Lean_Parser_Tactic_have___closed__2 = _init_l_Lean_Parser_Tactic_have___closed__2(); @@ -23026,6 +23892,49 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_let_x21_parenthesizer___c res = l___regBuiltin_Lean_Parser_Tactic_let_x21_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Tactic_letrec___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___elambda__1___closed__1); +l_Lean_Parser_Tactic_letrec___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___elambda__1___closed__2); +l_Lean_Parser_Tactic_letrec___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___elambda__1___closed__3); +l_Lean_Parser_Tactic_letrec___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___elambda__1___closed__4); +l_Lean_Parser_Tactic_letrec___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_letrec___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___elambda__1___closed__5); +l_Lean_Parser_Tactic_letrec___closed__1 = _init_l_Lean_Parser_Tactic_letrec___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__1); +l_Lean_Parser_Tactic_letrec___closed__2 = _init_l_Lean_Parser_Tactic_letrec___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__2); +l_Lean_Parser_Tactic_letrec___closed__3 = _init_l_Lean_Parser_Tactic_letrec___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__3); +l_Lean_Parser_Tactic_letrec___closed__4 = _init_l_Lean_Parser_Tactic_letrec___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__4); +l_Lean_Parser_Tactic_letrec___closed__5 = _init_l_Lean_Parser_Tactic_letrec___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__5); +l_Lean_Parser_Tactic_letrec = _init_l_Lean_Parser_Tactic_letrec(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec); +res = l___regBuiltinParser_Lean_Parser_Tactic_letrec(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_letrec_formatter___closed__1 = _init_l_Lean_Parser_Tactic_letrec_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec_formatter___closed__1); +l_Lean_Parser_Tactic_letrec_formatter___closed__2 = _init_l_Lean_Parser_Tactic_letrec_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec_formatter___closed__2); +l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_letrec_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_letrec_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec_parenthesizer___closed__1); +l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_letrec_parenthesizer___closed__2); +l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_letrec_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index eafffc4d39..8c153077a7 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -774,6 +774,7 @@ lean_object* l_Lean_Parser_Term_andM___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_seq___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_matchAlts___closed__6; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__9; lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_paren_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -803,7 +804,6 @@ lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_optIdent___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__2; -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_ensureExpectedType___closed__4; @@ -821,6 +821,7 @@ lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_bnot___closed__3; lean_object* l_Lean_Parser_Term_mul___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_arrayRef___closed__4; +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__8; lean_object* l_Lean_Parser_Term_decide_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__2; lean_object* l_Lean_Parser_Term_parser_x21___closed__3; @@ -1011,7 +1012,6 @@ extern lean_object* l_List_repr___rarg___closed__3; lean_object* l_Lean_Parser_Term_let_x21_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__4; lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter(lean_object*); lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); @@ -1101,7 +1101,6 @@ lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_not___closed__2; lean_object* l_Lean_Parser_Term_heq_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nativeRefl_formatter___closed__2; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2088,6 +2087,7 @@ lean_object* l_Lean_Parser_Term_ge_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_seqRight(lean_object*); lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__4; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__12; @@ -2573,7 +2573,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter___closed__1; lean_object* l_Lean_Parser_Term_have___closed__8; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__6; -lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__23; lean_object* l_Lean_Parser_Term_and___closed__2; lean_object* l_Lean_Parser_Term_prop___closed__4; @@ -2793,6 +2792,7 @@ lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_sub___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_emptyC_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInstLVal___closed__2; +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; lean_object* l_Lean_Parser_Term_let_x2a_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_if___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__5; @@ -2825,7 +2825,6 @@ lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_binderIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nomatch___closed__1; lean_object* l_Lean_Parser_Term_not_parenthesizer___closed__4; -lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__5; @@ -2888,6 +2887,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_parenthesizer___closed__ lean_object* l_Lean_Parser_Term_dollar_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_if_formatter___closed__1; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__1; +lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__8; lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_andM_formatter___closed__1; @@ -3992,6 +3992,7 @@ lean_object* l_Lean_Parser_Term_lt; lean_object* l_Lean_Parser_Term_let_x2a___closed__4; lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__15; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; +lean_object* l_Lean_Parser_checkColGtFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__2; lean_object* l_Lean_Parser_Term_matchAlts___closed__5; lean_object* l_Lean_Parser_Term_bor___elambda__1___closed__4; @@ -4475,7 +4476,6 @@ lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__4; lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__5; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__1; -lean_object* l_Lean_Parser_checkColGtFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__4; lean_object* l_Lean_Parser_Term_dollar___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__5; @@ -4728,20 +4728,22 @@ 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; uint8_t x_17; x_10 = lean_ctor_get(x_7, 2); +lean_inc(x_10); x_11 = lean_ctor_get(x_5, 1); lean_inc(x_11); -x_12 = l_Lean_FileMap_toPosition(x_10, x_11); -lean_inc(x_12); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_4, 4, x_13); -x_14 = lean_ctor_get(x_5, 0); -lean_inc(x_14); -x_15 = lean_array_get_size(x_14); -lean_dec(x_14); -x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_4, 4, x_12); +x_13 = lean_ctor_get(x_5, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = l_Lean_FileMap_toPosition(x_10, x_11); +lean_dec(x_10); +x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); -lean_dec(x_12); +lean_dec(x_15); x_17 = lean_nat_dec_le(x_16, x_16); lean_dec(x_16); if (x_17 == 0) @@ -4754,7 +4756,7 @@ lean_dec(x_1); x_18 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_19 = l_Lean_Parser_ParserState_mkError(x_5, x_18); x_20 = l_Lean_nullKind; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_15); +x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_14); return x_21; } else @@ -4776,15 +4778,15 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_inc(x_4); x_26 = l_Lean_Parser_optionalFn(x_2, x_4, x_24); x_27 = l_Lean_nullKind; -lean_inc(x_15); -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_15); +lean_inc(x_14); +x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_14); x_29 = lean_ctor_get(x_28, 3); lean_inc(x_29); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; x_30 = l_Lean_Parser_manyAux(x_3, x_4, x_28); -x_31 = l_Lean_Parser_ParserState_mkNode(x_30, x_27, x_15); +x_31 = l_Lean_Parser_ParserState_mkNode(x_30, x_27, x_14); return x_31; } else @@ -4793,7 +4795,7 @@ lean_object* x_32; lean_dec(x_29); lean_dec(x_4); lean_dec(x_3); -x_32 = l_Lean_Parser_ParserState_mkNode(x_28, x_27, x_15); +x_32 = l_Lean_Parser_ParserState_mkNode(x_28, x_27, x_14); return x_32; } } @@ -4803,15 +4805,15 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_25); lean_dec(x_2); x_33 = l_Lean_nullKind; -lean_inc(x_15); -x_34 = l_Lean_Parser_ParserState_mkNode(x_24, x_33, x_15); +lean_inc(x_14); +x_34 = l_Lean_Parser_ParserState_mkNode(x_24, x_33, x_14); 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; x_36 = l_Lean_Parser_manyAux(x_3, x_4, x_34); -x_37 = l_Lean_Parser_ParserState_mkNode(x_36, x_33, x_15); +x_37 = l_Lean_Parser_ParserState_mkNode(x_36, x_33, x_14); return x_37; } else @@ -4820,7 +4822,7 @@ lean_object* x_38; lean_dec(x_35); lean_dec(x_4); lean_dec(x_3); -x_38 = l_Lean_Parser_ParserState_mkNode(x_34, x_33, x_15); +x_38 = l_Lean_Parser_ParserState_mkNode(x_34, x_33, x_14); return x_38; } } @@ -4834,7 +4836,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_39 = l_Lean_nullKind; -x_40 = l_Lean_Parser_ParserState_mkNode(x_5, x_39, x_15); +x_40 = l_Lean_Parser_ParserState_mkNode(x_5, x_39, x_14); return x_40; } } @@ -4849,25 +4851,27 @@ lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_dec(x_7); -x_44 = lean_ctor_get(x_5, 1); -lean_inc(x_44); -x_45 = l_Lean_FileMap_toPosition(x_43, x_44); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_42); -lean_ctor_set(x_46, 2, x_43); +lean_inc(x_43); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_44, 2, x_43); +x_45 = lean_ctor_get(x_5, 1); lean_inc(x_45); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_4, 4, x_47); -lean_ctor_set(x_4, 0, x_46); -x_48 = lean_ctor_get(x_5, 0); -lean_inc(x_48); -x_49 = lean_array_get_size(x_48); -lean_dec(x_48); -x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_45); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_4, 4, x_46); +lean_ctor_set(x_4, 0, x_44); +x_47 = lean_ctor_get(x_5, 0); +lean_inc(x_47); +x_48 = lean_array_get_size(x_47); +lean_dec(x_47); +x_49 = l_Lean_FileMap_toPosition(x_43, x_45); +lean_dec(x_43); +x_50 = lean_ctor_get(x_49, 1); lean_inc(x_50); -lean_dec(x_45); +lean_dec(x_49); x_51 = lean_nat_dec_le(x_50, x_50); lean_dec(x_50); if (x_51 == 0) @@ -4880,7 +4884,7 @@ lean_dec(x_1); x_52 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_53 = l_Lean_Parser_ParserState_mkError(x_5, x_52); x_54 = l_Lean_nullKind; -x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_49); +x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_48); return x_55; } else @@ -4902,15 +4906,15 @@ lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_inc(x_4); x_60 = l_Lean_Parser_optionalFn(x_2, x_4, x_58); x_61 = l_Lean_nullKind; -lean_inc(x_49); -x_62 = l_Lean_Parser_ParserState_mkNode(x_60, x_61, x_49); +lean_inc(x_48); +x_62 = l_Lean_Parser_ParserState_mkNode(x_60, x_61, x_48); x_63 = lean_ctor_get(x_62, 3); lean_inc(x_63); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; x_64 = l_Lean_Parser_manyAux(x_3, x_4, x_62); -x_65 = l_Lean_Parser_ParserState_mkNode(x_64, x_61, x_49); +x_65 = l_Lean_Parser_ParserState_mkNode(x_64, x_61, x_48); return x_65; } else @@ -4919,7 +4923,7 @@ lean_object* x_66; lean_dec(x_63); lean_dec(x_4); lean_dec(x_3); -x_66 = l_Lean_Parser_ParserState_mkNode(x_62, x_61, x_49); +x_66 = l_Lean_Parser_ParserState_mkNode(x_62, x_61, x_48); return x_66; } } @@ -4929,15 +4933,15 @@ lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_dec(x_59); lean_dec(x_2); x_67 = l_Lean_nullKind; -lean_inc(x_49); -x_68 = l_Lean_Parser_ParserState_mkNode(x_58, x_67, x_49); +lean_inc(x_48); +x_68 = l_Lean_Parser_ParserState_mkNode(x_58, x_67, x_48); 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; x_70 = l_Lean_Parser_manyAux(x_3, x_4, x_68); -x_71 = l_Lean_Parser_ParserState_mkNode(x_70, x_67, x_49); +x_71 = l_Lean_Parser_ParserState_mkNode(x_70, x_67, x_48); return x_71; } else @@ -4946,7 +4950,7 @@ lean_object* x_72; lean_dec(x_69); lean_dec(x_4); lean_dec(x_3); -x_72 = l_Lean_Parser_ParserState_mkNode(x_68, x_67, x_49); +x_72 = l_Lean_Parser_ParserState_mkNode(x_68, x_67, x_48); return x_72; } } @@ -4960,7 +4964,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_73 = l_Lean_nullKind; -x_74 = l_Lean_Parser_ParserState_mkNode(x_5, x_73, x_49); +x_74 = l_Lean_Parser_ParserState_mkNode(x_5, x_73, x_48); return x_74; } } @@ -4997,49 +5001,51 @@ if (lean_is_exclusive(x_75)) { lean_dec_ref(x_75); x_85 = lean_box(0); } -x_86 = lean_ctor_get(x_5, 1); -lean_inc(x_86); -x_87 = l_Lean_FileMap_toPosition(x_84, x_86); +lean_inc(x_84); if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 3, 0); + x_86 = lean_alloc_ctor(0, 3, 0); } else { - x_88 = x_85; + x_86 = x_85; } -lean_ctor_set(x_88, 0, x_82); -lean_ctor_set(x_88, 1, x_83); -lean_ctor_set(x_88, 2, x_84); +lean_ctor_set(x_86, 0, x_82); +lean_ctor_set(x_86, 1, x_83); +lean_ctor_set(x_86, 2, x_84); +x_87 = lean_ctor_get(x_5, 1); lean_inc(x_87); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_87); -x_90 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_76); -lean_ctor_set(x_90, 2, x_77); -lean_ctor_set(x_90, 3, x_78); -lean_ctor_set(x_90, 4, x_89); -lean_ctor_set(x_90, 5, x_81); -lean_ctor_set_uint8(x_90, sizeof(void*)*6, x_79); -lean_ctor_set_uint8(x_90, sizeof(void*)*6 + 1, x_80); -x_91 = lean_ctor_get(x_5, 0); -lean_inc(x_91); -x_92 = lean_array_get_size(x_91); -lean_dec(x_91); -x_93 = lean_ctor_get(x_87, 1); +lean_inc(x_87); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_76); +lean_ctor_set(x_89, 2, x_77); +lean_ctor_set(x_89, 3, x_78); +lean_ctor_set(x_89, 4, x_88); +lean_ctor_set(x_89, 5, x_81); +lean_ctor_set_uint8(x_89, sizeof(void*)*6, x_79); +lean_ctor_set_uint8(x_89, sizeof(void*)*6 + 1, x_80); +x_90 = lean_ctor_get(x_5, 0); +lean_inc(x_90); +x_91 = lean_array_get_size(x_90); +lean_dec(x_90); +x_92 = l_Lean_FileMap_toPosition(x_84, x_87); +lean_dec(x_84); +x_93 = lean_ctor_get(x_92, 1); lean_inc(x_93); -lean_dec(x_87); +lean_dec(x_92); x_94 = lean_nat_dec_le(x_93, x_93); lean_dec(x_93); if (x_94 == 0) { lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_90); +lean_dec(x_89); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_95 = l_Lean_Parser_many1Indent___lambda__1___closed__1; x_96 = l_Lean_Parser_ParserState_mkError(x_5, x_95); x_97 = l_Lean_nullKind; -x_98 = l_Lean_Parser_ParserState_mkNode(x_96, x_97, x_92); +x_98 = l_Lean_Parser_ParserState_mkNode(x_96, x_97, x_91); return x_98; } else @@ -5051,34 +5057,34 @@ if (lean_obj_tag(x_99) == 0) { lean_object* x_100; lean_object* x_101; lean_object* x_102; x_100 = lean_unsigned_to_nat(0u); -lean_inc(x_90); -x_101 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_100, x_90, x_5); +lean_inc(x_89); +x_101 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_100, x_89, x_5); x_102 = lean_ctor_get(x_101, 3); lean_inc(x_102); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_inc(x_90); -x_103 = l_Lean_Parser_optionalFn(x_2, x_90, x_101); +lean_inc(x_89); +x_103 = l_Lean_Parser_optionalFn(x_2, x_89, x_101); x_104 = l_Lean_nullKind; -lean_inc(x_92); -x_105 = l_Lean_Parser_ParserState_mkNode(x_103, x_104, x_92); +lean_inc(x_91); +x_105 = l_Lean_Parser_ParserState_mkNode(x_103, x_104, x_91); x_106 = lean_ctor_get(x_105, 3); lean_inc(x_106); if (lean_obj_tag(x_106) == 0) { lean_object* x_107; lean_object* x_108; -x_107 = l_Lean_Parser_manyAux(x_3, x_90, x_105); -x_108 = l_Lean_Parser_ParserState_mkNode(x_107, x_104, x_92); +x_107 = l_Lean_Parser_manyAux(x_3, x_89, x_105); +x_108 = l_Lean_Parser_ParserState_mkNode(x_107, x_104, x_91); return x_108; } else { lean_object* x_109; lean_dec(x_106); -lean_dec(x_90); +lean_dec(x_89); lean_dec(x_3); -x_109 = l_Lean_Parser_ParserState_mkNode(x_105, x_104, x_92); +x_109 = l_Lean_Parser_ParserState_mkNode(x_105, x_104, x_91); return x_109; } } @@ -5088,24 +5094,24 @@ lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_dec(x_102); lean_dec(x_2); x_110 = l_Lean_nullKind; -lean_inc(x_92); -x_111 = l_Lean_Parser_ParserState_mkNode(x_101, x_110, x_92); +lean_inc(x_91); +x_111 = l_Lean_Parser_ParserState_mkNode(x_101, x_110, x_91); x_112 = lean_ctor_get(x_111, 3); lean_inc(x_112); if (lean_obj_tag(x_112) == 0) { lean_object* x_113; lean_object* x_114; -x_113 = l_Lean_Parser_manyAux(x_3, x_90, x_111); -x_114 = l_Lean_Parser_ParserState_mkNode(x_113, x_110, x_92); +x_113 = l_Lean_Parser_manyAux(x_3, x_89, x_111); +x_114 = l_Lean_Parser_ParserState_mkNode(x_113, x_110, x_91); return x_114; } else { lean_object* x_115; lean_dec(x_112); -lean_dec(x_90); +lean_dec(x_89); lean_dec(x_3); -x_115 = l_Lean_Parser_ParserState_mkNode(x_111, x_110, x_92); +x_115 = l_Lean_Parser_ParserState_mkNode(x_111, x_110, x_91); return x_115; } } @@ -5114,12 +5120,12 @@ else { lean_object* x_116; lean_object* x_117; lean_dec(x_99); -lean_dec(x_90); +lean_dec(x_89); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_116 = l_Lean_nullKind; -x_117 = l_Lean_Parser_ParserState_mkNode(x_5, x_116, x_92); +x_117 = l_Lean_Parser_ParserState_mkNode(x_5, x_116, x_91); return x_117; } } @@ -6012,7 +6018,7 @@ x_7 = l_Lean_Parser_unicodeSymbolInfo(x_5, x_6); x_8 = lean_alloc_closure((void*)(l_Lean_Parser_unicodeSymbolFn___boxed), 4, 2); lean_closure_set(x_8, 0, x_5); lean_closure_set(x_8, 1, x_6); -x_9 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_9 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_3); x_10 = l_Lean_Parser_categoryParser(x_9, x_3); x_11 = lean_ctor_get(x_10, 0); @@ -6081,7 +6087,7 @@ lean_inc(x_4); x_5 = l_Lean_Parser_symbolInfo(x_4); x_6 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_6, 0, x_4); -x_7 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_7 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_2); x_8 = l_Lean_Parser_categoryParser(x_7, x_2); x_9 = lean_ctor_get(x_8, 0); @@ -6155,7 +6161,7 @@ lean_closure_set(x_8, 1, x_6); x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_add(x_3, x_9); lean_dec(x_3); -x_11 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_11 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_10); x_12 = l_Lean_Parser_categoryParser(x_11, x_10); x_13 = lean_ctor_get(x_12, 0); @@ -6227,7 +6233,7 @@ lean_closure_set(x_6, 0, x_4); x_7 = lean_unsigned_to_nat(1u); x_8 = lean_nat_add(x_2, x_7); lean_dec(x_2); -x_9 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_9 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_8); x_10 = l_Lean_Parser_categoryParser(x_9, x_8); x_11 = lean_ctor_get(x_10, 0); @@ -6472,7 +6478,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_byTactic(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_byTactic; @@ -7337,7 +7343,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_ident(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l___regBuiltinParser_Lean_Parser_Term_ident___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_ident; @@ -7468,7 +7474,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_num(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l___regBuiltinParser_Lean_Parser_Term_num___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_num; @@ -7619,7 +7625,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_str(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l___regBuiltinParser_Lean_Parser_Term_str___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_str; @@ -7770,7 +7776,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_char(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l___regBuiltinParser_Lean_Parser_Term_char___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_char; @@ -8110,7 +8116,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_type(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_type___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_type; @@ -8563,7 +8569,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_sort(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_sort___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_sort; @@ -8908,7 +8914,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_prop(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_prop___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_prop; @@ -9175,7 +9181,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_hole(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_mkHole___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_hole; @@ -9516,7 +9522,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_syntheticHole(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_syntheticHole___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_syntheticHole; @@ -9859,7 +9865,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_sorry(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_sorry; @@ -10180,7 +10186,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_cdot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_cdot; @@ -10545,7 +10551,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_emptyC(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_emptyC___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_emptyC; @@ -11501,7 +11507,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_paren(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__4; x_4 = 1; x_5 = l_Lean_Parser_Term_paren; @@ -12383,7 +12389,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_anonymousCtor; @@ -13088,7 +13094,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_if(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_if___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_if; @@ -13694,43 +13700,25 @@ return x_1; static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("haveAssign"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveAssign___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_Lean_Parser_Term_haveAssign___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__4() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__8; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__5() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -13739,21 +13727,21 @@ x_2 = l_String_trim(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__7() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_2 = l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -13761,24 +13749,24 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__8() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__7; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__9() { +static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -13789,10 +13777,10 @@ lean_object* l_Lean_Parser_Term_haveAssign___elambda__1(lean_object* x_1, lean_o _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_3 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; +x_3 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__9; +x_5 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__7; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -13802,7 +13790,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__3; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -13823,7 +13811,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; x_2 = l_Lean_Parser_Term_haveAssign___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -13843,7 +13831,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___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_haveAssign___elambda__1___closed__4; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_haveAssign___closed__4; @@ -13902,7 +13890,7 @@ lean_inc(x_4); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_5 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_6 = lean_unsigned_to_nat(0u); lean_inc(x_1); x_7 = l_Lean_Parser_categoryParser___elambda__1(x_5, x_6, x_1, x_3); @@ -14024,147 +14012,143 @@ lean_dec(x_6); x_7 = !lean_is_exclusive(x_5); if (x_7 == 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_5, 2); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_FileMap_toPosition(x_8, x_9); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_2, 4, x_11); -x_12 = l_Init_Data_Repr___instance__15___closed__1; -x_13 = lean_string_append(x_12, x_1); -x_14 = lean_string_append(x_13, x_12); +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; +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_2, 4, x_9); +x_10 = l_Init_Data_Repr___instance__15___closed__1; +x_11 = lean_string_append(x_10, x_1); +x_12 = lean_string_append(x_11, x_10); lean_inc(x_2); -x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_13 = l_Lean_Parser_symbolFnAux(x_1, x_12, x_2, x_3); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_17; -x_17 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_15); -return x_17; -} -else -{ -lean_dec(x_16); -lean_dec(x_2); +lean_object* x_15; +x_15 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_13); return x_15; } +else +{ +lean_dec(x_14); +lean_dec(x_2); +return x_13; +} } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_ctor_get(x_5, 1); -x_20 = lean_ctor_get(x_5, 2); -lean_inc(x_20); -lean_inc(x_19); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_ctor_get(x_5, 2); lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); lean_dec(x_5); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); -x_22 = l_Lean_FileMap_toPosition(x_20, x_21); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_19); -lean_ctor_set(x_23, 2, x_20); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_2, 4, x_24); -lean_ctor_set(x_2, 0, x_23); -x_25 = l_Init_Data_Repr___instance__15___closed__1; -x_26 = lean_string_append(x_25, x_1); -x_27 = lean_string_append(x_26, x_25); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_2, 4, x_21); +lean_ctor_set(x_2, 0, x_19); +x_22 = l_Init_Data_Repr___instance__15___closed__1; +x_23 = lean_string_append(x_22, x_1); +x_24 = lean_string_append(x_23, x_22); lean_inc(x_2); -x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_2, x_3); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_25 = l_Lean_Parser_symbolFnAux(x_1, x_24, x_2, x_3); +x_26 = lean_ctor_get(x_25, 3); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_30; -x_30 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_28); -return x_30; +lean_object* x_27; +x_27 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_25); +return x_27; } else { -lean_dec(x_29); +lean_dec(x_26); lean_dec(x_2); -return x_28; +return x_25; } } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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; -x_31 = lean_ctor_get(x_2, 0); -x_32 = lean_ctor_get(x_2, 1); -x_33 = lean_ctor_get(x_2, 2); -x_34 = lean_ctor_get(x_2, 3); -x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_37 = lean_ctor_get(x_2, 5); -lean_inc(x_37); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t 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_28 = lean_ctor_get(x_2, 0); +x_29 = lean_ctor_get(x_2, 1); +x_30 = lean_ctor_get(x_2, 2); +x_31 = lean_ctor_get(x_2, 3); +x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_34 = lean_ctor_get(x_2, 5); lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_2); -x_38 = lean_ctor_get(x_31, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_31, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_31, 2); +x_35 = lean_ctor_get(x_28, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_28, 2); +lean_inc(x_37); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + x_38 = x_28; +} else { + lean_dec_ref(x_28); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 3, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_ctor_get(x_3, 1); lean_inc(x_40); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - lean_ctor_release(x_31, 2); - x_41 = x_31; -} else { - lean_dec_ref(x_31); - x_41 = lean_box(0); -} -x_42 = lean_ctor_get(x_3, 1); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_29); +lean_ctor_set(x_42, 2, x_30); +lean_ctor_set(x_42, 3, x_31); +lean_ctor_set(x_42, 4, x_41); +lean_ctor_set(x_42, 5, x_34); +lean_ctor_set_uint8(x_42, sizeof(void*)*6, x_32); +lean_ctor_set_uint8(x_42, sizeof(void*)*6 + 1, x_33); +x_43 = l_Init_Data_Repr___instance__15___closed__1; +x_44 = lean_string_append(x_43, x_1); +x_45 = lean_string_append(x_44, x_43); lean_inc(x_42); -x_43 = l_Lean_FileMap_toPosition(x_40, x_42); -if (lean_is_scalar(x_41)) { - x_44 = lean_alloc_ctor(0, 3, 0); -} else { - x_44 = x_41; -} -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_39); -lean_ctor_set(x_44, 2, x_40); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_43); -x_46 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_32); -lean_ctor_set(x_46, 2, x_33); -lean_ctor_set(x_46, 3, x_34); -lean_ctor_set(x_46, 4, x_45); -lean_ctor_set(x_46, 5, x_37); -lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_35); -lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_36); -x_47 = l_Init_Data_Repr___instance__15___closed__1; -x_48 = lean_string_append(x_47, x_1); -x_49 = lean_string_append(x_48, x_47); -lean_inc(x_46); -x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_46, x_3); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +x_46 = l_Lean_Parser_symbolFnAux(x_1, x_45, x_42, x_3); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_52; -x_52 = l_Lean_Parser_Term_haveDecl___elambda__1(x_46, x_50); -return x_52; +lean_object* x_48; +x_48 = l_Lean_Parser_Term_haveDecl___elambda__1(x_42, x_46); +return x_48; } else { -lean_dec(x_51); -lean_dec(x_46); -return x_50; +lean_dec(x_47); +lean_dec(x_42); +return x_46; } } } @@ -14172,43 +14156,35 @@ return x_50; static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("have"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_have___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_Lean_Parser_Term_have___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__4() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Term_have___elambda__1___closed__2; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__5() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__4() { _start: { lean_object* x_1; @@ -14216,26 +14192,26 @@ x_1 = lean_mk_string("have "); return x_1; } } +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__4; +x_2 = l_String_trim(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; -x_2 = l_String_trim(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__6; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_have___elambda__1___lambda__1___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__8() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -14244,38 +14220,38 @@ x_2 = l_Lean_Parser_Term_optSemicolon(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__9() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___elambda__1___closed__7; +x_3 = l_Lean_Parser_Term_have___elambda__1___closed__6; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_4, 0, x_3); lean_closure_set(x_4, 1, x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_have___elambda__1___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_have___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__9; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__10; +x_2 = l_Lean_Parser_Term_have___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -14286,10 +14262,10 @@ lean_object* l_Lean_Parser_Term_have___elambda__1(lean_object* x_1, lean_object* _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_3 = l_Lean_Parser_Term_have___elambda__1___closed__4; +x_3 = l_Lean_Parser_Term_have___elambda__1___closed__3; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_have___elambda__1___closed__11; +x_5 = l_Lean_Parser_Term_have___elambda__1___closed__10; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -14299,7 +14275,7 @@ static lean_object* _init_l_Lean_Parser_Term_have___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -14320,7 +14296,7 @@ static lean_object* _init_l_Lean_Parser_Term_have___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_have___closed__2; @@ -14332,7 +14308,7 @@ static lean_object* _init_l_Lean_Parser_Term_have___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_2 = l_Lean_Parser_Term_have___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -14352,7 +14328,7 @@ static lean_object* _init_l_Lean_Parser_Term_have___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__4; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_have___closed__5; @@ -14401,8 +14377,8 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_have(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; -x_3 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; +x_3 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_have; x_6 = lean_unsigned_to_nat(0u); @@ -14414,8 +14390,8 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__8; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); @@ -14451,7 +14427,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -14614,8 +14590,8 @@ static lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Term_have___elambda__1___closed__2; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); @@ -14629,7 +14605,7 @@ static lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -14691,7 +14667,7 @@ static lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_2 = l_Lean_Parser_leadPrec; x_3 = l_Lean_Parser_Term_have_formatter___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -14724,7 +14700,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_3 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_4 = l___regBuiltin_Lean_Parser_Term_have_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -14734,8 +14710,8 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__3; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__8; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); @@ -14771,7 +14747,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +x_1 = l_myMacro____x40_Init_Tactics___hyg_502____closed__9; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_haveAssign_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -14931,8 +14907,8 @@ static lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_have___elambda__1___closed__3; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__2; +x_2 = l_Lean_Parser_Term_have___elambda__1___closed__2; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); @@ -14946,7 +14922,7 @@ static lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -15008,7 +14984,7 @@ static lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_2 = l_Lean_Parser_leadPrec; x_3 = l_Lean_Parser_Term_have_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -15041,7 +15017,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_3 = l_Lean_Parser_Term_have___elambda__1___closed__1; x_4 = l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -15058,7 +15034,7 @@ lean_inc(x_4); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_5 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_6 = lean_unsigned_to_nat(0u); lean_inc(x_1); x_7 = l_Lean_Parser_categoryParser___elambda__1(x_5, x_6, x_1, x_3); @@ -15154,147 +15130,143 @@ lean_dec(x_6); x_7 = !lean_is_exclusive(x_5); if (x_7 == 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_5, 2); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_FileMap_toPosition(x_8, x_9); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_2, 4, x_11); -x_12 = l_Init_Data_Repr___instance__15___closed__1; -x_13 = lean_string_append(x_12, x_1); -x_14 = lean_string_append(x_13, x_12); +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; +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_2, 4, x_9); +x_10 = l_Init_Data_Repr___instance__15___closed__1; +x_11 = lean_string_append(x_10, x_1); +x_12 = lean_string_append(x_11, x_10); lean_inc(x_2); -x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_13 = l_Lean_Parser_symbolFnAux(x_1, x_12, x_2, x_3); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_17; -x_17 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_15); -return x_17; -} -else -{ -lean_dec(x_16); -lean_dec(x_2); +lean_object* x_15; +x_15 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_13); return x_15; } +else +{ +lean_dec(x_14); +lean_dec(x_2); +return x_13; +} } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_ctor_get(x_5, 1); -x_20 = lean_ctor_get(x_5, 2); -lean_inc(x_20); -lean_inc(x_19); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_ctor_get(x_5, 2); lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); lean_dec(x_5); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); -x_22 = l_Lean_FileMap_toPosition(x_20, x_21); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_19); -lean_ctor_set(x_23, 2, x_20); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_2, 4, x_24); -lean_ctor_set(x_2, 0, x_23); -x_25 = l_Init_Data_Repr___instance__15___closed__1; -x_26 = lean_string_append(x_25, x_1); -x_27 = lean_string_append(x_26, x_25); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_2, 4, x_21); +lean_ctor_set(x_2, 0, x_19); +x_22 = l_Init_Data_Repr___instance__15___closed__1; +x_23 = lean_string_append(x_22, x_1); +x_24 = lean_string_append(x_23, x_22); lean_inc(x_2); -x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_2, x_3); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_25 = l_Lean_Parser_symbolFnAux(x_1, x_24, x_2, x_3); +x_26 = lean_ctor_get(x_25, 3); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_30; -x_30 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_28); -return x_30; +lean_object* x_27; +x_27 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_25); +return x_27; } else { -lean_dec(x_29); +lean_dec(x_26); lean_dec(x_2); -return x_28; +return x_25; } } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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; -x_31 = lean_ctor_get(x_2, 0); -x_32 = lean_ctor_get(x_2, 1); -x_33 = lean_ctor_get(x_2, 2); -x_34 = lean_ctor_get(x_2, 3); -x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_37 = lean_ctor_get(x_2, 5); -lean_inc(x_37); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t 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_28 = lean_ctor_get(x_2, 0); +x_29 = lean_ctor_get(x_2, 1); +x_30 = lean_ctor_get(x_2, 2); +x_31 = lean_ctor_get(x_2, 3); +x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_34 = lean_ctor_get(x_2, 5); lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_2); -x_38 = lean_ctor_get(x_31, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_31, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_31, 2); +x_35 = lean_ctor_get(x_28, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_28, 2); +lean_inc(x_37); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + x_38 = x_28; +} else { + lean_dec_ref(x_28); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 3, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_ctor_get(x_3, 1); lean_inc(x_40); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - lean_ctor_release(x_31, 2); - x_41 = x_31; -} else { - lean_dec_ref(x_31); - x_41 = lean_box(0); -} -x_42 = lean_ctor_get(x_3, 1); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_29); +lean_ctor_set(x_42, 2, x_30); +lean_ctor_set(x_42, 3, x_31); +lean_ctor_set(x_42, 4, x_41); +lean_ctor_set(x_42, 5, x_34); +lean_ctor_set_uint8(x_42, sizeof(void*)*6, x_32); +lean_ctor_set_uint8(x_42, sizeof(void*)*6 + 1, x_33); +x_43 = l_Init_Data_Repr___instance__15___closed__1; +x_44 = lean_string_append(x_43, x_1); +x_45 = lean_string_append(x_44, x_43); lean_inc(x_42); -x_43 = l_Lean_FileMap_toPosition(x_40, x_42); -if (lean_is_scalar(x_41)) { - x_44 = lean_alloc_ctor(0, 3, 0); -} else { - x_44 = x_41; -} -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_39); -lean_ctor_set(x_44, 2, x_40); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_43); -x_46 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_32); -lean_ctor_set(x_46, 2, x_33); -lean_ctor_set(x_46, 3, x_34); -lean_ctor_set(x_46, 4, x_45); -lean_ctor_set(x_46, 5, x_37); -lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_35); -lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_36); -x_47 = l_Init_Data_Repr___instance__15___closed__1; -x_48 = lean_string_append(x_47, x_1); -x_49 = lean_string_append(x_48, x_47); -lean_inc(x_46); -x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_46, x_3); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +x_46 = l_Lean_Parser_symbolFnAux(x_1, x_45, x_42, x_3); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_52; -x_52 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_46, x_50); -return x_52; +lean_object* x_48; +x_48 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_42, x_46); +return x_48; } else { -lean_dec(x_51); -lean_dec(x_46); -return x_50; +lean_dec(x_47); +lean_dec(x_42); +return x_46; } } } @@ -15369,7 +15341,7 @@ static lean_object* _init_l_Lean_Parser_Term_suffices___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_suffices___elambda__1___closed__7; @@ -15441,7 +15413,7 @@ static lean_object* _init_l_Lean_Parser_Term_suffices___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_suffices___closed__2; @@ -15522,7 +15494,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_suffices(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_suffices; @@ -16005,7 +15977,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_show(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_show___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_show; @@ -16673,7 +16645,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_structInstLVal___closed__10; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__7; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17285,7 +17257,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_structInst(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_structInst; @@ -18809,7 +18781,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_subtype(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_subtype___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_subtype; @@ -19461,7 +19433,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_listLit(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_listLit___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_listLit; @@ -19868,7 +19840,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayLit(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_arrayLit; @@ -20107,7 +20079,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = l_Lean_Parser_maxPrec; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -20177,7 +20149,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = l_Lean_Parser_maxPrec; x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -20259,7 +20231,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_explicit(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_explicit___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_explicit; @@ -20660,7 +20632,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_inaccessible(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_inaccessible; @@ -20938,7 +20910,7 @@ 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; lean_object* x_13; -x_9 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_9 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_10 = lean_unsigned_to_nat(0u); x_11 = l_Lean_Parser_categoryParser___elambda__1(x_9, x_10, x_1, x_7); x_12 = l_Lean_nullKind; @@ -21112,7 +21084,7 @@ static lean_object* _init_l_Lean_Parser_Term_binderTactic___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_2 = l_Lean_Parser_Term_binderTactic___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -21316,7 +21288,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_binderDefault___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__7; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -22227,7 +22199,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_depArrow(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_depArrow___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_depArrow; @@ -23838,7 +23810,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_forall(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_forall___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_forall; @@ -24422,147 +24394,143 @@ lean_dec(x_9); x_10 = !lean_is_exclusive(x_8); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_ctor_get(x_8, 2); -x_12 = lean_ctor_get(x_5, 1); -lean_inc(x_12); -x_13 = l_Lean_FileMap_toPosition(x_11, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_4, 4, x_14); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_4, 4, x_12); lean_inc(x_4); -x_15 = lean_apply_2(x_1, x_4, x_5); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_13 = lean_apply_2(x_1, x_4, x_5); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_17; lean_object* x_18; -x_17 = 0; -x_18 = l_Lean_Parser_sepBy1Fn(x_17, x_2, x_3, x_4, x_15); -return x_18; +uint8_t x_15; lean_object* x_16; +x_15 = 0; +x_16 = l_Lean_Parser_sepBy1Fn(x_15, x_2, x_3, x_4, x_13); +return x_16; } else { -lean_dec(x_16); +lean_dec(x_14); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_15; +return x_13; } } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_19 = lean_ctor_get(x_8, 0); -x_20 = lean_ctor_get(x_8, 1); -x_21 = lean_ctor_get(x_8, 2); -lean_inc(x_21); -lean_inc(x_20); +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_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +x_19 = lean_ctor_get(x_8, 2); lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_8); -x_22 = lean_ctor_get(x_5, 1); -lean_inc(x_22); -x_23 = l_Lean_FileMap_toPosition(x_21, x_22); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_4, 4, x_25); -lean_ctor_set(x_4, 0, x_24); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_5, 1); +lean_inc(x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_4, 4, x_22); +lean_ctor_set(x_4, 0, x_20); lean_inc(x_4); -x_26 = lean_apply_2(x_1, x_4, x_5); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +x_23 = lean_apply_2(x_1, x_4, x_5); +x_24 = lean_ctor_get(x_23, 3); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_28; lean_object* x_29; -x_28 = 0; -x_29 = l_Lean_Parser_sepBy1Fn(x_28, x_2, x_3, x_4, x_26); -return x_29; -} -else -{ -lean_dec(x_27); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +uint8_t x_25; lean_object* x_26; +x_25 = 0; +x_26 = l_Lean_Parser_sepBy1Fn(x_25, x_2, x_3, x_4, x_23); return x_26; } -} -} else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_30 = lean_ctor_get(x_4, 0); -x_31 = lean_ctor_get(x_4, 1); -x_32 = lean_ctor_get(x_4, 2); -x_33 = lean_ctor_get(x_4, 3); -x_34 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_35 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_36 = lean_ctor_get(x_4, 5); -lean_inc(x_36); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); +lean_dec(x_24); lean_dec(x_4); -x_37 = lean_ctor_get(x_30, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_30, 1); -lean_inc(x_38); -x_39 = lean_ctor_get(x_30, 2); -lean_inc(x_39); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - lean_ctor_release(x_30, 2); - x_40 = x_30; -} else { - lean_dec_ref(x_30); - x_40 = lean_box(0); -} -x_41 = lean_ctor_get(x_5, 1); -lean_inc(x_41); -x_42 = l_Lean_FileMap_toPosition(x_39, x_41); -if (lean_is_scalar(x_40)) { - x_43 = lean_alloc_ctor(0, 3, 0); -} else { - x_43 = x_40; -} -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_38); -lean_ctor_set(x_43, 2, x_39); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_42); -x_45 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_31); -lean_ctor_set(x_45, 2, x_32); -lean_ctor_set(x_45, 3, x_33); -lean_ctor_set(x_45, 4, x_44); -lean_ctor_set(x_45, 5, x_36); -lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_34); -lean_ctor_set_uint8(x_45, sizeof(void*)*6 + 1, x_35); -lean_inc(x_45); -x_46 = lean_apply_2(x_1, x_45, x_5); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -uint8_t x_48; lean_object* x_49; -x_48 = 0; -x_49 = l_Lean_Parser_sepBy1Fn(x_48, x_2, x_3, x_45, x_46); -return x_49; -} -else -{ -lean_dec(x_47); -lean_dec(x_45); lean_dec(x_3); lean_dec(x_2); -return x_46; +return x_23; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; 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_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +x_29 = lean_ctor_get(x_4, 2); +x_30 = lean_ctor_get(x_4, 3); +x_31 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_32 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_33 = lean_ctor_get(x_4, 5); +lean_inc(x_33); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_37 = x_27; +} else { + lean_dec_ref(x_27); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_5, 1); +lean_inc(x_39); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_28); +lean_ctor_set(x_41, 2, x_29); +lean_ctor_set(x_41, 3, x_30); +lean_ctor_set(x_41, 4, x_40); +lean_ctor_set(x_41, 5, x_33); +lean_ctor_set_uint8(x_41, sizeof(void*)*6, x_31); +lean_ctor_set_uint8(x_41, sizeof(void*)*6 + 1, x_32); +lean_inc(x_41); +x_42 = lean_apply_2(x_1, x_41, x_5); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; lean_object* x_45; +x_44 = 0; +x_45 = l_Lean_Parser_sepBy1Fn(x_44, x_2, x_3, x_41, x_42); +return x_45; +} +else +{ +lean_dec(x_43); +lean_dec(x_41); +lean_dec(x_3); +lean_dec(x_2); +return x_42; } } } @@ -24590,7 +24558,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_matchAlts___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGeFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -25360,7 +25328,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_match(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_match___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_match; @@ -26680,7 +26648,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_nomatch(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_nomatch___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_nomatch; @@ -27422,7 +27390,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_fun(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_4 = 1; x_5 = l_Lean_Parser_Term_fun; @@ -28281,7 +28249,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_parser_x21(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_parser_x21___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_parser_x21; @@ -28750,7 +28718,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_tparser_x21(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_tparser_x21___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_tparser_x21; @@ -28989,7 +28957,7 @@ static lean_object* _init_l_Lean_Parser_Term_borrowed___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = l_Lean_Parser_leadPrec; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -29059,7 +29027,7 @@ static lean_object* _init_l_Lean_Parser_Term_borrowed___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = l_Lean_Parser_leadPrec; x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -29141,7 +29109,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_borrowed___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_borrowed; @@ -29462,7 +29430,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_quotedName(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_quotedName___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_quotedName; @@ -29801,7 +29769,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_match__syntax(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_match__syntax; @@ -30162,7 +30130,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_letIdLhs___closed__6; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -30185,7 +30153,7 @@ 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 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_8 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Parser_categoryParser___elambda__1(x_8, x_9, x_1, x_6); x_11 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__8; @@ -30288,7 +30256,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_optType___closed__2; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -30335,7 +30303,7 @@ 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 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_8 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Parser_categoryParser___elambda__1(x_8, x_9, x_1, x_6); x_11 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; @@ -30692,150 +30660,146 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Init_Data_Repr___instance__15___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +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_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = l_Init_Data_Repr___instance__15___closed__1; +x_12 = lean_string_append(x_11, x_1); +x_13 = lean_string_append(x_12, x_11); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; -x_18 = lean_apply_2(x_2, x_3, x_16); -return x_18; -} -else -{ -lean_dec(x_17); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_16; +x_16 = lean_apply_2(x_2, x_3, x_14); return x_16; } +else +{ +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +return x_14; +} } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_19 = lean_ctor_get(x_6, 0); -x_20 = lean_ctor_get(x_6, 1); -x_21 = lean_ctor_get(x_6, 2); -lean_inc(x_21); -lean_inc(x_20); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_6); -x_22 = lean_ctor_get(x_4, 1); -lean_inc(x_22); -x_23 = l_Lean_FileMap_toPosition(x_21, x_22); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_3, 4, x_25); -lean_ctor_set(x_3, 0, x_24); -x_26 = l_Init_Data_Repr___instance__15___closed__1; -x_27 = lean_string_append(x_26, x_1); -x_28 = lean_string_append(x_27, x_26); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_4, 1); +lean_inc(x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_3, 4, x_22); +lean_ctor_set(x_3, 0, x_20); +x_23 = l_Init_Data_Repr___instance__15___closed__1; +x_24 = lean_string_append(x_23, x_1); +x_25 = lean_string_append(x_24, x_23); lean_inc(x_3); -x_29 = l_Lean_Parser_symbolFnAux(x_1, x_28, x_3, x_4); -x_30 = lean_ctor_get(x_29, 3); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) +x_26 = l_Lean_Parser_symbolFnAux(x_1, x_25, x_3, x_4); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_31; -x_31 = lean_apply_2(x_2, x_3, x_29); -return x_31; +lean_object* x_28; +x_28 = lean_apply_2(x_2, x_3, x_26); +return x_28; } else { -lean_dec(x_30); +lean_dec(x_27); lean_dec(x_3); lean_dec(x_2); -return x_29; +return x_26; } } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_32 = lean_ctor_get(x_3, 0); -x_33 = lean_ctor_get(x_3, 1); -x_34 = lean_ctor_get(x_3, 2); -x_35 = lean_ctor_get(x_3, 3); -x_36 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_37 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_38 = lean_ctor_get(x_3, 5); -lean_inc(x_38); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t 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; +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +x_31 = lean_ctor_get(x_3, 2); +x_32 = lean_ctor_get(x_3, 3); +x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_35 = lean_ctor_get(x_3, 5); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_3); -x_39 = lean_ctor_get(x_32, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_32, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_32, 2); +x_36 = lean_ctor_get(x_29, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_29, 2); +lean_inc(x_38); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + lean_ctor_release(x_29, 2); + x_39 = x_29; +} else { + lean_dec_ref(x_29); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(0, 3, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); +x_41 = lean_ctor_get(x_4, 1); lean_inc(x_41); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - lean_ctor_release(x_32, 2); - x_42 = x_32; -} else { - lean_dec_ref(x_32); - x_42 = lean_box(0); -} -x_43 = lean_ctor_get(x_4, 1); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_30); +lean_ctor_set(x_43, 2, x_31); +lean_ctor_set(x_43, 3, x_32); +lean_ctor_set(x_43, 4, x_42); +lean_ctor_set(x_43, 5, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*6, x_33); +lean_ctor_set_uint8(x_43, sizeof(void*)*6 + 1, x_34); +x_44 = l_Init_Data_Repr___instance__15___closed__1; +x_45 = lean_string_append(x_44, x_1); +x_46 = lean_string_append(x_45, x_44); lean_inc(x_43); -x_44 = l_Lean_FileMap_toPosition(x_41, x_43); -if (lean_is_scalar(x_42)) { - x_45 = lean_alloc_ctor(0, 3, 0); -} else { - x_45 = x_42; -} -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_40); -lean_ctor_set(x_45, 2, x_41); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_44); -x_47 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_33); -lean_ctor_set(x_47, 2, x_34); -lean_ctor_set(x_47, 3, x_35); -lean_ctor_set(x_47, 4, x_46); -lean_ctor_set(x_47, 5, x_38); -lean_ctor_set_uint8(x_47, sizeof(void*)*6, x_36); -lean_ctor_set_uint8(x_47, sizeof(void*)*6 + 1, x_37); -x_48 = l_Init_Data_Repr___instance__15___closed__1; -x_49 = lean_string_append(x_48, x_1); -x_50 = lean_string_append(x_49, x_48); -lean_inc(x_47); -x_51 = l_Lean_Parser_symbolFnAux(x_1, x_50, x_47, x_4); -x_52 = lean_ctor_get(x_51, 3); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) +x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_43, x_4); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_53; -x_53 = lean_apply_2(x_2, x_47, x_51); -return x_53; +lean_object* x_49; +x_49 = lean_apply_2(x_2, x_43, x_47); +return x_49; } else { -lean_dec(x_52); -lean_dec(x_47); +lean_dec(x_48); +lean_dec(x_43); lean_dec(x_2); -return x_51; +return x_47; } } } @@ -30896,7 +30860,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let___elambda__1___closed__5; @@ -30968,7 +30932,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let___closed__2; @@ -31049,7 +31013,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_let(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_let; @@ -31933,7 +31897,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_x21___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let_x21___elambda__1___closed__7; @@ -32005,7 +31969,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_x21___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let_x21___closed__2; @@ -32077,7 +32041,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x21(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_let_x21; @@ -32364,7 +32328,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_x2a___elambda__1___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let_x2a___elambda__1___closed__7; @@ -32436,7 +32400,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_x2a___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_let_x2a___closed__2; @@ -32508,7 +32472,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x2a(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_let_x2a___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_let_x2a; @@ -33376,262 +33340,258 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -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; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); -x_15 = l_Init_Data_Repr___instance__15___closed__1; -x_16 = lean_string_append(x_15, x_1); -x_17 = lean_string_append(x_16, x_15); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = lean_ctor_get(x_4, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Init_Data_Repr___instance__15___closed__1; +x_14 = lean_string_append(x_13, x_1); +x_15 = lean_string_append(x_14, x_13); lean_inc(x_3); -x_18 = l_Lean_Parser_symbolFnAux(x_1, x_17, x_3, x_4); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 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; -x_20 = lean_string_append(x_15, x_2); -x_21 = lean_string_append(x_20, x_15); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_string_append(x_13, x_2); +x_19 = lean_string_append(x_18, x_13); lean_inc(x_3); -x_22 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_21, x_3, x_18); -x_23 = l_Lean_nullKind; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_14); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) +x_20 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_19, x_3, x_16); +x_21 = l_Lean_nullKind; +x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_12); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_26; -x_26 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_24); -return x_26; -} -else -{ -lean_dec(x_25); -lean_dec(x_3); +lean_object* x_24; +x_24 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_22); return x_24; } -} else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_19); -lean_dec(x_2); -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_18, x_27, x_14); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; -x_30 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_28); -return x_30; -} -else -{ -lean_dec(x_29); +lean_dec(x_23); lean_dec(x_3); +return x_22; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_17); +lean_dec(x_2); +x_25 = l_Lean_nullKind; +x_26 = l_Lean_Parser_ParserState_mkNode(x_16, x_25, x_12); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +x_28 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_26); return x_28; } +else +{ +lean_dec(x_27); +lean_dec(x_3); +return x_26; +} } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 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_31 = lean_ctor_get(x_6, 0); -x_32 = lean_ctor_get(x_6, 1); -x_33 = lean_ctor_get(x_6, 2); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_29 = lean_ctor_get(x_6, 0); +x_30 = lean_ctor_get(x_6, 1); +x_31 = lean_ctor_get(x_6, 2); lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_6); -x_34 = lean_ctor_get(x_4, 1); -lean_inc(x_34); -x_35 = l_Lean_FileMap_toPosition(x_33, x_34); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_3, 4, x_37); -lean_ctor_set(x_3, 0, x_36); -x_38 = lean_ctor_get(x_4, 0); -lean_inc(x_38); -x_39 = lean_array_get_size(x_38); -lean_dec(x_38); -x_40 = l_Init_Data_Repr___instance__15___closed__1; -x_41 = lean_string_append(x_40, x_1); -x_42 = lean_string_append(x_41, x_40); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = lean_ctor_get(x_4, 1); +lean_inc(x_33); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_3, 4, x_34); +lean_ctor_set(x_3, 0, x_32); +x_35 = lean_ctor_get(x_4, 0); +lean_inc(x_35); +x_36 = lean_array_get_size(x_35); +lean_dec(x_35); +x_37 = l_Init_Data_Repr___instance__15___closed__1; +x_38 = lean_string_append(x_37, x_1); +x_39 = lean_string_append(x_38, x_37); lean_inc(x_3); -x_43 = l_Lean_Parser_symbolFnAux(x_1, x_42, x_3, x_4); -x_44 = lean_ctor_get(x_43, 3); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) +x_40 = l_Lean_Parser_symbolFnAux(x_1, x_39, x_3, x_4); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_string_append(x_40, x_2); -x_46 = lean_string_append(x_45, x_40); +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_42 = lean_string_append(x_37, x_2); +x_43 = lean_string_append(x_42, x_37); lean_inc(x_3); -x_47 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_46, x_3, x_43); -x_48 = l_Lean_nullKind; -x_49 = l_Lean_Parser_ParserState_mkNode(x_47, x_48, x_39); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) +x_44 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_43, x_3, x_40); +x_45 = l_Lean_nullKind; +x_46 = l_Lean_Parser_ParserState_mkNode(x_44, x_45, x_36); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_51; -x_51 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_49); -return x_51; +lean_object* x_48; +x_48 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_46); +return x_48; } else { -lean_dec(x_50); +lean_dec(x_47); lean_dec(x_3); -return x_49; +return x_46; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_44); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_41); lean_dec(x_2); -x_52 = l_Lean_nullKind; -x_53 = l_Lean_Parser_ParserState_mkNode(x_43, x_52, x_39); -x_54 = lean_ctor_get(x_53, 3); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) +x_49 = l_Lean_nullKind; +x_50 = l_Lean_Parser_ParserState_mkNode(x_40, x_49, x_36); +x_51 = lean_ctor_get(x_50, 3); +lean_inc(x_51); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_55; -x_55 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_53); -return x_55; +lean_object* x_52; +x_52 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_50); +return x_52; } else { -lean_dec(x_54); +lean_dec(x_51); lean_dec(x_3); -return x_53; +return x_50; } } } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_56 = lean_ctor_get(x_3, 0); -x_57 = lean_ctor_get(x_3, 1); -x_58 = lean_ctor_get(x_3, 2); -x_59 = lean_ctor_get(x_3, 3); -x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_61 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_62 = lean_ctor_get(x_3, 5); -lean_inc(x_62); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_53 = lean_ctor_get(x_3, 0); +x_54 = lean_ctor_get(x_3, 1); +x_55 = lean_ctor_get(x_3, 2); +x_56 = lean_ctor_get(x_3, 3); +x_57 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_58 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_59 = lean_ctor_get(x_3, 5); lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_3); -x_63 = lean_ctor_get(x_56, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_56, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_56, 2); +x_60 = lean_ctor_get(x_53, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_53, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_53, 2); +lean_inc(x_62); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + lean_ctor_release(x_53, 2); + x_63 = x_53; +} else { + lean_dec_ref(x_53); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 3, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_60); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_ctor_get(x_4, 1); lean_inc(x_65); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - lean_ctor_release(x_56, 2); - x_66 = x_56; -} else { - lean_dec_ref(x_56); - x_66 = lean_box(0); -} -x_67 = lean_ctor_get(x_4, 1); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_54); +lean_ctor_set(x_67, 2, x_55); +lean_ctor_set(x_67, 3, x_56); +lean_ctor_set(x_67, 4, x_66); +lean_ctor_set(x_67, 5, x_59); +lean_ctor_set_uint8(x_67, sizeof(void*)*6, x_57); +lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 1, x_58); +x_68 = lean_ctor_get(x_4, 0); +lean_inc(x_68); +x_69 = lean_array_get_size(x_68); +lean_dec(x_68); +x_70 = l_Init_Data_Repr___instance__15___closed__1; +x_71 = lean_string_append(x_70, x_1); +x_72 = lean_string_append(x_71, x_70); lean_inc(x_67); -x_68 = l_Lean_FileMap_toPosition(x_65, x_67); -if (lean_is_scalar(x_66)) { - x_69 = lean_alloc_ctor(0, 3, 0); -} else { - x_69 = x_66; -} -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_64); -lean_ctor_set(x_69, 2, x_65); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_68); -x_71 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_57); -lean_ctor_set(x_71, 2, x_58); -lean_ctor_set(x_71, 3, x_59); -lean_ctor_set(x_71, 4, x_70); -lean_ctor_set(x_71, 5, x_62); -lean_ctor_set_uint8(x_71, sizeof(void*)*6, x_60); -lean_ctor_set_uint8(x_71, sizeof(void*)*6 + 1, x_61); -x_72 = lean_ctor_get(x_4, 0); -lean_inc(x_72); -x_73 = lean_array_get_size(x_72); -lean_dec(x_72); -x_74 = l_Init_Data_Repr___instance__15___closed__1; -x_75 = lean_string_append(x_74, x_1); -x_76 = lean_string_append(x_75, x_74); -lean_inc(x_71); -x_77 = l_Lean_Parser_symbolFnAux(x_1, x_76, x_71, x_4); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -if (lean_obj_tag(x_78) == 0) +x_73 = l_Lean_Parser_symbolFnAux(x_1, x_72, x_67, x_4); +x_74 = lean_ctor_get(x_73, 3); +lean_inc(x_74); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_79 = lean_string_append(x_74, x_2); -x_80 = lean_string_append(x_79, x_74); -lean_inc(x_71); -x_81 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_80, x_71, x_77); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_75 = lean_string_append(x_70, x_2); +x_76 = lean_string_append(x_75, x_70); +lean_inc(x_67); +x_77 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_76, x_67, x_73); +x_78 = l_Lean_nullKind; +x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_69); +x_80 = lean_ctor_get(x_79, 3); +lean_inc(x_80); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; +x_81 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_67, x_79); +return x_81; +} +else +{ +lean_dec(x_80); +lean_dec(x_67); +return x_79; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_74); +lean_dec(x_2); x_82 = l_Lean_nullKind; -x_83 = l_Lean_Parser_ParserState_mkNode(x_81, x_82, x_73); +x_83 = l_Lean_Parser_ParserState_mkNode(x_73, x_82, x_69); x_84 = lean_ctor_get(x_83, 3); lean_inc(x_84); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; -x_85 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_71, x_83); +x_85 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_67, x_83); return x_85; } else { lean_dec(x_84); -lean_dec(x_71); +lean_dec(x_67); return x_83; } } -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_78); -lean_dec(x_2); -x_86 = l_Lean_nullKind; -x_87 = l_Lean_Parser_ParserState_mkNode(x_77, x_86, x_73); -x_88 = lean_ctor_get(x_87, 3); -lean_inc(x_88); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; -x_89 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_71, x_87); -return x_89; -} -else -{ -lean_dec(x_88); -lean_dec(x_71); -return x_87; -} -} } } } @@ -33707,7 +33667,7 @@ static lean_object* _init_l_Lean_Parser_Term_letrec___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letrec___elambda__1___closed__7; @@ -33800,7 +33760,7 @@ static lean_object* _init_l_Lean_Parser_Term_letrec___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letrec___closed__4; @@ -33881,7 +33841,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_letrec(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_letrec; @@ -34876,7 +34836,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_nativeRefl(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_nativeRefl___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_nativeRefl; @@ -35221,7 +35181,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_nativeDecide(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_nativeDecide___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_nativeDecide; @@ -35516,7 +35476,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_decide(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_decide; @@ -35861,7 +35821,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_typeOf(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_typeOf___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_typeOf; @@ -36278,7 +36238,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureTypeOf(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_ensureTypeOf; @@ -36719,7 +36679,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureExpectedType(lean_objec _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_ensureExpectedType; @@ -36970,7 +36930,7 @@ static lean_object* _init_l_Lean_Parser_Term_not___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -37040,7 +37000,7 @@ static lean_object* _init_l_Lean_Parser_Term_not___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(40u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -37122,7 +37082,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_not(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_not___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_not; @@ -37501,7 +37461,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_bnot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_bnot___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_bnot; @@ -37732,7 +37692,7 @@ static lean_object* _init_l_Lean_Parser_Term_uminus___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(100u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -37812,7 +37772,7 @@ static lean_object* _init_l_Lean_Parser_Term_uminus___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(100u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -37894,7 +37854,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_uminus(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_uminus___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_uminus; @@ -38117,7 +38077,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_ident___closed__1; -x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; +x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -38436,7 +38396,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkColGtFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -38544,7 +38504,7 @@ goto block_20; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +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; uint8_t x_37; x_29 = lean_ctor_get(x_24, 0); lean_inc(x_29); lean_dec(x_24); @@ -38553,36 +38513,37 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_30, 2); lean_inc(x_31); lean_dec(x_30); -x_32 = lean_ctor_get(x_22, 1); -lean_inc(x_32); -x_33 = l_Lean_FileMap_toPosition(x_31, x_32); +x_32 = l_Lean_FileMap_toPosition(x_31, x_29); +x_33 = lean_ctor_get(x_22, 1); +lean_inc(x_33); +x_34 = l_Lean_FileMap_toPosition(x_31, x_33); lean_dec(x_31); -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_ctor_get(x_33, 1); +x_35 = lean_ctor_get(x_32, 1); lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_nat_dec_lt(x_34, x_35); -lean_dec(x_35); +lean_dec(x_32); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); lean_dec(x_34); -if (x_36 == 0) +x_37 = lean_nat_dec_lt(x_35, x_36); +lean_dec(x_36); +lean_dec(x_35); +if (x_37 == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_38 = l_Lean_Parser_ParserState_mkError(x_22, x_37); -x_8 = x_38; +lean_object* x_38; lean_object* x_39; +x_38 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_39 = l_Lean_Parser_ParserState_mkError(x_22, x_38); +x_8 = x_39; goto block_20; } else { -lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; -x_39 = l_Lean_Parser_Term_namedArgument___closed__7; -x_40 = l_Lean_Parser_Term_app___elambda__1___closed__3; -x_41 = 1; +lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_40 = l_Lean_Parser_Term_namedArgument___closed__7; +x_41 = l_Lean_Parser_Term_app___elambda__1___closed__3; +x_42 = 1; lean_inc(x_1); -x_42 = l_Lean_Parser_orelseFnCore(x_39, x_40, x_41, x_1, x_22); -x_8 = x_42; +x_43 = l_Lean_Parser_orelseFnCore(x_40, x_41, x_42, x_1, x_22); +x_8 = x_43; goto block_20; } } @@ -38732,7 +38693,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_app(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_mkAppStx___closed__8; x_4 = 0; x_5 = l_Lean_Parser_Term_app; @@ -39397,7 +39358,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_proj(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_proj___elambda__1___closed__1; x_4 = 0; x_5 = l_Lean_Parser_Term_proj; @@ -39627,7 +39588,7 @@ lean_inc(x_14); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_15 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_16 = lean_unsigned_to_nat(0u); lean_inc(x_1); x_17 = l_Lean_Parser_categoryParser___elambda__1(x_15, x_16, x_1, x_13); @@ -39747,7 +39708,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_arrayRef; @@ -39956,7 +39917,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_arrow(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_arrow___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_arrow; @@ -40456,7 +40417,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_explicitUniv(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_explicitUniv; @@ -40775,7 +40736,7 @@ lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_21 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_22 = l_Lean_Parser_maxPrec; x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); x_24 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; @@ -40886,7 +40847,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_namedPattern(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_namedPattern; @@ -41083,7 +41044,7 @@ 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_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_11 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_12 = l_Lean_Parser_categoryParser___elambda__1(x_11, x_3, x_1, x_9); x_13 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; x_14 = l_Lean_Parser_ParserState_mkTrailingNode(x_12, x_13, x_7); @@ -41192,7 +41153,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_dollar(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_dollar; @@ -41527,7 +41488,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_dollarProj(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_dollarProj___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_dollarProj; @@ -41888,7 +41849,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_where(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_where___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_where; @@ -42212,7 +42173,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_fcomp(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_fcomp___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_fcomp; @@ -42470,7 +42431,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_prod(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_prod___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_prod; @@ -42678,7 +42639,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_add(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_add___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_add; @@ -42939,7 +42900,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_sub(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_sub___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_sub; @@ -43155,7 +43116,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_mul(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_mul___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_mul; @@ -43371,7 +43332,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_div(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_div___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_div; @@ -43587,7 +43548,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_mod(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_mod___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_mod; @@ -43803,7 +43764,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_modN(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_modN___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_modN; @@ -44019,7 +43980,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_pow(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_pow___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_pow; @@ -44244,7 +44205,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_le(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_le___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_le; @@ -44520,7 +44481,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_ge(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_ge___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_ge; @@ -44740,7 +44701,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_lt(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_lt___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_lt; @@ -44956,7 +44917,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_gt(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_gt___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_gt; @@ -45172,7 +45133,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_eq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_eq___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_eq; @@ -45388,7 +45349,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_ne(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_ne___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_ne; @@ -45604,7 +45565,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_beq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_beq___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_beq; @@ -45820,7 +45781,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_bne(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_bne___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_bne; @@ -46045,7 +46006,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_heq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_heq___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_heq; @@ -46265,7 +46226,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_equiv(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_equiv___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_equiv; @@ -46407,7 +46368,7 @@ static lean_object* _init_l_Lean_Parser_Term_subst___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(75u); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -46500,7 +46461,7 @@ static lean_object* _init_l_Lean_Parser_Term_subst___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(75u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -46580,7 +46541,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_subst(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_subst___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_subst; @@ -46859,7 +46820,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_and(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_and___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_and; @@ -47088,7 +47049,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_or(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_or___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_or; @@ -47317,7 +47278,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_iff(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_iff___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_iff; @@ -47537,7 +47498,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_band(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_band___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_band; @@ -47753,7 +47714,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_bor(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_bor___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_bor; @@ -47951,7 +47912,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_append(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____lambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_append; @@ -48159,7 +48120,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_cons(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_cons___elambda__1___closed__1; x_4 = 0; x_5 = l_Lean_Parser_Term_cons; @@ -48375,7 +48336,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_orelse(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_orelse___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_orelse; @@ -48591,7 +48552,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_orM(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_orM___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_orM; @@ -48807,7 +48768,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_andM(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_andM___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_andM; @@ -49023,7 +48984,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_andthen(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_andthen___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_andthen; @@ -49239,7 +49200,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_bindOp(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_bindOp___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_bindOp; @@ -49455,7 +49416,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_mapRev(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_mapRev___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_mapRev; @@ -49671,7 +49632,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_seq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_seq___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_seq; @@ -49887,7 +49848,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_seqLeft(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_seqLeft___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_seqLeft; @@ -50103,7 +50064,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_seqRight(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_seqRight___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_seqRight; @@ -50319,7 +50280,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_map(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_map___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Term_map; @@ -50654,7 +50615,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_funBinder_quot(lean_object* x _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; x_4 = 1; x_5 = l_Lean_Parser_Term_funBinder_quot; @@ -51067,7 +51028,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_panic(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_panic___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_panic; @@ -51412,7 +51373,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_unreachable(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_unreachable___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_unreachable; @@ -51571,156 +51532,152 @@ lean_dec(x_8); x_9 = !lean_is_exclusive(x_7); 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; -x_10 = lean_ctor_get(x_7, 2); -x_11 = lean_ctor_get(x_5, 1); -lean_inc(x_11); -x_12 = l_Lean_FileMap_toPosition(x_10, x_11); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_4, 4, x_13); -x_14 = l_Init_Data_Repr___instance__15___closed__1; -x_15 = lean_string_append(x_14, x_1); -x_16 = lean_string_append(x_15, x_14); +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; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_4, 4, x_11); +x_12 = l_Init_Data_Repr___instance__15___closed__1; +x_13 = lean_string_append(x_12, x_1); +x_14 = lean_string_append(x_13, x_12); lean_inc(x_4); -x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_4, x_5); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) +x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_4, x_5); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_19; lean_object* x_20; -x_19 = 1; -x_20 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_19, x_4, x_17); -return x_20; +uint8_t x_17; lean_object* x_18; +x_17 = 1; +x_18 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_17, x_4, x_15); +return x_18; } else { -lean_dec(x_18); +lean_dec(x_16); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_17; +return x_15; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_21 = lean_ctor_get(x_7, 0); -x_22 = lean_ctor_get(x_7, 1); -x_23 = lean_ctor_get(x_7, 2); -lean_inc(x_23); -lean_inc(x_22); +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_19 = lean_ctor_get(x_7, 0); +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get(x_7, 2); lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_7); -x_24 = lean_ctor_get(x_5, 1); -lean_inc(x_24); -x_25 = l_Lean_FileMap_toPosition(x_23, x_24); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_4, 4, x_27); -lean_ctor_set(x_4, 0, x_26); -x_28 = l_Init_Data_Repr___instance__15___closed__1; -x_29 = lean_string_append(x_28, x_1); -x_30 = lean_string_append(x_29, x_28); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_4, 4, x_24); +lean_ctor_set(x_4, 0, x_22); +x_25 = l_Init_Data_Repr___instance__15___closed__1; +x_26 = lean_string_append(x_25, x_1); +x_27 = lean_string_append(x_26, x_25); lean_inc(x_4); -x_31 = l_Lean_Parser_symbolFnAux(x_1, x_30, x_4, x_5); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) +x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_4, x_5); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) { -uint8_t x_33; lean_object* x_34; -x_33 = 1; -x_34 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_33, x_4, x_31); -return x_34; -} -else -{ -lean_dec(x_32); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +uint8_t x_30; lean_object* x_31; +x_30 = 1; +x_31 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_30, x_4, x_28); return x_31; } -} -} else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_35 = lean_ctor_get(x_4, 0); -x_36 = lean_ctor_get(x_4, 1); -x_37 = lean_ctor_get(x_4, 2); -x_38 = lean_ctor_get(x_4, 3); -x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_40 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_41 = lean_ctor_get(x_4, 5); -lean_inc(x_41); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); +lean_dec(x_29); lean_dec(x_4); -x_42 = lean_ctor_get(x_35, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_35, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_35, 2); -lean_inc(x_44); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - lean_ctor_release(x_35, 2); - x_45 = x_35; -} else { - lean_dec_ref(x_35); - x_45 = lean_box(0); -} -x_46 = lean_ctor_get(x_5, 1); -lean_inc(x_46); -x_47 = l_Lean_FileMap_toPosition(x_44, x_46); -if (lean_is_scalar(x_45)) { - x_48 = lean_alloc_ctor(0, 3, 0); -} else { - x_48 = x_45; -} -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_43); -lean_ctor_set(x_48, 2, x_44); -x_49 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_49, 0, x_47); -x_50 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_36); -lean_ctor_set(x_50, 2, x_37); -lean_ctor_set(x_50, 3, x_38); -lean_ctor_set(x_50, 4, x_49); -lean_ctor_set(x_50, 5, x_41); -lean_ctor_set_uint8(x_50, sizeof(void*)*6, x_39); -lean_ctor_set_uint8(x_50, sizeof(void*)*6 + 1, x_40); -x_51 = l_Init_Data_Repr___instance__15___closed__1; -x_52 = lean_string_append(x_51, x_1); -x_53 = lean_string_append(x_52, x_51); -lean_inc(x_50); -x_54 = l_Lean_Parser_symbolFnAux(x_1, x_53, x_50, x_5); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) -{ -uint8_t x_56; lean_object* x_57; -x_56 = 1; -x_57 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_56, x_50, x_54); -return x_57; -} -else -{ -lean_dec(x_55); -lean_dec(x_50); lean_dec(x_3); lean_dec(x_2); -return x_54; +return x_28; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_32 = lean_ctor_get(x_4, 0); +x_33 = lean_ctor_get(x_4, 1); +x_34 = lean_ctor_get(x_4, 2); +x_35 = lean_ctor_get(x_4, 3); +x_36 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_37 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_38 = lean_ctor_get(x_4, 5); +lean_inc(x_38); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_4); +x_39 = lean_ctor_get(x_32, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_32, 2); +lean_inc(x_41); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_42 = x_32; +} else { + lean_dec_ref(x_32); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_ctor_get(x_5, 1); +lean_inc(x_44); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_33); +lean_ctor_set(x_46, 2, x_34); +lean_ctor_set(x_46, 3, x_35); +lean_ctor_set(x_46, 4, x_45); +lean_ctor_set(x_46, 5, x_38); +lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_36); +lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_37); +x_47 = l_Init_Data_Repr___instance__15___closed__1; +x_48 = lean_string_append(x_47, x_1); +x_49 = lean_string_append(x_48, x_47); +lean_inc(x_46); +x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_46, x_5); +x_51 = lean_ctor_get(x_50, 3); +lean_inc(x_51); +if (lean_obj_tag(x_51) == 0) +{ +uint8_t x_52; lean_object* x_53; +x_52 = 1; +x_53 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_52, x_46, x_50); +return x_53; +} +else +{ +lean_dec(x_51); +lean_dec(x_46); +lean_dec(x_3); +lean_dec(x_2); +return x_50; } } } @@ -51810,7 +51767,7 @@ static lean_object* _init_l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__8; @@ -51894,7 +51851,7 @@ static lean_object* _init_l_Lean_Parser_Term_dbgTrace___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_dbgTrace___closed__3; @@ -51975,7 +51932,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_dbgTrace(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_dbgTrace; @@ -52246,153 +52203,149 @@ lean_dec(x_7); x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -x_11 = l_Lean_FileMap_toPosition(x_9, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_3, 4, x_12); -x_13 = l_Init_Data_Repr___instance__15___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +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_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = l_Init_Data_Repr___instance__15___closed__1; +x_12 = lean_string_append(x_11, x_1); +x_13 = lean_string_append(x_12, x_11); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_18, x_3, x_16); -return x_19; +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_16, x_3, x_14); +return x_17; } else { -lean_dec(x_17); +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -return x_16; +return x_14; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_20 = lean_ctor_get(x_6, 0); -x_21 = lean_ctor_get(x_6, 1); -x_22 = lean_ctor_get(x_6, 2); -lean_inc(x_22); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); lean_dec(x_6); -x_23 = lean_ctor_get(x_4, 1); -lean_inc(x_23); -x_24 = l_Lean_FileMap_toPosition(x_22, x_23); -x_25 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_25, 0, x_20); -lean_ctor_set(x_25, 1, x_21); -lean_ctor_set(x_25, 2, x_22); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_3, 4, x_26); -lean_ctor_set(x_3, 0, x_25); -x_27 = l_Init_Data_Repr___instance__15___closed__1; -x_28 = lean_string_append(x_27, x_1); -x_29 = lean_string_append(x_28, x_27); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_ctor_get(x_4, 1); +lean_inc(x_22); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_3, 4, x_23); +lean_ctor_set(x_3, 0, x_21); +x_24 = l_Init_Data_Repr___instance__15___closed__1; +x_25 = lean_string_append(x_24, x_1); +x_26 = lean_string_append(x_25, x_24); lean_inc(x_3); -x_30 = l_Lean_Parser_symbolFnAux(x_1, x_29, x_3, x_4); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_27 = l_Lean_Parser_symbolFnAux(x_1, x_26, x_3, x_4); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_32, x_3, x_30); -return x_33; -} -else -{ -lean_dec(x_31); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_29; lean_object* x_30; +x_29 = lean_unsigned_to_nat(0u); +x_30 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_29, x_3, x_27); return x_30; } -} -} else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_34 = lean_ctor_get(x_3, 0); -x_35 = lean_ctor_get(x_3, 1); -x_36 = lean_ctor_get(x_3, 2); -x_37 = lean_ctor_get(x_3, 3); -x_38 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_39 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_40 = lean_ctor_get(x_3, 5); -lean_inc(x_40); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); +lean_dec(x_28); lean_dec(x_3); -x_41 = lean_ctor_get(x_34, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_34, 1); -lean_inc(x_42); -x_43 = lean_ctor_get(x_34, 2); -lean_inc(x_43); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - x_44 = x_34; -} else { - lean_dec_ref(x_34); - x_44 = lean_box(0); +lean_dec(x_2); +return x_27; } -x_45 = lean_ctor_get(x_4, 1); -lean_inc(x_45); -x_46 = l_Lean_FileMap_toPosition(x_43, x_45); -if (lean_is_scalar(x_44)) { - x_47 = lean_alloc_ctor(0, 3, 0); -} else { - x_47 = x_44; } -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_42); -lean_ctor_set(x_47, 2, x_43); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_46); -x_49 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_35); -lean_ctor_set(x_49, 2, x_36); -lean_ctor_set(x_49, 3, x_37); -lean_ctor_set(x_49, 4, x_48); -lean_ctor_set(x_49, 5, x_40); -lean_ctor_set_uint8(x_49, sizeof(void*)*6, x_38); -lean_ctor_set_uint8(x_49, sizeof(void*)*6 + 1, x_39); -x_50 = l_Init_Data_Repr___instance__15___closed__1; -x_51 = lean_string_append(x_50, x_1); -x_52 = lean_string_append(x_51, x_50); -lean_inc(x_49); -x_53 = l_Lean_Parser_symbolFnAux(x_1, x_52, x_49, x_4); -x_54 = lean_ctor_get(x_53, 3); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; -x_55 = lean_unsigned_to_nat(0u); -x_56 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_55, x_49, x_53); -return x_56; } else { -lean_dec(x_54); -lean_dec(x_49); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_31 = lean_ctor_get(x_3, 0); +x_32 = lean_ctor_get(x_3, 1); +x_33 = lean_ctor_get(x_3, 2); +x_34 = lean_ctor_get(x_3, 3); +x_35 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_36 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_37 = lean_ctor_get(x_3, 5); +lean_inc(x_37); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_3); +x_38 = lean_ctor_get(x_31, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_31, 2); +lean_inc(x_40); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + lean_ctor_release(x_31, 2); + x_41 = x_31; +} else { + lean_dec_ref(x_31); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 3, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set(x_42, 2, x_40); +x_43 = lean_ctor_get(x_4, 1); +lean_inc(x_43); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_32); +lean_ctor_set(x_45, 2, x_33); +lean_ctor_set(x_45, 3, x_34); +lean_ctor_set(x_45, 4, x_44); +lean_ctor_set(x_45, 5, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_35); +lean_ctor_set_uint8(x_45, sizeof(void*)*6 + 1, x_36); +x_46 = l_Init_Data_Repr___instance__15___closed__1; +x_47 = lean_string_append(x_46, x_1); +x_48 = lean_string_append(x_47, x_46); +lean_inc(x_45); +x_49 = l_Lean_Parser_symbolFnAux(x_1, x_48, x_45, x_4); +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; +x_51 = lean_unsigned_to_nat(0u); +x_52 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_51, x_45, x_49); +return x_52; +} +else +{ +lean_dec(x_50); +lean_dec(x_45); lean_dec(x_2); -return x_53; +return x_49; } } } @@ -52458,7 +52411,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__6; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_Term_assert___elambda__1___lambda__1___boxed), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -52469,7 +52422,7 @@ static lean_object* _init_l_Lean_Parser_Term_assert___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Term_assert___elambda__1___closed__7; @@ -52541,7 +52494,7 @@ static lean_object* _init_l_Lean_Parser_Term_assert___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_have___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_assert___closed__2; @@ -52622,7 +52575,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_assert(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_assert___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_assert; @@ -53284,7 +53237,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_stateRefT(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Term_stateRefT___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_stateRefT; @@ -53888,7 +53841,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Tactic_quot___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Tactic_quot; @@ -54297,7 +54250,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quotSeq(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Tactic_quotSeq; @@ -54774,7 +54727,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Level_quot(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_3 = l_Lean_Parser_Level_quot___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Level_quot; @@ -56435,10 +56388,6 @@ l_Lean_Parser_Term_haveAssign___elambda__1___closed__6 = _init_l_Lean_Parser_Ter lean_mark_persistent(l_Lean_Parser_Term_haveAssign___elambda__1___closed__6); l_Lean_Parser_Term_haveAssign___elambda__1___closed__7 = _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_haveAssign___elambda__1___closed__7); -l_Lean_Parser_Term_haveAssign___elambda__1___closed__8 = _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_haveAssign___elambda__1___closed__8); -l_Lean_Parser_Term_haveAssign___elambda__1___closed__9 = _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_haveAssign___elambda__1___closed__9); l_Lean_Parser_Term_haveAssign___closed__1 = _init_l_Lean_Parser_Term_haveAssign___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveAssign___closed__1); l_Lean_Parser_Term_haveAssign___closed__2 = _init_l_Lean_Parser_Term_haveAssign___closed__2(); @@ -56491,8 +56440,6 @@ l_Lean_Parser_Term_have___elambda__1___closed__9 = _init_l_Lean_Parser_Term_have lean_mark_persistent(l_Lean_Parser_Term_have___elambda__1___closed__9); l_Lean_Parser_Term_have___elambda__1___closed__10 = _init_l_Lean_Parser_Term_have___elambda__1___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_have___elambda__1___closed__10); -l_Lean_Parser_Term_have___elambda__1___closed__11 = _init_l_Lean_Parser_Term_have___elambda__1___closed__11(); -lean_mark_persistent(l_Lean_Parser_Term_have___elambda__1___closed__11); l_Lean_Parser_Term_have___closed__1 = _init_l_Lean_Parser_Term_have___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_have___closed__1); l_Lean_Parser_Term_have___closed__2 = _init_l_Lean_Parser_Term_have___closed__2(); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c index d97976e035..d32e875ba3 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c @@ -120,7 +120,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_try_formatter(lean_object*, lean_obj lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute(lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -164,6 +163,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatt lean_object* l_String_trimRight(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind_match__1(lean_object*); lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -213,6 +213,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_identEq_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLineEq_formatter___rarg(lean_object*); lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_Lean_PrettyPrinter_Formatter___instance__2___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -231,6 +232,7 @@ lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_many1Unbox_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_checkKind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -328,6 +330,7 @@ uint8_t l_Lean_Name_isNum(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_format___closed__3; +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Lean_PrettyPrinter_Formatter___instance__1___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___boxed(lean_object*); @@ -375,7 +378,7 @@ lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Formatter_Lean_PrettyPr lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__3___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2094_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2104_(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(lean_object*); extern lean_object* l_Lean_ParserCompiler_CombinatorAttribute_Lean_ParserCompiler_Attribute___instance__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; @@ -3930,6 +3933,40 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} lean_object* l_Lean_PrettyPrinter_Formatter_try_formatter(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: { @@ -8234,7 +8271,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_formatTerm___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -8268,7 +8305,7 @@ x_6 = l_Lean_PrettyPrinter_format(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2094_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2104_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -8468,7 +8505,7 @@ l_Lean_PrettyPrinter_formatTerm___closed__1 = _init_l_Lean_PrettyPrinter_formatT lean_mark_persistent(l_Lean_PrettyPrinter_formatTerm___closed__1); l_Lean_PrettyPrinter_formatCommand___closed__1 = _init_l_Lean_PrettyPrinter_formatCommand___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__1); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2094_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2104_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 11bca7dd93..b2c9779860 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -82,7 +82,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthes uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2426_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2436_(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,6 +106,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_leadPrec___closed__1; lean_object* l_List_range(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,7 +121,6 @@ lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg(lean_object*); -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind___closed__1; @@ -142,6 +142,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); @@ -236,6 +237,7 @@ extern lean_object* l_Lean_Format_join___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_Lean_PrettyPrinter_Parenthesizer___instance__2___closed__5; @@ -502,6 +504,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__2; @@ -7171,7 +7174,7 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_13 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_13 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_inc(x_1); x_14 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed), 7, 2); lean_closure_set(x_14, 0, x_13); @@ -7217,7 +7220,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_categoryParenthesizerAttribute; -x_3 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_3 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_4 = l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -7532,6 +7535,40 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} lean_object* l_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer(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: { @@ -10193,7 +10230,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_parenthesizeTerm___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17; +x_1 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -10231,7 +10268,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2426_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2436_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -10524,7 +10561,7 @@ l_Lean_PrettyPrinter_parenthesizeTerm___closed__1 = _init_l_Lean_PrettyPrinter_p lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeTerm___closed__1); l_Lean_PrettyPrinter_parenthesizeCommand___closed__1 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__1); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2426_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2436_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index 6cb79afa0d..21fddddf4e 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -37,8 +37,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__6(lean_obje lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__7; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_withNestedTraces___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,7 +73,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__3; lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__7; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6; @@ -79,6 +80,7 @@ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Array_findSomeM_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; lean_object* l_Lean_withNestedTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_502____closed__7; lean_object* l_Lean_traceM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__7; @@ -106,14 +108,12 @@ lean_object* l_Lean_withNestedTraces(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode(lean_object*); lean_object* l_Lean_traceM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__1; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; lean_object* l_Lean_enableTracing___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_modifyTraces(lean_object*); lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__2(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__1; -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l_Nat_foldM_loop___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__8; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5(lean_object*, size_t, size_t, lean_object*); @@ -123,9 +123,9 @@ lean_object* l_Lean_Lean_Util_Trace___instance__3___rarg(lean_object*, lean_obje lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__4; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_682____closed__4; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21; lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; +extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; lean_object* l_Lean_enableTracing___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass___closed__2; @@ -182,7 +182,6 @@ lean_object* l_Lean_modifyTraces___rarg(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__11; size_t l_USize_land(size_t, size_t); extern lean_object* l_Lean_nullKind___closed__2; -extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__8; lean_object* l_fix1___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -240,7 +239,6 @@ extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed lean_object* l_Lean_trace___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__3; -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l___private_Init_LeanInit_0__Lean_quoteName(lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1315_(lean_object*, lean_object*, lean_object*); @@ -274,9 +272,7 @@ lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__10; lean_object* l_Lean_traceCtx___rarg___lambda__3(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_checkTraceOption___closed__2; extern lean_object* l_tryFinally___rarg___closed__1; -extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux(lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__10; lean_object* l_Lean_TraceState_Lean_Util_Trace___instance__2___closed__1; @@ -2612,7 +2608,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__9; -x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18; +x_2 = l___kind_tactic____x40_Init_Tactics___hyg_461____closed__10; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -2760,11 +2756,9 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Tactics___hyg_502____closed__7; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -2772,9 +2766,11 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_Lean_nullKind___closed__2; x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__12; -x_3 = lean_array_push(x_1, x_2); +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; } } @@ -2782,31 +2778,27 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__13; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = lean_array_push(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("=>"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; +x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__15; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; @@ -2816,7 +2808,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14; x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -2825,51 +2817,21 @@ return x_3; static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2943,16 +2905,16 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = lean_array_push(x_26, x_15); x_29 = lean_array_push(x_26, x_17); -x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; x_31 = l_Lean_addMacroScope(x_19, x_30, x_18); -x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; -x_33 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22; +x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_33 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_22); lean_ctor_set(x_34, 1, x_32); lean_ctor_set(x_34, 2, x_31); lean_ctor_set(x_34, 3, x_33); -x_35 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; x_36 = lean_array_push(x_35, x_34); x_37 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_38 = lean_alloc_ctor(1, 2, 0); @@ -2975,7 +2937,7 @@ x_48 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__4; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); -x_50 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_50 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_51 = lean_array_push(x_50, x_49); x_52 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_53 = lean_alloc_ctor(1, 2, 0); @@ -3217,16 +3179,16 @@ lean_dec(x_15); x_32 = l___private_Init_LeanInit_0__Lean_quoteName(x_31); x_33 = lean_array_push(x_29, x_32); x_34 = lean_array_push(x_29, x_17); -x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__6; x_36 = l_Lean_addMacroScope(x_22, x_35, x_21); -x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__4; -x_38 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22; +x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__5; +x_38 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_25); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22; +x_40 = l_Lean_myMacro____x40_Lean_Message___hyg_1875____closed__2; x_41 = lean_array_push(x_40, x_39); x_42 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8; x_43 = lean_alloc_ctor(1, 2, 0); @@ -3249,7 +3211,7 @@ x_53 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__4; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_56 = lean_array_push(x_55, x_54); x_57 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_58 = lean_alloc_ctor(1, 2, 0); @@ -3305,7 +3267,7 @@ x_84 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20; +x_86 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17; x_87 = lean_array_push(x_86, x_85); x_88 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11; x_89 = lean_alloc_ctor(1, 2, 0); @@ -4192,12 +4154,6 @@ l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18 = _init_l_Lean_myM lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__18); l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__20); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__22); l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__1 = _init_l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__1(); lean_mark_persistent(l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__1); l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__2 = _init_l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1247____closed__2();