From 6d30aeefe52c27139d8a926d66d0047e896dad71 Mon Sep 17 00:00:00 2001 From: Lean stage0 autoupdater <> Date: Mon, 15 Sep 2025 17:51:09 +0000 Subject: [PATCH] chore: update stage0 --- stage0/src/stdlib_flags.h | 2 - stage0/stdlib/Init/TacticsExtra.c | 1601 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 7403 ++++---- stage0/stdlib/Lean/Elab/DocString/Builtin.c | 14582 ++++++++++++++-- .../Lean/Elab/DocString/Builtin/Keywords.c | 4069 ++++- stage0/stdlib/Lean/Elab/MutualDef.c | 114 +- stage0/stdlib/Lean/Elab/SyntheticMVars.c | 437 +- .../stdlib/Lean/Meta/AbstractNestedProofs.c | 133 +- 8 files changed, 22337 insertions(+), 6004 deletions(-) diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 22cdbb1cda..79a0e58edd 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,7 +1,5 @@ #include "util/options.h" -// CI, please update stage0 - namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Init/TacticsExtra.c b/stage0/stdlib/Init/TacticsExtra.c index e8b2be3df1..0fc4f68971 100644 --- a/stage0/stdlib/Init/TacticsExtra.c +++ b/stage0/stdlib/Init/TacticsExtra.c @@ -28,14 +28,12 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______mac static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___closed__1; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; -static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_location; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1_spec__0___redArg___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__0; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__2; -static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___boxed(lean_object*, lean_object*, lean_object*); @@ -54,7 +52,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__6; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1_spec__0___redArg___closed__8; static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__2; -static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; extern lean_object* l_Lean_Parser_Tactic_optConfig; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; @@ -78,10 +75,12 @@ static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIf LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast_____closed__1; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__1; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__4___closed__1; +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1(lean_object*, lean_object*, lean_object*); @@ -110,6 +109,7 @@ static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIf static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_object* l_Lean_Syntax_TSepArray_getElems___redArg(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__0; +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34; static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__8; LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__2___boxed(lean_object*, lean_object*, lean_object*); @@ -120,6 +120,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRul static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__3; +uint8_t l_Lean_Syntax_isMissing(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__5; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4; @@ -129,6 +130,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__4; LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__12; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29; LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; @@ -156,6 +158,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______mac LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticExact__mod__cast__; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__4; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__20; +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -164,6 +167,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRul static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__11; static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1_spec__0___redArg___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__3; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); @@ -208,7 +212,6 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___ lean_object* l_Lean_Name_mkStr1(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__3; -static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; static lean_object* l_Lean_Parser_Tactic_tacticRw__mod__cast_________closed__9; static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__17; @@ -341,7 +344,7 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("case", 4, 4); +x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); return x_1; } } @@ -361,32 +364,15 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("null", 4, 4); +x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__10; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("caseArg", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__12; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__10; x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; @@ -394,29 +380,48 @@ x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__12; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("binderIdent", 11, 11); +x_1 = lean_mk_string_unchecked("withAnnotateState", 17, 17); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__14; -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; +x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16() { _start: { lean_object* x_1; -x_1 = l_Array_mkArray0(lean_box(0)); +x_1 = lean_mk_string_unchecked("with_annotate_state", 19, 19); return x_1; } } @@ -424,23 +429,15 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("=>", 2, 2); +x_1 = lean_mk_string_unchecked("skip", 4, 4); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; @@ -448,11 +445,19 @@ x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_mkArray0(lean_box(0)); +return x_1; +} +} static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__20() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); +x_1 = lean_mk_string_unchecked("paren", 5, 5); return x_1; } } @@ -472,43 +477,31 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("withAnnotateState", 17, 17); +x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; -x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; -x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked(")", 1, 1); +return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("with_annotate_state", 19, 19); +x_1 = lean_mk_string_unchecked("case", 4, 4); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("skip", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; @@ -516,16 +509,82 @@ x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("caseArg", 7, 7); +return x_1; +} +} static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; +x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("binderIdent", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("=>", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(1u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("sorry", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__2; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; +x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -550,356 +609,426 @@ x_9 = l_Lean_Syntax_isOfKind(x_2, x_8); if (x_9 == 0) { uint8_t x_10; -x_10 = !lean_is_exclusive(x_5); +x_10 = l_Lean_Syntax_isMissing(x_1); if (x_10 == 0) { uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); +x_11 = !lean_is_exclusive(x_5); 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; -x_12 = lean_ctor_get(x_5, 0); -x_13 = lean_ctor_get(x_4, 5); -x_14 = lean_ctor_get(x_4, 2); -lean_dec(x_14); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_12, x_15); -lean_ctor_set(x_5, 0, x_16); -lean_inc(x_13); -lean_ctor_set(x_4, 2, x_12); -x_17 = lean_apply_2(x_3, x_4, x_5); -if (lean_obj_tag(x_17) == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_4); +if (x_12 == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_4, 5); +x_15 = lean_ctor_get(x_4, 2); +lean_dec(x_15); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_13, x_16); +lean_ctor_set(x_5, 0, x_17); +lean_inc(x_14); +lean_ctor_set(x_4, 2, x_13); +x_18 = lean_apply_2(x_3, x_4, x_5); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_19 = lean_ctor_get(x_17, 0); -x_20 = 1; -x_21 = l_Lean_Syntax_getArg(x_19, x_15); -x_22 = l_Lean_SourceInfo_fromRef(x_13, x_9); -lean_dec(x_13); -x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; -x_24 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; -lean_inc(x_22); -x_25 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_23); +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_20 = lean_ctor_get(x_18, 0); +x_21 = 1; +x_22 = l_Lean_Syntax_getArg(x_20, x_16); +x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_24 = lean_box(0); +x_25 = l_Lean_SourceInfo_fromRef(x_24, x_10); x_26 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; x_28 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; -lean_inc(x_22); -x_29 = l_Lean_Syntax_node1(x_22, x_28, x_21); -x_30 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; -lean_inc(x_22); -x_31 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_26); -lean_ctor_set(x_31, 2, x_30); -lean_inc_ref(x_31); -lean_inc(x_22); -x_32 = l_Lean_Syntax_node2(x_22, x_27, x_29, x_31); -lean_inc(x_22); -x_33 = l_Lean_Syntax_node1(x_22, x_26, x_32); -x_34 = l_Lean_SourceInfo_fromRef(x_1, x_20); -x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +x_29 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +lean_inc(x_25); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; +x_32 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +lean_inc(x_25); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_25); +lean_ctor_set(x_33, 1, x_31); +lean_inc(x_25); +x_34 = l_Lean_Syntax_node1(x_25, x_32, x_33); +lean_inc(x_1); +lean_inc(x_25); +x_35 = l_Lean_Syntax_node3(x_25, x_28, x_30, x_1, x_34); +x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +lean_inc(x_25); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_25); +lean_ctor_set(x_37, 1, x_27); +lean_ctor_set(x_37, 2, x_36); x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; -x_40 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; -lean_inc(x_22); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_22); -lean_ctor_set(x_41, 1, x_40); -x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; -x_43 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; -lean_inc(x_22); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_22); -lean_ctor_set(x_44, 1, x_42); -lean_inc(x_22); -x_45 = l_Lean_Syntax_node1(x_22, x_43, x_44); -lean_inc(x_22); -x_46 = l_Lean_Syntax_node3(x_22, x_39, x_41, x_1, x_45); -lean_inc(x_22); -x_47 = l_Lean_Syntax_node3(x_22, x_26, x_46, x_31, x_2); -lean_inc(x_22); -x_48 = l_Lean_Syntax_node1(x_22, x_38, x_47); -lean_inc(x_22); -x_49 = l_Lean_Syntax_node1(x_22, x_37, x_48); -x_50 = l_Lean_Syntax_node4(x_22, x_24, x_25, x_33, x_36, x_49); -x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; -x_52 = lean_array_push(x_51, x_50); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_19); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_17, 0, x_53); -return x_17; +x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; +lean_inc(x_25); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_25); +lean_ctor_set(x_40, 1, x_39); +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; +lean_inc(x_25); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_25); +lean_ctor_set(x_42, 1, x_41); +lean_inc(x_25); +x_43 = l_Lean_Syntax_node3(x_25, x_38, x_40, x_2, x_42); +lean_inc(x_25); +x_44 = l_Lean_Syntax_node3(x_25, x_27, x_35, x_37, x_43); +lean_inc(x_25); +x_45 = l_Lean_Syntax_node1(x_25, x_26, x_44); +x_46 = l_Lean_Syntax_node1(x_25, x_23, x_45); +x_47 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +x_48 = l_Lean_SourceInfo_fromRef(x_47, x_10); +lean_dec(x_47); +x_49 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; +x_50 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; +lean_inc(x_48); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +x_52 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; +x_53 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29; +lean_inc(x_48); +x_54 = l_Lean_Syntax_node1(x_48, x_53, x_22); +lean_inc(x_48); +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_48); +lean_ctor_set(x_55, 1, x_27); +lean_ctor_set(x_55, 2, x_36); +lean_inc(x_48); +x_56 = l_Lean_Syntax_node2(x_48, x_52, x_54, x_55); +lean_inc(x_48); +x_57 = l_Lean_Syntax_node1(x_48, x_27, x_56); +x_58 = l_Lean_SourceInfo_fromRef(x_1, x_21); +lean_dec(x_1); +x_59 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30; +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Syntax_node4(x_48, x_50, x_51, x_57, x_60, x_46); +x_62 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31; +x_63 = lean_array_push(x_62, x_61); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_20); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_18, 0, x_64); +return x_18; } else { -lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_54 = lean_ctor_get(x_17, 0); -x_55 = lean_ctor_get(x_17, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_17); -x_56 = 1; -x_57 = l_Lean_Syntax_getArg(x_54, x_15); -x_58 = l_Lean_SourceInfo_fromRef(x_13, x_9); -lean_dec(x_13); -x_59 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; -x_60 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; -lean_inc(x_58); -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_59); -x_62 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; -x_64 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; -lean_inc(x_58); -x_65 = l_Lean_Syntax_node1(x_58, x_64, x_57); -x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; -lean_inc(x_58); -x_67 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_67, 0, x_58); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_66); -lean_inc_ref(x_67); -lean_inc(x_58); -x_68 = l_Lean_Syntax_node2(x_58, x_63, x_65, x_67); -lean_inc(x_58); -x_69 = l_Lean_Syntax_node1(x_58, x_62, x_68); -x_70 = l_Lean_SourceInfo_fromRef(x_1, x_56); -x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_74 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_75 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; -x_76 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; -lean_inc(x_58); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_58); -lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; -x_79 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; -lean_inc(x_58); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_58); -lean_ctor_set(x_80, 1, x_78); -lean_inc(x_58); -x_81 = l_Lean_Syntax_node1(x_58, x_79, x_80); -lean_inc(x_58); -x_82 = l_Lean_Syntax_node3(x_58, x_75, x_77, x_1, x_81); -lean_inc(x_58); -x_83 = l_Lean_Syntax_node3(x_58, x_62, x_82, x_67, x_2); -lean_inc(x_58); -x_84 = l_Lean_Syntax_node1(x_58, x_74, x_83); -lean_inc(x_58); -x_85 = l_Lean_Syntax_node1(x_58, x_73, x_84); -x_86 = l_Lean_Syntax_node4(x_58, x_60, x_61, x_69, x_72, x_85); -x_87 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; -x_88 = lean_array_push(x_87, x_86); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_54); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_55); -return x_90; +lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_65 = lean_ctor_get(x_18, 0); +x_66 = lean_ctor_get(x_18, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_18); +x_67 = 1; +x_68 = l_Lean_Syntax_getArg(x_65, x_16); +x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_70 = lean_box(0); +x_71 = l_Lean_SourceInfo_fromRef(x_70, x_10); +x_72 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_74 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; +x_75 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +lean_inc(x_71); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +x_77 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; +x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +lean_inc(x_71); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_71); +lean_ctor_set(x_79, 1, x_77); +lean_inc(x_71); +x_80 = l_Lean_Syntax_node1(x_71, x_78, x_79); +lean_inc(x_1); +lean_inc(x_71); +x_81 = l_Lean_Syntax_node3(x_71, x_74, x_76, x_1, x_80); +x_82 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +lean_inc(x_71); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_71); +lean_ctor_set(x_83, 1, x_73); +lean_ctor_set(x_83, 2, x_82); +x_84 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_85 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; +lean_inc(x_71); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_71); +lean_ctor_set(x_86, 1, x_85); +x_87 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; +lean_inc(x_71); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_71); +lean_ctor_set(x_88, 1, x_87); +lean_inc(x_71); +x_89 = l_Lean_Syntax_node3(x_71, x_84, x_86, x_2, x_88); +lean_inc(x_71); +x_90 = l_Lean_Syntax_node3(x_71, x_73, x_81, x_83, x_89); +lean_inc(x_71); +x_91 = l_Lean_Syntax_node1(x_71, x_72, x_90); +x_92 = l_Lean_Syntax_node1(x_71, x_69, x_91); +x_93 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +x_94 = l_Lean_SourceInfo_fromRef(x_93, x_10); +lean_dec(x_93); +x_95 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; +x_96 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; +lean_inc(x_94); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +x_98 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; +x_99 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29; +lean_inc(x_94); +x_100 = l_Lean_Syntax_node1(x_94, x_99, x_68); +lean_inc(x_94); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_94); +lean_ctor_set(x_101, 1, x_73); +lean_ctor_set(x_101, 2, x_82); +lean_inc(x_94); +x_102 = l_Lean_Syntax_node2(x_94, x_98, x_100, x_101); +lean_inc(x_94); +x_103 = l_Lean_Syntax_node1(x_94, x_73, x_102); +x_104 = l_Lean_SourceInfo_fromRef(x_1, x_67); +lean_dec(x_1); +x_105 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30; +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Syntax_node4(x_94, x_96, x_97, x_103, x_106, x_92); +x_108 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31; +x_109 = lean_array_push(x_108, x_107); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_65); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_66); +return x_111; } } else { -uint8_t x_91; -lean_dec(x_13); +uint8_t x_112; +lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_17); -if (x_91 == 0) +x_112 = !lean_is_exclusive(x_18); +if (x_112 == 0) { -return x_17; +return x_18; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_17, 0); -x_93 = lean_ctor_get(x_17, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_17); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_18, 0); +x_114 = lean_ctor_get(x_18, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_18); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_95 = lean_ctor_get(x_5, 0); -x_96 = lean_ctor_get(x_4, 0); -x_97 = lean_ctor_get(x_4, 1); -x_98 = lean_ctor_get(x_4, 3); -x_99 = lean_ctor_get(x_4, 4); -x_100 = lean_ctor_get(x_4, 5); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_116 = lean_ctor_get(x_5, 0); +x_117 = lean_ctor_get(x_4, 0); +x_118 = lean_ctor_get(x_4, 1); +x_119 = lean_ctor_get(x_4, 3); +x_120 = lean_ctor_get(x_4, 4); +x_121 = lean_ctor_get(x_4, 5); +lean_inc(x_121); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); lean_dec(x_4); -x_101 = lean_unsigned_to_nat(1u); -x_102 = lean_nat_add(x_95, x_101); -lean_ctor_set(x_5, 0, x_102); -lean_inc(x_100); -x_103 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_103, 0, x_96); -lean_ctor_set(x_103, 1, x_97); -lean_ctor_set(x_103, 2, x_95); -lean_ctor_set(x_103, 3, x_98); -lean_ctor_set(x_103, 4, x_99); -lean_ctor_set(x_103, 5, x_100); -x_104 = lean_apply_2(x_3, x_103, x_5); -if (lean_obj_tag(x_104) == 0) +x_122 = lean_unsigned_to_nat(1u); +x_123 = lean_nat_add(x_116, x_122); +lean_ctor_set(x_5, 0, x_123); +lean_inc(x_121); +x_124 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_124, 0, x_117); +lean_ctor_set(x_124, 1, x_118); +lean_ctor_set(x_124, 2, x_116); +lean_ctor_set(x_124, 3, x_119); +lean_ctor_set(x_124, 4, x_120); +lean_ctor_set(x_124, 5, x_121); +x_125 = lean_apply_2(x_3, x_124, x_5); +if (lean_obj_tag(x_125) == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_107 = x_104; +lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_128 = x_125; } else { - lean_dec_ref(x_104); - x_107 = lean_box(0); + lean_dec_ref(x_125); + x_128 = lean_box(0); } -x_108 = 1; -x_109 = l_Lean_Syntax_getArg(x_105, x_101); -x_110 = l_Lean_SourceInfo_fromRef(x_100, x_9); -lean_dec(x_100); -x_111 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; -x_112 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; -lean_inc(x_110); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -x_114 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_115 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; -x_116 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; -lean_inc(x_110); -x_117 = l_Lean_Syntax_node1(x_110, x_116, x_109); -x_118 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; -lean_inc(x_110); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_110); -lean_ctor_set(x_119, 1, x_114); -lean_ctor_set(x_119, 2, x_118); -lean_inc_ref(x_119); -lean_inc(x_110); -x_120 = l_Lean_Syntax_node2(x_110, x_115, x_117, x_119); -lean_inc(x_110); -x_121 = l_Lean_Syntax_node1(x_110, x_114, x_120); -x_122 = l_Lean_SourceInfo_fromRef(x_1, x_108); -x_123 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_126 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_127 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; -x_128 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; -lean_inc(x_110); -x_129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_129, 0, x_110); -lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; -x_131 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; -lean_inc(x_110); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_110); -lean_ctor_set(x_132, 1, x_130); -lean_inc(x_110); -x_133 = l_Lean_Syntax_node1(x_110, x_131, x_132); -lean_inc(x_110); -x_134 = l_Lean_Syntax_node3(x_110, x_127, x_129, x_1, x_133); -lean_inc(x_110); -x_135 = l_Lean_Syntax_node3(x_110, x_114, x_134, x_119, x_2); -lean_inc(x_110); -x_136 = l_Lean_Syntax_node1(x_110, x_126, x_135); -lean_inc(x_110); -x_137 = l_Lean_Syntax_node1(x_110, x_125, x_136); -x_138 = l_Lean_Syntax_node4(x_110, x_112, x_113, x_121, x_124, x_137); -x_139 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; -x_140 = lean_array_push(x_139, x_138); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_105); -lean_ctor_set(x_141, 1, x_140); -if (lean_is_scalar(x_107)) { - x_142 = lean_alloc_ctor(0, 2, 0); +x_129 = 1; +x_130 = l_Lean_Syntax_getArg(x_126, x_122); +x_131 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_132 = lean_box(0); +x_133 = l_Lean_SourceInfo_fromRef(x_132, x_10); +x_134 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_135 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_136 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; +x_137 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +lean_inc(x_133); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_137); +x_139 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; +x_140 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +lean_inc(x_133); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_133); +lean_ctor_set(x_141, 1, x_139); +lean_inc(x_133); +x_142 = l_Lean_Syntax_node1(x_133, x_140, x_141); +lean_inc(x_1); +lean_inc(x_133); +x_143 = l_Lean_Syntax_node3(x_133, x_136, x_138, x_1, x_142); +x_144 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +lean_inc(x_133); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_133); +lean_ctor_set(x_145, 1, x_135); +lean_ctor_set(x_145, 2, x_144); +x_146 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_147 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; +lean_inc(x_133); +x_148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_148, 0, x_133); +lean_ctor_set(x_148, 1, x_147); +x_149 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; +lean_inc(x_133); +x_150 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_150, 0, x_133); +lean_ctor_set(x_150, 1, x_149); +lean_inc(x_133); +x_151 = l_Lean_Syntax_node3(x_133, x_146, x_148, x_2, x_150); +lean_inc(x_133); +x_152 = l_Lean_Syntax_node3(x_133, x_135, x_143, x_145, x_151); +lean_inc(x_133); +x_153 = l_Lean_Syntax_node1(x_133, x_134, x_152); +x_154 = l_Lean_Syntax_node1(x_133, x_131, x_153); +x_155 = l_Lean_replaceRef(x_1, x_121); +lean_dec(x_121); +x_156 = l_Lean_SourceInfo_fromRef(x_155, x_10); +lean_dec(x_155); +x_157 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; +x_158 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; +lean_inc(x_156); +x_159 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +x_160 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; +x_161 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29; +lean_inc(x_156); +x_162 = l_Lean_Syntax_node1(x_156, x_161, x_130); +lean_inc(x_156); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_156); +lean_ctor_set(x_163, 1, x_135); +lean_ctor_set(x_163, 2, x_144); +lean_inc(x_156); +x_164 = l_Lean_Syntax_node2(x_156, x_160, x_162, x_163); +lean_inc(x_156); +x_165 = l_Lean_Syntax_node1(x_156, x_135, x_164); +x_166 = l_Lean_SourceInfo_fromRef(x_1, x_129); +lean_dec(x_1); +x_167 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30; +x_168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = l_Lean_Syntax_node4(x_156, x_158, x_159, x_165, x_168, x_154); +x_170 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31; +x_171 = lean_array_push(x_170, x_169); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_126); +lean_ctor_set(x_172, 1, x_171); +if (lean_is_scalar(x_128)) { + x_173 = lean_alloc_ctor(0, 2, 0); } else { - x_142 = x_107; + x_173 = x_128; } -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_106); -return x_142; +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_127); +return x_173; } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_100); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_121); lean_dec(x_2); lean_dec(x_1); -x_143 = lean_ctor_get(x_104, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_104, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_145 = x_104; +x_174 = lean_ctor_get(x_125, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_125, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_176 = x_125; } else { - lean_dec_ref(x_104); - x_145 = lean_box(0); + lean_dec_ref(x_125); + x_176 = lean_box(0); } -if (lean_is_scalar(x_145)) { - x_146 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_176)) { + x_177 = lean_alloc_ctor(1, 2, 0); } else { - x_146 = x_145; + x_177 = x_176; } -lean_ctor_set(x_146, 0, x_143); -lean_ctor_set(x_146, 1, x_144); -return x_146; +lean_ctor_set(x_177, 0, x_174); +lean_ctor_set(x_177, 1, x_175); +return x_177; } } } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_147 = lean_ctor_get(x_5, 0); -x_148 = lean_ctor_get(x_5, 1); -lean_inc(x_148); -lean_inc(x_147); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_178 = lean_ctor_get(x_5, 0); +x_179 = lean_ctor_get(x_5, 1); +lean_inc(x_179); +lean_inc(x_178); lean_dec(x_5); -x_149 = lean_ctor_get(x_4, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_4, 1); -lean_inc(x_150); -x_151 = lean_ctor_get(x_4, 3); -lean_inc(x_151); -x_152 = lean_ctor_get(x_4, 4); -lean_inc(x_152); -x_153 = lean_ctor_get(x_4, 5); -lean_inc(x_153); +x_180 = lean_ctor_get(x_4, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_4, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_4, 3); +lean_inc(x_182); +x_183 = lean_ctor_get(x_4, 4); +lean_inc(x_183); +x_184 = lean_ctor_get(x_4, 5); +lean_inc(x_184); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -907,220 +1036,270 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 3); lean_ctor_release(x_4, 4); lean_ctor_release(x_4, 5); - x_154 = x_4; + x_185 = x_4; } else { lean_dec_ref(x_4); - x_154 = lean_box(0); + x_185 = lean_box(0); } -x_155 = lean_unsigned_to_nat(1u); -x_156 = lean_nat_add(x_147, x_155); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_148); -lean_inc(x_153); -if (lean_is_scalar(x_154)) { - x_158 = lean_alloc_ctor(0, 6, 0); +x_186 = lean_unsigned_to_nat(1u); +x_187 = lean_nat_add(x_178, x_186); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_179); +lean_inc(x_184); +if (lean_is_scalar(x_185)) { + x_189 = lean_alloc_ctor(0, 6, 0); } else { - x_158 = x_154; + x_189 = x_185; } -lean_ctor_set(x_158, 0, x_149); -lean_ctor_set(x_158, 1, x_150); -lean_ctor_set(x_158, 2, x_147); -lean_ctor_set(x_158, 3, x_151); -lean_ctor_set(x_158, 4, x_152); -lean_ctor_set(x_158, 5, x_153); -x_159 = lean_apply_2(x_3, x_158, x_157); -if (lean_obj_tag(x_159) == 0) +lean_ctor_set(x_189, 0, x_180); +lean_ctor_set(x_189, 1, x_181); +lean_ctor_set(x_189, 2, x_178); +lean_ctor_set(x_189, 3, x_182); +lean_ctor_set(x_189, 4, x_183); +lean_ctor_set(x_189, 5, x_184); +x_190 = lean_apply_2(x_3, x_189, x_188); +if (lean_obj_tag(x_190) == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_162 = x_159; +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_193 = x_190; } else { - lean_dec_ref(x_159); - x_162 = lean_box(0); + lean_dec_ref(x_190); + x_193 = lean_box(0); } -x_163 = 1; -x_164 = l_Lean_Syntax_getArg(x_160, x_155); -x_165 = l_Lean_SourceInfo_fromRef(x_153, x_9); -lean_dec(x_153); -x_166 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; -x_167 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; -lean_inc(x_165); -x_168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_166); -x_169 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_170 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; -x_171 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; -lean_inc(x_165); -x_172 = l_Lean_Syntax_node1(x_165, x_171, x_164); -x_173 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; -lean_inc(x_165); -x_174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_174, 0, x_165); -lean_ctor_set(x_174, 1, x_169); -lean_ctor_set(x_174, 2, x_173); -lean_inc_ref(x_174); -lean_inc(x_165); -x_175 = l_Lean_Syntax_node2(x_165, x_170, x_172, x_174); -lean_inc(x_165); -x_176 = l_Lean_Syntax_node1(x_165, x_169, x_175); -x_177 = l_Lean_SourceInfo_fromRef(x_1, x_163); -x_178 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; -x_179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -x_180 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_181 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_182 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; -x_183 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; -lean_inc(x_165); -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_165); -lean_ctor_set(x_184, 1, x_183); -x_185 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; -x_186 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; -lean_inc(x_165); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_165); -lean_ctor_set(x_187, 1, x_185); -lean_inc(x_165); -x_188 = l_Lean_Syntax_node1(x_165, x_186, x_187); -lean_inc(x_165); -x_189 = l_Lean_Syntax_node3(x_165, x_182, x_184, x_1, x_188); -lean_inc(x_165); -x_190 = l_Lean_Syntax_node3(x_165, x_169, x_189, x_174, x_2); -lean_inc(x_165); -x_191 = l_Lean_Syntax_node1(x_165, x_181, x_190); -lean_inc(x_165); -x_192 = l_Lean_Syntax_node1(x_165, x_180, x_191); -x_193 = l_Lean_Syntax_node4(x_165, x_167, x_168, x_176, x_179, x_192); -x_194 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; -x_195 = lean_array_push(x_194, x_193); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_160); -lean_ctor_set(x_196, 1, x_195); -if (lean_is_scalar(x_162)) { - x_197 = lean_alloc_ctor(0, 2, 0); -} else { - x_197 = x_162; -} -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_161); -return x_197; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_153); -lean_dec(x_2); -lean_dec(x_1); -x_198 = lean_ctor_get(x_159, 0); +x_194 = 1; +x_195 = l_Lean_Syntax_getArg(x_191, x_186); +x_196 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_197 = lean_box(0); +x_198 = l_Lean_SourceInfo_fromRef(x_197, x_10); +x_199 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_200 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_201 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__15; +x_202 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; lean_inc(x_198); -x_199 = lean_ctor_get(x_159, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_200 = x_159; +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_198); +lean_ctor_set(x_203, 1, x_202); +x_204 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; +x_205 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +lean_inc(x_198); +x_206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_206, 0, x_198); +lean_ctor_set(x_206, 1, x_204); +lean_inc(x_198); +x_207 = l_Lean_Syntax_node1(x_198, x_205, x_206); +lean_inc(x_1); +lean_inc(x_198); +x_208 = l_Lean_Syntax_node3(x_198, x_201, x_203, x_1, x_207); +x_209 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +lean_inc(x_198); +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_198); +lean_ctor_set(x_210, 1, x_200); +lean_ctor_set(x_210, 2, x_209); +x_211 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_212 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; +lean_inc(x_198); +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_198); +lean_ctor_set(x_213, 1, x_212); +x_214 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; +lean_inc(x_198); +x_215 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_215, 0, x_198); +lean_ctor_set(x_215, 1, x_214); +lean_inc(x_198); +x_216 = l_Lean_Syntax_node3(x_198, x_211, x_213, x_2, x_215); +lean_inc(x_198); +x_217 = l_Lean_Syntax_node3(x_198, x_200, x_208, x_210, x_216); +lean_inc(x_198); +x_218 = l_Lean_Syntax_node1(x_198, x_199, x_217); +x_219 = l_Lean_Syntax_node1(x_198, x_196, x_218); +x_220 = l_Lean_replaceRef(x_1, x_184); +lean_dec(x_184); +x_221 = l_Lean_SourceInfo_fromRef(x_220, x_10); +lean_dec(x_220); +x_222 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__24; +x_223 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; +lean_inc(x_221); +x_224 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_224, 0, x_221); +lean_ctor_set(x_224, 1, x_222); +x_225 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27; +x_226 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29; +lean_inc(x_221); +x_227 = l_Lean_Syntax_node1(x_221, x_226, x_195); +lean_inc(x_221); +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_221); +lean_ctor_set(x_228, 1, x_200); +lean_ctor_set(x_228, 2, x_209); +lean_inc(x_221); +x_229 = l_Lean_Syntax_node2(x_221, x_225, x_227, x_228); +lean_inc(x_221); +x_230 = l_Lean_Syntax_node1(x_221, x_200, x_229); +x_231 = l_Lean_SourceInfo_fromRef(x_1, x_194); +lean_dec(x_1); +x_232 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30; +x_233 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_233, 0, x_231); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_Syntax_node4(x_221, x_223, x_224, x_230, x_233, x_219); +x_235 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31; +x_236 = lean_array_push(x_235, x_234); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_191); +lean_ctor_set(x_237, 1, x_236); +if (lean_is_scalar(x_193)) { + x_238 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_159); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(1, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_198); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} + x_238 = x_193; } +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_192); +return x_238; } else { -lean_object* x_202; +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_184); lean_dec(x_2); lean_dec(x_1); -x_202 = lean_apply_2(x_3, x_4, x_5); -if (lean_obj_tag(x_202) == 0) -{ -uint8_t x_203; -x_203 = !lean_is_exclusive(x_202); -if (x_203 == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_202, 0); -x_205 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28; -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -lean_ctor_set(x_202, 0, x_206); -return x_202; +x_239 = lean_ctor_get(x_190, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_190, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_241 = x_190; +} else { + lean_dec_ref(x_190); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; } -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_207 = lean_ctor_get(x_202, 0); -x_208 = lean_ctor_get(x_202, 1); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_202); -x_209 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28; -x_210 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_209); -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_208); -return x_211; } } else { -uint8_t x_212; -x_212 = !lean_is_exclusive(x_202); -if (x_212 == 0) -{ -return x_202; +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_243 = lean_ctor_get(x_4, 5); +lean_inc(x_243); +lean_dec_ref(x_4); +x_244 = l_Lean_SourceInfo_fromRef(x_243, x_9); +lean_dec(x_243); +x_245 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32; +x_246 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33; +lean_inc(x_244); +x_247 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_247, 0, x_244); +lean_ctor_set(x_247, 1, x_245); +x_248 = l_Lean_Syntax_node1(x_244, x_246, x_247); +x_249 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34; +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_248); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_5); +return x_251; +} } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_213 = lean_ctor_get(x_202, 0); -x_214 = lean_ctor_get(x_202, 1); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_202); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_213); -lean_ctor_set(x_215, 1, x_214); -return x_215; +lean_object* x_252; +lean_dec(x_2); +lean_dec(x_1); +x_252 = lean_apply_2(x_3, x_4, x_5); +if (lean_obj_tag(x_252) == 0) +{ +uint8_t x_253; +x_253 = !lean_is_exclusive(x_252); +if (x_253 == 0) +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_254 = lean_ctor_get(x_252, 0); +x_255 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34; +x_256 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_256, 0, x_254); +lean_ctor_set(x_256, 1, x_255); +lean_ctor_set(x_252, 0, x_256); +return x_252; +} +else +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_257 = lean_ctor_get(x_252, 0); +x_258 = lean_ctor_get(x_252, 1); +lean_inc(x_258); +lean_inc(x_257); +lean_dec(x_252); +x_259 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34; +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_257); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_258); +return x_261; +} +} +else +{ +uint8_t x_262; +x_262 = !lean_is_exclusive(x_252); +if (x_262 == 0) +{ +return x_252; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_252, 0); +x_264 = lean_ctor_get(x_252, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_252); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; } } } } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_1); -x_216 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28; -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_2); -lean_ctor_set(x_217, 1, x_216); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_5); -return x_218; +x_266 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34; +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_2); +lean_ctor_set(x_267, 1, x_266); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_5); +return x_268; } } } @@ -1482,7 +1661,7 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("paren", 5, 5); +x_1 = lean_mk_string_unchecked("open", 4, 4); return x_1; } } @@ -1502,7 +1681,7 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("(", 1, 1); +x_1 = lean_mk_string_unchecked("Command", 7, 7); return x_1; } } @@ -1510,7 +1689,7 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("open", 4, 4); +x_1 = lean_mk_string_unchecked("openSimple", 10, 10); return x_1; } } @@ -1519,7 +1698,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); @@ -1530,79 +1709,51 @@ static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_ex _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Command", 7, 7); +x_1 = lean_mk_string_unchecked("Classical", 9, 9); return x_1; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("openSimple", 10, 10); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5; -x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; -x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; } } static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Classical", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___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); return x_3; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10() { _start: { lean_object* x_1; @@ -1610,7 +1761,7 @@ x_1 = lean_mk_string_unchecked("in", 2, 2); return x_1; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11() { _start: { lean_object* x_1; @@ -1618,11 +1769,11 @@ x_1 = lean_mk_string_unchecked("refine", 6, 6); return x_1; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__7; x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__1; x_4 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__0; @@ -1630,15 +1781,7 @@ x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(")", 1, 1); -return x_1; -} -} -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13() { _start: { lean_object* x_1; @@ -1646,7 +1789,7 @@ x_1 = lean_mk_string_unchecked(";", 1, 1); return x_1; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14() { _start: { lean_object* x_1; @@ -1654,12 +1797,12 @@ x_1 = l_Array_empty(lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19() { +static lean_object* _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18; -x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; x_3 = lean_box(2); x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_3); @@ -1734,26 +1877,26 @@ lean_dec_ref(x_7); x_31 = 0; x_32 = l_Lean_SourceInfo_fromRef(x_30, x_31); lean_dec(x_30); -x_33 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_33 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_32); lean_ctor_set_tag(x_20, 2); lean_ctor_set(x_20, 1, x_34); lean_ctor_set(x_20, 0, x_32); -x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; -x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__0; +x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; lean_inc(x_32); lean_ctor_set_tag(x_13, 2); lean_ctor_set(x_13, 1, x_38); lean_ctor_set(x_13, 0, x_32); -x_40 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; -x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; -x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; +x_40 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; +x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; x_43 = l_Lean_addMacroScope(x_28, x_42, x_29); -x_44 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_44 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; lean_inc(x_32); x_45 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_45, 0, x_32); @@ -1764,13 +1907,13 @@ lean_inc(x_32); x_46 = l_Lean_Syntax_node1(x_32, x_37, x_45); lean_inc(x_32); x_47 = l_Lean_Syntax_node1(x_32, x_40, x_46); -x_48 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; +x_48 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; lean_inc(x_32); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_32); lean_ctor_set(x_49, 1, x_48); -x_50 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; -x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; +x_50 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; +x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; x_52 = 1; x_53 = l_Lean_SourceInfo_fromRef(x_1, x_52); x_54 = lean_alloc_ctor(2, 2, 0); @@ -1792,7 +1935,7 @@ lean_inc(x_32); x_61 = l_Lean_Syntax_node1(x_32, x_36, x_60); lean_inc(x_32); x_62 = l_Lean_Syntax_node1(x_32, x_35, x_61); -x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_32); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_32); @@ -1801,7 +1944,7 @@ lean_inc_ref(x_64); lean_inc_ref(x_20); lean_inc(x_32); x_65 = l_Lean_Syntax_node3(x_32, x_33, x_20, x_62, x_64); -x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_32); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_32); @@ -1812,7 +1955,7 @@ lean_dec(x_24); x_70 = lean_array_size(x_69); x_71 = 0; x_72 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_70, x_71, x_69); -x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_74 = l_Lean_mkSepArray(x_72, x_73); lean_dec_ref(x_72); x_75 = l_Array_append___redArg(x_68, x_74); @@ -1848,26 +1991,26 @@ lean_dec_ref(x_7); x_85 = 0; x_86 = l_Lean_SourceInfo_fromRef(x_84, x_85); lean_dec(x_84); -x_87 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_88 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_87 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_88 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_86); lean_ctor_set_tag(x_20, 2); lean_ctor_set(x_20, 1, x_88); lean_ctor_set(x_20, 0, x_86); -x_89 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_90 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_91 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_92 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; -x_93 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_89 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_90 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_91 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_92 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__0; +x_93 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; lean_inc(x_86); lean_ctor_set_tag(x_13, 2); lean_ctor_set(x_13, 1, x_92); lean_ctor_set(x_13, 0, x_86); -x_94 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; -x_95 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; -x_96 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; +x_94 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_95 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; +x_96 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; x_97 = l_Lean_addMacroScope(x_82, x_96, x_83); -x_98 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_98 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; lean_inc(x_86); x_99 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_99, 0, x_86); @@ -1878,13 +2021,13 @@ lean_inc(x_86); x_100 = l_Lean_Syntax_node1(x_86, x_91, x_99); lean_inc(x_86); x_101 = l_Lean_Syntax_node1(x_86, x_94, x_100); -x_102 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; +x_102 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; lean_inc(x_86); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_86); lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; -x_105 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; +x_104 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; +x_105 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; x_106 = 1; x_107 = l_Lean_SourceInfo_fromRef(x_1, x_106); x_108 = lean_alloc_ctor(2, 2, 0); @@ -1906,7 +2049,7 @@ lean_inc(x_86); x_115 = l_Lean_Syntax_node1(x_86, x_90, x_114); lean_inc(x_86); x_116 = l_Lean_Syntax_node1(x_86, x_89, x_115); -x_117 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_117 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_86); x_118 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_118, 0, x_86); @@ -1915,7 +2058,7 @@ lean_inc_ref(x_118); lean_inc_ref(x_20); lean_inc(x_86); x_119 = l_Lean_Syntax_node3(x_86, x_87, x_20, x_116, x_118); -x_120 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_120 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_86); x_121 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_121, 0, x_86); @@ -1926,7 +2069,7 @@ lean_dec(x_24); x_124 = lean_array_size(x_123); x_125 = 0; x_126 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_124, x_125, x_123); -x_127 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_127 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_128 = l_Lean_mkSepArray(x_126, x_127); lean_dec_ref(x_126); x_129 = l_Array_append___redArg(x_122, x_128); @@ -1992,26 +2135,26 @@ lean_dec_ref(x_7); x_144 = 0; x_145 = l_Lean_SourceInfo_fromRef(x_143, x_144); lean_dec(x_143); -x_146 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_147 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_146 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_147 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_145); x_148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_148, 0, x_145); lean_ctor_set(x_148, 1, x_147); -x_149 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_150 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_151 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_152 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; -x_153 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_149 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_150 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_151 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_152 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__0; +x_153 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; lean_inc(x_145); lean_ctor_set_tag(x_13, 2); lean_ctor_set(x_13, 1, x_152); lean_ctor_set(x_13, 0, x_145); -x_154 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; -x_155 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; -x_156 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; +x_154 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_155 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; +x_156 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; x_157 = l_Lean_addMacroScope(x_141, x_156, x_142); -x_158 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_158 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; lean_inc(x_145); x_159 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_159, 0, x_145); @@ -2022,13 +2165,13 @@ lean_inc(x_145); x_160 = l_Lean_Syntax_node1(x_145, x_151, x_159); lean_inc(x_145); x_161 = l_Lean_Syntax_node1(x_145, x_154, x_160); -x_162 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; +x_162 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; lean_inc(x_145); x_163 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_163, 0, x_145); lean_ctor_set(x_163, 1, x_162); -x_164 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; -x_165 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; +x_164 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; +x_165 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; x_166 = 1; x_167 = l_Lean_SourceInfo_fromRef(x_1, x_166); x_168 = lean_alloc_ctor(2, 2, 0); @@ -2050,7 +2193,7 @@ lean_inc(x_145); x_175 = l_Lean_Syntax_node1(x_145, x_150, x_174); lean_inc(x_145); x_176 = l_Lean_Syntax_node1(x_145, x_149, x_175); -x_177 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_177 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_145); x_178 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_178, 0, x_145); @@ -2059,7 +2202,7 @@ lean_inc_ref(x_178); lean_inc_ref(x_148); lean_inc(x_145); x_179 = l_Lean_Syntax_node3(x_145, x_146, x_148, x_176, x_178); -x_180 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_180 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_145); x_181 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_181, 0, x_145); @@ -2070,7 +2213,7 @@ lean_dec(x_136); x_184 = lean_array_size(x_183); x_185 = 0; x_186 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_184, x_185, x_183); -x_187 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_187 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_188 = l_Lean_mkSepArray(x_186, x_187); lean_dec_ref(x_186); x_189 = l_Array_append___redArg(x_182, x_188); @@ -2192,8 +2335,8 @@ lean_dec_ref(x_7); x_215 = 0; x_216 = l_Lean_SourceInfo_fromRef(x_214, x_215); lean_dec(x_214); -x_217 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_218 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_217 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_218 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_216); if (lean_is_scalar(x_207)) { x_219 = lean_alloc_ctor(2, 2, 0); @@ -2203,20 +2346,20 @@ if (lean_is_scalar(x_207)) { } lean_ctor_set(x_219, 0, x_216); lean_ctor_set(x_219, 1, x_218); -x_220 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_221 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_222 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_223 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; -x_224 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_220 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_221 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_222 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_223 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__0; +x_224 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; lean_inc(x_216); x_225 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_225, 0, x_216); lean_ctor_set(x_225, 1, x_223); -x_226 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; -x_227 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; -x_228 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; +x_226 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; +x_227 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__6; +x_228 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__7; x_229 = l_Lean_addMacroScope(x_212, x_228, x_213); -x_230 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_230 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; lean_inc(x_216); x_231 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_231, 0, x_216); @@ -2227,13 +2370,13 @@ lean_inc(x_216); x_232 = l_Lean_Syntax_node1(x_216, x_222, x_231); lean_inc(x_216); x_233 = l_Lean_Syntax_node1(x_216, x_226, x_232); -x_234 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; +x_234 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; lean_inc(x_216); x_235 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_235, 0, x_216); lean_ctor_set(x_235, 1, x_234); -x_236 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; -x_237 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; +x_236 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; +x_237 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; x_238 = 1; x_239 = l_Lean_SourceInfo_fromRef(x_1, x_238); x_240 = lean_alloc_ctor(2, 2, 0); @@ -2255,7 +2398,7 @@ lean_inc(x_216); x_247 = l_Lean_Syntax_node1(x_216, x_221, x_246); lean_inc(x_216); x_248 = l_Lean_Syntax_node1(x_216, x_220, x_247); -x_249 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_249 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_216); x_250 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_250, 0, x_216); @@ -2264,7 +2407,7 @@ lean_inc_ref(x_250); lean_inc_ref(x_219); lean_inc(x_216); x_251 = l_Lean_Syntax_node3(x_216, x_217, x_219, x_248, x_250); -x_252 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_252 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_216); x_253 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_253, 0, x_216); @@ -2275,7 +2418,7 @@ lean_dec(x_206); x_256 = lean_array_size(x_255); x_257 = 0; x_258 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_256, x_257, x_255); -x_259 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_259 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_260 = l_Lean_mkSepArray(x_258, x_259); lean_dec_ref(x_258); x_261 = l_Array_append___redArg(x_254, x_260); @@ -2759,7 +2902,7 @@ lean_inc(x_11); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_11); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__14; +x_15 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28; x_16 = l_Lean_Name_mkStr2(x_1, x_15); x_17 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lam__0___closed__1; x_18 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lam__0___closed__2; @@ -3189,7 +3332,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } @@ -3335,7 +3478,7 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_unsigned_to_nat(2u); x_16 = l_Lean_Syntax_getArg(x_1, x_15); lean_dec(x_1); -x_17 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +x_17 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; lean_inc(x_16); x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); if (x_18 == 0) @@ -3364,8 +3507,8 @@ lean_dec(x_22); lean_dec(x_16); x_24 = lean_ctor_get(x_2, 5); x_25 = l_Lean_SourceInfo_fromRef(x_24, x_11); -x_26 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__25; -x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__26; +x_26 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__17; +x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; lean_inc(x_25); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); @@ -3384,14 +3527,14 @@ x_32 = lean_nat_sub(x_22, x_9); lean_dec(x_22); x_33 = l_Lean_SourceInfo_fromRef(x_31, x_11); x_34 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1; -x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_33); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_33); lean_ctor_set(x_38, 1, x_37); -x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_39 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_33); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_33); @@ -3399,7 +3542,7 @@ lean_ctor_set(x_40, 1, x_39); lean_inc(x_16); lean_inc(x_33); x_41 = l_Lean_Syntax_node3(x_33, x_36, x_38, x_16, x_40); -x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_33); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_33); @@ -3434,7 +3577,7 @@ lean_dec(x_10); x_54 = lean_unsigned_to_nat(2u); x_55 = l_Lean_Syntax_getArg(x_1, x_54); lean_dec(x_1); -x_56 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; +x_56 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; lean_inc(x_55); x_57 = l_Lean_Syntax_isOfKind(x_55, x_56); if (x_57 == 0) @@ -3459,15 +3602,15 @@ lean_inc(x_62); x_65 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_65, 0, x_62); lean_ctor_set(x_65, 1, x_64); -x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_67 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_68 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_67 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_68 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_62); x_70 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_70, 0, x_62); lean_ctor_set(x_70, 1, x_69); -x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_62); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_62); @@ -3475,7 +3618,7 @@ lean_ctor_set(x_72, 1, x_71); lean_inc(x_55); lean_inc(x_62); x_73 = l_Lean_Syntax_node3(x_62, x_68, x_70, x_55, x_72); -x_74 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_74 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_62); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_62); @@ -3485,7 +3628,7 @@ lean_inc(x_62); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_62); lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; lean_inc(x_62); x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_62); @@ -3767,27 +3910,27 @@ x_17 = lean_unsigned_to_nat(0u); x_18 = lean_array_uset(x_10, x_9, x_17); x_19 = 0; x_20 = l_Lean_SourceInfo_fromRef(x_15, x_19); -x_21 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__0; +x_21 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__20; lean_inc_ref(x_3); lean_inc_ref(x_2); lean_inc_ref(x_1); x_22 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_21); -x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_20); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__18; +x_25 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__8; lean_inc_ref(x_3); lean_inc_ref(x_2); lean_inc_ref(x_1); x_26 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_25); -x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__20; +x_27 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__10; lean_inc_ref(x_3); lean_inc_ref(x_2); lean_inc_ref(x_1); x_28 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_27); -x_29 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_29 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; x_30 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticRw__mod__cast________1_spec__0___redArg___closed__0; lean_inc_ref(x_3); lean_inc_ref(x_2); @@ -3798,7 +3941,7 @@ lean_inc(x_20); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_20); lean_ctor_set(x_33, 1, x_32); -x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; lean_inc(x_20); x_35 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_35, 0, x_20); @@ -3835,7 +3978,7 @@ lean_inc(x_20); x_47 = l_Lean_Syntax_node1(x_20, x_29, x_46); lean_inc(x_20); x_48 = l_Lean_Syntax_node3(x_20, x_31, x_33, x_36, x_47); -x_49 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; +x_49 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; lean_inc(x_20); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_20); @@ -3868,7 +4011,7 @@ x_60 = l_Lean_Syntax_node3(x_20, x_5, x_56, x_57, x_59); if (lean_obj_tag(x_7) == 0) { lean_object* x_76; -x_76 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18; +x_76 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; x_61 = x_76; goto block_75; } @@ -3900,7 +4043,7 @@ lean_inc(x_20); x_66 = l_Lean_Syntax_node1(x_20, x_28, x_65); lean_inc(x_20); x_67 = l_Lean_Syntax_node1(x_20, x_26, x_66); -x_68 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_68 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_20); x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_20); @@ -4091,19 +4234,19 @@ x_33 = lean_ctor_get(x_31, 0); x_34 = lean_ctor_get(x_25, 5); x_35 = 0; x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); -x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_37 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_38 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_36); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_36); lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_43 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +x_40 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_42 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_43 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; x_44 = lean_array_size(x_33); x_45 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_44, x_30, x_33); -x_46 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_46 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_47 = l_Lean_mkSepArray(x_45, x_46); lean_dec_ref(x_45); x_48 = l_Array_append___redArg(x_43, x_47); @@ -4117,7 +4260,7 @@ lean_inc(x_36); x_50 = l_Lean_Syntax_node1(x_36, x_41, x_49); lean_inc(x_36); x_51 = l_Lean_Syntax_node1(x_36, x_40, x_50); -x_52 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_52 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_36); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_36); @@ -4137,19 +4280,19 @@ lean_dec(x_31); x_57 = lean_ctor_get(x_25, 5); x_58 = 0; x_59 = l_Lean_SourceInfo_fromRef(x_57, x_58); -x_60 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; -x_61 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_60 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; +x_61 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_59); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_59); lean_ctor_set(x_62, 1, x_61); -x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; -x_64 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__21; -x_65 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; -x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__16; +x_63 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__9; +x_64 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_65 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; +x_66 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__19; x_67 = lean_array_size(x_55); x_68 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse_spec__0(x_67, x_30, x_55); -x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; +x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; x_70 = l_Lean_mkSepArray(x_68, x_69); lean_dec_ref(x_68); x_71 = l_Array_append___redArg(x_66, x_70); @@ -4163,7 +4306,7 @@ lean_inc(x_59); x_73 = l_Lean_Syntax_node1(x_59, x_64, x_72); lean_inc(x_59); x_74 = l_Lean_Syntax_node1(x_59, x_63, x_73); -x_75 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_75 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_59); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_59); @@ -4530,7 +4673,7 @@ lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_19); x_21 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6; x_22 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8; -x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_14); @@ -4555,7 +4698,7 @@ lean_inc(x_14); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_14); lean_ctor_set(x_34, 1, x_33); -x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__6; x_37 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__16; lean_inc(x_14); @@ -4566,7 +4709,7 @@ lean_inc(x_14); x_39 = l_Lean_Syntax_node1(x_14, x_36, x_38); lean_inc(x_14); x_40 = l_Lean_Syntax_node1(x_14, x_35, x_39); -x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_14); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_14); @@ -4727,7 +4870,7 @@ lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_19); x_21 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__6; x_22 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__8; -x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_23 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__22; lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_14); @@ -4752,7 +4895,7 @@ lean_inc(x_14); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_14); lean_ctor_set(x_34, 1, x_33); -x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__11; +x_35 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__13; x_36 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__6; x_37 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticExact__mod__cast____1___closed__16; lean_inc(x_14); @@ -4763,7 +4906,7 @@ lean_inc(x_14); x_39 = l_Lean_Syntax_node1(x_14, x_36, x_38); lean_inc(x_14); x_40 = l_Lean_Syntax_node1(x_14, x_35, x_39); -x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__23; lean_inc(x_14); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_14); @@ -4851,6 +4994,18 @@ l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___ lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__27); l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28(); lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__28); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__29); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__30); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__31); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__32); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__33); +l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34(); +lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__0___closed__34); l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__0 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__0(); lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__0); l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__1 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___lam__3___closed__1(); @@ -4897,14 +5052,6 @@ l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1 lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14); l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15(); lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15); -l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16(); -lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16); -l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17(); -lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17); -l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18(); -lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18); -l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19 = _init_l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19(); -lean_mark_persistent(l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19); l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__0 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__0(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__0); l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lam__0___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 6f3e1feb8f..d76881902c 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -48,6 +48,7 @@ static lean_object* l_Lean_Elab_Term_expandSuffices___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoeSortNotation___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__7; LEAN_EXPORT lean_object* l_List_forM___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -62,7 +63,6 @@ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabShow___regBuiltin_Lean_Elab_Term_elabShow__1___closed__0; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__44; lean_object* l_Lean_Macro_mkMethodsImp(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__4; static lean_object* l_Lean_Elab_Term_elabPanic___closed__8; @@ -70,11 +70,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkPPairs___boxed(lean_object*, lean_ob static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange__3___closed__4; lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__37; +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__36; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1; static lean_object* l_Lean_Elab_Term_expandAssert___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabStateRefT___regBuiltin_Lean_Elab_Term_elabStateRefT__1(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabLeadingParserMacro___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange__3___closed__1; @@ -84,6 +86,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandParen___regBuiltin_Lean_Elab_Term_expandParen_declRange__3___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabShow___regBuiltin_Lean_Elab_Term_elabShow__1___closed__1; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabStateRefT___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,8 +104,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPP static lean_object* l_Lean_Elab_Term_elabRunElab___closed__0; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__14; extern lean_object* l_Lean_maxRecDepthErrorMessage; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__46; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; lean_object* l_Lean_indentD(lean_object*); static lean_object* l_Lean_Elab_Term_elabShow___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor___closed__1; @@ -113,6 +115,7 @@ uint8_t l_Array_isEmpty___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___Lean_PersistentArray_anyM___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_spec__0_spec__0___boxed(lean_object*); lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandDbgTrace___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabDebugAssert___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -141,11 +144,11 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__28; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Lean_PersistentArray_anyMAux___at___Lean_PersistentArray_anyM___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_spec__0_spec__0_spec__1(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandShow___regBuiltin_Lean_Elab_Term_expandShow__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe_declRange__3___closed__5; lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__34; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry_declRange__3(lean_object*); static lean_object* l_Lean_Elab_Term_elabStateRefT___redArg___closed__3; lean_object* l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(lean_object*); @@ -166,6 +169,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSorry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1(lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate_spec__0___redArg___lam__0___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_expandAssert___closed__5; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__7; @@ -179,6 +183,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expa extern lean_object* l_Lean_unknownIdentifierMessageTag; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandShow___regBuiltin_Lean_Elab_Term_expandShow_declRange__3___closed__2; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Lean_Elab_Term_hasCDot_spec__0(lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_Name_isAnonymous(lean_object*); @@ -192,6 +197,7 @@ lean_object* l_Lean_Elab_Term_evalTerm___redArg(lean_object*, lean_object*, uint static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__22; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabNoindex___regBuiltin_Lean_Elab_Term_elabNoindex_declRange__3___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabDebugAssert___regBuiltin_Lean_Elab_Term_elabDebugAssert__1(lean_object*); +lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTrailingParserMacro___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoeSortNotation___regBuiltin_Lean_Elab_Term_elabCoeSortNotation__1___closed__3; static lean_object* l_Lean_Elab_Term_elabStateRefT___redArg___closed__2; @@ -213,10 +219,12 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMP static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandDbgTrace___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange__3___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry_declRange__3___closed__1; +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__38; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTypeAscription___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange__3___closed__3; LEAN_EXPORT uint8_t l_Lean_Elab_Term_hasCDot(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__42; @@ -238,6 +246,7 @@ static lean_object* l_Lean_Elab_Term_expandSuffices___closed__10; static lean_object* l_Lean_Elab_Term_expandShow___closed__8; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_elabShow___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoeSortNotation___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange__3___closed__6; @@ -278,6 +287,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expa static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPPairs_loop___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__5___boxed(lean_object**); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoeFunNotation___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange__3___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__6; @@ -298,6 +308,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expa static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandParen___regBuiltin_Lean_Elab_Term_expandParen_declRange__3___closed__0; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__17; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_x3f_go_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; static lean_object* l_Lean_setEnv___at___Lean_setImplementedBy___at___Lean_Elab_Term_elabUnsafe_spec__0_spec__0___redArg___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandDbgTrace___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange__3___closed__0; @@ -323,13 +334,14 @@ LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_setImplementedBy___at___Lean_ LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_getRefPosition___at___Lean_Elab_Term_elabPanic_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandTypeAscription___regBuiltin_Lean_Elab_Term_expandTypeAscription__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5___closed__5; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__32; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__26; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__19; static lean_object* l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1___closed__1; uint8_t l_Lean_Expr_hasMVar(lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15; static lean_object* l_Lean_Elab_Term_expandAssert___closed__8; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_x3f_go___closed__5; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__14; LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at___Lean_Elab_Term_expandCDot_x3f_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,6 +423,7 @@ lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object lean_object* l_Lean_inlineExpr(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandAssert___regBuiltin_Lean_Elab_Term_expandAssert_declRange__3___closed__0; static lean_object* l_Lean_Elab_Term_elabUnsafe___closed__0; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at___Lean_Elab_Term_elabUnsafe_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteNameMkStr1___private__1(lean_object*); @@ -424,6 +437,7 @@ static lean_object* l_Lean_Elab_Term_isCDotForInfo___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTypeAscription___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange__3___closed__2; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabLeadingParserMacro___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro__1___closed__0; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___boxed(lean_object**); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop___closed__4; static lean_object* l_Lean_Elab_Term_elabShow___closed__1; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__15; @@ -524,10 +538,12 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSubst___regBuiltin_Lean_Elab_Term_elabSubst_declRange__3___closed__4; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__20; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandUnreachable___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange__3___closed__3; static lean_object* l_Lean_Elab_Term_expandTuple___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandDbgTrace___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange__3___closed__3; +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0; static lean_object* l_Lean_Elab_Term_expandTuple___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabStateRefT___regBuiltin_Lean_Elab_Term_elabStateRefT__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandSuffices___regBuiltin_Lean_Elab_Term_expandSuffices_declRange__3___closed__4; @@ -542,6 +558,8 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandSuffices___regBuiltin_Lean_Elab_Term_expandSuffices__1___closed__1; extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5; +uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_elabRunElab_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1___redArg___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTrailingParserMacro___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange__3___closed__1; @@ -574,19 +592,18 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__18; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_expandCDot_x3f_spec__0(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_spec__0___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoeFunNotation(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__0; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__47; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__23; LEAN_EXPORT uint8_t l_Lean_Elab_Term_isCDotForInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_x3f_go_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabUnsafe___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSubst___regBuiltin_Lean_Elab_Term_elabSubst_declRange__3(lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__43; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0_spec__1___redArg___closed__3; @@ -597,6 +614,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__30; static lean_object* l_Lean_Elab_Term_elabSubst___lam__3___closed__1; static lean_object* l_Lean_Elab_Term_elabShow___closed__3; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg___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_PersistentArray_push___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__21; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__34; @@ -619,6 +637,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMP static lean_object* l_Lean_Elab_Term_elabShow___closed__13; extern lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_warningAsError; extern lean_object* l_Lean_Elab_pp_macroStack; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoeSortNotation___regBuiltin_Lean_Elab_Term_elabCoeSortNotation__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__3; @@ -660,6 +679,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandUnreachable___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2; uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabNoindex___regBuiltin_Lean_Elab_Term_elabNoindex_declRange__3___closed__5; @@ -672,7 +692,6 @@ lean_object* l_Lean_TSyntax_getHygieneInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___List_isPerm___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__7_spec__7___boxed(lean_object*, lean_object*); static lean_object* l_panic___at___Lean_Elab_Term_elabUnsafe_spec__2___closed__0; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__33; static lean_object* l_Lean_Elab_Term_elabCoeSortNotation___redArg___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandShow___regBuiltin_Lean_Elab_Term_expandShow__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -684,11 +703,12 @@ LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Elab_addMacroStack___at__ static lean_object* l_Lean_Elab_Term_elabShow___closed__2; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___boxed(lean_object**); lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__17; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__6; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__38; LEAN_EXPORT lean_object* l_panic___at___Lean_Elab_Term_elabUnsafe_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandAssert___regBuiltin_Lean_Elab_Term_expandAssert__1(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabLeadingParserMacro___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange__3___closed__5; @@ -717,6 +737,7 @@ static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__6 LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__11; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__4; static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lam__0___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPairs_loop___closed__5; @@ -788,8 +809,6 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__21; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoeFunNotation___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange__3___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___Lean_Elab_Term_hasCDot_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__41; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandUnreachable___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange__3___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandSuffices___regBuiltin_Lean_Elab_Term_expandSuffices_declRange__3___closed__1; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___closed__5; @@ -818,9 +837,11 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab lean_object* l_Lean_Elab_Term_getDeclName_x3f___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lam__0___closed__0; static lean_object* l_Lean_Elab_throwAbortTerm___at___Lean_Elab_Term_elabUnsafe_spec__3___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandShow___regBuiltin_Lean_Elab_Term_expandShow_declRange__3___closed__1; static lean_object* l_Lean_Elab_Term_isCDotForInfo___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabPanic___regBuiltin_Lean_Elab_Term_elabPanic_declRange__3___closed__5; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandParen___regBuiltin_Lean_Elab_Term_expandParen__1___closed__0; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTrailingParserMacro___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange__3(lean_object*); @@ -830,6 +851,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_x3f_go_spec__3(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry_declRange__3___closed__3; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1; static lean_object* l_Lean_Elab_Term_expandUnreachable___redArg___closed__0; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__50; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandUnreachable___regBuiltin_Lean_Elab_Term_expandUnreachable__1___closed__1; @@ -863,7 +885,6 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPa lean_object* l_Lean_Compiler_setImplementedBy(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNoindex(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__39; static lean_object* l_Lean_Elab_Term_elabPanic___closed__3; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__2; LEAN_EXPORT lean_object* l_Lean_setImplementedBy___at___Lean_Elab_Term_elabUnsafe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -930,6 +951,7 @@ lean_object* l_Array_append___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___lam__3___closed__0; extern lean_object* l_Lean_levelOne; static lean_object* l_Lean_Elab_Term_expandUnreachable___redArg___closed__1; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandUnreachable___regBuiltin_Lean_Elab_Term_expandUnreachable__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1(lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__9; @@ -947,6 +969,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_x3f(lean_object*, lean_objec static lean_object* l_Lean_Elab_Term_elabSubst___closed__13; lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandTuple(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabRunElab___closed__3; @@ -961,7 +984,6 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_initFn___closed__3____x40_Lean_Elab_BuiltinNotation_3712712094____hygCtx___hyg_4_; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__35; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabPanic___regBuiltin_Lean_Elab_Term_elabPanic__1___closed__0; LEAN_EXPORT lean_object* l_liftExcept___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__2___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_getRefPosition___at___Lean_Elab_Term_elabPanic_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1007,6 +1029,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Term_elabAnonymousCtor_spec__0___redArg___closed__1; uint8_t l_Lean_Expr_hasFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10; static lean_object* l_Lean_Elab_Term_elabSubst___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1029,7 +1052,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTrailingParserMacro___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro__1(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__52; static lean_object* l_Lean_Elab_Term_expandAssert___closed__3; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__48; static lean_object* l_Lean_Elab_Term_elabShow___closed__14; lean_object* l_Lean_Macro_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -1037,6 +1059,7 @@ static lean_object* l_Lean_Elab_Term_elabPanic___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabNoindex___regBuiltin_Lean_Elab_Term_elabNoindex__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__4; +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabStateRefT___redArg___closed__9; lean_object* l_Lean_Name_mkStr1(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabNoindex___regBuiltin_Lean_Elab_Term_elabNoindex__1___closed__3; @@ -1080,7 +1103,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__1___boxed(lean_object static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandTuple___regBuiltin_Lean_Elab_Term_expandTuple_declRange__3___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__6; -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__37; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry__1(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__46; lean_object* lean_array_get_size(lean_object*); @@ -1132,6 +1154,7 @@ static lean_object* l_Lean_Elab_Term_elabSubst___closed__2; uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoeFunNotation___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_elabRunElab_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSubst___regBuiltin_Lean_Elab_Term_elabSubst_declRange__3___closed__5; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandTuple___regBuiltin_Lean_Elab_Term_expandTuple__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandParen(lean_object*, lean_object*, lean_object*); @@ -1140,7 +1163,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__6___boxed(lean_object lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_initFn___closed__1____x40_Lean_Elab_BuiltinNotation_3712712094____hygCtx___hyg_4_; static lean_object* l_Lean_Elab_Term_elabPanic___closed__6; -static lean_object* l_Lean_Elab_Term_elabSubst___lam__4___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabPanic___regBuiltin_Lean_Elab_Term_elabPanic__1(lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1154,7 +1176,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabBorrowed___regBuiltin_Lean_Elab_Term_elabBorrowed__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at___Lean_Elab_Term_elabUnsafe_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__31; lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabShow___regBuiltin_Lean_Elab_Term_elabShow__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__1; @@ -1175,21 +1196,26 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at___Lean_Elab_Term_elabUn LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at_____private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor___closed__0; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5; static lean_object* l_Lean_Elab_Term_elabPanic___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoeSortNotation(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__23; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabDebugAssert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__45; +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn___closed__2____x40_Lean_Elab_BuiltinNotation_3712712094____hygCtx___hyg_4_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_replaceM___at___Lean_Elab_Term_expandCDot_x3f_spec__1_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__0; +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Elab_Term_initFn____x40_Lean_Elab_BuiltinNotation_3712712094____hygCtx___hyg_4__spec__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandParen___regBuiltin_Lean_Elab_Term_expandParen__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabPanic___regBuiltin_Lean_Elab_Term_elabPanic_declRange__3___closed__4; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; @@ -4175,6 +4201,940 @@ goto _start; } } } +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_13 = 0; +x_14 = lean_box(0); +lean_inc_ref(x_8); +x_15 = l_Lean_Meta_mkFreshTypeMVar(x_13, x_14, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_18 = l_Lean_Meta_mkLabeledSorry(x_16, x_1, x_2, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_21 = l_Lean_Elab_Term_exprToSyntax(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0; +x_26 = lean_array_push(x_4, x_23); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_5, x_27); +lean_dec(x_5); +x_29 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_25); +lean_inc(x_28); +lean_inc(x_3); +x_30 = lean_apply_2(x_29, x_3, x_28); +x_31 = lean_unbox(x_30); +if (x_31 == 0) +{ +lean_dec(x_28); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +lean_ctor_set(x_21, 0, x_26); +return x_21; +} +else +{ +lean_free_object(x_21); +x_4 = x_26; +x_5 = x_28; +x_12 = x_24; +goto _start; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_21, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_21); +x_35 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0; +x_36 = lean_array_push(x_4, x_33); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_add(x_5, x_37); +lean_dec(x_5); +x_39 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_35); +lean_inc(x_38); +lean_inc(x_3); +x_40 = lean_apply_2(x_39, x_3, x_38); +x_41 = lean_unbox(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_38); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_3); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_34); +return x_42; +} +else +{ +x_4 = x_36; +x_5 = x_38; +x_12 = x_34; +goto _start; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_21); +if (x_44 == 0) +{ +return x_21; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_21, 0); +x_46 = lean_ctor_get(x_21, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_21); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_48 = !lean_is_exclusive(x_18); +if (x_48 == 0) +{ +return x_18; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_18, 0); +x_50 = lean_ctor_get(x_18, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_18); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_52 = !lean_is_exclusive(x_15); +if (x_52 == 0) +{ +return x_15; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_15, 0); +x_54 = lean_ctor_get(x_15, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_15); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; +x_20 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg(x_1, x_2, x_7, x_9, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_20; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trace", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 1); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0; +x_7 = lean_string_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +case 1: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_4, 0); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_4, 1); +x_11 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__4; +x_12 = lean_string_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1; +x_14 = lean_string_dec_eq(x_10, x_13); +if (x_14 == 0) +{ +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2; +x_16 = lean_string_dec_eq(x_9, x_15); +if (x_16 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3; +x_18 = lean_string_dec_eq(x_9, x_17); +if (x_18 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +return x_1; +} +} +default: +{ +return x_1; +} +} +} +else +{ +return x_1; +} +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_warningAsError; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; uint8_t x_82; lean_object* x_83; uint8_t x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; uint8_t x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158; +x_133 = 2; +x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_133); +if (x_158 == 0) +{ +x_142 = x_158; +goto block_157; +} +else +{ +uint8_t x_159; +lean_inc_ref(x_2); +x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_142 = x_159; +goto block_157; +} +block_80: +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_st_ref_take(x_18, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_17, 6); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 7); +lean_inc(x_25); +lean_dec_ref(x_17); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_22, 6); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_16); +x_29 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_29, 0, x_11); +lean_ctor_set(x_29, 1, x_12); +lean_ctor_set(x_29, 2, x_15); +lean_ctor_set(x_29, 3, x_13); +lean_ctor_set(x_29, 4, x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); +x_30 = l_Lean_MessageLog_add(x_29, x_27); +lean_ctor_set(x_22, 6, x_30); +x_31 = lean_st_ref_set(x_18, x_22, x_23); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +x_40 = lean_ctor_get(x_22, 2); +x_41 = lean_ctor_get(x_22, 3); +x_42 = lean_ctor_get(x_22, 4); +x_43 = lean_ctor_get(x_22, 5); +x_44 = lean_ctor_get(x_22, 6); +x_45 = lean_ctor_get(x_22, 7); +x_46 = lean_ctor_get(x_22, 8); +lean_inc(x_46); +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_inc(x_38); +lean_dec(x_22); +lean_ctor_set(x_20, 1, x_25); +lean_ctor_set(x_20, 0, x_24); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_20); +lean_ctor_set(x_47, 1, x_16); +x_48 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_48, 0, x_11); +lean_ctor_set(x_48, 1, x_12); +lean_ctor_set(x_48, 2, x_15); +lean_ctor_set(x_48, 3, x_13); +lean_ctor_set(x_48, 4, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4); +x_49 = l_Lean_MessageLog_add(x_48, x_44); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_43); +lean_ctor_set(x_50, 6, x_49); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set(x_50, 8, x_46); +x_51 = lean_st_ref_set(x_18, x_50, x_23); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_ctor_get(x_17, 6); +lean_inc(x_58); +x_59 = lean_ctor_get(x_17, 7); +lean_inc(x_59); +lean_dec_ref(x_17); +x_60 = lean_ctor_get(x_56, 0); +lean_inc_ref(x_60); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_56, 2); +lean_inc_ref(x_62); +x_63 = lean_ctor_get(x_56, 3); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_56, 4); +lean_inc_ref(x_64); +x_65 = lean_ctor_get(x_56, 5); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_56, 6); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_56, 7); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_56, 8); +lean_inc_ref(x_68); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + lean_ctor_release(x_56, 2); + lean_ctor_release(x_56, 3); + lean_ctor_release(x_56, 4); + lean_ctor_release(x_56, 5); + lean_ctor_release(x_56, 6); + lean_ctor_release(x_56, 7); + lean_ctor_release(x_56, 8); + x_69 = x_56; +} else { + lean_dec_ref(x_56); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_58); +lean_ctor_set(x_70, 1, x_59); +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_16); +x_72 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_72, 0, x_11); +lean_ctor_set(x_72, 1, x_12); +lean_ctor_set(x_72, 2, x_15); +lean_ctor_set(x_72, 3, x_13); +lean_ctor_set(x_72, 4, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4); +x_73 = l_Lean_MessageLog_add(x_72, x_66); +if (lean_is_scalar(x_69)) { + x_74 = lean_alloc_ctor(0, 9, 0); +} else { + x_74 = x_69; +} +lean_ctor_set(x_74, 0, x_60); +lean_ctor_set(x_74, 1, x_61); +lean_ctor_set(x_74, 2, x_62); +lean_ctor_set(x_74, 3, x_63); +lean_ctor_set(x_74, 4, x_64); +lean_ctor_set(x_74, 5, x_65); +lean_ctor_set(x_74, 6, x_73); +lean_ctor_set(x_74, 7, x_67); +lean_ctor_set(x_74, 8, x_68); +x_75 = lean_st_ref_set(x_18, x_74, x_57); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +x_78 = lean_box(0); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +} +block_109: +{ +lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_89 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_90 = l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0_spec__0(x_89, x_5, x_6, x_7, x_8, x_9); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc_ref(x_86); +x_94 = l_Lean_FileMap_toPosition(x_86, x_87); +lean_dec(x_87); +x_95 = l_Lean_FileMap_toPosition(x_86, x_88); +lean_dec(x_88); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; +if (x_84 == 0) +{ +lean_free_object(x_90); +lean_dec_ref(x_81); +x_10 = x_82; +x_11 = x_83; +x_12 = x_94; +x_13 = x_97; +x_14 = x_85; +x_15 = x_96; +x_16 = x_92; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +else +{ +uint8_t x_98; +lean_inc(x_92); +x_98 = l_Lean_MessageData_hasTag(x_81, x_92); +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec_ref(x_96); +lean_dec_ref(x_94); +lean_dec(x_92); +lean_dec_ref(x_83); +lean_dec_ref(x_7); +x_99 = lean_box(0); +lean_ctor_set(x_90, 0, x_99); +return x_90; +} +else +{ +lean_free_object(x_90); +x_10 = x_82; +x_11 = x_83; +x_12 = x_94; +x_13 = x_97; +x_14 = x_85; +x_15 = x_96; +x_16 = x_92; +x_17 = x_7; +x_18 = x_8; +x_19 = x_93; +goto block_80; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_100 = lean_ctor_get(x_90, 0); +x_101 = lean_ctor_get(x_90, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_90); +lean_inc_ref(x_86); +x_102 = l_Lean_FileMap_toPosition(x_86, x_87); +lean_dec(x_87); +x_103 = l_Lean_FileMap_toPosition(x_86, x_88); +lean_dec(x_88); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; +if (x_84 == 0) +{ +lean_dec_ref(x_81); +x_10 = x_82; +x_11 = x_83; +x_12 = x_102; +x_13 = x_105; +x_14 = x_85; +x_15 = x_104; +x_16 = x_100; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +else +{ +uint8_t x_106; +lean_inc(x_100); +x_106 = l_Lean_MessageData_hasTag(x_81, x_100); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_104); +lean_dec_ref(x_102); +lean_dec(x_100); +lean_dec_ref(x_83); +lean_dec_ref(x_7); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +x_10 = x_82; +x_11 = x_83; +x_12 = x_102; +x_13 = x_105; +x_14 = x_85; +x_15 = x_104; +x_16 = x_100; +x_17 = x_7; +x_18 = x_8; +x_19 = x_101; +goto block_80; +} +} +} +} +block_120: +{ +lean_object* x_118; +x_118 = l_Lean_Syntax_getTailPos_x3f(x_116, x_115); +lean_dec(x_116); +if (lean_obj_tag(x_118) == 0) +{ +lean_inc(x_117); +x_81 = x_110; +x_82 = x_111; +x_83 = x_112; +x_84 = x_113; +x_85 = x_115; +x_86 = x_114; +x_87 = x_117; +x_88 = x_117; +goto block_109; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec_ref(x_118); +x_81 = x_110; +x_82 = x_111; +x_83 = x_112; +x_84 = x_113; +x_85 = x_115; +x_86 = x_114; +x_87 = x_117; +x_88 = x_119; +goto block_109; +} +} +block_132: +{ +lean_object* x_128; lean_object* x_129; +x_128 = l_Lean_replaceRef(x_1, x_126); +lean_dec(x_126); +x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_124); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; +x_130 = lean_unsigned_to_nat(0u); +x_110 = x_121; +x_111 = x_127; +x_112 = x_122; +x_113 = x_123; +x_114 = x_125; +x_115 = x_124; +x_116 = x_128; +x_117 = x_130; +goto block_120; +} +else +{ +lean_object* x_131; +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec_ref(x_129); +x_110 = x_121; +x_111 = x_127; +x_112 = x_122; +x_113 = x_123; +x_114 = x_125; +x_115 = x_124; +x_116 = x_128; +x_117 = x_131; +goto block_120; +} +} +block_141: +{ +if (x_140 == 0) +{ +x_121 = x_138; +x_122 = x_134; +x_123 = x_135; +x_124 = x_139; +x_125 = x_136; +x_126 = x_137; +x_127 = x_3; +goto block_132; +} +else +{ +x_121 = x_138; +x_122 = x_134; +x_123 = x_135; +x_124 = x_139; +x_125 = x_136; +x_126 = x_137; +x_127 = x_133; +goto block_132; +} +} +block_157: +{ +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; +x_143 = lean_ctor_get(x_7, 0); +x_144 = lean_ctor_get(x_7, 1); +x_145 = lean_ctor_get(x_7, 2); +x_146 = lean_ctor_get(x_7, 5); +x_147 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_148 = lean_box(x_142); +x_149 = lean_box(x_147); +x_150 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_150, 0, x_148); +lean_closure_set(x_150, 1, x_149); +x_151 = 1; +x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151); +if (x_152 == 0) +{ +lean_inc(x_146); +lean_inc_ref(x_144); +lean_inc_ref(x_143); +x_134 = x_143; +x_135 = x_147; +x_136 = x_144; +x_137 = x_146; +x_138 = x_150; +x_139 = x_142; +x_140 = x_152; +goto block_141; +} +else +{ +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1; +x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0_spec__1_spec__1(x_145, x_153); +lean_inc(x_146); +lean_inc_ref(x_144); +lean_inc_ref(x_143); +x_134 = x_143; +x_135 = x_147; +x_136 = x_144; +x_137 = x_146; +x_138 = x_150; +x_139 = x_142; +x_140 = x_154; +goto block_141; +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_9); +return x_156; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 2; +x_10 = 0; +x_11 = l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__0() { _start: { @@ -4231,120 +5191,7 @@ return x_19; } } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" provided", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Insufficient number of fields for `⟨...⟩` constructor: Constructor `", 72, 68); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` has ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" explicit ", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__6; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(", but ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__8; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Parser", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("anonymousCtor", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__11; -x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; -x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0() { _start: { lean_object* x_1; @@ -4352,59 +5199,7 @@ x_1 = lean_mk_string_unchecked("app", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__13; -x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; -x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("only ", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" were", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("only 1 was", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("none were", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(",", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__20() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1() { _start: { lean_object* x_1; @@ -4412,7 +5207,7 @@ x_1 = lean_mk_string_unchecked("⟨", 3, 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__21() { +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2() { _start: { lean_object* x_1; @@ -4420,12 +5215,549 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_mkArray0(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("⟩", 3, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Insufficient number of fields for `⟨...⟩` constructor: Constructor `", 72, 68); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` does not have explicit fields, but ", 37, 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" provided", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("were", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("was", 3, 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +_start: +{ +lean_object* x_23; lean_object* x_24; 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_46; uint8_t x_47; +x_46 = lean_array_get_size(x_14); +x_47 = lean_nat_dec_eq(x_46, x_4); +if (x_47 == 0) +{ +uint8_t x_48; +x_48 = lean_nat_dec_eq(x_4, x_5); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_71; +x_49 = lean_nat_sub(x_4, x_10); +x_71 = lean_nat_dec_le(x_49, x_5); +if (x_71 == 0) +{ +lean_inc(x_49); +x_50 = x_49; +goto block_70; +} +else +{ +lean_inc(x_5); +x_50 = x_5; +goto block_70; +} +block_70: +{ +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; size_t x_59; size_t 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; uint8_t x_69; +x_51 = lean_ctor_get(x_20, 5); +lean_inc(x_46); +lean_inc_ref(x_14); +x_52 = l_Array_toSubarray___redArg(x_14, x_50, x_46); +x_53 = l_Lean_SourceInfo_fromRef(x_51, x_48); +x_54 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1; +lean_inc(x_53); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_57 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; +x_58 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_59 = lean_array_size(x_58); +x_60 = 0; +x_61 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_elabAnonymousCtor_spec__10(x_59, x_60, x_58); +x_62 = l_Lean_mkAtom(x_11); +x_63 = l_Lean_mkSepArray(x_61, x_62); +lean_dec_ref(x_61); +x_64 = l_Array_append___redArg(x_57, x_63); +lean_dec_ref(x_63); +lean_inc(x_53); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_53); +lean_ctor_set(x_65, 1, x_56); +lean_ctor_set(x_65, 2, x_64); +x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5; +lean_inc(x_53); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_53); +lean_ctor_set(x_67, 1, x_66); +lean_inc(x_53); +x_68 = l_Lean_Syntax_node3(x_53, x_12, x_55, x_65, x_67); +x_69 = lean_nat_dec_le(x_49, x_46); +if (x_69 == 0) +{ +lean_dec(x_49); +x_30 = x_53; +x_31 = x_68; +x_32 = x_57; +x_33 = x_56; +x_34 = x_5; +x_35 = x_46; +goto block_45; +} +else +{ +lean_dec(x_46); +x_30 = x_53; +x_31 = x_68; +x_32 = x_57; +x_33 = x_56; +x_34 = x_5; +x_35 = x_49; +goto block_45; +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_94; +lean_dec_ref(x_14); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_72 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7; +x_73 = l_Lean_MessageData_ofName(x_9); +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9; +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +lean_inc(x_46); +x_77 = l_Nat_reprFast(x_46); +x_78 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = l_Lean_MessageData_ofFormat(x_78); +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_76); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11; +x_82 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_94 = lean_nat_dec_eq(x_46, x_10); +lean_dec(x_46); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14; +x_83 = x_95; +goto block_93; +} +else +{ +lean_object* x_96; +x_96 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15; +x_83 = x_96; +goto block_93; +} +block_93: +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_84 = l_Lean_stringToMessageData(x_83); +lean_dec_ref(x_83); +x_85 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13; +x_87 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_87, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_21); +lean_dec_ref(x_20); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) +{ +return x_88; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_88, 0); +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_88); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_46); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_5); +x_97 = lean_ctor_get(x_20, 5); +x_98 = l_Lean_SourceInfo_fromRef(x_97, x_13); +x_99 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0; +x_100 = l_Lean_Name_mkStr4(x_6, x_7, x_8, x_99); +x_101 = l_Lean_mkCIdentFrom(x_3, x_9, x_2); +x_102 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_103 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; +x_104 = l_Array_append___redArg(x_103, x_14); +lean_dec_ref(x_14); +lean_inc(x_98); +x_105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_105, 0, x_98); +lean_ctor_set(x_105, 1, x_102); +lean_ctor_set(x_105, 2, x_104); +x_106 = l_Lean_Syntax_node2(x_98, x_100, x_101, x_105); +x_23 = x_106; +x_24 = x_22; +goto block_29; +} +block_29: +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_box(x_2); +x_26 = lean_box(x_2); +lean_inc(x_23); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_25); +lean_closure_set(x_27, 3, x_26); +x_28 = l_Lean_Elab_Term_withMacroExpansion___redArg(x_3, x_23, x_27, x_16, x_17, x_18, x_19, x_20, x_21, x_24); +return x_28; +} +block_45: +{ +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_36 = l_Array_toSubarray___redArg(x_14, x_34, x_35); +x_37 = l_Array_ofSubarray___redArg(x_36); +lean_dec_ref(x_36); +x_38 = lean_array_push(x_37, x_31); +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0; +x_40 = l_Lean_Name_mkStr4(x_6, x_7, x_8, x_39); +x_41 = l_Lean_mkCIdentFrom(x_3, x_9, x_2); +x_42 = l_Array_append___redArg(x_32, x_38); +lean_dec_ref(x_38); +lean_inc(x_30); +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_30); +lean_ctor_set(x_43, 1, x_33); +lean_ctor_set(x_43, 2, x_42); +x_44 = l_Lean_Syntax_node2(x_30, x_40, x_41, x_43); +x_23 = x_44; +x_24 = x_22; +goto block_29; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("anonymousCtor", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__1; +x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; +x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` has ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" explicit ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(", but ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("only ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" were", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("only 1 was", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("none were", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("This notation can only be used when the expected type is an inductive type with a single constructor", 100, 100); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__15; +x_2 = l_Lean_MessageData_note(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Invalid `⟨...⟩` notation: The expected type", 47, 43); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__17; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("is not an inductive type", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__19; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("has no constructors", 19, 19); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__22() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__21; -x_2 = l_Lean_Name_mkStr1(x_1); +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } @@ -4433,42 +5765,41 @@ static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__23() { _start: { lean_object* x_1; -x_1 = l_Array_mkArray0(lean_box(0)); +x_1 = lean_mk_string_unchecked("field", 5, 5); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__24() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__19; -x_2 = l_Lean_mkAtom(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fields", 6, 6); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__25() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("⟩", 3, 1); +x_1 = lean_mk_string_unchecked("Invalid `⟨...⟩` notation: Constructor for `", 47, 43); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__26() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("This notation can only be used when the expected type is an inductive type with a single constructor", 100, 100); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__25; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__27() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__26; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` is marked as private", 22, 22); +return x_1; } } static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__28() { @@ -4476,7 +5807,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__27; -x_2 = l_Lean_MessageData_note(x_1); +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } @@ -4484,7 +5815,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__29() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Invalid `⟨...⟩` notation: The expected type", 47, 43); +x_1 = lean_mk_string_unchecked("has more than one constructor", 29, 29); return x_1; } } @@ -4497,167 +5828,19 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("is not an inductive type", 24, 24); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__31; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("has no constructors", 19, 19); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__33; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` does not have explicit fields, but ", 37, 37); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__35; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__37() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" ", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__37; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__39() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("were", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("was", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("field", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__42() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fields", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Invalid `⟨...⟩` notation: Constructor for `", 47, 43); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__43; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__45() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` is marked as private", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__45; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__47() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("has more than one constructor", 29, 29); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__47; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_67; uint8_t 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_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_67 = l_Lean_Elab_Term_elabAnonymousCtor___closed__12; +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_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 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; +x_22 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; +x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; lean_inc(x_1); -x_68 = l_Lean_Syntax_isOfKind(x_1, x_67); -if (x_68 == 0) +x_26 = l_Lean_Syntax_isOfKind(x_1, x_25); +if (x_26 == 0) { -lean_object* x_106; +lean_object* x_81; lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -4666,3198 +5849,1682 @@ lean_dec(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_106 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Term_elabAnonymousCtor_spec__0___redArg(x_9); -return x_106; +x_81 = l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Term_elabAnonymousCtor_spec__0___redArg(x_9); +return x_81; } else { -lean_object* x_107; +lean_object* x_82; lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); lean_inc(x_2); -x_107 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_107) == 0) +x_82 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_82) == 0) { if (lean_obj_tag(x_2) == 0) { -lean_object* x_108; lean_object* x_109; +lean_object* x_83; lean_object* x_84; lean_dec(x_1); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec_ref(x_107); -x_109 = l_Lean_Elab_Term_elabAnonymousCtor___lam__0(lean_box(0), x_3, x_4, x_5, x_6, x_7, x_8, x_108); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec_ref(x_82); +x_84 = l_Lean_Elab_Term_elabAnonymousCtor___lam__0(lean_box(0), x_3, x_4, x_5, x_6, x_7, x_8, x_83); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); -return x_109; +return x_84; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_dec_ref(x_107); -x_111 = lean_ctor_get(x_2, 0); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec_ref(x_82); +x_86 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc(x_111); -x_112 = lean_whnf(x_111, x_5, x_6, x_7, x_8, x_110); -if (lean_obj_tag(x_112) == 0) +lean_inc(x_86); +x_87 = lean_whnf(x_86, x_5, x_6, x_7, x_8, x_85); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_671; uint8_t x_672; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_115 = x_112; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_402; uint8_t x_403; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; } else { - lean_dec_ref(x_112); - x_115 = lean_box(0); + lean_dec_ref(x_87); + x_90 = lean_box(0); } -x_116 = lean_unsigned_to_nat(0u); -x_117 = lean_unsigned_to_nat(1u); -x_141 = l_Lean_Syntax_getArg(x_1, x_117); -x_175 = l_Lean_Syntax_getArgs(x_141); -lean_dec(x_141); -x_176 = l_Lean_Elab_Term_elabAnonymousCtor___closed__28; -x_671 = l_Lean_Expr_getAppFn(x_113); -x_672 = l_Lean_Expr_isMVar(x_671); -lean_dec_ref(x_671); -if (x_672 == 0) +x_91 = lean_unsigned_to_nat(0u); +x_92 = lean_unsigned_to_nat(1u); +x_117 = l_Lean_Syntax_getArg(x_1, x_92); +x_118 = l_Lean_Elab_Term_elabAnonymousCtor___closed__13; +x_119 = l_Lean_Syntax_getArgs(x_117); +lean_dec(x_117); +x_120 = l_Lean_Elab_Term_elabAnonymousCtor___closed__16; +x_402 = l_Lean_Expr_getAppFn(x_88); +x_403 = l_Lean_Expr_isMVar(x_402); +lean_dec_ref(x_402); +if (x_403 == 0) { -x_193 = x_3; -x_194 = x_4; -x_195 = x_5; -x_196 = x_6; -x_197 = x_7; -x_198 = x_8; -x_199 = x_114; -goto block_670; +x_137 = x_3; +x_138 = x_4; +x_139 = x_5; +x_140 = x_6; +x_141 = x_7; +x_142 = x_8; +x_143 = x_89; +goto block_401; } else { -lean_object* x_673; uint8_t x_674; -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec(x_113); +lean_object* x_404; uint8_t x_405; +lean_dec_ref(x_119); +lean_dec(x_90); +lean_dec(x_88); lean_dec_ref(x_2); lean_dec(x_1); -x_673 = l_Lean_Elab_Term_elabAnonymousCtor___lam__0(lean_box(0), x_3, x_4, x_5, x_6, x_7, x_8, x_114); +x_404 = l_Lean_Elab_Term_elabAnonymousCtor___lam__0(lean_box(0), x_3, x_4, x_5, x_6, x_7, x_8, x_89); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); -x_674 = !lean_is_exclusive(x_673); -if (x_674 == 0) +x_405 = !lean_is_exclusive(x_404); +if (x_405 == 0) { -return x_673; +return x_404; } else { -lean_object* x_675; lean_object* x_676; lean_object* x_677; -x_675 = lean_ctor_get(x_673, 0); -x_676 = lean_ctor_get(x_673, 1); -lean_inc(x_676); -lean_inc(x_675); -lean_dec(x_673); -x_677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_677, 0, x_675); -lean_ctor_set(x_677, 1, x_676); -return x_677; +lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_406 = lean_ctor_get(x_404, 0); +x_407 = lean_ctor_get(x_404, 1); +lean_inc(x_407); +lean_inc(x_406); +lean_dec(x_404); +x_408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +return x_408; } } -block_140: +block_116: { -uint8_t x_131; -x_131 = lean_nat_dec_eq(x_124, x_116); -if (x_131 == 0) +uint8_t x_107; +x_107 = lean_nat_dec_eq(x_95, x_91); +if (x_107 == 0) { -uint8_t x_132; -x_132 = lean_nat_dec_eq(x_124, x_117); -if (x_132 == 0) +uint8_t x_108; +x_108 = lean_nat_dec_eq(x_95, x_92); +if (x_108 == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_133 = l_Lean_Elab_Term_elabAnonymousCtor___closed__15; -x_134 = l_Nat_reprFast(x_124); -x_135 = lean_string_append(x_133, x_134); -lean_dec_ref(x_134); -x_136 = l_Lean_Elab_Term_elabAnonymousCtor___closed__16; -x_137 = lean_string_append(x_135, x_136); -x_29 = x_119; -x_30 = x_118; -x_31 = x_120; -x_32 = x_122; -x_33 = x_121; -x_34 = x_123; -x_35 = x_125; -x_36 = x_130; -x_37 = x_127; -x_38 = x_126; -x_39 = x_128; -x_40 = x_129; -x_41 = x_137; -goto block_66; +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_109 = l_Lean_Elab_Term_elabAnonymousCtor___closed__9; +x_110 = l_Nat_reprFast(x_95); +x_111 = lean_string_append(x_109, x_110); +lean_dec_ref(x_110); +x_112 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_113 = lean_string_append(x_111, x_112); +x_27 = x_93; +x_28 = x_94; +x_29 = x_106; +x_30 = x_96; +x_31 = x_97; +x_32 = x_98; +x_33 = x_99; +x_34 = x_100; +x_35 = x_101; +x_36 = x_102; +x_37 = x_103; +x_38 = x_104; +x_39 = x_105; +x_40 = x_113; +goto block_80; } else { -lean_object* x_138; +lean_object* x_114; +lean_dec(x_95); +x_114 = l_Lean_Elab_Term_elabAnonymousCtor___closed__11; +x_27 = x_93; +x_28 = x_94; +x_29 = x_106; +x_30 = x_96; +x_31 = x_97; +x_32 = x_98; +x_33 = x_99; +x_34 = x_100; +x_35 = x_101; +x_36 = x_102; +x_37 = x_103; +x_38 = x_104; +x_39 = x_105; +x_40 = x_114; +goto block_80; +} +} +else +{ +lean_object* x_115; +lean_dec(x_95); +x_115 = l_Lean_Elab_Term_elabAnonymousCtor___closed__12; +x_27 = x_93; +x_28 = x_94; +x_29 = x_106; +x_30 = x_96; +x_31 = x_97; +x_32 = x_98; +x_33 = x_99; +x_34 = x_100; +x_35 = x_101; +x_36 = x_102; +x_37 = x_103; +x_38 = x_104; +x_39 = x_105; +x_40 = x_115; +goto block_80; +} +} +block_136: +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_128 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_129 = lean_unsigned_to_nat(30u); +x_130 = l_Lean_inlineExpr(x_88, x_129); +if (lean_is_scalar(x_90)) { + x_131 = lean_alloc_ctor(7, 2, 0); +} else { + x_131 = x_90; + lean_ctor_set_tag(x_131, 7); +} +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_Elab_Term_elabAnonymousCtor___closed__20; +x_133 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_120); +x_135 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_134, x_121, x_122, x_123, x_124, x_125, x_126, x_127); +lean_dec(x_126); +lean_dec_ref(x_125); lean_dec(x_124); -x_138 = l_Lean_Elab_Term_elabAnonymousCtor___closed__17; -x_29 = x_119; -x_30 = x_118; -x_31 = x_120; -x_32 = x_122; -x_33 = x_121; -x_34 = x_123; -x_35 = x_125; -x_36 = x_130; -x_37 = x_127; -x_38 = x_126; -x_39 = x_128; -x_40 = x_129; -x_41 = x_138; -goto block_66; +lean_dec_ref(x_123); +lean_dec(x_122); +return x_135; } +block_401: +{ +lean_object* x_144; +x_144 = l_Lean_Expr_getAppFn(x_88); +if (lean_obj_tag(x_144) == 4) +{ +lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +lean_dec_ref(x_144); +x_146 = lean_st_ref_get(x_142, x_143); +x_147 = !lean_is_exclusive(x_146); +if (x_147 == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; +x_148 = lean_ctor_get(x_146, 0); +x_149 = lean_ctor_get(x_146, 1); +x_150 = lean_ctor_get(x_148, 0); +lean_inc_ref(x_150); +lean_dec(x_148); +x_151 = 0; +x_152 = l_Lean_Environment_find_x3f(x_150, x_145, x_151); +if (lean_obj_tag(x_152) == 0) +{ +lean_free_object(x_146); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_121 = x_137; +x_122 = x_138; +x_123 = x_139; +x_124 = x_140; +x_125 = x_141; +x_126 = x_142; +x_127 = x_149; +goto block_136; } else { -lean_object* x_139; -lean_dec(x_124); -x_139 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; -x_29 = x_119; -x_30 = x_118; -x_31 = x_120; -x_32 = x_122; -x_33 = x_121; -x_34 = x_123; -x_35 = x_125; -x_36 = x_130; -x_37 = x_127; -x_38 = x_126; -x_39 = x_128; -x_40 = x_129; -x_41 = x_139; -goto block_66; -} -} -block_174: -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; size_t x_163; size_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_155 = lean_ctor_get(x_149, 5); +lean_object* x_153; +x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); -lean_inc_ref(x_145); -x_156 = l_Array_toSubarray___redArg(x_145, x_154, x_153); -x_157 = l_Lean_SourceInfo_fromRef(x_155, x_150); -x_158 = l_Lean_Elab_Term_elabAnonymousCtor___closed__20; -lean_inc(x_157); -if (lean_is_scalar(x_115)) { - x_159 = lean_alloc_ctor(2, 2, 0); -} else { - x_159 = x_115; - lean_ctor_set_tag(x_159, 2); -} -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_161 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_162 = l_Array_ofSubarray___redArg(x_156); -lean_dec_ref(x_156); -x_163 = lean_array_size(x_162); -x_164 = 0; -x_165 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_elabAnonymousCtor_spec__10(x_163, x_164, x_162); -x_166 = l_Lean_Elab_Term_elabAnonymousCtor___closed__24; -x_167 = l_Lean_mkSepArray(x_165, x_166); -lean_dec_ref(x_165); -x_168 = l_Array_append___redArg(x_161, x_167); -lean_dec_ref(x_167); -lean_inc(x_157); -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_157); -lean_ctor_set(x_169, 1, x_160); -lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lean_Elab_Term_elabAnonymousCtor___closed__25; -lean_inc(x_157); -x_171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_171, 0, x_157); -lean_ctor_set(x_171, 1, x_170); -lean_inc(x_157); -x_172 = l_Lean_Syntax_node3(x_157, x_67, x_159, x_169, x_171); -x_173 = lean_nat_dec_le(x_147, x_153); -if (x_173 == 0) +lean_dec_ref(x_152); +if (lean_obj_tag(x_153) == 5) { -lean_dec(x_147); -x_82 = x_161; -x_83 = x_157; -x_84 = x_172; -x_85 = x_145; -x_86 = x_160; -x_87 = x_148; -x_88 = x_152; -x_89 = x_151; -x_90 = x_142; -x_91 = x_144; -x_92 = x_143; -x_93 = x_146; -x_94 = x_149; -x_95 = x_116; -x_96 = x_153; -goto block_105; +lean_object* x_154; lean_object* x_155; +lean_dec(x_90); +x_154 = lean_ctor_get(x_153, 0); +lean_inc_ref(x_154); +lean_dec_ref(x_153); +x_155 = lean_ctor_get(x_154, 4); +lean_inc(x_155); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec_ref(x_154); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_156 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_157 = lean_unsigned_to_nat(30u); +x_158 = l_Lean_inlineExpr(x_88, x_157); +lean_ctor_set_tag(x_146, 7); +lean_ctor_set(x_146, 1, x_158); +lean_ctor_set(x_146, 0, x_156); +x_159 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_160 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_160, 0, x_146); +lean_ctor_set(x_160, 1, x_159); +x_161 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_160, x_137, x_138, x_139, x_140, x_141, x_142, x_149); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +return x_161; } else { -lean_dec(x_153); -x_82 = x_161; -x_83 = x_157; -x_84 = x_172; -x_85 = x_145; -x_86 = x_160; -x_87 = x_148; -x_88 = x_152; -x_89 = x_151; -x_90 = x_142; -x_91 = x_144; -x_92 = x_143; -x_93 = x_146; -x_94 = x_149; -x_95 = x_116; -x_96 = x_147; -goto block_105; -} -} -block_192: +lean_object* x_162; +x_162 = lean_ctor_get(x_155, 1); +lean_inc(x_162); +if (lean_obj_tag(x_162) == 0) { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_184 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_185 = lean_unsigned_to_nat(30u); -x_186 = l_Lean_inlineExpr(x_113, x_185); -x_187 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_186); -x_188 = l_Lean_Elab_Term_elabAnonymousCtor___closed__32; -x_189 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_176); -x_191 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_190, x_177, x_178, x_179, x_180, x_181, x_182, x_183); -lean_dec(x_182); -lean_dec_ref(x_181); +lean_object* x_163; uint8_t x_164; +lean_free_object(x_146); +lean_dec(x_88); +x_163 = lean_ctor_get(x_154, 0); +lean_inc_ref(x_163); +lean_dec_ref(x_154); +x_164 = !lean_is_exclusive(x_155); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = lean_ctor_get(x_155, 0); +x_166 = lean_ctor_get(x_155, 1); +lean_dec(x_166); +x_167 = lean_st_ref_get(x_142, x_149); +x_168 = !lean_is_exclusive(x_167); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_169 = lean_ctor_get(x_167, 0); +x_170 = lean_ctor_get(x_167, 1); +x_171 = lean_ctor_get(x_169, 0); +lean_inc_ref(x_171); +lean_dec(x_169); +lean_inc(x_165); +x_172 = l_Lean_isInaccessiblePrivateName(x_171, x_165); +lean_dec_ref(x_171); +if (x_172 == 0) +{ +lean_object* x_173; +lean_free_object(x_167); +lean_free_object(x_155); +lean_dec_ref(x_163); +lean_inc_ref(x_141); +lean_inc_ref(x_137); +lean_inc(x_165); +x_173 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_165, x_137, x_138, x_139, x_140, x_141, x_142, x_170); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_174, 0); +lean_inc_ref(x_175); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_dec_ref(x_173); +x_177 = lean_ctor_get(x_174, 3); +lean_inc(x_177); +lean_dec(x_174); +x_178 = lean_ctor_get(x_175, 2); +lean_inc_ref(x_178); +lean_dec_ref(x_175); +x_179 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); +lean_closure_set(x_179, 0, x_177); +lean_closure_set(x_179, 1, x_91); +lean_closure_set(x_179, 2, x_92); +lean_inc(x_142); +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc_ref(x_139); +lean_inc(x_138); +lean_inc_ref(x_137); +x_180 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_178, x_179, x_151, x_151, x_137, x_138, x_139, x_140, x_141, x_142, x_176); +if (lean_obj_tag(x_180) == 0) +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec_ref(x_180); +x_183 = lean_box(x_26); +x_184 = lean_box(x_151); +lean_inc(x_165); +lean_inc(x_181); +lean_inc(x_1); +lean_inc_ref(x_2); +x_185 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed), 22, 13); +lean_closure_set(x_185, 0, x_2); +lean_closure_set(x_185, 1, x_183); +lean_closure_set(x_185, 2, x_1); +lean_closure_set(x_185, 3, x_181); +lean_closure_set(x_185, 4, x_91); +lean_closure_set(x_185, 5, x_22); +lean_closure_set(x_185, 6, x_23); +lean_closure_set(x_185, 7, x_24); +lean_closure_set(x_185, 8, x_165); +lean_closure_set(x_185, 9, x_92); +lean_closure_set(x_185, 10, x_118); +lean_closure_set(x_185, 11, x_25); +lean_closure_set(x_185, 12, x_184); +x_186 = l_Lean_Syntax_TSepArray_getElems___redArg(x_119); +lean_dec_ref(x_119); +x_187 = lean_array_get_size(x_186); +x_188 = lean_nat_dec_lt(x_187, x_181); +if (x_188 == 0) +{ +lean_object* x_189; lean_object* x_190; +lean_dec(x_187); +lean_dec_ref(x_185); +x_189 = lean_box(0); +x_190 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2(x_2, x_26, x_1, x_181, x_91, x_22, x_23, x_24, x_165, x_92, x_118, x_25, x_151, x_186, x_189, x_137, x_138, x_139, x_140, x_141, x_142, x_182); +lean_dec(x_181); +return x_190; +} +else +{ +uint8_t x_191; +lean_dec_ref(x_2); +lean_dec(x_1); +x_191 = lean_nat_dec_eq(x_181, x_92); +if (x_191 == 0) +{ +lean_object* x_192; +x_192 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_93 = x_139; +x_94 = x_186; +x_95 = x_187; +x_96 = x_142; +x_97 = x_182; +x_98 = x_151; +x_99 = x_140; +x_100 = x_165; +x_101 = x_181; +x_102 = x_185; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_192; +goto block_116; +} +else +{ +lean_object* x_193; +x_193 = l_Lean_Elab_Term_elabAnonymousCtor___closed__24; +x_93 = x_139; +x_94 = x_186; +x_95 = x_187; +x_96 = x_142; +x_97 = x_182; +x_98 = x_151; +x_99 = x_140; +x_100 = x_165; +x_101 = x_181; +x_102 = x_185; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_193; +goto block_116; +} +} +} +else +{ +uint8_t x_194; +lean_dec(x_165); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_194 = !lean_is_exclusive(x_180); +if (x_194 == 0) +{ +return x_180; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_180, 0); +x_196 = lean_ctor_get(x_180, 1); +lean_inc(x_196); +lean_inc(x_195); lean_dec(x_180); -lean_dec_ref(x_179); -lean_dec(x_178); -return x_191; +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} } -block_670: -{ -lean_object* x_200; -x_200 = l_Lean_Expr_getAppFn(x_113); -if (lean_obj_tag(x_200) == 4) -{ -lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -lean_dec_ref(x_200); -x_202 = lean_st_ref_get(x_198, x_199); -x_203 = !lean_is_exclusive(x_202); -if (x_203 == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; -x_204 = lean_ctor_get(x_202, 0); -x_205 = lean_ctor_get(x_202, 1); -x_206 = lean_ctor_get(x_204, 0); -lean_inc_ref(x_206); -lean_dec(x_204); -x_207 = 0; -x_208 = l_Lean_Environment_find_x3f(x_206, x_201, x_207); -if (lean_obj_tag(x_208) == 0) -{ -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_177 = x_193; -x_178 = x_194; -x_179 = x_195; -x_180 = x_196; -x_181 = x_197; -x_182 = x_198; -x_183 = x_205; -goto block_192; } else { -lean_object* x_209; -x_209 = lean_ctor_get(x_208, 0); +uint8_t x_198; +lean_dec(x_165); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_198 = !lean_is_exclusive(x_173); +if (x_198 == 0) +{ +return x_173; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_173, 0); +x_200 = lean_ctor_get(x_173, 1); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_173); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +return x_201; +} +} +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +lean_dec(x_165); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_202 = lean_ctor_get(x_163, 0); +lean_inc(x_202); +lean_dec_ref(x_163); +x_203 = l_Lean_Elab_Term_elabAnonymousCtor___closed__26; +x_204 = l_Lean_MessageData_ofName(x_202); +lean_ctor_set_tag(x_167, 7); +lean_ctor_set(x_167, 1, x_204); +lean_ctor_set(x_167, 0, x_203); +x_205 = l_Lean_Elab_Term_elabAnonymousCtor___closed__28; +lean_ctor_set_tag(x_155, 7); +lean_ctor_set(x_155, 1, x_205); +lean_ctor_set(x_155, 0, x_167); +x_206 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_155, x_137, x_138, x_139, x_140, x_141, x_142, x_170); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +x_207 = !lean_is_exclusive(x_206); +if (x_207 == 0) +{ +return x_206; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_206, 0); +x_209 = lean_ctor_get(x_206, 1); lean_inc(x_209); -lean_dec_ref(x_208); -if (lean_obj_tag(x_209) == 5) +lean_inc(x_208); +lean_dec(x_206); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +return x_210; +} +} +} +else { -uint8_t x_210; -x_210 = !lean_is_exclusive(x_209); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_209, 0); -x_212 = lean_ctor_get(x_211, 4); +lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_211 = lean_ctor_get(x_167, 0); +x_212 = lean_ctor_get(x_167, 1); lean_inc(x_212); -if (lean_obj_tag(x_212) == 0) +lean_inc(x_211); +lean_dec(x_167); +x_213 = lean_ctor_get(x_211, 0); +lean_inc_ref(x_213); +lean_dec(x_211); +lean_inc(x_165); +x_214 = l_Lean_isInaccessiblePrivateName(x_213, x_165); +lean_dec_ref(x_213); +if (x_214 == 0) { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_free_object(x_209); -lean_dec_ref(x_211); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_213 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_214 = lean_unsigned_to_nat(30u); -x_215 = l_Lean_inlineExpr(x_113, x_214); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_215); -lean_ctor_set(x_202, 0, x_213); -x_216 = l_Lean_Elab_Term_elabAnonymousCtor___closed__34; -x_217 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_217, 0, x_202); -lean_ctor_set(x_217, 1, x_216); -x_218 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_217, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_218; -} -else +lean_object* x_215; +lean_free_object(x_155); +lean_dec_ref(x_163); +lean_inc_ref(x_141); +lean_inc_ref(x_137); +lean_inc(x_165); +x_215 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_165, x_137, x_138, x_139, x_140, x_141, x_142, x_212); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_219; -x_219 = lean_ctor_get(x_212, 1); +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_216, 0); +lean_inc_ref(x_217); +x_218 = lean_ctor_get(x_215, 1); +lean_inc(x_218); +lean_dec_ref(x_215); +x_219 = lean_ctor_get(x_216, 3); lean_inc(x_219); -if (lean_obj_tag(x_219) == 0) -{ -lean_object* x_220; uint8_t x_221; -lean_dec(x_113); -x_220 = lean_ctor_get(x_211, 0); +lean_dec(x_216); +x_220 = lean_ctor_get(x_217, 2); lean_inc_ref(x_220); -lean_dec_ref(x_211); -x_221 = !lean_is_exclusive(x_212); -if (x_221 == 0) +lean_dec_ref(x_217); +x_221 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); +lean_closure_set(x_221, 0, x_219); +lean_closure_set(x_221, 1, x_91); +lean_closure_set(x_221, 2, x_92); +lean_inc(x_142); +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc_ref(x_139); +lean_inc(x_138); +lean_inc_ref(x_137); +x_222 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_220, x_221, x_151, x_151, x_137, x_138, x_139, x_140, x_141, x_142, x_218); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_222 = lean_ctor_get(x_212, 0); -x_223 = lean_ctor_get(x_212, 1); +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec_ref(x_222); +x_225 = lean_box(x_26); +x_226 = lean_box(x_151); +lean_inc(x_165); +lean_inc(x_223); +lean_inc(x_1); +lean_inc_ref(x_2); +x_227 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed), 22, 13); +lean_closure_set(x_227, 0, x_2); +lean_closure_set(x_227, 1, x_225); +lean_closure_set(x_227, 2, x_1); +lean_closure_set(x_227, 3, x_223); +lean_closure_set(x_227, 4, x_91); +lean_closure_set(x_227, 5, x_22); +lean_closure_set(x_227, 6, x_23); +lean_closure_set(x_227, 7, x_24); +lean_closure_set(x_227, 8, x_165); +lean_closure_set(x_227, 9, x_92); +lean_closure_set(x_227, 10, x_118); +lean_closure_set(x_227, 11, x_25); +lean_closure_set(x_227, 12, x_226); +x_228 = l_Lean_Syntax_TSepArray_getElems___redArg(x_119); +lean_dec_ref(x_119); +x_229 = lean_array_get_size(x_228); +x_230 = lean_nat_dec_lt(x_229, x_223); +if (x_230 == 0) +{ +lean_object* x_231; lean_object* x_232; +lean_dec(x_229); +lean_dec_ref(x_227); +x_231 = lean_box(0); +x_232 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2(x_2, x_26, x_1, x_223, x_91, x_22, x_23, x_24, x_165, x_92, x_118, x_25, x_151, x_228, x_231, x_137, x_138, x_139, x_140, x_141, x_142, x_224); lean_dec(x_223); -x_224 = lean_st_ref_get(x_198, x_205); -x_225 = !lean_is_exclusive(x_224); -if (x_225 == 0) +return x_232; +} +else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_226 = lean_ctor_get(x_224, 0); -x_227 = lean_ctor_get(x_224, 1); -x_228 = lean_ctor_get(x_226, 0); -lean_inc_ref(x_228); -lean_dec(x_226); -lean_inc(x_222); -x_229 = l_Lean_isInaccessiblePrivateName(x_228, x_222); -lean_dec_ref(x_228); -if (x_229 == 0) +uint8_t x_233; +lean_dec_ref(x_2); +lean_dec(x_1); +x_233 = lean_nat_dec_eq(x_223, x_92); +if (x_233 == 0) { -lean_object* x_230; -lean_dec_ref(x_220); -lean_inc_ref(x_197); -lean_inc_ref(x_193); -lean_inc(x_222); -x_230 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_222, x_193, x_194, x_195, x_196, x_197, x_198, x_227); -if (lean_obj_tag(x_230) == 0) +lean_object* x_234; +x_234 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_93 = x_139; +x_94 = x_228; +x_95 = x_229; +x_96 = x_142; +x_97 = x_224; +x_98 = x_151; +x_99 = x_140; +x_100 = x_165; +x_101 = x_223; +x_102 = x_227; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_234; +goto block_116; +} +else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_231, 0); -lean_inc_ref(x_232); -x_233 = lean_ctor_get(x_230, 1); -lean_inc(x_233); -lean_dec_ref(x_230); -x_234 = lean_ctor_get(x_231, 3); -lean_inc(x_234); -lean_dec(x_231); -x_235 = !lean_is_exclusive(x_232); -if (x_235 == 0) +lean_object* x_235; +x_235 = l_Lean_Elab_Term_elabAnonymousCtor___closed__24; +x_93 = x_139; +x_94 = x_228; +x_95 = x_229; +x_96 = x_142; +x_97 = x_224; +x_98 = x_151; +x_99 = x_140; +x_100 = x_165; +x_101 = x_223; +x_102 = x_227; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_235; +goto block_116; +} +} +} +else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_236 = lean_ctor_get(x_232, 2); -x_237 = lean_ctor_get(x_232, 1); -lean_dec(x_237); -x_238 = lean_ctor_get(x_232, 0); -lean_dec(x_238); -x_239 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_239, 0, x_234); -lean_closure_set(x_239, 1, x_116); -lean_closure_set(x_239, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_240 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_236, x_239, x_207, x_207, x_193, x_194, x_195, x_196, x_197, x_198, x_233); -if (lean_obj_tag(x_240) == 0) +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec(x_165); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_236 = lean_ctor_get(x_222, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_222, 1); +lean_inc(x_237); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_238 = x_222; +} else { + lean_dec_ref(x_222); + x_238 = lean_box(0); +} +if (lean_is_scalar(x_238)) { + x_239 = lean_alloc_ctor(1, 2, 0); +} else { + x_239 = x_238; +} +lean_ctor_set(x_239, 0, x_236); +lean_ctor_set(x_239, 1, x_237); +return x_239; +} +} +else { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_241 = lean_ctor_get(x_240, 0); +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_165); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_240 = lean_ctor_get(x_215, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_215, 1); lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 1); -lean_inc(x_242); -lean_dec_ref(x_240); -x_243 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_244 = lean_array_get_size(x_243); -x_245 = lean_nat_dec_lt(x_244, x_241); -if (x_245 == 0) -{ -uint8_t x_246; -x_246 = lean_nat_dec_eq(x_244, x_241); -if (x_246 == 0) -{ -uint8_t x_247; -lean_free_object(x_232); -x_247 = lean_nat_dec_eq(x_241, x_116); -if (x_247 == 0) -{ -lean_object* x_248; uint8_t x_249; -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -x_248 = lean_nat_sub(x_241, x_117); -lean_dec(x_241); -x_249 = lean_nat_dec_le(x_248, x_116); -if (x_249 == 0) -{ -lean_inc(x_248); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_243; -x_146 = x_222; -x_147 = x_248; -x_148 = x_242; -x_149 = x_197; -x_150 = x_247; -x_151 = x_195; -x_152 = x_193; -x_153 = x_244; -x_154 = x_248; -goto block_174; +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_242 = x_215; +} else { + lean_dec_ref(x_215); + x_242 = lean_box(0); } -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_243; -x_146 = x_222; -x_147 = x_248; -x_148 = x_242; -x_149 = x_197; -x_150 = x_247; -x_151 = x_195; -x_152 = x_193; -x_153 = x_244; -x_154 = x_116; -goto block_174; +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(1, 2, 0); +} else { + x_243 = x_242; +} +lean_ctor_set(x_243, 0, x_240); +lean_ctor_set(x_243, 1, x_241); +return x_243; } } else { -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_dec_ref(x_243); -lean_dec(x_241); -lean_dec(x_115); +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_165); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_250 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_251 = l_Lean_MessageData_ofName(x_222); -lean_ctor_set_tag(x_224, 7); -lean_ctor_set(x_224, 1, x_251); -lean_ctor_set(x_224, 0, x_250); -x_252 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_252); -lean_ctor_set(x_212, 0, x_224); +x_244 = lean_ctor_get(x_163, 0); lean_inc(x_244); -x_253 = l_Nat_reprFast(x_244); -lean_ctor_set_tag(x_209, 3); -lean_ctor_set(x_209, 0, x_253); -x_254 = l_Lean_MessageData_ofFormat(x_209); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_254); -lean_ctor_set(x_202, 0, x_212); -x_255 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_256 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_256, 0, x_202); -lean_ctor_set(x_256, 1, x_255); -x_257 = lean_nat_dec_eq(x_244, x_117); -lean_dec(x_244); -if (x_257 == 0) -{ -lean_object* x_258; -x_258 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_242; -x_14 = x_197; -x_15 = x_256; -x_16 = x_195; -x_17 = x_193; -x_18 = x_258; -goto block_28; +lean_dec_ref(x_163); +x_245 = l_Lean_Elab_Term_elabAnonymousCtor___closed__26; +x_246 = l_Lean_MessageData_ofName(x_244); +x_247 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +x_248 = l_Lean_Elab_Term_elabAnonymousCtor___closed__28; +lean_ctor_set_tag(x_155, 7); +lean_ctor_set(x_155, 1, x_248); +lean_ctor_set(x_155, 0, x_247); +x_249 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_155, x_137, x_138, x_139, x_140, x_141, x_142, x_212); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +if (lean_is_exclusive(x_249)) { + lean_ctor_release(x_249, 0); + lean_ctor_release(x_249, 1); + x_252 = x_249; +} else { + lean_dec_ref(x_249); + x_252 = lean_box(0); } -else -{ -lean_object* x_259; -x_259 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_242; -x_14 = x_197; -x_15 = x_256; -x_16 = x_195; -x_17 = x_193; -x_18 = x_259; -goto block_28; +if (lean_is_scalar(x_252)) { + x_253 = lean_alloc_ctor(1, 2, 0); +} else { + x_253 = x_252; +} +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_251); +return x_253; } } } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -lean_dec(x_244); -lean_dec(x_241); -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); -x_260 = lean_ctor_get(x_197, 5); -x_261 = l_Lean_SourceInfo_fromRef(x_260, x_207); -x_262 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_263 = l_Lean_mkCIdentFrom(x_1, x_222, x_68); -x_264 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_265 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_266 = l_Array_append___redArg(x_265, x_243); -lean_dec_ref(x_243); -lean_inc(x_261); -lean_ctor_set_tag(x_232, 1); -lean_ctor_set(x_232, 2, x_266); -lean_ctor_set(x_232, 1, x_264); -lean_ctor_set(x_232, 0, x_261); -x_267 = l_Lean_Syntax_node2(x_261, x_262, x_263, x_232); -x_69 = x_267; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_242; -goto block_81; +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; +x_254 = lean_ctor_get(x_155, 0); +lean_inc(x_254); +lean_dec(x_155); +x_255 = lean_st_ref_get(x_142, x_149); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_258 = x_255; +} else { + lean_dec_ref(x_255); + x_258 = lean_box(0); } +x_259 = lean_ctor_get(x_256, 0); +lean_inc_ref(x_259); +lean_dec(x_256); +lean_inc(x_254); +x_260 = l_Lean_isInaccessiblePrivateName(x_259, x_254); +lean_dec_ref(x_259); +if (x_260 == 0) +{ +lean_object* x_261; +lean_dec(x_258); +lean_dec_ref(x_163); +lean_inc_ref(x_141); +lean_inc_ref(x_137); +lean_inc(x_254); +x_261 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_254, x_137, x_138, x_139, x_140, x_141, x_142, x_257); +if (lean_obj_tag(x_261) == 0) +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_262, 0); +lean_inc_ref(x_263); +x_264 = lean_ctor_get(x_261, 1); +lean_inc(x_264); +lean_dec_ref(x_261); +x_265 = lean_ctor_get(x_262, 3); +lean_inc(x_265); +lean_dec(x_262); +x_266 = lean_ctor_get(x_263, 2); +lean_inc_ref(x_266); +lean_dec_ref(x_263); +x_267 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); +lean_closure_set(x_267, 0, x_265); +lean_closure_set(x_267, 1, x_91); +lean_closure_set(x_267, 2, x_92); +lean_inc(x_142); +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc_ref(x_139); +lean_inc(x_138); +lean_inc_ref(x_137); +x_268 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_266, x_267, x_151, x_151, x_137, x_138, x_139, x_140, x_141, x_142, x_264); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec_ref(x_268); +x_271 = lean_box(x_26); +x_272 = lean_box(x_151); +lean_inc(x_254); +lean_inc(x_269); +lean_inc(x_1); +lean_inc_ref(x_2); +x_273 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed), 22, 13); +lean_closure_set(x_273, 0, x_2); +lean_closure_set(x_273, 1, x_271); +lean_closure_set(x_273, 2, x_1); +lean_closure_set(x_273, 3, x_269); +lean_closure_set(x_273, 4, x_91); +lean_closure_set(x_273, 5, x_22); +lean_closure_set(x_273, 6, x_23); +lean_closure_set(x_273, 7, x_24); +lean_closure_set(x_273, 8, x_254); +lean_closure_set(x_273, 9, x_92); +lean_closure_set(x_273, 10, x_118); +lean_closure_set(x_273, 11, x_25); +lean_closure_set(x_273, 12, x_272); +x_274 = l_Lean_Syntax_TSepArray_getElems___redArg(x_119); +lean_dec_ref(x_119); +x_275 = lean_array_get_size(x_274); +x_276 = lean_nat_dec_lt(x_275, x_269); +if (x_276 == 0) +{ +lean_object* x_277; lean_object* x_278; +lean_dec(x_275); +lean_dec_ref(x_273); +x_277 = lean_box(0); +x_278 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2(x_2, x_26, x_1, x_269, x_91, x_22, x_23, x_24, x_254, x_92, x_118, x_25, x_151, x_274, x_277, x_137, x_138, x_139, x_140, x_141, x_142, x_270); +lean_dec(x_269); +return x_278; } else { -uint8_t x_268; -lean_free_object(x_232); -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); +uint8_t x_279; lean_dec_ref(x_2); lean_dec(x_1); -x_268 = lean_nat_dec_eq(x_241, x_117); -if (x_268 == 0) +x_279 = lean_nat_dec_eq(x_269, x_92); +if (x_279 == 0) { -lean_object* x_269; -x_269 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_241; -x_119 = x_193; -x_120 = x_243; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_244; -x_125 = x_242; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_269; -goto block_140; +lean_object* x_280; +x_280 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_93 = x_139; +x_94 = x_274; +x_95 = x_275; +x_96 = x_142; +x_97 = x_270; +x_98 = x_151; +x_99 = x_140; +x_100 = x_254; +x_101 = x_269; +x_102 = x_273; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_280; +goto block_116; } else { -lean_object* x_270; -x_270 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_241; -x_119 = x_193; -x_120 = x_243; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_244; -x_125 = x_242; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_270; -goto block_140; +lean_object* x_281; +x_281 = l_Lean_Elab_Term_elabAnonymousCtor___closed__24; +x_93 = x_139; +x_94 = x_274; +x_95 = x_275; +x_96 = x_142; +x_97 = x_270; +x_98 = x_151; +x_99 = x_140; +x_100 = x_254; +x_101 = x_269; +x_102 = x_273; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_281; +goto block_116; } } } else { -uint8_t x_271; -lean_free_object(x_232); -lean_free_object(x_224); -lean_free_object(x_212); -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_254); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_271 = !lean_is_exclusive(x_240); -if (x_271 == 0) -{ -return x_240; +x_282 = lean_ctor_get(x_268, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_268, 1); +lean_inc(x_283); +if (lean_is_exclusive(x_268)) { + lean_ctor_release(x_268, 0); + lean_ctor_release(x_268, 1); + x_284 = x_268; +} else { + lean_dec_ref(x_268); + x_284 = lean_box(0); } -else -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_272 = lean_ctor_get(x_240, 0); -x_273 = lean_ctor_get(x_240, 1); -lean_inc(x_273); -lean_inc(x_272); -lean_dec(x_240); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -return x_274; +if (lean_is_scalar(x_284)) { + x_285 = lean_alloc_ctor(1, 2, 0); +} else { + x_285 = x_284; } +lean_ctor_set(x_285, 0, x_282); +lean_ctor_set(x_285, 1, x_283); +return x_285; } } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_275 = lean_ctor_get(x_232, 2); -lean_inc(x_275); -lean_dec(x_232); -x_276 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_276, 0, x_234); -lean_closure_set(x_276, 1, x_116); -lean_closure_set(x_276, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_277 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_275, x_276, x_207, x_207, x_193, x_194, x_195, x_196, x_197, x_198, x_233); -if (lean_obj_tag(x_277) == 0) -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; uint8_t x_282; -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec_ref(x_277); -x_280 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_281 = lean_array_get_size(x_280); -x_282 = lean_nat_dec_lt(x_281, x_278); -if (x_282 == 0) -{ -uint8_t x_283; -x_283 = lean_nat_dec_eq(x_281, x_278); -if (x_283 == 0) -{ -uint8_t x_284; -x_284 = lean_nat_dec_eq(x_278, x_116); -if (x_284 == 0) -{ -lean_object* x_285; uint8_t x_286; -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -x_285 = lean_nat_sub(x_278, x_117); -lean_dec(x_278); -x_286 = lean_nat_dec_le(x_285, x_116); -if (x_286 == 0) -{ -lean_inc(x_285); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_280; -x_146 = x_222; -x_147 = x_285; -x_148 = x_279; -x_149 = x_197; -x_150 = x_284; -x_151 = x_195; -x_152 = x_193; -x_153 = x_281; -x_154 = x_285; -goto block_174; -} -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_280; -x_146 = x_222; -x_147 = x_285; -x_148 = x_279; -x_149 = x_197; -x_150 = x_284; -x_151 = x_195; -x_152 = x_193; -x_153 = x_281; -x_154 = x_116; -goto block_174; -} -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; -lean_dec_ref(x_280); -lean_dec(x_278); -lean_dec(x_115); +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec(x_254); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_287 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_288 = l_Lean_MessageData_ofName(x_222); -lean_ctor_set_tag(x_224, 7); -lean_ctor_set(x_224, 1, x_288); -lean_ctor_set(x_224, 0, x_287); -x_289 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_289); -lean_ctor_set(x_212, 0, x_224); -lean_inc(x_281); -x_290 = l_Nat_reprFast(x_281); -lean_ctor_set_tag(x_209, 3); -lean_ctor_set(x_209, 0, x_290); -x_291 = l_Lean_MessageData_ofFormat(x_209); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_291); -lean_ctor_set(x_202, 0, x_212); -x_292 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_293 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_293, 0, x_202); +x_286 = lean_ctor_get(x_261, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_261, 1); +lean_inc(x_287); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_288 = x_261; +} else { + lean_dec_ref(x_261); + x_288 = lean_box(0); +} +if (lean_is_scalar(x_288)) { + x_289 = lean_alloc_ctor(1, 2, 0); +} else { + x_289 = x_288; +} +lean_ctor_set(x_289, 0, x_286); +lean_ctor_set(x_289, 1, x_287); +return x_289; +} +} +else +{ +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_dec(x_254); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_290 = lean_ctor_get(x_163, 0); +lean_inc(x_290); +lean_dec_ref(x_163); +x_291 = l_Lean_Elab_Term_elabAnonymousCtor___closed__26; +x_292 = l_Lean_MessageData_ofName(x_290); +if (lean_is_scalar(x_258)) { + x_293 = lean_alloc_ctor(7, 2, 0); +} else { + x_293 = x_258; + lean_ctor_set_tag(x_293, 7); +} +lean_ctor_set(x_293, 0, x_291); lean_ctor_set(x_293, 1, x_292); -x_294 = lean_nat_dec_eq(x_281, x_117); -lean_dec(x_281); -if (x_294 == 0) -{ -lean_object* x_295; -x_295 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_279; -x_14 = x_197; -x_15 = x_293; -x_16 = x_195; -x_17 = x_193; -x_18 = x_295; -goto block_28; -} -else -{ -lean_object* x_296; -x_296 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_279; -x_14 = x_197; -x_15 = x_293; -x_16 = x_195; -x_17 = x_193; -x_18 = x_296; -goto block_28; -} -} -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_281); -lean_dec(x_278); -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); -x_297 = lean_ctor_get(x_197, 5); -x_298 = l_Lean_SourceInfo_fromRef(x_297, x_207); -x_299 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_300 = l_Lean_mkCIdentFrom(x_1, x_222, x_68); -x_301 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_302 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_303 = l_Array_append___redArg(x_302, x_280); -lean_dec_ref(x_280); +x_294 = l_Lean_Elab_Term_elabAnonymousCtor___closed__28; +x_295 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_295, 0, x_293); +lean_ctor_set(x_295, 1, x_294); +x_296 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_295, x_137, x_138, x_139, x_140, x_141, x_142, x_257); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); lean_inc(x_298); -x_304 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_304, 0, x_298); -lean_ctor_set(x_304, 1, x_301); -lean_ctor_set(x_304, 2, x_303); -x_305 = l_Lean_Syntax_node2(x_298, x_299, x_300, x_304); -x_69 = x_305; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_279; -goto block_81; -} -} -else -{ -uint8_t x_306; -lean_free_object(x_224); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_306 = lean_nat_dec_eq(x_278, x_117); -if (x_306 == 0) -{ -lean_object* x_307; -x_307 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_278; -x_119 = x_193; -x_120 = x_280; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_281; -x_125 = x_279; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_307; -goto block_140; -} -else -{ -lean_object* x_308; -x_308 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_278; -x_119 = x_193; -x_120 = x_280; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_281; -x_125 = x_279; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_308; -goto block_140; -} -} -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -lean_free_object(x_224); -lean_free_object(x_212); -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_309 = lean_ctor_get(x_277, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_277, 1); -lean_inc(x_310); -if (lean_is_exclusive(x_277)) { - lean_ctor_release(x_277, 0); - lean_ctor_release(x_277, 1); - x_311 = x_277; +if (lean_is_exclusive(x_296)) { + lean_ctor_release(x_296, 0); + lean_ctor_release(x_296, 1); + x_299 = x_296; } else { - lean_dec_ref(x_277); - x_311 = lean_box(0); + lean_dec_ref(x_296); + x_299 = lean_box(0); } -if (lean_is_scalar(x_311)) { - x_312 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(1, 2, 0); } else { - x_312 = x_311; + x_300 = x_299; } -lean_ctor_set(x_312, 0, x_309); -lean_ctor_set(x_312, 1, x_310); -return x_312; +lean_ctor_set(x_300, 0, x_297); +lean_ctor_set(x_300, 1, x_298); +return x_300; } } } else { -uint8_t x_313; -lean_free_object(x_224); -lean_free_object(x_212); -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); +uint8_t x_301; +lean_dec_ref(x_154); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_313 = !lean_is_exclusive(x_230); -if (x_313 == 0) +x_301 = !lean_is_exclusive(x_155); +if (x_301 == 0) { -return x_230; +lean_object* x_302; lean_object* x_303; uint8_t x_304; +x_302 = lean_ctor_get(x_155, 1); +lean_dec(x_302); +x_303 = lean_ctor_get(x_155, 0); +lean_dec(x_303); +x_304 = !lean_is_exclusive(x_162); +if (x_304 == 0) +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_305 = lean_ctor_get(x_162, 1); +lean_dec(x_305); +x_306 = lean_ctor_get(x_162, 0); +lean_dec(x_306); +x_307 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_308 = lean_unsigned_to_nat(30u); +x_309 = l_Lean_inlineExpr(x_88, x_308); +lean_ctor_set_tag(x_162, 7); +lean_ctor_set(x_162, 1, x_309); +lean_ctor_set(x_162, 0, x_307); +x_310 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; +lean_ctor_set_tag(x_155, 7); +lean_ctor_set(x_155, 1, x_310); +lean_ctor_set(x_155, 0, x_162); +lean_ctor_set_tag(x_146, 7); +lean_ctor_set(x_146, 1, x_120); +lean_ctor_set(x_146, 0, x_155); +x_311 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_146, x_137, x_138, x_139, x_140, x_141, x_142, x_149); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +return x_311; } else { -lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_314 = lean_ctor_get(x_230, 0); -x_315 = lean_ctor_get(x_230, 1); -lean_inc(x_315); -lean_inc(x_314); -lean_dec(x_230); -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_314); -lean_ctor_set(x_316, 1, x_315); -return x_316; -} +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; +lean_dec(x_162); +x_312 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_313 = lean_unsigned_to_nat(30u); +x_314 = l_Lean_inlineExpr(x_88, x_313); +x_315 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_315, 0, x_312); +lean_ctor_set(x_315, 1, x_314); +x_316 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; +lean_ctor_set_tag(x_155, 7); +lean_ctor_set(x_155, 1, x_316); +lean_ctor_set(x_155, 0, x_315); +lean_ctor_set_tag(x_146, 7); +lean_ctor_set(x_146, 1, x_120); +lean_ctor_set(x_146, 0, x_155); +x_317 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_146, x_137, x_138, x_139, x_140, x_141, x_142, x_149); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +return x_317; } } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_317 = lean_ctor_get(x_220, 0); -lean_inc(x_317); -lean_dec_ref(x_220); -x_318 = l_Lean_Elab_Term_elabAnonymousCtor___closed__44; -x_319 = l_Lean_MessageData_ofName(x_317); -lean_ctor_set_tag(x_224, 7); -lean_ctor_set(x_224, 1, x_319); -lean_ctor_set(x_224, 0, x_318); -x_320 = l_Lean_Elab_Term_elabAnonymousCtor___closed__46; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_320); -lean_ctor_set(x_212, 0, x_224); -x_321 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_212, x_193, x_194, x_195, x_196, x_197, x_198, x_227); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -x_322 = !lean_is_exclusive(x_321); -if (x_322 == 0) -{ -return x_321; +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +lean_dec(x_155); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_318 = x_162; +} else { + lean_dec_ref(x_162); + x_318 = lean_box(0); } -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_323 = lean_ctor_get(x_321, 0); -x_324 = lean_ctor_get(x_321, 1); -lean_inc(x_324); -lean_inc(x_323); -lean_dec(x_321); -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_323); -lean_ctor_set(x_325, 1, x_324); +x_319 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_320 = lean_unsigned_to_nat(30u); +x_321 = l_Lean_inlineExpr(x_88, x_320); +if (lean_is_scalar(x_318)) { + x_322 = lean_alloc_ctor(7, 2, 0); +} else { + x_322 = x_318; + lean_ctor_set_tag(x_322, 7); +} +lean_ctor_set(x_322, 0, x_319); +lean_ctor_set(x_322, 1, x_321); +x_323 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; +x_324 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_324, 0, x_322); +lean_ctor_set(x_324, 1, x_323); +lean_ctor_set_tag(x_146, 7); +lean_ctor_set(x_146, 1, x_120); +lean_ctor_set(x_146, 0, x_324); +x_325 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_146, x_137, x_138, x_139, x_140, x_141, x_142, x_149); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); return x_325; } } } +} else { -lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; -x_326 = lean_ctor_get(x_224, 0); -x_327 = lean_ctor_get(x_224, 1); +lean_dec(x_153); +lean_free_object(x_146); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_121 = x_137; +x_122 = x_138; +x_123 = x_139; +x_124 = x_140; +x_125 = x_141; +x_126 = x_142; +x_127 = x_149; +goto block_136; +} +} +} +else +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; lean_object* x_330; +x_326 = lean_ctor_get(x_146, 0); +x_327 = lean_ctor_get(x_146, 1); lean_inc(x_327); lean_inc(x_326); -lean_dec(x_224); +lean_dec(x_146); x_328 = lean_ctor_get(x_326, 0); lean_inc_ref(x_328); lean_dec(x_326); -lean_inc(x_222); -x_329 = l_Lean_isInaccessiblePrivateName(x_328, x_222); -lean_dec_ref(x_328); -if (x_329 == 0) -{ -lean_object* x_330; -lean_dec_ref(x_220); -lean_inc_ref(x_197); -lean_inc_ref(x_193); -lean_inc(x_222); -x_330 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_222, x_193, x_194, x_195, x_196, x_197, x_198, x_327); +x_329 = 0; +x_330 = l_Lean_Environment_find_x3f(x_328, x_145, x_329); if (lean_obj_tag(x_330) == 0) { -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_121 = x_137; +x_122 = x_138; +x_123 = x_139; +x_124 = x_140; +x_125 = x_141; +x_126 = x_142; +x_127 = x_327; +goto block_136; +} +else +{ +lean_object* x_331; x_331 = lean_ctor_get(x_330, 0); lean_inc(x_331); +lean_dec_ref(x_330); +if (lean_obj_tag(x_331) == 5) +{ +lean_object* x_332; lean_object* x_333; +lean_dec(x_90); x_332 = lean_ctor_get(x_331, 0); lean_inc_ref(x_332); -x_333 = lean_ctor_get(x_330, 1); +lean_dec_ref(x_331); +x_333 = lean_ctor_get(x_332, 4); lean_inc(x_333); -lean_dec_ref(x_330); -x_334 = lean_ctor_get(x_331, 3); -lean_inc(x_334); -lean_dec(x_331); -x_335 = lean_ctor_get(x_332, 2); -lean_inc_ref(x_335); -if (lean_is_exclusive(x_332)) { - lean_ctor_release(x_332, 0); - lean_ctor_release(x_332, 1); - lean_ctor_release(x_332, 2); - x_336 = x_332; -} else { - lean_dec_ref(x_332); - x_336 = lean_box(0); +if (lean_obj_tag(x_333) == 0) +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +lean_dec_ref(x_332); +lean_dec_ref(x_119); +lean_dec_ref(x_2); +lean_dec(x_1); +x_334 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_335 = lean_unsigned_to_nat(30u); +x_336 = l_Lean_inlineExpr(x_88, x_335); +x_337 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_337, 0, x_334); +lean_ctor_set(x_337, 1, x_336); +x_338 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_339 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_339, 0, x_337); +lean_ctor_set(x_339, 1, x_338); +x_340 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_339, x_137, x_138, x_139, x_140, x_141, x_142, x_327); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +return x_340; } -x_337 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_337, 0, x_334); -lean_closure_set(x_337, 1, x_116); -lean_closure_set(x_337, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_338 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_335, x_337, x_207, x_207, x_193, x_194, x_195, x_196, x_197, x_198, x_333); -if (lean_obj_tag(x_338) == 0) +else { -lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -lean_dec_ref(x_338); -x_341 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_342 = lean_array_get_size(x_341); -x_343 = lean_nat_dec_lt(x_342, x_339); -if (x_343 == 0) -{ -uint8_t x_344; -x_344 = lean_nat_dec_eq(x_342, x_339); -if (x_344 == 0) -{ -uint8_t x_345; -lean_dec(x_336); -x_345 = lean_nat_dec_eq(x_339, x_116); -if (x_345 == 0) -{ -lean_object* x_346; uint8_t x_347; -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -x_346 = lean_nat_sub(x_339, x_117); -lean_dec(x_339); -x_347 = lean_nat_dec_le(x_346, x_116); -if (x_347 == 0) +lean_object* x_341; +x_341 = lean_ctor_get(x_333, 1); +lean_inc(x_341); +if (lean_obj_tag(x_341) == 0) { +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; uint8_t x_350; +lean_dec(x_88); +x_342 = lean_ctor_get(x_332, 0); +lean_inc_ref(x_342); +lean_dec_ref(x_332); +x_343 = lean_ctor_get(x_333, 0); +lean_inc(x_343); +if (lean_is_exclusive(x_333)) { + lean_ctor_release(x_333, 0); + lean_ctor_release(x_333, 1); + x_344 = x_333; +} else { + lean_dec_ref(x_333); + x_344 = lean_box(0); +} +x_345 = lean_st_ref_get(x_142, x_327); +x_346 = lean_ctor_get(x_345, 0); lean_inc(x_346); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_341; -x_146 = x_222; -x_147 = x_346; -x_148 = x_340; -x_149 = x_197; -x_150 = x_345; -x_151 = x_195; -x_152 = x_193; -x_153 = x_342; -x_154 = x_346; -goto block_174; -} -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_341; -x_146 = x_222; -x_147 = x_346; -x_148 = x_340; -x_149 = x_197; -x_150 = x_345; -x_151 = x_195; -x_152 = x_193; -x_153 = x_342; -x_154 = x_116; -goto block_174; -} -} -else -{ -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; uint8_t x_356; -lean_dec_ref(x_341); -lean_dec(x_339); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_348 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_349 = l_Lean_MessageData_ofName(x_222); -x_350 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_350, 0, x_348); -lean_ctor_set(x_350, 1, x_349); -x_351 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_351); -lean_ctor_set(x_212, 0, x_350); -lean_inc(x_342); -x_352 = l_Nat_reprFast(x_342); -lean_ctor_set_tag(x_209, 3); -lean_ctor_set(x_209, 0, x_352); -x_353 = l_Lean_MessageData_ofFormat(x_209); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_353); -lean_ctor_set(x_202, 0, x_212); -x_354 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_355 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_355, 0, x_202); -lean_ctor_set(x_355, 1, x_354); -x_356 = lean_nat_dec_eq(x_342, x_117); -lean_dec(x_342); -if (x_356 == 0) -{ -lean_object* x_357; -x_357 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_340; -x_14 = x_197; -x_15 = x_355; -x_16 = x_195; -x_17 = x_193; -x_18 = x_357; -goto block_28; -} -else -{ -lean_object* x_358; -x_358 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_340; -x_14 = x_197; -x_15 = x_355; -x_16 = x_195; -x_17 = x_193; -x_18 = x_358; -goto block_28; -} -} -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -lean_dec(x_342); -lean_dec(x_339); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); -x_359 = lean_ctor_get(x_197, 5); -x_360 = l_Lean_SourceInfo_fromRef(x_359, x_207); -x_361 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_362 = l_Lean_mkCIdentFrom(x_1, x_222, x_68); -x_363 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_364 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_365 = l_Array_append___redArg(x_364, x_341); -lean_dec_ref(x_341); -lean_inc(x_360); -if (lean_is_scalar(x_336)) { - x_366 = lean_alloc_ctor(1, 3, 0); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + x_348 = x_345; } else { - x_366 = x_336; - lean_ctor_set_tag(x_366, 1); -} -lean_ctor_set(x_366, 0, x_360); -lean_ctor_set(x_366, 1, x_363); -lean_ctor_set(x_366, 2, x_365); -x_367 = l_Lean_Syntax_node2(x_360, x_361, x_362, x_366); -x_69 = x_367; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_340; -goto block_81; + lean_dec_ref(x_345); + x_348 = lean_box(0); } +x_349 = lean_ctor_get(x_346, 0); +lean_inc_ref(x_349); +lean_dec(x_346); +lean_inc(x_343); +x_350 = l_Lean_isInaccessiblePrivateName(x_349, x_343); +lean_dec_ref(x_349); +if (x_350 == 0) +{ +lean_object* x_351; +lean_dec(x_348); +lean_dec(x_344); +lean_dec_ref(x_342); +lean_inc_ref(x_141); +lean_inc_ref(x_137); +lean_inc(x_343); +x_351 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_343, x_137, x_138, x_139, x_140, x_141, x_142, x_347); +if (lean_obj_tag(x_351) == 0) +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_352 = lean_ctor_get(x_351, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_352, 0); +lean_inc_ref(x_353); +x_354 = lean_ctor_get(x_351, 1); +lean_inc(x_354); +lean_dec_ref(x_351); +x_355 = lean_ctor_get(x_352, 3); +lean_inc(x_355); +lean_dec(x_352); +x_356 = lean_ctor_get(x_353, 2); +lean_inc_ref(x_356); +lean_dec_ref(x_353); +x_357 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); +lean_closure_set(x_357, 0, x_355); +lean_closure_set(x_357, 1, x_91); +lean_closure_set(x_357, 2, x_92); +lean_inc(x_142); +lean_inc_ref(x_141); +lean_inc(x_140); +lean_inc_ref(x_139); +lean_inc(x_138); +lean_inc_ref(x_137); +x_358 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_356, x_357, x_329, x_329, x_137, x_138, x_139, x_140, x_141, x_142, x_354); +if (lean_obj_tag(x_358) == 0) +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_358, 1); +lean_inc(x_360); +lean_dec_ref(x_358); +x_361 = lean_box(x_26); +x_362 = lean_box(x_329); +lean_inc(x_343); +lean_inc(x_359); +lean_inc(x_1); +lean_inc_ref(x_2); +x_363 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed), 22, 13); +lean_closure_set(x_363, 0, x_2); +lean_closure_set(x_363, 1, x_361); +lean_closure_set(x_363, 2, x_1); +lean_closure_set(x_363, 3, x_359); +lean_closure_set(x_363, 4, x_91); +lean_closure_set(x_363, 5, x_22); +lean_closure_set(x_363, 6, x_23); +lean_closure_set(x_363, 7, x_24); +lean_closure_set(x_363, 8, x_343); +lean_closure_set(x_363, 9, x_92); +lean_closure_set(x_363, 10, x_118); +lean_closure_set(x_363, 11, x_25); +lean_closure_set(x_363, 12, x_362); +x_364 = l_Lean_Syntax_TSepArray_getElems___redArg(x_119); +lean_dec_ref(x_119); +x_365 = lean_array_get_size(x_364); +x_366 = lean_nat_dec_lt(x_365, x_359); +if (x_366 == 0) +{ +lean_object* x_367; lean_object* x_368; +lean_dec(x_365); +lean_dec_ref(x_363); +x_367 = lean_box(0); +x_368 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2(x_2, x_26, x_1, x_359, x_91, x_22, x_23, x_24, x_343, x_92, x_118, x_25, x_329, x_364, x_367, x_137, x_138, x_139, x_140, x_141, x_142, x_360); +lean_dec(x_359); +return x_368; } else { -uint8_t x_368; -lean_dec(x_336); -lean_free_object(x_212); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); +uint8_t x_369; lean_dec_ref(x_2); lean_dec(x_1); -x_368 = lean_nat_dec_eq(x_339, x_117); -if (x_368 == 0) -{ -lean_object* x_369; -x_369 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_339; -x_119 = x_193; -x_120 = x_341; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_342; -x_125 = x_340; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_369; -goto block_140; -} -else +x_369 = lean_nat_dec_eq(x_359, x_92); +if (x_369 == 0) { lean_object* x_370; -x_370 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_339; -x_119 = x_193; -x_120 = x_341; -x_121 = x_222; -x_122 = x_196; -x_123 = x_194; -x_124 = x_342; -x_125 = x_340; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_370; -goto block_140; +x_370 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_93 = x_139; +x_94 = x_364; +x_95 = x_365; +x_96 = x_142; +x_97 = x_360; +x_98 = x_329; +x_99 = x_140; +x_100 = x_343; +x_101 = x_359; +x_102 = x_363; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_370; +goto block_116; +} +else +{ +lean_object* x_371; +x_371 = l_Lean_Elab_Term_elabAnonymousCtor___closed__24; +x_93 = x_139; +x_94 = x_364; +x_95 = x_365; +x_96 = x_142; +x_97 = x_360; +x_98 = x_329; +x_99 = x_140; +x_100 = x_343; +x_101 = x_359; +x_102 = x_363; +x_103 = x_141; +x_104 = x_137; +x_105 = x_138; +x_106 = x_371; +goto block_116; } } } else { -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -lean_dec(x_336); -lean_free_object(x_212); -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +lean_dec(x_343); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_371 = lean_ctor_get(x_338, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_338, 1); +x_372 = lean_ctor_get(x_358, 0); lean_inc(x_372); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - lean_ctor_release(x_338, 1); - x_373 = x_338; +x_373 = lean_ctor_get(x_358, 1); +lean_inc(x_373); +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + lean_ctor_release(x_358, 1); + x_374 = x_358; } else { - lean_dec_ref(x_338); - x_373 = lean_box(0); + lean_dec_ref(x_358); + x_374 = lean_box(0); } -if (lean_is_scalar(x_373)) { - x_374 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_374)) { + x_375 = lean_alloc_ctor(1, 2, 0); } else { - x_374 = x_373; + x_375 = x_374; } -lean_ctor_set(x_374, 0, x_371); -lean_ctor_set(x_374, 1, x_372); -return x_374; +lean_ctor_set(x_375, 0, x_372); +lean_ctor_set(x_375, 1, x_373); +return x_375; } } else { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; -lean_free_object(x_212); -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_dec(x_343); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +lean_dec_ref(x_137); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_375 = lean_ctor_get(x_330, 0); -lean_inc(x_375); -x_376 = lean_ctor_get(x_330, 1); +x_376 = lean_ctor_get(x_351, 0); lean_inc(x_376); -if (lean_is_exclusive(x_330)) { - lean_ctor_release(x_330, 0); - lean_ctor_release(x_330, 1); - x_377 = x_330; +x_377 = lean_ctor_get(x_351, 1); +lean_inc(x_377); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + x_378 = x_351; } else { - lean_dec_ref(x_330); - x_377 = lean_box(0); + lean_dec_ref(x_351); + x_378 = lean_box(0); } -if (lean_is_scalar(x_377)) { - x_378 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_378)) { + x_379 = lean_alloc_ctor(1, 2, 0); } else { - x_378 = x_377; + x_379 = x_378; } -lean_ctor_set(x_378, 0, x_375); -lean_ctor_set(x_378, 1, x_376); -return x_378; +lean_ctor_set(x_379, 0, x_376); +lean_ctor_set(x_379, 1, x_377); +return x_379; } } else { -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -lean_dec(x_222); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; +lean_dec(x_343); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_379 = lean_ctor_get(x_220, 0); -lean_inc(x_379); -lean_dec_ref(x_220); -x_380 = l_Lean_Elab_Term_elabAnonymousCtor___closed__44; -x_381 = l_Lean_MessageData_ofName(x_379); -x_382 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_Lean_Elab_Term_elabAnonymousCtor___closed__46; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_383); -lean_ctor_set(x_212, 0, x_382); -x_384 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_212, x_193, x_194, x_195, x_196, x_197, x_198, x_327); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -if (lean_is_exclusive(x_384)) { - lean_ctor_release(x_384, 0); - lean_ctor_release(x_384, 1); - x_387 = x_384; +x_380 = lean_ctor_get(x_342, 0); +lean_inc(x_380); +lean_dec_ref(x_342); +x_381 = l_Lean_Elab_Term_elabAnonymousCtor___closed__26; +x_382 = l_Lean_MessageData_ofName(x_380); +if (lean_is_scalar(x_348)) { + x_383 = lean_alloc_ctor(7, 2, 0); } else { - lean_dec_ref(x_384); - x_387 = lean_box(0); + x_383 = x_348; + lean_ctor_set_tag(x_383, 7); } -if (lean_is_scalar(x_387)) { - x_388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_381); +lean_ctor_set(x_383, 1, x_382); +x_384 = l_Lean_Elab_Term_elabAnonymousCtor___closed__28; +if (lean_is_scalar(x_344)) { + x_385 = lean_alloc_ctor(7, 2, 0); } else { - x_388 = x_387; + x_385 = x_344; + lean_ctor_set_tag(x_385, 7); } -lean_ctor_set(x_388, 0, x_385); -lean_ctor_set(x_388, 1, x_386); -return x_388; +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +x_386 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_385, x_137, x_138, x_139, x_140, x_141, x_142, x_347); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +x_387 = lean_ctor_get(x_386, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_386, 1); +lean_inc(x_388); +if (lean_is_exclusive(x_386)) { + lean_ctor_release(x_386, 0); + lean_ctor_release(x_386, 1); + x_389 = x_386; +} else { + lean_dec_ref(x_386); + x_389 = lean_box(0); } +if (lean_is_scalar(x_389)) { + x_390 = lean_alloc_ctor(1, 2, 0); +} else { + x_390 = x_389; +} +lean_ctor_set(x_390, 0, x_387); +lean_ctor_set(x_390, 1, x_388); +return x_390; } } else { -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; -x_389 = lean_ctor_get(x_212, 0); -lean_inc(x_389); -lean_dec(x_212); -x_390 = lean_st_ref_get(x_198, x_205); -x_391 = lean_ctor_get(x_390, 0); -lean_inc(x_391); -x_392 = lean_ctor_get(x_390, 1); -lean_inc(x_392); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - x_393 = x_390; -} else { - lean_dec_ref(x_390); - x_393 = lean_box(0); -} -x_394 = lean_ctor_get(x_391, 0); -lean_inc_ref(x_394); -lean_dec(x_391); -lean_inc(x_389); -x_395 = l_Lean_isInaccessiblePrivateName(x_394, x_389); -lean_dec_ref(x_394); -if (x_395 == 0) -{ -lean_object* x_396; -lean_dec_ref(x_220); -lean_inc_ref(x_197); -lean_inc_ref(x_193); -lean_inc(x_389); -x_396 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_389, x_193, x_194, x_195, x_196, x_197, x_198, x_392); -if (lean_obj_tag(x_396) == 0) -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_397, 0); -lean_inc_ref(x_398); -x_399 = lean_ctor_get(x_396, 1); -lean_inc(x_399); -lean_dec_ref(x_396); -x_400 = lean_ctor_get(x_397, 3); -lean_inc(x_400); -lean_dec(x_397); -x_401 = lean_ctor_get(x_398, 2); -lean_inc_ref(x_401); -if (lean_is_exclusive(x_398)) { - lean_ctor_release(x_398, 0); - lean_ctor_release(x_398, 1); - lean_ctor_release(x_398, 2); - x_402 = x_398; -} else { - lean_dec_ref(x_398); - x_402 = lean_box(0); -} -x_403 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_403, 0, x_400); -lean_closure_set(x_403, 1, x_116); -lean_closure_set(x_403, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_404 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_401, x_403, x_207, x_207, x_193, x_194, x_195, x_196, x_197, x_198, x_399); -if (lean_obj_tag(x_404) == 0) -{ -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; uint8_t x_409; -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -lean_dec_ref(x_404); -x_407 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_408 = lean_array_get_size(x_407); -x_409 = lean_nat_dec_lt(x_408, x_405); -if (x_409 == 0) -{ -uint8_t x_410; -x_410 = lean_nat_dec_eq(x_408, x_405); -if (x_410 == 0) -{ -uint8_t x_411; -lean_dec(x_402); -x_411 = lean_nat_dec_eq(x_405, x_116); -if (x_411 == 0) -{ -lean_object* x_412; uint8_t x_413; -lean_dec(x_393); -lean_free_object(x_209); -lean_free_object(x_202); -x_412 = lean_nat_sub(x_405, x_117); -lean_dec(x_405); -x_413 = lean_nat_dec_le(x_412, x_116); -if (x_413 == 0) -{ -lean_inc(x_412); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_407; -x_146 = x_389; -x_147 = x_412; -x_148 = x_406; -x_149 = x_197; -x_150 = x_411; -x_151 = x_195; -x_152 = x_193; -x_153 = x_408; -x_154 = x_412; -goto block_174; -} -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_407; -x_146 = x_389; -x_147 = x_412; -x_148 = x_406; -x_149 = x_197; -x_150 = x_411; -x_151 = x_195; -x_152 = x_193; -x_153 = x_408; -x_154 = x_116; -goto block_174; -} -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; -lean_dec_ref(x_407); -lean_dec(x_405); -lean_dec(x_115); +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +lean_dec_ref(x_332); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_414 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_415 = l_Lean_MessageData_ofName(x_389); -if (lean_is_scalar(x_393)) { - x_416 = lean_alloc_ctor(7, 2, 0); +if (lean_is_exclusive(x_333)) { + lean_ctor_release(x_333, 0); + lean_ctor_release(x_333, 1); + x_391 = x_333; } else { - x_416 = x_393; - lean_ctor_set_tag(x_416, 7); + lean_dec_ref(x_333); + x_391 = lean_box(0); } -lean_ctor_set(x_416, 0, x_414); -lean_ctor_set(x_416, 1, x_415); -x_417 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -x_418 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_418, 0, x_416); -lean_ctor_set(x_418, 1, x_417); -lean_inc(x_408); -x_419 = l_Nat_reprFast(x_408); -lean_ctor_set_tag(x_209, 3); -lean_ctor_set(x_209, 0, x_419); -x_420 = l_Lean_MessageData_ofFormat(x_209); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_420); -lean_ctor_set(x_202, 0, x_418); -x_421 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_422 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_422, 0, x_202); -lean_ctor_set(x_422, 1, x_421); -x_423 = lean_nat_dec_eq(x_408, x_117); -lean_dec(x_408); -if (x_423 == 0) -{ -lean_object* x_424; -x_424 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_406; -x_14 = x_197; -x_15 = x_422; -x_16 = x_195; -x_17 = x_193; -x_18 = x_424; -goto block_28; -} -else -{ -lean_object* x_425; -x_425 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_406; -x_14 = x_197; -x_15 = x_422; -x_16 = x_195; -x_17 = x_193; -x_18 = x_425; -goto block_28; -} -} -} -else -{ -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_393); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); -x_426 = lean_ctor_get(x_197, 5); -x_427 = l_Lean_SourceInfo_fromRef(x_426, x_207); -x_428 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_429 = l_Lean_mkCIdentFrom(x_1, x_389, x_68); -x_430 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_431 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_432 = l_Array_append___redArg(x_431, x_407); -lean_dec_ref(x_407); -lean_inc(x_427); -if (lean_is_scalar(x_402)) { - x_433 = lean_alloc_ctor(1, 3, 0); +if (lean_is_exclusive(x_341)) { + lean_ctor_release(x_341, 0); + lean_ctor_release(x_341, 1); + x_392 = x_341; } else { - x_433 = x_402; - lean_ctor_set_tag(x_433, 1); + lean_dec_ref(x_341); + x_392 = lean_box(0); +} +x_393 = l_Lean_Elab_Term_elabAnonymousCtor___closed__18; +x_394 = lean_unsigned_to_nat(30u); +x_395 = l_Lean_inlineExpr(x_88, x_394); +if (lean_is_scalar(x_392)) { + x_396 = lean_alloc_ctor(7, 2, 0); +} else { + x_396 = x_392; + lean_ctor_set_tag(x_396, 7); +} +lean_ctor_set(x_396, 0, x_393); +lean_ctor_set(x_396, 1, x_395); +x_397 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; +if (lean_is_scalar(x_391)) { + x_398 = lean_alloc_ctor(7, 2, 0); +} else { + x_398 = x_391; + lean_ctor_set_tag(x_398, 7); +} +lean_ctor_set(x_398, 0, x_396); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_120); +x_400 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_399, x_137, x_138, x_139, x_140, x_141, x_142, x_327); +lean_dec(x_142); +lean_dec_ref(x_141); +lean_dec(x_140); +lean_dec_ref(x_139); +lean_dec(x_138); +return x_400; } -lean_ctor_set(x_433, 0, x_427); -lean_ctor_set(x_433, 1, x_430); -lean_ctor_set(x_433, 2, x_432); -x_434 = l_Lean_Syntax_node2(x_427, x_428, x_429, x_433); -x_69 = x_434; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_406; -goto block_81; } } else { -uint8_t x_435; -lean_dec(x_402); -lean_dec(x_393); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_115); +lean_dec(x_331); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_435 = lean_nat_dec_eq(x_405, x_117); -if (x_435 == 0) -{ -lean_object* x_436; -x_436 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_405; -x_119 = x_193; -x_120 = x_407; -x_121 = x_389; -x_122 = x_196; -x_123 = x_194; -x_124 = x_408; -x_125 = x_406; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_436; -goto block_140; +x_121 = x_137; +x_122 = x_138; +x_123 = x_139; +x_124 = x_140; +x_125 = x_141; +x_126 = x_142; +x_127 = x_327; +goto block_136; } -else -{ -lean_object* x_437; -x_437 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_405; -x_119 = x_193; -x_120 = x_407; -x_121 = x_389; -x_122 = x_196; -x_123 = x_194; -x_124 = x_408; -x_125 = x_406; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_437; -goto block_140; } } } else { -lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; -lean_dec(x_402); -lean_dec(x_393); -lean_dec(x_389); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); +lean_dec_ref(x_144); +lean_dec_ref(x_119); lean_dec_ref(x_2); lean_dec(x_1); -x_438 = lean_ctor_get(x_404, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_404, 1); -lean_inc(x_439); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_440 = x_404; -} else { - lean_dec_ref(x_404); - x_440 = lean_box(0); -} -if (lean_is_scalar(x_440)) { - x_441 = lean_alloc_ctor(1, 2, 0); -} else { - x_441 = x_440; -} -lean_ctor_set(x_441, 0, x_438); -lean_ctor_set(x_441, 1, x_439); -return x_441; -} -} -else -{ -lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -lean_dec(x_393); -lean_dec(x_389); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_442 = lean_ctor_get(x_396, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_396, 1); -lean_inc(x_443); -if (lean_is_exclusive(x_396)) { - lean_ctor_release(x_396, 0); - lean_ctor_release(x_396, 1); - x_444 = x_396; -} else { - lean_dec_ref(x_396); - x_444 = lean_box(0); -} -if (lean_is_scalar(x_444)) { - x_445 = lean_alloc_ctor(1, 2, 0); -} else { - x_445 = x_444; -} -lean_ctor_set(x_445, 0, x_442); -lean_ctor_set(x_445, 1, x_443); -return x_445; -} -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; -lean_dec(x_389); -lean_free_object(x_209); -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_446 = lean_ctor_get(x_220, 0); -lean_inc(x_446); -lean_dec_ref(x_220); -x_447 = l_Lean_Elab_Term_elabAnonymousCtor___closed__44; -x_448 = l_Lean_MessageData_ofName(x_446); -if (lean_is_scalar(x_393)) { - x_449 = lean_alloc_ctor(7, 2, 0); -} else { - x_449 = x_393; - lean_ctor_set_tag(x_449, 7); -} -lean_ctor_set(x_449, 0, x_447); -lean_ctor_set(x_449, 1, x_448); -x_450 = l_Lean_Elab_Term_elabAnonymousCtor___closed__46; -x_451 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_451, 0, x_449); -lean_ctor_set(x_451, 1, x_450); -x_452 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_451, x_193, x_194, x_195, x_196, x_197, x_198, x_392); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -if (lean_is_exclusive(x_452)) { - lean_ctor_release(x_452, 0); - lean_ctor_release(x_452, 1); - x_455 = x_452; -} else { - lean_dec_ref(x_452); - x_455 = lean_box(0); -} -if (lean_is_scalar(x_455)) { - x_456 = lean_alloc_ctor(1, 2, 0); -} else { - x_456 = x_455; -} -lean_ctor_set(x_456, 0, x_453); -lean_ctor_set(x_456, 1, x_454); -return x_456; -} -} -} -else -{ -uint8_t x_457; -lean_free_object(x_209); -lean_dec_ref(x_211); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_457 = !lean_is_exclusive(x_212); -if (x_457 == 0) -{ -lean_object* x_458; lean_object* x_459; uint8_t x_460; -x_458 = lean_ctor_get(x_212, 1); -lean_dec(x_458); -x_459 = lean_ctor_get(x_212, 0); -lean_dec(x_459); -x_460 = !lean_is_exclusive(x_219); -if (x_460 == 0) -{ -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_461 = lean_ctor_get(x_219, 1); -lean_dec(x_461); -x_462 = lean_ctor_get(x_219, 0); -lean_dec(x_462); -x_463 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_464 = lean_unsigned_to_nat(30u); -x_465 = l_Lean_inlineExpr(x_113, x_464); -lean_ctor_set_tag(x_219, 7); -lean_ctor_set(x_219, 1, x_465); -lean_ctor_set(x_219, 0, x_463); -x_466 = l_Lean_Elab_Term_elabAnonymousCtor___closed__48; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_466); -lean_ctor_set(x_212, 0, x_219); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_176); -lean_ctor_set(x_202, 0, x_212); -x_467 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_202, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_467; -} -else -{ -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -lean_dec(x_219); -x_468 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_469 = lean_unsigned_to_nat(30u); -x_470 = l_Lean_inlineExpr(x_113, x_469); -x_471 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_471, 0, x_468); -lean_ctor_set(x_471, 1, x_470); -x_472 = l_Lean_Elab_Term_elabAnonymousCtor___closed__48; -lean_ctor_set_tag(x_212, 7); -lean_ctor_set(x_212, 1, x_472); -lean_ctor_set(x_212, 0, x_471); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_176); -lean_ctor_set(x_202, 0, x_212); -x_473 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_202, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_473; -} -} -else -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -lean_dec(x_212); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_474 = x_219; -} else { - lean_dec_ref(x_219); - x_474 = lean_box(0); -} -x_475 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_476 = lean_unsigned_to_nat(30u); -x_477 = l_Lean_inlineExpr(x_113, x_476); -if (lean_is_scalar(x_474)) { - x_478 = lean_alloc_ctor(7, 2, 0); -} else { - x_478 = x_474; - lean_ctor_set_tag(x_478, 7); -} -lean_ctor_set(x_478, 0, x_475); -lean_ctor_set(x_478, 1, x_477); -x_479 = l_Lean_Elab_Term_elabAnonymousCtor___closed__48; -x_480 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_480, 0, x_478); -lean_ctor_set(x_480, 1, x_479); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_176); -lean_ctor_set(x_202, 0, x_480); -x_481 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_202, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_481; -} -} -} -} -else -{ -lean_object* x_482; lean_object* x_483; -x_482 = lean_ctor_get(x_209, 0); -lean_inc(x_482); -lean_dec(x_209); -x_483 = lean_ctor_get(x_482, 4); -lean_inc(x_483); -if (lean_obj_tag(x_483) == 0) -{ -lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -lean_dec_ref(x_482); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_484 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_485 = lean_unsigned_to_nat(30u); -x_486 = l_Lean_inlineExpr(x_113, x_485); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_486); -lean_ctor_set(x_202, 0, x_484); -x_487 = l_Lean_Elab_Term_elabAnonymousCtor___closed__34; -x_488 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_488, 0, x_202); -lean_ctor_set(x_488, 1, x_487); -x_489 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_488, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_489; -} -else -{ -lean_object* x_490; -x_490 = lean_ctor_get(x_483, 1); -lean_inc(x_490); -if (lean_obj_tag(x_490) == 0) -{ -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; -lean_dec(x_113); -x_491 = lean_ctor_get(x_482, 0); -lean_inc_ref(x_491); -lean_dec_ref(x_482); -x_492 = lean_ctor_get(x_483, 0); -lean_inc(x_492); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - x_493 = x_483; -} else { - lean_dec_ref(x_483); - x_493 = lean_box(0); -} -x_494 = lean_st_ref_get(x_198, x_205); -x_495 = lean_ctor_get(x_494, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 1); -lean_inc(x_496); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_497 = x_494; -} else { - lean_dec_ref(x_494); - x_497 = lean_box(0); -} -x_498 = lean_ctor_get(x_495, 0); -lean_inc_ref(x_498); -lean_dec(x_495); -lean_inc(x_492); -x_499 = l_Lean_isInaccessiblePrivateName(x_498, x_492); -lean_dec_ref(x_498); -if (x_499 == 0) -{ -lean_object* x_500; -lean_dec_ref(x_491); -lean_inc_ref(x_197); -lean_inc_ref(x_193); -lean_inc(x_492); -x_500 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_492, x_193, x_194, x_195, x_196, x_197, x_198, x_496); -if (lean_obj_tag(x_500) == 0) -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_501 = lean_ctor_get(x_500, 0); -lean_inc(x_501); -x_502 = lean_ctor_get(x_501, 0); -lean_inc_ref(x_502); -x_503 = lean_ctor_get(x_500, 1); -lean_inc(x_503); -lean_dec_ref(x_500); -x_504 = lean_ctor_get(x_501, 3); -lean_inc(x_504); -lean_dec(x_501); -x_505 = lean_ctor_get(x_502, 2); -lean_inc_ref(x_505); -if (lean_is_exclusive(x_502)) { - lean_ctor_release(x_502, 0); - lean_ctor_release(x_502, 1); - lean_ctor_release(x_502, 2); - x_506 = x_502; -} else { - lean_dec_ref(x_502); - x_506 = lean_box(0); -} -x_507 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_507, 0, x_504); -lean_closure_set(x_507, 1, x_116); -lean_closure_set(x_507, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_508 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_505, x_507, x_207, x_207, x_193, x_194, x_195, x_196, x_197, x_198, x_503); -if (lean_obj_tag(x_508) == 0) -{ -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_508, 1); -lean_inc(x_510); -lean_dec_ref(x_508); -x_511 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_512 = lean_array_get_size(x_511); -x_513 = lean_nat_dec_lt(x_512, x_509); -if (x_513 == 0) -{ -uint8_t x_514; -x_514 = lean_nat_dec_eq(x_512, x_509); -if (x_514 == 0) -{ -uint8_t x_515; -lean_dec(x_506); -x_515 = lean_nat_dec_eq(x_509, x_116); -if (x_515 == 0) -{ -lean_object* x_516; uint8_t x_517; -lean_dec(x_497); -lean_dec(x_493); -lean_free_object(x_202); -x_516 = lean_nat_sub(x_509, x_117); -lean_dec(x_509); -x_517 = lean_nat_dec_le(x_516, x_116); -if (x_517 == 0) -{ -lean_inc(x_516); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_511; -x_146 = x_492; -x_147 = x_516; -x_148 = x_510; -x_149 = x_197; -x_150 = x_515; -x_151 = x_195; -x_152 = x_193; -x_153 = x_512; -x_154 = x_516; -goto block_174; -} -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_511; -x_146 = x_492; -x_147 = x_516; -x_148 = x_510; -x_149 = x_197; -x_150 = x_515; -x_151 = x_195; -x_152 = x_193; -x_153 = x_512; -x_154 = x_116; -goto block_174; -} -} -else -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; uint8_t x_528; -lean_dec_ref(x_511); -lean_dec(x_509); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_518 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_519 = l_Lean_MessageData_ofName(x_492); -if (lean_is_scalar(x_497)) { - x_520 = lean_alloc_ctor(7, 2, 0); -} else { - x_520 = x_497; - lean_ctor_set_tag(x_520, 7); -} -lean_ctor_set(x_520, 0, x_518); -lean_ctor_set(x_520, 1, x_519); -x_521 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -if (lean_is_scalar(x_493)) { - x_522 = lean_alloc_ctor(7, 2, 0); -} else { - x_522 = x_493; - lean_ctor_set_tag(x_522, 7); -} -lean_ctor_set(x_522, 0, x_520); -lean_ctor_set(x_522, 1, x_521); -lean_inc(x_512); -x_523 = l_Nat_reprFast(x_512); -x_524 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_524, 0, x_523); -x_525 = l_Lean_MessageData_ofFormat(x_524); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_525); -lean_ctor_set(x_202, 0, x_522); -x_526 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_527 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_527, 0, x_202); -lean_ctor_set(x_527, 1, x_526); -x_528 = lean_nat_dec_eq(x_512, x_117); -lean_dec(x_512); -if (x_528 == 0) -{ -lean_object* x_529; -x_529 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_510; -x_14 = x_197; -x_15 = x_527; -x_16 = x_195; -x_17 = x_193; -x_18 = x_529; -goto block_28; -} -else -{ -lean_object* x_530; -x_530 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_510; -x_14 = x_197; -x_15 = x_527; -x_16 = x_195; -x_17 = x_193; -x_18 = x_530; -goto block_28; -} -} -} -else -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -lean_dec(x_512); -lean_dec(x_509); -lean_dec(x_497); -lean_dec(x_493); -lean_free_object(x_202); -lean_dec(x_115); -x_531 = lean_ctor_get(x_197, 5); -x_532 = l_Lean_SourceInfo_fromRef(x_531, x_207); -x_533 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_534 = l_Lean_mkCIdentFrom(x_1, x_492, x_68); -x_535 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_536 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_537 = l_Array_append___redArg(x_536, x_511); -lean_dec_ref(x_511); -lean_inc(x_532); -if (lean_is_scalar(x_506)) { - x_538 = lean_alloc_ctor(1, 3, 0); -} else { - x_538 = x_506; - lean_ctor_set_tag(x_538, 1); -} -lean_ctor_set(x_538, 0, x_532); -lean_ctor_set(x_538, 1, x_535); -lean_ctor_set(x_538, 2, x_537); -x_539 = l_Lean_Syntax_node2(x_532, x_533, x_534, x_538); -x_69 = x_539; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_510; -goto block_81; -} -} -else -{ -uint8_t x_540; -lean_dec(x_506); -lean_dec(x_497); -lean_dec(x_493); -lean_free_object(x_202); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_540 = lean_nat_dec_eq(x_509, x_117); -if (x_540 == 0) -{ -lean_object* x_541; -x_541 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_509; -x_119 = x_193; -x_120 = x_511; -x_121 = x_492; -x_122 = x_196; -x_123 = x_194; -x_124 = x_512; -x_125 = x_510; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_541; -goto block_140; -} -else -{ -lean_object* x_542; -x_542 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_509; -x_119 = x_193; -x_120 = x_511; -x_121 = x_492; -x_122 = x_196; -x_123 = x_194; -x_124 = x_512; -x_125 = x_510; -x_126 = x_195; -x_127 = x_197; -x_128 = x_207; -x_129 = x_198; -x_130 = x_542; -goto block_140; -} -} -} -else -{ -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; -lean_dec(x_506); -lean_dec(x_497); -lean_dec(x_493); -lean_dec(x_492); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_543 = lean_ctor_get(x_508, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_508, 1); -lean_inc(x_544); -if (lean_is_exclusive(x_508)) { - lean_ctor_release(x_508, 0); - lean_ctor_release(x_508, 1); - x_545 = x_508; -} else { - lean_dec_ref(x_508); - x_545 = lean_box(0); -} -if (lean_is_scalar(x_545)) { - x_546 = lean_alloc_ctor(1, 2, 0); -} else { - x_546 = x_545; -} -lean_ctor_set(x_546, 0, x_543); -lean_ctor_set(x_546, 1, x_544); -return x_546; -} -} -else -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -lean_dec(x_497); -lean_dec(x_493); -lean_dec(x_492); -lean_free_object(x_202); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_547 = lean_ctor_get(x_500, 0); -lean_inc(x_547); -x_548 = lean_ctor_get(x_500, 1); -lean_inc(x_548); -if (lean_is_exclusive(x_500)) { - lean_ctor_release(x_500, 0); - lean_ctor_release(x_500, 1); - x_549 = x_500; -} else { - lean_dec_ref(x_500); - x_549 = lean_box(0); -} -if (lean_is_scalar(x_549)) { - x_550 = lean_alloc_ctor(1, 2, 0); -} else { - x_550 = x_549; -} -lean_ctor_set(x_550, 0, x_547); -lean_ctor_set(x_550, 1, x_548); -return x_550; -} -} -else -{ -lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_dec(x_492); -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_551 = lean_ctor_get(x_491, 0); -lean_inc(x_551); -lean_dec_ref(x_491); -x_552 = l_Lean_Elab_Term_elabAnonymousCtor___closed__44; -x_553 = l_Lean_MessageData_ofName(x_551); -if (lean_is_scalar(x_497)) { - x_554 = lean_alloc_ctor(7, 2, 0); -} else { - x_554 = x_497; - lean_ctor_set_tag(x_554, 7); -} -lean_ctor_set(x_554, 0, x_552); -lean_ctor_set(x_554, 1, x_553); -x_555 = l_Lean_Elab_Term_elabAnonymousCtor___closed__46; -if (lean_is_scalar(x_493)) { - x_556 = lean_alloc_ctor(7, 2, 0); -} else { - x_556 = x_493; - lean_ctor_set_tag(x_556, 7); -} -lean_ctor_set(x_556, 0, x_554); -lean_ctor_set(x_556, 1, x_555); -x_557 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_556, x_193, x_194, x_195, x_196, x_197, x_198, x_496); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -x_558 = lean_ctor_get(x_557, 0); -lean_inc(x_558); -x_559 = lean_ctor_get(x_557, 1); -lean_inc(x_559); -if (lean_is_exclusive(x_557)) { - lean_ctor_release(x_557, 0); - lean_ctor_release(x_557, 1); - x_560 = x_557; -} else { - lean_dec_ref(x_557); - x_560 = lean_box(0); -} -if (lean_is_scalar(x_560)) { - x_561 = lean_alloc_ctor(1, 2, 0); -} else { - x_561 = x_560; -} -lean_ctor_set(x_561, 0, x_558); -lean_ctor_set(x_561, 1, x_559); -return x_561; -} -} -else -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; -lean_dec_ref(x_482); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - x_562 = x_483; -} else { - lean_dec_ref(x_483); - x_562 = lean_box(0); -} -if (lean_is_exclusive(x_490)) { - lean_ctor_release(x_490, 0); - lean_ctor_release(x_490, 1); - x_563 = x_490; -} else { - lean_dec_ref(x_490); - x_563 = lean_box(0); -} -x_564 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_565 = lean_unsigned_to_nat(30u); -x_566 = l_Lean_inlineExpr(x_113, x_565); -if (lean_is_scalar(x_563)) { - x_567 = lean_alloc_ctor(7, 2, 0); -} else { - x_567 = x_563; - lean_ctor_set_tag(x_567, 7); -} -lean_ctor_set(x_567, 0, x_564); -lean_ctor_set(x_567, 1, x_566); -x_568 = l_Lean_Elab_Term_elabAnonymousCtor___closed__48; -if (lean_is_scalar(x_562)) { - x_569 = lean_alloc_ctor(7, 2, 0); -} else { - x_569 = x_562; - lean_ctor_set_tag(x_569, 7); -} -lean_ctor_set(x_569, 0, x_567); -lean_ctor_set(x_569, 1, x_568); -lean_ctor_set_tag(x_202, 7); -lean_ctor_set(x_202, 1, x_176); -lean_ctor_set(x_202, 0, x_569); -x_570 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_202, x_193, x_194, x_195, x_196, x_197, x_198, x_205); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_570; -} -} -} -} -else -{ -lean_dec(x_209); -lean_free_object(x_202); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_177 = x_193; -x_178 = x_194; -x_179 = x_195; -x_180 = x_196; -x_181 = x_197; -x_182 = x_198; -x_183 = x_205; -goto block_192; -} -} -} -else -{ -lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; lean_object* x_575; -x_571 = lean_ctor_get(x_202, 0); -x_572 = lean_ctor_get(x_202, 1); -lean_inc(x_572); -lean_inc(x_571); -lean_dec(x_202); -x_573 = lean_ctor_get(x_571, 0); -lean_inc_ref(x_573); -lean_dec(x_571); -x_574 = 0; -x_575 = l_Lean_Environment_find_x3f(x_573, x_201, x_574); -if (lean_obj_tag(x_575) == 0) -{ -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_177 = x_193; -x_178 = x_194; -x_179 = x_195; -x_180 = x_196; -x_181 = x_197; -x_182 = x_198; -x_183 = x_572; -goto block_192; -} -else -{ -lean_object* x_576; -x_576 = lean_ctor_get(x_575, 0); -lean_inc(x_576); -lean_dec_ref(x_575); -if (lean_obj_tag(x_576) == 5) -{ -lean_object* x_577; lean_object* x_578; lean_object* x_579; -x_577 = lean_ctor_get(x_576, 0); -lean_inc_ref(x_577); -if (lean_is_exclusive(x_576)) { - lean_ctor_release(x_576, 0); - x_578 = x_576; -} else { - lean_dec_ref(x_576); - x_578 = lean_box(0); -} -x_579 = lean_ctor_get(x_577, 4); -lean_inc(x_579); -if (lean_obj_tag(x_579) == 0) -{ -lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; -lean_dec(x_578); -lean_dec_ref(x_577); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_580 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_581 = lean_unsigned_to_nat(30u); -x_582 = l_Lean_inlineExpr(x_113, x_581); -x_583 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_583, 0, x_580); -lean_ctor_set(x_583, 1, x_582); -x_584 = l_Lean_Elab_Term_elabAnonymousCtor___closed__34; -x_585 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_585, 0, x_583); -lean_ctor_set(x_585, 1, x_584); -x_586 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_585, x_193, x_194, x_195, x_196, x_197, x_198, x_572); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_586; -} -else -{ -lean_object* x_587; -x_587 = lean_ctor_get(x_579, 1); -lean_inc(x_587); -if (lean_obj_tag(x_587) == 0) -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; uint8_t x_596; -lean_dec(x_113); -x_588 = lean_ctor_get(x_577, 0); -lean_inc_ref(x_588); -lean_dec_ref(x_577); -x_589 = lean_ctor_get(x_579, 0); -lean_inc(x_589); -if (lean_is_exclusive(x_579)) { - lean_ctor_release(x_579, 0); - lean_ctor_release(x_579, 1); - x_590 = x_579; -} else { - lean_dec_ref(x_579); - x_590 = lean_box(0); -} -x_591 = lean_st_ref_get(x_198, x_572); -x_592 = lean_ctor_get(x_591, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_591, 1); -lean_inc(x_593); -if (lean_is_exclusive(x_591)) { - lean_ctor_release(x_591, 0); - lean_ctor_release(x_591, 1); - x_594 = x_591; -} else { - lean_dec_ref(x_591); - x_594 = lean_box(0); -} -x_595 = lean_ctor_get(x_592, 0); -lean_inc_ref(x_595); -lean_dec(x_592); -lean_inc(x_589); -x_596 = l_Lean_isInaccessiblePrivateName(x_595, x_589); -lean_dec_ref(x_595); -if (x_596 == 0) -{ -lean_object* x_597; -lean_dec_ref(x_588); -lean_inc_ref(x_197); -lean_inc_ref(x_193); -lean_inc(x_589); -x_597 = l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1(x_589, x_193, x_194, x_195, x_196, x_197, x_198, x_593); -if (lean_obj_tag(x_597) == 0) -{ -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_598 = lean_ctor_get(x_597, 0); -lean_inc(x_598); -x_599 = lean_ctor_get(x_598, 0); -lean_inc_ref(x_599); -x_600 = lean_ctor_get(x_597, 1); -lean_inc(x_600); -lean_dec_ref(x_597); -x_601 = lean_ctor_get(x_598, 3); -lean_inc(x_601); -lean_dec(x_598); -x_602 = lean_ctor_get(x_599, 2); -lean_inc_ref(x_602); -if (lean_is_exclusive(x_599)) { - lean_ctor_release(x_599, 0); - lean_ctor_release(x_599, 1); - lean_ctor_release(x_599, 2); - x_603 = x_599; -} else { - lean_dec_ref(x_599); - x_603 = lean_box(0); -} -x_604 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lam__1___boxed), 12, 3); -lean_closure_set(x_604, 0, x_601); -lean_closure_set(x_604, 1, x_116); -lean_closure_set(x_604, 2, x_117); -lean_inc(x_198); -lean_inc_ref(x_197); -lean_inc(x_196); -lean_inc_ref(x_195); -lean_inc(x_194); -lean_inc_ref(x_193); -x_605 = l_Lean_Meta_forallTelescopeReducing___at___Lean_Elab_Term_elabAnonymousCtor_spec__9___redArg(x_602, x_604, x_574, x_574, x_193, x_194, x_195, x_196, x_197, x_198, x_600); -if (lean_obj_tag(x_605) == 0) -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; uint8_t x_610; -x_606 = lean_ctor_get(x_605, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_605, 1); -lean_inc(x_607); -lean_dec_ref(x_605); -x_608 = l_Lean_Syntax_TSepArray_getElems___redArg(x_175); -lean_dec_ref(x_175); -x_609 = lean_array_get_size(x_608); -x_610 = lean_nat_dec_lt(x_609, x_606); -if (x_610 == 0) -{ -uint8_t x_611; -x_611 = lean_nat_dec_eq(x_609, x_606); -if (x_611 == 0) -{ -uint8_t x_612; -lean_dec(x_603); -x_612 = lean_nat_dec_eq(x_606, x_116); -if (x_612 == 0) -{ -lean_object* x_613; uint8_t x_614; -lean_dec(x_594); -lean_dec(x_590); -lean_dec(x_578); -x_613 = lean_nat_sub(x_606, x_117); -lean_dec(x_606); -x_614 = lean_nat_dec_le(x_613, x_116); -if (x_614 == 0) -{ -lean_inc(x_613); -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_608; -x_146 = x_589; -x_147 = x_613; -x_148 = x_607; -x_149 = x_197; -x_150 = x_612; -x_151 = x_195; -x_152 = x_193; -x_153 = x_609; -x_154 = x_613; -goto block_174; -} -else -{ -x_142 = x_194; -x_143 = x_198; -x_144 = x_196; -x_145 = x_608; -x_146 = x_589; -x_147 = x_613; -x_148 = x_607; -x_149 = x_197; -x_150 = x_612; -x_151 = x_195; -x_152 = x_193; -x_153 = x_609; -x_154 = x_116; -goto block_174; -} -} -else -{ -lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; uint8_t x_626; -lean_dec_ref(x_608); -lean_dec(x_606); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_615 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_616 = l_Lean_MessageData_ofName(x_589); -if (lean_is_scalar(x_594)) { - x_617 = lean_alloc_ctor(7, 2, 0); -} else { - x_617 = x_594; - lean_ctor_set_tag(x_617, 7); -} -lean_ctor_set(x_617, 0, x_615); -lean_ctor_set(x_617, 1, x_616); -x_618 = l_Lean_Elab_Term_elabAnonymousCtor___closed__36; -if (lean_is_scalar(x_590)) { - x_619 = lean_alloc_ctor(7, 2, 0); -} else { - x_619 = x_590; - lean_ctor_set_tag(x_619, 7); -} -lean_ctor_set(x_619, 0, x_617); -lean_ctor_set(x_619, 1, x_618); -lean_inc(x_609); -x_620 = l_Nat_reprFast(x_609); -if (lean_is_scalar(x_578)) { - x_621 = lean_alloc_ctor(3, 1, 0); -} else { - x_621 = x_578; - lean_ctor_set_tag(x_621, 3); -} -lean_ctor_set(x_621, 0, x_620); -x_622 = l_Lean_MessageData_ofFormat(x_621); -x_623 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_623, 0, x_619); -lean_ctor_set(x_623, 1, x_622); -x_624 = l_Lean_Elab_Term_elabAnonymousCtor___closed__38; -x_625 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_625, 0, x_623); -lean_ctor_set(x_625, 1, x_624); -x_626 = lean_nat_dec_eq(x_609, x_117); -lean_dec(x_609); -if (x_626 == 0) -{ -lean_object* x_627; -x_627 = l_Lean_Elab_Term_elabAnonymousCtor___closed__39; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_607; -x_14 = x_197; -x_15 = x_625; -x_16 = x_195; -x_17 = x_193; -x_18 = x_627; -goto block_28; -} -else -{ -lean_object* x_628; -x_628 = l_Lean_Elab_Term_elabAnonymousCtor___closed__40; -x_10 = x_194; -x_11 = x_198; -x_12 = x_196; -x_13 = x_607; -x_14 = x_197; -x_15 = x_625; -x_16 = x_195; -x_17 = x_193; -x_18 = x_628; -goto block_28; -} -} -} -else -{ -lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; -lean_dec(x_609); -lean_dec(x_606); -lean_dec(x_594); -lean_dec(x_590); -lean_dec(x_578); -lean_dec(x_115); -x_629 = lean_ctor_get(x_197, 5); -x_630 = l_Lean_SourceInfo_fromRef(x_629, x_574); -x_631 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_632 = l_Lean_mkCIdentFrom(x_1, x_589, x_68); -x_633 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_634 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; -x_635 = l_Array_append___redArg(x_634, x_608); -lean_dec_ref(x_608); -lean_inc(x_630); -if (lean_is_scalar(x_603)) { - x_636 = lean_alloc_ctor(1, 3, 0); -} else { - x_636 = x_603; - lean_ctor_set_tag(x_636, 1); -} -lean_ctor_set(x_636, 0, x_630); -lean_ctor_set(x_636, 1, x_633); -lean_ctor_set(x_636, 2, x_635); -x_637 = l_Lean_Syntax_node2(x_630, x_631, x_632, x_636); -x_69 = x_637; -x_70 = x_193; -x_71 = x_194; -x_72 = x_195; -x_73 = x_196; -x_74 = x_197; -x_75 = x_198; -x_76 = x_607; -goto block_81; -} -} -else -{ -uint8_t x_638; -lean_dec(x_603); -lean_dec(x_594); -lean_dec(x_590); -lean_dec(x_578); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_638 = lean_nat_dec_eq(x_606, x_117); -if (x_638 == 0) -{ -lean_object* x_639; -x_639 = l_Lean_Elab_Term_elabAnonymousCtor___closed__41; -x_118 = x_606; -x_119 = x_193; -x_120 = x_608; -x_121 = x_589; -x_122 = x_196; -x_123 = x_194; -x_124 = x_609; -x_125 = x_607; -x_126 = x_195; -x_127 = x_197; -x_128 = x_574; -x_129 = x_198; -x_130 = x_639; -goto block_140; -} -else -{ -lean_object* x_640; -x_640 = l_Lean_Elab_Term_elabAnonymousCtor___closed__42; -x_118 = x_606; -x_119 = x_193; -x_120 = x_608; -x_121 = x_589; -x_122 = x_196; -x_123 = x_194; -x_124 = x_609; -x_125 = x_607; -x_126 = x_195; -x_127 = x_197; -x_128 = x_574; -x_129 = x_198; -x_130 = x_640; -goto block_140; -} -} -} -else -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; -lean_dec(x_603); -lean_dec(x_594); -lean_dec(x_590); -lean_dec(x_589); -lean_dec(x_578); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_641 = lean_ctor_get(x_605, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_605, 1); -lean_inc(x_642); -if (lean_is_exclusive(x_605)) { - lean_ctor_release(x_605, 0); - lean_ctor_release(x_605, 1); - x_643 = x_605; -} else { - lean_dec_ref(x_605); - x_643 = lean_box(0); -} -if (lean_is_scalar(x_643)) { - x_644 = lean_alloc_ctor(1, 2, 0); -} else { - x_644 = x_643; -} -lean_ctor_set(x_644, 0, x_641); -lean_ctor_set(x_644, 1, x_642); -return x_644; -} -} -else -{ -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -lean_dec(x_594); -lean_dec(x_590); -lean_dec(x_589); -lean_dec(x_578); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -lean_dec_ref(x_193); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_645 = lean_ctor_get(x_597, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_597, 1); -lean_inc(x_646); -if (lean_is_exclusive(x_597)) { - lean_ctor_release(x_597, 0); - lean_ctor_release(x_597, 1); - x_647 = x_597; -} else { - lean_dec_ref(x_597); - x_647 = lean_box(0); -} -if (lean_is_scalar(x_647)) { - x_648 = lean_alloc_ctor(1, 2, 0); -} else { - x_648 = x_647; -} -lean_ctor_set(x_648, 0, x_645); -lean_ctor_set(x_648, 1, x_646); -return x_648; -} -} -else -{ -lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -lean_dec(x_589); -lean_dec(x_578); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_649 = lean_ctor_get(x_588, 0); -lean_inc(x_649); -lean_dec_ref(x_588); -x_650 = l_Lean_Elab_Term_elabAnonymousCtor___closed__44; -x_651 = l_Lean_MessageData_ofName(x_649); -if (lean_is_scalar(x_594)) { - x_652 = lean_alloc_ctor(7, 2, 0); -} else { - x_652 = x_594; - lean_ctor_set_tag(x_652, 7); -} -lean_ctor_set(x_652, 0, x_650); -lean_ctor_set(x_652, 1, x_651); -x_653 = l_Lean_Elab_Term_elabAnonymousCtor___closed__46; -if (lean_is_scalar(x_590)) { - x_654 = lean_alloc_ctor(7, 2, 0); -} else { - x_654 = x_590; - lean_ctor_set_tag(x_654, 7); -} -lean_ctor_set(x_654, 0, x_652); -lean_ctor_set(x_654, 1, x_653); -x_655 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_654, x_193, x_194, x_195, x_196, x_197, x_198, x_593); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -if (lean_is_exclusive(x_655)) { - lean_ctor_release(x_655, 0); - lean_ctor_release(x_655, 1); - x_658 = x_655; -} else { - lean_dec_ref(x_655); - x_658 = lean_box(0); -} -if (lean_is_scalar(x_658)) { - x_659 = lean_alloc_ctor(1, 2, 0); -} else { - x_659 = x_658; -} -lean_ctor_set(x_659, 0, x_656); -lean_ctor_set(x_659, 1, x_657); -return x_659; -} -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -lean_dec(x_578); -lean_dec_ref(x_577); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -if (lean_is_exclusive(x_579)) { - lean_ctor_release(x_579, 0); - lean_ctor_release(x_579, 1); - x_660 = x_579; -} else { - lean_dec_ref(x_579); - x_660 = lean_box(0); -} -if (lean_is_exclusive(x_587)) { - lean_ctor_release(x_587, 0); - lean_ctor_release(x_587, 1); - x_661 = x_587; -} else { - lean_dec_ref(x_587); - x_661 = lean_box(0); -} -x_662 = l_Lean_Elab_Term_elabAnonymousCtor___closed__30; -x_663 = lean_unsigned_to_nat(30u); -x_664 = l_Lean_inlineExpr(x_113, x_663); -if (lean_is_scalar(x_661)) { - x_665 = lean_alloc_ctor(7, 2, 0); -} else { - x_665 = x_661; - lean_ctor_set_tag(x_665, 7); -} -lean_ctor_set(x_665, 0, x_662); -lean_ctor_set(x_665, 1, x_664); -x_666 = l_Lean_Elab_Term_elabAnonymousCtor___closed__48; -if (lean_is_scalar(x_660)) { - x_667 = lean_alloc_ctor(7, 2, 0); -} else { - x_667 = x_660; - lean_ctor_set_tag(x_667, 7); -} -lean_ctor_set(x_667, 0, x_665); -lean_ctor_set(x_667, 1, x_666); -x_668 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_668, 0, x_667); -lean_ctor_set(x_668, 1, x_176); -x_669 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_668, x_193, x_194, x_195, x_196, x_197, x_198, x_572); -lean_dec(x_198); -lean_dec_ref(x_197); -lean_dec(x_196); -lean_dec_ref(x_195); -lean_dec(x_194); -return x_669; -} -} -} -else -{ -lean_dec(x_576); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_177 = x_193; -x_178 = x_194; -x_179 = x_195; -x_180 = x_196; -x_181 = x_197; -x_182 = x_198; -x_183 = x_572; -goto block_192; -} -} -} -} -else -{ -lean_dec_ref(x_200); -lean_dec_ref(x_175); -lean_dec(x_115); -lean_dec_ref(x_2); -lean_dec(x_1); -x_177 = x_193; -x_178 = x_194; -x_179 = x_195; -x_180 = x_196; -x_181 = x_197; -x_182 = x_198; -x_183 = x_199; -goto block_192; +x_121 = x_137; +x_122 = x_138; +x_123 = x_139; +x_124 = x_140; +x_125 = x_141; +x_126 = x_142; +x_127 = x_143; +goto block_136; } } } @@ -7871,13 +7538,13 @@ lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec(x_1); -return x_112; +return x_87; } } } else { -uint8_t x_678; +uint8_t x_409; lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -7886,111 +7553,88 @@ lean_dec(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_678 = !lean_is_exclusive(x_107); -if (x_678 == 0) +x_409 = !lean_is_exclusive(x_82); +if (x_409 == 0) { -return x_107; +return x_82; } else { -lean_object* x_679; lean_object* x_680; lean_object* x_681; -x_679 = lean_ctor_get(x_107, 0); -x_680 = lean_ctor_get(x_107, 1); -lean_inc(x_680); -lean_inc(x_679); -lean_dec(x_107); -x_681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_681, 0, x_679); -lean_ctor_set(x_681, 1, x_680); -return x_681; +lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_410 = lean_ctor_get(x_82, 0); +x_411 = lean_ctor_get(x_82, 1); +lean_inc(x_411); +lean_inc(x_410); +lean_dec(x_82); +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_410); +lean_ctor_set(x_412, 1, x_411); +return x_412; } } } -block_28: +block_21: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = l_Lean_stringToMessageData(x_18); -lean_dec_ref(x_18); -x_20 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Elab_Term_elabAnonymousCtor___closed__1; -x_22 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_22, x_17, x_10, x_16, x_12, x_14, x_11, x_13); -lean_dec(x_11); -lean_dec_ref(x_14); -lean_dec(x_12); -lean_dec_ref(x_16); -lean_dec(x_10); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -return x_23; +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = lean_apply_9(x_14, x_17, x_19, x_13, x_11, x_16, x_10, x_12, x_15, x_18); +return x_20; } -else +block_80: { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -block_66: -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_dec_ref(x_31); -x_42 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_43 = l_Lean_MessageData_ofName(x_33); +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; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_41 = lean_ctor_get_uint8(x_38, sizeof(void*)*7 + 1); +x_42 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7; +x_43 = l_Lean_MessageData_ofName(x_34); x_44 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_Elab_Term_elabAnonymousCtor___closed__5; +x_45 = l_Lean_Elab_Term_elabAnonymousCtor___closed__4; x_46 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Nat_reprFast(x_30); +lean_inc(x_35); +x_47 = l_Nat_reprFast(x_35); x_48 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_48, 0, x_47); x_49 = l_Lean_MessageData_ofFormat(x_48); x_50 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_50, 0, x_46); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Term_elabAnonymousCtor___closed__7; +x_51 = l_Lean_Elab_Term_elabAnonymousCtor___closed__6; x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_stringToMessageData(x_36); -lean_dec_ref(x_36); +x_53 = l_Lean_stringToMessageData(x_29); +lean_dec_ref(x_29); x_54 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___closed__9; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___closed__8; x_56 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_stringToMessageData(x_41); -lean_dec_ref(x_41); +x_57 = l_Lean_stringToMessageData(x_40); +lean_dec_ref(x_40); x_58 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_elabAnonymousCtor___closed__1; +x_59 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13; x_60 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_60, x_29, x_34, x_38, x_32, x_37, x_40, x_35); -lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_61; uint8_t x_62; +lean_dec_ref(x_36); +lean_dec(x_35); +lean_dec_ref(x_28); +x_61 = l_Lean_throwError___at___Lean_Elab_Term_elabCoe_spec__0___redArg(x_60, x_38, x_39, x_27, x_33, x_37, x_30, x_31); +lean_dec(x_30); lean_dec_ref(x_37); -lean_dec(x_32); -lean_dec_ref(x_38); -lean_dec(x_34); +lean_dec(x_33); +lean_dec_ref(x_27); +lean_dec(x_39); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { @@ -8010,46 +7654,96 @@ lean_ctor_set(x_65, 1, x_64); return x_65; } } -block_81: +else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_77 = lean_box(x_68); -x_78 = lean_box(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_inc_ref(x_37); +x_66 = l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12(x_60, x_38, x_39, x_27, x_33, x_37, x_30, x_31); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec_ref(x_66); +x_68 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0; +x_69 = lean_array_get_size(x_28); +x_70 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_68); lean_inc(x_69); -x_79 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_79, 0, x_69); -lean_closure_set(x_79, 1, x_2); -lean_closure_set(x_79, 2, x_77); -lean_closure_set(x_79, 3, x_78); -x_80 = l_Lean_Elab_Term_withMacroExpansion___redArg(x_1, x_69, x_79, x_70, x_71, x_72, x_73, x_74, x_75, x_76); -return x_80; -} -block_105: +lean_inc(x_35); +x_71 = lean_apply_2(x_70, x_35, x_69); +x_72 = lean_unbox(x_71); +if (x_72 == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_97 = l_Array_toSubarray___redArg(x_85, x_95, x_96); -x_98 = l_Array_ofSubarray___redArg(x_97); -lean_dec_ref(x_97); -x_99 = lean_array_push(x_98, x_84); -x_100 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_101 = l_Lean_mkCIdentFrom(x_1, x_93, x_68); -x_102 = l_Array_append___redArg(x_82, x_99); -lean_dec_ref(x_99); -lean_inc(x_83); -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_83); -lean_ctor_set(x_103, 1, x_86); -lean_ctor_set(x_103, 2, x_102); -x_104 = l_Lean_Syntax_node2(x_83, x_100, x_101, x_103); -x_69 = x_104; -x_70 = x_88; -x_71 = x_90; -x_72 = x_89; -x_73 = x_91; -x_74 = x_94; -x_75 = x_92; -x_76 = x_87; -goto block_81; +lean_dec(x_69); +lean_dec(x_35); +x_10 = x_33; +x_11 = x_39; +x_12 = x_37; +x_13 = x_38; +x_14 = x_36; +x_15 = x_30; +x_16 = x_27; +x_17 = x_28; +x_18 = x_67; +goto block_21; +} +else +{ +lean_object* x_73; +lean_inc(x_30); +lean_inc_ref(x_37); +lean_inc(x_33); +lean_inc_ref(x_27); +lean_inc(x_39); +lean_inc_ref(x_38); +x_73 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg(x_26, x_32, x_35, x_28, x_69, x_38, x_39, x_27, x_33, x_37, x_30, x_67); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec_ref(x_73); +x_10 = x_33; +x_11 = x_39; +x_12 = x_37; +x_13 = x_38; +x_14 = x_36; +x_15 = x_30; +x_16 = x_27; +x_17 = x_74; +x_18 = x_75; +goto block_21; +} +else +{ +uint8_t x_76; +lean_dec(x_39); +lean_dec_ref(x_38); +lean_dec_ref(x_37); +lean_dec_ref(x_36); +lean_dec(x_33); +lean_dec(x_30); +lean_dec_ref(x_27); +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) +{ +return x_73; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_73, 0); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +} } } } @@ -8301,6 +7995,117 @@ x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab return x_6; } } +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_1); +x_14 = lean_unbox(x_2); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___redArg(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_20 = lean_unbox(x_1); +x_21 = lean_unbox(x_2); +x_22 = lean_unbox(x_3); +x_23 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__11(x_20, x_21, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_8); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_2); +x_6 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0(x_4, x_5, x_3); +lean_dec(x_3); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_3); +x_11 = lean_unbox(x_4); +x_12 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_3); +x_13 = lean_unbox(x_4); +x_14 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_2); +x_12 = lean_unbox(x_3); +x_13 = l_Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -8330,6 +8135,40 @@ lean_dec(x_3); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lam__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +uint8_t x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_unbox(x_2); +x_24 = lean_unbox(x_13); +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2(x_1, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_10); +lean_dec(x_4); +return x_25; +} +} static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__0() { _start: { @@ -8355,7 +8194,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__0; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__12; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__1; x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor), 9, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); @@ -8478,7 +8317,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabBorrowed___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -8694,7 +8533,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandShow___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -8714,7 +8553,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandShow___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -8734,7 +8573,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandShow___closed__4; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -8762,7 +8601,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandShow___closed__7; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9124,7 +8963,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9144,7 +8983,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__4; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9164,7 +9003,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__6; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9184,7 +9023,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__8; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9204,7 +9043,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__10; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9224,7 +9063,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabShow___closed__12; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9354,8 +9193,8 @@ lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_35); lean_ctor_set(x_22, 0, x_34); x_37 = l_Lean_Elab_Term_elabShow___closed__5; -x_38 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_38 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_34); x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_34); @@ -9469,8 +9308,8 @@ x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_73); lean_ctor_set(x_76, 1, x_74); x_77 = l_Lean_Elab_Term_elabShow___closed__5; -x_78 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_79 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_73); x_80 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_80, 0, x_73); @@ -9713,7 +9552,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandSuffices___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9733,7 +9572,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandSuffices___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9804,7 +9643,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandSuffices___closed__10; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9918,8 +9757,8 @@ x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_34); x_38 = l_Lean_Elab_Term_elabShow___closed__5; -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_40 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_33); x_41 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_41, 0, x_33); @@ -9982,8 +9821,8 @@ x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_65); x_69 = l_Lean_Elab_Term_elabShow___closed__5; -x_70 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_71 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_70 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_71 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_64); x_72 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_72, 0, x_64); @@ -10100,8 +9939,8 @@ x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_112); x_116 = l_Lean_Elab_Term_elabShow___closed__5; -x_117 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_118 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_117 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_118 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_111); x_119 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_119, 0, x_111); @@ -10172,8 +10011,8 @@ x_150 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_147); x_151 = l_Lean_Elab_Term_elabShow___closed__5; -x_152 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_153 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_152 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_153 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_146); x_154 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_154, 0, x_146); @@ -10272,8 +10111,8 @@ x_194 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_191); x_195 = l_Lean_Elab_Term_elabShow___closed__5; -x_196 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_197 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_196 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_197 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_190); x_198 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_198, 0, x_190); @@ -10337,8 +10176,8 @@ x_226 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_226, 0, x_225); lean_ctor_set(x_226, 1, x_223); x_227 = l_Lean_Elab_Term_elabShow___closed__5; -x_228 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_229 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_228 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_229 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_222); x_230 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_230, 0, x_222); @@ -10747,50 +10586,50 @@ return x_2; static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("withAntiquot", 12, 12); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0; +x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; +x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withAntiquot", 12, 12); +return x_1; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; -x_2 = l_Lean_Name_mkStr1(x_1); +x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; +x_2 = l_String_toSubstring_x27(x_1); return x_2; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; -x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; +x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7() { @@ -10808,24 +10647,36 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("paren", 5, 5); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("paren", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8; +x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10() { +static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11() { _start: { lean_object* x_1; @@ -10833,19 +10684,19 @@ x_1 = lean_mk_string_unchecked("hygienicLParen", 14, 14); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11() { +static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12() { +static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13() { _start: { lean_object* x_1; @@ -10853,19 +10704,11 @@ x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_1 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_2 = l_String_toSubstring_x27(x_1); return x_2; } @@ -10895,7 +10738,7 @@ static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Ter _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_1 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; @@ -11006,7 +10849,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__25; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; @@ -11097,7 +10940,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__34; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; @@ -11180,7 +11023,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__42; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; @@ -11380,23 +11223,23 @@ lean_dec_ref(x_8); x_29 = l_Lean_instQuoteNameMkStr1___private__1(x_18); x_30 = 0; x_31 = l_Lean_SourceInfo_fromRef(x_26, x_30); -x_32 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_33 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; -x_34 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; +x_32 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; +x_33 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; +x_34 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5; lean_inc(x_28); lean_inc(x_27); x_35 = l_Lean_addMacroScope(x_27, x_34, x_28); -x_36 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; +x_36 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8; lean_inc(x_31); lean_ctor_set_tag(x_19, 3); lean_ctor_set(x_19, 3, x_36); lean_ctor_set(x_19, 2, x_35); lean_ctor_set(x_19, 1, x_33); lean_ctor_set(x_19, 0, x_31); -x_37 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_38 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_39 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_40 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_37 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_38 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_39 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_40 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_31); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_31); @@ -11571,23 +11414,23 @@ lean_dec_ref(x_8); x_96 = l_Lean_instQuoteNameMkStr1___private__1(x_18); x_97 = 0; x_98 = l_Lean_SourceInfo_fromRef(x_93, x_97); -x_99 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; -x_100 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; -x_101 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; +x_99 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; +x_100 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; +x_101 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5; lean_inc(x_95); lean_inc(x_94); x_102 = l_Lean_addMacroScope(x_94, x_101, x_95); -x_103 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; +x_103 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8; lean_inc(x_98); x_104 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_104, 0, x_98); lean_ctor_set(x_104, 1, x_100); lean_ctor_set(x_104, 2, x_102); lean_ctor_set(x_104, 3, x_103); -x_105 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_106 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_107 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_108 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_105 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_106 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_107 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_108 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_98); x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_98); @@ -11843,7 +11686,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -11863,7 +11706,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -11910,7 +11753,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__7; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -12070,21 +11913,21 @@ goto block_40; } block_26: { -if (lean_obj_tag(x_13) == 0) +if (lean_obj_tag(x_18) == 0) { lean_object* x_21; -x_21 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux(x_20, x_12, x_10, x_16, x_19, x_11, x_17, x_18, x_15, x_14); +x_21 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux(x_20, x_14, x_10, x_16, x_13, x_11, x_15, x_19, x_17, x_12); return x_21; } else { lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_18, 0); lean_inc(x_22); -lean_dec_ref(x_13); +lean_dec_ref(x_18); x_23 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__3; x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); -x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux(x_20, x_12, x_24, x_16, x_19, x_11, x_17, x_18, x_15, x_14); +x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux(x_20, x_14, x_24, x_16, x_13, x_11, x_15, x_19, x_17, x_12); return x_25; } } @@ -12099,14 +11942,14 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_38; x_38 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__6; x_11 = x_31; -x_12 = x_37; -x_13 = x_28; -x_14 = x_35; -x_15 = x_34; +x_12 = x_35; +x_13 = x_30; +x_14 = x_37; +x_15 = x_32; x_16 = x_29; -x_17 = x_32; -x_18 = x_33; -x_19 = x_30; +x_17 = x_34; +x_18 = x_28; +x_19 = x_33; x_20 = x_38; goto block_26; } @@ -12117,14 +11960,14 @@ x_39 = lean_ctor_get(x_27, 0); lean_inc(x_39); lean_dec_ref(x_27); x_11 = x_31; -x_12 = x_37; -x_13 = x_28; -x_14 = x_35; -x_15 = x_34; +x_12 = x_35; +x_13 = x_30; +x_14 = x_37; +x_15 = x_32; x_16 = x_29; -x_17 = x_32; -x_18 = x_33; -x_19 = x_30; +x_17 = x_34; +x_18 = x_28; +x_19 = x_33; x_20 = x_39; goto block_26; } @@ -12333,7 +12176,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__4; -x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; @@ -12411,7 +12254,7 @@ x_22 = l_Lean_instQuoteNameMkStr1___private__1(x_18); x_23 = 0; x_24 = l_Lean_SourceInfo_fromRef(x_19, x_23); lean_dec(x_19); -x_25 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_26 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__3; x_27 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__5; x_28 = l_Lean_addMacroScope(x_20, x_27, x_21); @@ -12422,7 +12265,7 @@ lean_ctor_set(x_30, 0, x_24); lean_ctor_set(x_30, 1, x_26); lean_ctor_set(x_30, 2, x_28); lean_ctor_set(x_30, 3, x_29); -x_31 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_31 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc(x_24); x_32 = l_Lean_Syntax_node4(x_24, x_31, x_22, x_1, x_2, x_3); x_33 = l_Lean_Syntax_node2(x_24, x_25, x_30, x_32); @@ -12449,7 +12292,7 @@ x_39 = l_Lean_instQuoteNameMkStr1___private__1(x_35); x_40 = 0; x_41 = l_Lean_SourceInfo_fromRef(x_36, x_40); lean_dec(x_36); -x_42 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_42 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_43 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__3; x_44 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__5; x_45 = l_Lean_addMacroScope(x_37, x_44, x_38); @@ -12460,7 +12303,7 @@ lean_ctor_set(x_47, 0, x_41); lean_ctor_set(x_47, 1, x_43); lean_ctor_set(x_47, 2, x_45); lean_ctor_set(x_47, 3, x_46); -x_48 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_48 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc(x_41); x_49 = l_Lean_Syntax_node4(x_41, x_48, x_39, x_1, x_2, x_3); x_50 = l_Lean_Syntax_node2(x_41, x_42, x_47, x_49); @@ -12526,7 +12369,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabTrailingParserMacro___lam__0___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -12624,20 +12467,20 @@ goto block_58; } block_26: { -if (lean_obj_tag(x_18) == 0) +if (lean_obj_tag(x_17) == 0) { lean_object* x_22; lean_object* x_23; x_22 = l_Lean_Elab_Term_elabTrailingParserMacro___lam__0___closed__3; -x_23 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(x_21, x_22, x_17, x_13, x_16, x_20, x_15, x_19, x_14, x_12); +x_23 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(x_21, x_22, x_15, x_20, x_18, x_16, x_19, x_14, x_13, x_12); return x_23; } else { lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_17, 0); lean_inc(x_24); -lean_dec_ref(x_18); -x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(x_21, x_24, x_17, x_13, x_16, x_20, x_15, x_19, x_14, x_12); +lean_dec_ref(x_17); +x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(x_21, x_24, x_15, x_20, x_18, x_16, x_19, x_14, x_13, x_12); return x_25; } } @@ -12652,14 +12495,14 @@ if (lean_obj_tag(x_27) == 0) lean_object* x_38; x_38 = l_Lean_Elab_Term_elabLeadingParserMacro___lam__0___closed__6; x_12 = x_35; -x_13 = x_29; -x_14 = x_34; -x_15 = x_32; -x_16 = x_30; -x_17 = x_37; -x_18 = x_28; -x_19 = x_33; -x_20 = x_31; +x_13 = x_34; +x_14 = x_33; +x_15 = x_37; +x_16 = x_31; +x_17 = x_28; +x_18 = x_30; +x_19 = x_32; +x_20 = x_29; x_21 = x_38; goto block_26; } @@ -12670,14 +12513,14 @@ x_39 = lean_ctor_get(x_27, 0); lean_inc(x_39); lean_dec_ref(x_27); x_12 = x_35; -x_13 = x_29; -x_14 = x_34; -x_15 = x_32; -x_16 = x_30; -x_17 = x_37; -x_18 = x_28; -x_19 = x_33; -x_20 = x_31; +x_13 = x_34; +x_14 = x_33; +x_15 = x_37; +x_16 = x_31; +x_17 = x_28; +x_18 = x_30; +x_19 = x_32; +x_20 = x_29; x_21 = x_39; goto block_26; } @@ -12984,7 +12827,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabPanic___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -13154,7 +12997,7 @@ lean_inc(x_42); lean_dec(x_27); x_43 = 0; x_44 = l_Lean_SourceInfo_fromRef(x_38, x_43); -x_45 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_45 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_46 = l_Lean_Elab_Term_elabPanic___closed__3; x_47 = l_Lean_Elab_Term_elabPanic___closed__4; lean_inc(x_40); @@ -13167,7 +13010,7 @@ lean_ctor_set(x_50, 0, x_44); lean_ctor_set(x_50, 1, x_46); lean_ctor_set(x_50, 2, x_48); lean_ctor_set(x_50, 3, x_49); -x_51 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_51 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; x_52 = l_Lean_Environment_mainModule(x_35); lean_dec_ref(x_35); x_53 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_52, x_11); @@ -13206,7 +13049,7 @@ lean_inc(x_67); lean_dec(x_27); x_68 = 0; x_69 = l_Lean_SourceInfo_fromRef(x_63, x_68); -x_70 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_70 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_71 = l_Lean_Elab_Term_elabPanic___closed__8; x_72 = l_Lean_Elab_Term_elabPanic___closed__9; lean_inc(x_65); @@ -13219,7 +13062,7 @@ lean_ctor_set(x_75, 0, x_69); lean_ctor_set(x_75, 1, x_71); lean_ctor_set(x_75, 2, x_73); lean_ctor_set(x_75, 3, x_74); -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; x_77 = l_Lean_Environment_mainModule(x_35); lean_dec_ref(x_35); x_78 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_77, x_11); @@ -13566,7 +13409,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandUnreachable___regBuiltin_Lean_Elab_Term_expandUnreachable__1___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -13719,7 +13562,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandAssert___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -13891,9 +13734,9 @@ lean_inc(x_16); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_16); lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_28 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_29 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_27 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_28 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_29 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_16); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_16); @@ -13974,9 +13817,9 @@ lean_inc(x_54); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_54); lean_ctor_set(x_64, 1, x_63); -x_65 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_66 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_67 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_65 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_66 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_67 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_54); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_54); @@ -14272,7 +14115,7 @@ _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_Elab_Term_initFn___closed__2____x40_Lean_Elab_BuiltinNotation_3712712094____hygCtx___hyg_4_; -x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_2 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_3 = 0; x_4 = lean_box(x_3); x_5 = lean_alloc_ctor(0, 3, 0); @@ -14328,7 +14171,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabDebugAssert___lam__0___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -14479,7 +14322,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -14638,7 +14481,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__16; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -14658,7 +14501,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__18; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -14735,7 +14578,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); x_16 = l_Lean_SourceInfo_fromRef(x_13, x_10); lean_dec(x_13); -x_17 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_17 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_18 = l_Lean_Elab_Term_expandDbgTrace___closed__4; x_19 = l_Lean_Elab_Term_expandDbgTrace___closed__5; lean_inc(x_12); @@ -14748,10 +14591,10 @@ lean_ctor_set(x_22, 0, x_16); lean_ctor_set(x_22, 1, x_18); lean_ctor_set(x_22, 2, x_20); lean_ctor_set(x_22, 3, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_26 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_25 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_26 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_16); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_16); @@ -14811,7 +14654,7 @@ lean_inc(x_16); x_53 = l_Lean_Syntax_node1(x_16, x_50, x_52); lean_inc(x_16); x_54 = l_Lean_Syntax_node1(x_16, x_23, x_53); -x_55 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_16); x_56 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_56, 0, x_16); @@ -14850,7 +14693,7 @@ lean_dec(x_1); x_69 = 0; x_70 = l_Lean_SourceInfo_fromRef(x_66, x_69); lean_dec(x_66); -x_71 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_71 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_72 = l_Lean_Elab_Term_expandDbgTrace___closed__4; x_73 = l_Lean_Elab_Term_expandDbgTrace___closed__5; lean_inc(x_65); @@ -14863,10 +14706,10 @@ lean_ctor_set(x_76, 0, x_70); lean_ctor_set(x_76, 1, x_72); lean_ctor_set(x_76, 2, x_74); lean_ctor_set(x_76, 3, x_75); -x_77 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_78 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; -x_79 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; -x_80 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_78 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; +x_79 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_80 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_70); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_70); @@ -14918,7 +14761,7 @@ lean_inc(x_70); x_104 = l_Lean_Syntax_node1(x_70, x_101, x_103); lean_inc(x_70); x_105 = l_Lean_Syntax_node1(x_70, x_77, x_104); -x_106 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_106 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; lean_inc(x_70); x_107 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_107, 0, x_70); @@ -15163,7 +15006,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabSorry___regBuiltin_Lean_Elab_Term_elabSorry__1___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -15421,7 +15264,7 @@ x_14 = lean_box(0); x_15 = lean_array_get_borrowed(x_14, x_1, x_13); x_16 = 0; x_17 = l_Lean_SourceInfo_fromRef(x_11, x_16); -x_18 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_18 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_19 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPairs_loop___closed__1; x_20 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPairs_loop___closed__4; lean_inc(x_10); @@ -15434,7 +15277,7 @@ lean_ctor_set(x_23, 0, x_17); lean_ctor_set(x_23, 1, x_19); lean_ctor_set(x_23, 2, x_21); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_24 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc(x_15); lean_inc(x_17); x_25 = l_Lean_Syntax_node2(x_17, x_24, x_15, x_3); @@ -15587,7 +15430,7 @@ x_14 = lean_box(0); x_15 = lean_array_get_borrowed(x_14, x_1, x_13); x_16 = 0; x_17 = l_Lean_SourceInfo_fromRef(x_11, x_16); -x_18 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_18 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_19 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPPairs_loop___closed__1; x_20 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkPPairs_loop___closed__3; lean_inc(x_10); @@ -15600,7 +15443,7 @@ lean_ctor_set(x_23, 0, x_17); lean_ctor_set(x_23, 1, x_19); lean_ctor_set(x_23, 2, x_21); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_24 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc(x_15); lean_inc(x_17); x_25 = l_Lean_Syntax_node2(x_17, x_24, x_15, x_3); @@ -15753,7 +15596,7 @@ x_14 = lean_box(0); x_15 = lean_array_get_borrowed(x_14, x_1, x_13); x_16 = 0; x_17 = l_Lean_SourceInfo_fromRef(x_11, x_16); -x_18 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_18 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; x_19 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop___closed__1; x_20 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkMPairs_loop___closed__3; lean_inc(x_10); @@ -15766,7 +15609,7 @@ lean_ctor_set(x_23, 0, x_17); lean_ctor_set(x_23, 1, x_19); lean_ctor_set(x_23, 2, x_21); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_24 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc(x_15); lean_inc(x_17); x_25 = l_Lean_Syntax_node2(x_17, x_24, x_15, x_3); @@ -15823,7 +15666,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_isCDotBinderKind___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -15843,7 +15686,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_isCDotBinderKind___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -15853,7 +15696,7 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_isCDotBinderKind(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_6; uint8_t x_7; -x_6 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; +x_6 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; x_7 = lean_name_eq(x_1, x_6); if (x_7 == 0) { @@ -15908,7 +15751,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_isCDotForInfo___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -17457,8 +17300,8 @@ x_13 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_13, 0, x_10); lean_ctor_set(x_13, 1, x_11); x_14 = l_Lean_Elab_Term_expandDbgTrace___closed__19; -x_15 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_16 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_15 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_16 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; x_17 = lean_array_size(x_5); x_18 = 0; x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_Term_expandCDot_x3f_spec__0___redArg(x_17, x_18, x_5); @@ -17562,7 +17405,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; +x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -17577,7 +17420,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; +x_10 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -17698,7 +17541,7 @@ lean_object* x_21; double x_22; uint8_t x_23; lean_object* x_24; lean_object* x_ x_21 = lean_ctor_get(x_14, 0); x_22 = l_Lean_addTrace___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__1___redArg___closed__0; x_23 = 0; -x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_24 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_25 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_25, 0, x_1); lean_ctor_set(x_25, 1, x_24); @@ -17748,7 +17591,7 @@ lean_inc(x_37); lean_dec(x_14); x_38 = l_Lean_addTrace___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__1___redArg___closed__0; x_39 = 0; -x_40 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_40 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_41 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_41, 0, x_1); lean_ctor_set(x_41, 1, x_40); @@ -17822,7 +17665,7 @@ if (lean_is_exclusive(x_14)) { } x_62 = l_Lean_addTrace___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__1___redArg___closed__0; x_63 = 0; -x_64 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_64 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_65 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_65, 0, x_1); lean_ctor_set(x_65, 1, x_64); @@ -17926,7 +17769,7 @@ if (lean_is_exclusive(x_14)) { } x_89 = l_Lean_addTrace___at___Lean_Elab_liftMacroM___at___Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__1___redArg___closed__0; x_90 = 0; -x_91 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; +x_91 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0; x_92 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_92, 0, x_1); lean_ctor_set(x_92, 1, x_91); @@ -19073,7 +18916,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19093,7 +18936,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19113,7 +18956,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19133,7 +18976,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__6; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19153,7 +18996,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__8; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19173,7 +19016,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__10; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19193,7 +19036,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__12; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19388,7 +19231,7 @@ x_102 = l_Lean_Syntax_getArg(x_92, x_97); x_103 = lean_unsigned_to_nat(3u); x_104 = l_Lean_Syntax_getArg(x_92, x_103); lean_dec(x_92); -x_105 = l_Lean_Elab_Term_elabAnonymousCtor___closed__14; +x_105 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; lean_inc(x_104); x_106 = l_Lean_Syntax_isOfKind(x_104, x_105); if (x_106 == 0) @@ -19603,16 +19446,16 @@ if (x_153 == 0) uint8_t x_154; x_154 = l_Lean_Exception_isRuntime(x_151); lean_dec(x_151); -x_15 = x_150; -x_16 = x_152; +x_15 = x_152; +x_16 = x_150; x_17 = x_154; goto block_20; } else { lean_dec(x_151); -x_15 = x_150; -x_16 = x_152; +x_15 = x_152; +x_16 = x_150; x_17 = x_153; goto block_20; } @@ -20017,16 +19860,16 @@ if (x_252 == 0) uint8_t x_253; x_253 = l_Lean_Exception_isRuntime(x_250); lean_dec(x_250); -x_33 = x_251; -x_34 = x_249; +x_33 = x_249; +x_34 = x_251; x_35 = x_253; goto block_38; } else { lean_dec(x_250); -x_33 = x_251; -x_34 = x_249; +x_33 = x_249; +x_34 = x_251; x_35 = x_252; goto block_38; } @@ -20154,16 +19997,16 @@ if (x_285 == 0) uint8_t x_286; x_286 = l_Lean_Exception_isRuntime(x_283); lean_dec(x_283); -x_39 = x_284; -x_40 = x_282; +x_39 = x_282; +x_40 = x_284; x_41 = x_286; goto block_44; } else { lean_dec(x_283); -x_39 = x_284; -x_40 = x_282; +x_39 = x_282; +x_40 = x_284; x_41 = x_285; goto block_44; } @@ -20291,16 +20134,16 @@ if (x_318 == 0) uint8_t x_319; x_319 = l_Lean_Exception_isRuntime(x_316); lean_dec(x_316); -x_45 = x_315; -x_46 = x_317; +x_45 = x_317; +x_46 = x_315; x_47 = x_319; goto block_50; } else { lean_dec(x_316); -x_45 = x_315; -x_46 = x_317; +x_45 = x_317; +x_46 = x_315; x_47 = x_318; goto block_50; } @@ -20616,16 +20459,16 @@ block_20: if (x_17 == 0) { lean_object* x_18; lean_object* x_19; -lean_dec_ref(x_15); +lean_dec_ref(x_16); x_18 = lean_box(0); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 1, x_15); return x_19; } else { -return x_15; +return x_16; } } block_26: @@ -20667,16 +20510,16 @@ block_38: if (x_35 == 0) { lean_object* x_36; lean_object* x_37; -lean_dec_ref(x_34); +lean_dec_ref(x_33); x_36 = lean_box(0); x_37 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_33); +lean_ctor_set(x_37, 1, x_34); return x_37; } else { -return x_34; +return x_33; } } block_44: @@ -20684,16 +20527,16 @@ block_44: if (x_41 == 0) { lean_object* x_42; lean_object* x_43; -lean_dec_ref(x_40); +lean_dec_ref(x_39); x_42 = lean_box(0); x_43 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_39); +lean_ctor_set(x_43, 1, x_40); return x_43; } else { -return x_40; +return x_39; } } block_50: @@ -20701,16 +20544,16 @@ block_50: if (x_47 == 0) { lean_object* x_48; lean_object* x_49; -lean_dec_ref(x_45); +lean_dec_ref(x_46); x_48 = lean_box(0); x_49 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_46); +lean_ctor_set(x_49, 1, x_45); return x_49; } else { -return x_45; +return x_46; } } } @@ -20934,7 +20777,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandParen(lean_object* x_1, lean_obj _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; +x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -20950,7 +20793,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; +x_9 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; lean_inc(x_8); x_10 = l_Lean_Syntax_isOfKind(x_8, x_9); if (x_10 == 0) @@ -21106,7 +20949,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandShow___regBuiltin_Lean_Elab_Term_expandShow__1___closed__0; -x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; +x_3 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandParen___regBuiltin_Lean_Elab_Term_expandParen__1___closed__1; x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandParen), 3, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); @@ -21302,7 +21145,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; +x_9 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; lean_inc(x_8); x_10 = l_Lean_Syntax_isOfKind(x_8, x_9); if (x_10 == 0) @@ -21943,7 +21786,7 @@ else lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; x_22 = lean_unsigned_to_nat(0u); x_23 = l_Lean_Syntax_getArg(x_1, x_22); -x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; +x_24 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; lean_inc(x_23); x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); if (x_25 == 0) @@ -22055,7 +21898,7 @@ lean_dec_ref(x_2); x_45 = 0; x_46 = l_Lean_SourceInfo_fromRef(x_44, x_45); lean_dec(x_44); -x_47 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +x_47 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; lean_inc(x_46); x_48 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_48, 0, x_46); @@ -22079,19 +21922,19 @@ lean_inc(x_46); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_46); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; -x_59 = l_Lean_Elab_Term_elabAnonymousCtor___closed__23; +x_58 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; +x_59 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4; if (lean_obj_tag(x_33) == 0) { lean_object* x_60; x_60 = l_Lean_Elab_Term_expandTypeAscription___closed__0; -x_5 = x_57; -x_6 = x_55; +x_5 = x_59; +x_6 = x_57; x_7 = x_41; -x_8 = x_58; -x_9 = x_59; -x_10 = x_40; -x_11 = x_46; +x_8 = x_46; +x_9 = x_40; +x_10 = x_58; +x_11 = x_55; x_12 = x_60; goto block_19; } @@ -22103,13 +21946,13 @@ lean_inc(x_61); lean_dec_ref(x_33); x_62 = l_Lean_Elab_Term_expandTypeAscription___closed__0; x_63 = lean_array_push(x_62, x_61); -x_5 = x_57; -x_6 = x_55; +x_5 = x_59; +x_6 = x_57; x_7 = x_41; -x_8 = x_58; -x_9 = x_59; -x_10 = x_40; -x_11 = x_46; +x_8 = x_46; +x_9 = x_40; +x_10 = x_58; +x_11 = x_55; x_12 = x_63; goto block_19; } @@ -22146,22 +21989,22 @@ return x_67; block_19: { 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 = l_Array_append___redArg(x_9, x_12); +x_13 = l_Array_append___redArg(x_5, x_12); lean_dec_ref(x_12); -lean_inc(x_11); +lean_inc(x_8); x_14 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_14, 0, x_11); -lean_ctor_set(x_14, 1, x_8); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_10); lean_ctor_set(x_14, 2, x_13); x_15 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__33; -lean_inc(x_11); +lean_inc(x_8); x_16 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 0, x_8); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Syntax_node5(x_11, x_4, x_6, x_7, x_5, x_14, x_16); +x_17 = l_Lean_Syntax_node5(x_8, x_4, x_11, x_7, x_6, x_14, x_16); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); +lean_ctor_set(x_18, 1, x_9); return x_18; } } @@ -22326,7 +22169,7 @@ else lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__11; +x_15 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; lean_inc(x_14); x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); if (x_16 == 0) @@ -23901,7 +23744,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); return x_1; } } @@ -23909,19 +23752,11 @@ static lean_object* _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__2() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__2() { _start: { lean_object* x_1; @@ -23944,16 +23779,16 @@ lean_inc(x_19); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_19); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; -x_25 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; +x_24 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1; +x_25 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; lean_inc_ref(x_3); lean_inc_ref(x_2); x_26 = l_Lean_Name_mkStr4(x_2, x_3, x_24, x_25); -x_27 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; +x_27 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; lean_inc_ref(x_3); lean_inc_ref(x_2); x_28 = l_Lean_Name_mkStr4(x_2, x_3, x_24, x_27); -x_29 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc_ref(x_5); lean_inc_ref(x_3); lean_inc_ref(x_2); @@ -23971,7 +23806,7 @@ lean_inc(x_19); x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_19); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Term_elabSubst___lam__4___closed__3; +x_36 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; x_37 = l_Lean_Name_mkStr4(x_2, x_3, x_24, x_36); lean_inc(x_19); x_38 = lean_alloc_ctor(2, 2, 0); @@ -24044,16 +23879,16 @@ lean_inc(x_29); lean_ctor_set_tag(x_19, 2); lean_ctor_set(x_19, 1, x_32); lean_ctor_set(x_19, 0, x_29); -x_33 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; -x_34 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; +x_33 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1; +x_34 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; lean_inc_ref(x_3); lean_inc_ref(x_2); x_35 = l_Lean_Name_mkStr4(x_2, x_3, x_33, x_34); -x_36 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; +x_36 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; lean_inc_ref(x_3); lean_inc_ref(x_2); x_37 = l_Lean_Name_mkStr4(x_2, x_3, x_33, x_36); -x_38 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_38 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc_ref(x_5); lean_inc_ref(x_3); lean_inc_ref(x_2); @@ -24071,7 +23906,7 @@ lean_inc(x_29); x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_29); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_Elab_Term_elabSubst___lam__4___closed__3; +x_45 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; x_46 = l_Lean_Name_mkStr4(x_2, x_3, x_33, x_45); lean_inc(x_29); x_47 = lean_alloc_ctor(2, 2, 0); @@ -24140,16 +23975,16 @@ lean_inc(x_65); x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_65); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; -x_71 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; +x_70 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1; +x_71 = l_Lean_Elab_Term_elabSubst___lam__4___closed__0; lean_inc_ref(x_3); lean_inc_ref(x_2); x_72 = l_Lean_Name_mkStr4(x_2, x_3, x_70, x_71); -x_73 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; +x_73 = l_Lean_Elab_Term_elabSubst___lam__4___closed__1; lean_inc_ref(x_3); lean_inc_ref(x_2); x_74 = l_Lean_Name_mkStr4(x_2, x_3, x_70, x_73); -x_75 = l_Lean_Elab_Term_elabAnonymousCtor___closed__22; +x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3; lean_inc_ref(x_5); lean_inc_ref(x_3); lean_inc_ref(x_2); @@ -24167,7 +24002,7 @@ lean_inc(x_65); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_65); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Term_elabSubst___lam__4___closed__3; +x_82 = l_Lean_Elab_Term_elabSubst___lam__4___closed__2; x_83 = l_Lean_Name_mkStr4(x_2, x_3, x_70, x_82); lean_inc(x_65); x_84 = lean_alloc_ctor(2, 2, 0); @@ -24199,7 +24034,7 @@ return x_93; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lam__6(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_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) { _start: { -lean_object* x_26; lean_object* x_27; lean_object* x_36; lean_object* x_37; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; uint8_t 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_26; lean_object* x_27; lean_object* x_36; lean_object* x_37; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; uint8_t 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_71 = lean_ctor_get(x_23, 0); x_72 = lean_ctor_get(x_23, 1); x_73 = lean_ctor_get(x_23, 2); @@ -25241,7 +25076,7 @@ block_43: { lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_inc_ref(x_17); -x_38 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate(x_16, x_17, x_21, x_22, x_23, x_24, x_36); +x_38 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate(x_16, x_17, x_21, x_22, x_23, x_24, x_37); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_unbox(x_39); @@ -25254,7 +25089,7 @@ lean_inc(x_41); lean_dec_ref(x_38); x_42 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate(x_17, x_16, x_21, x_22, x_23, x_24, x_41); lean_dec_ref(x_17); -x_26 = x_37; +x_26 = x_36; x_27 = x_42; goto block_35; } @@ -25262,46 +25097,46 @@ else { lean_dec_ref(x_17); lean_dec_ref(x_16); -x_26 = x_37; +x_26 = x_36; x_27 = x_38; goto block_35; } } block_51: { -if (x_45 == 0) +if (x_48 == 0) { if (x_2 == 0) { lean_object* x_49; -lean_dec_ref(x_47); +lean_dec_ref(x_45); lean_dec(x_20); lean_dec_ref(x_19); lean_dec_ref(x_17); lean_dec_ref(x_16); lean_dec(x_3); -x_49 = l_Lean_Meta_mkEqRec(x_48, x_46, x_15, x_21, x_22, x_23, x_24, x_44); +x_49 = l_Lean_Meta_mkEqRec(x_47, x_44, x_15, x_21, x_22, x_23, x_24, x_46); return x_49; } else { -lean_dec_ref(x_48); -lean_dec_ref(x_46); -x_36 = x_44; -x_37 = x_47; +lean_dec_ref(x_47); +lean_dec_ref(x_44); +x_36 = x_45; +x_37 = x_46; goto block_43; } } else { lean_object* x_50; -lean_dec_ref(x_47); +lean_dec_ref(x_45); lean_dec(x_20); lean_dec_ref(x_19); lean_dec_ref(x_17); lean_dec_ref(x_16); lean_dec(x_3); -x_50 = l_Lean_Meta_mkEqRec(x_48, x_46, x_15, x_21, x_22, x_23, x_24, x_44); +x_50 = l_Lean_Meta_mkEqRec(x_47, x_44, x_15, x_21, x_22, x_23, x_24, x_46); return x_50; } } @@ -25357,11 +25192,11 @@ if (lean_obj_tag(x_53) == 0) uint8_t x_64; x_64 = lean_unbox(x_59); lean_dec(x_59); -x_44 = x_60; -x_45 = x_64; -x_46 = x_52; -x_47 = x_63; -x_48 = x_56; +x_44 = x_52; +x_45 = x_63; +x_46 = x_60; +x_47 = x_56; +x_48 = x_64; goto block_51; } else @@ -25372,11 +25207,11 @@ if (x_2 == 0) uint8_t x_65; x_65 = lean_unbox(x_59); lean_dec(x_59); -x_44 = x_60; -x_45 = x_65; -x_46 = x_52; -x_47 = x_63; -x_48 = x_56; +x_44 = x_52; +x_45 = x_63; +x_46 = x_60; +x_47 = x_56; +x_48 = x_65; goto block_51; } else @@ -25384,8 +25219,8 @@ else lean_dec(x_59); lean_dec(x_56); lean_dec_ref(x_52); -x_36 = x_60; -x_37 = x_63; +x_36 = x_63; +x_37 = x_60; goto block_43; } } @@ -25473,7 +25308,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabSubst___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -25667,7 +25502,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec_ref(x_10); x_13 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; -x_14 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_14 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_15 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; x_16 = l_Lean_Elab_Term_elabSubst___closed__0; x_17 = l_Lean_Elab_Term_elabSubst___closed__1; @@ -31325,7 +31160,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabStateRefT___redArg___closed__9; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -31588,7 +31423,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabStateRefT___regBuiltin_Lean_Elab_Term_elabStateRefT__1___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -31792,7 +31627,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabNoindex___regBuiltin_Lean_Elab_Term_elabNoindex__1___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -32302,7 +32137,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabUnsafe___closed__0; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -32373,7 +32208,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_Elab_Term_elabUnsafe___closed__8; x_2 = lean_unsigned_to_nat(55u); -x_3 = lean_unsigned_to_nat(557u); +x_3 = lean_unsigned_to_nat(564u); x_4 = l_Lean_Elab_Term_elabUnsafe___closed__7; x_5 = l_Lean_Elab_Term_elabUnsafe___closed__6; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -32386,7 +32221,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_Elab_Term_elabUnsafe___closed__8; x_2 = lean_unsigned_to_nat(54u); -x_3 = lean_unsigned_to_nat(556u); +x_3 = lean_unsigned_to_nat(563u); x_4 = l_Lean_Elab_Term_elabUnsafe___closed__7; x_5 = l_Lean_Elab_Term_elabUnsafe___closed__6; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -33907,7 +33742,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabRunElab___closed__2; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -33927,7 +33762,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabRunElab___closed__4; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -33947,7 +33782,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabRunElab___closed__6; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -33967,7 +33802,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabRunElab___closed__8; x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__5; -x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +x_3 = l_Lean_Elab_Term_elabAnonymousCtor___closed__0; x_4 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -34762,10 +34597,54 @@ l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1___closed lean_mark_persistent(l_Lean_getConstInfoCtor___at___Lean_Elab_Term_elabAnonymousCtor_spec__1___closed__1); l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0 = _init_l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0(); lean_mark_persistent(l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Term_elabAnonymousCtor_spec__8___redArg___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__1); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__2); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___lam__0___closed__3); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__0); +l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1 = _init_l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_Elab_Term_elabAnonymousCtor_spec__12_spec__12_spec__12___redArg___closed__1); l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__0 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__0(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__0); l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__0___closed__1); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__0); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__1); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__2); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__3); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__4); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__5); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__6); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__7); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__8); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__9); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__10); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__11); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__12); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__13); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__14); +l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lam__2___closed__15); l_Lean_Elab_Term_elabAnonymousCtor___closed__0 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__0(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__0); l_Lean_Elab_Term_elabAnonymousCtor___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__1(); @@ -34828,42 +34707,6 @@ l_Lean_Elab_Term_elabAnonymousCtor___closed__29 = _init_l_Lean_Elab_Term_elabAno lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__29); l_Lean_Elab_Term_elabAnonymousCtor___closed__30 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__30(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__30); -l_Lean_Elab_Term_elabAnonymousCtor___closed__31 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__31); -l_Lean_Elab_Term_elabAnonymousCtor___closed__32 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__32); -l_Lean_Elab_Term_elabAnonymousCtor___closed__33 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__33(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__33); -l_Lean_Elab_Term_elabAnonymousCtor___closed__34 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__34(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__34); -l_Lean_Elab_Term_elabAnonymousCtor___closed__35 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__35(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__35); -l_Lean_Elab_Term_elabAnonymousCtor___closed__36 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__36(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__36); -l_Lean_Elab_Term_elabAnonymousCtor___closed__37 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__37(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__37); -l_Lean_Elab_Term_elabAnonymousCtor___closed__38 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__38(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__38); -l_Lean_Elab_Term_elabAnonymousCtor___closed__39 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__39(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__39); -l_Lean_Elab_Term_elabAnonymousCtor___closed__40 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__40(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__40); -l_Lean_Elab_Term_elabAnonymousCtor___closed__41 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__41(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__41); -l_Lean_Elab_Term_elabAnonymousCtor___closed__42 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__42(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__42); -l_Lean_Elab_Term_elabAnonymousCtor___closed__43 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__43(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__43); -l_Lean_Elab_Term_elabAnonymousCtor___closed__44 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__44(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__44); -l_Lean_Elab_Term_elabAnonymousCtor___closed__45 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__45(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__45); -l_Lean_Elab_Term_elabAnonymousCtor___closed__46 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__46(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__46); -l_Lean_Elab_Term_elabAnonymousCtor___closed__47 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__47(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__47); -l_Lean_Elab_Term_elabAnonymousCtor___closed__48 = _init_l_Lean_Elab_Term_elabAnonymousCtor___closed__48(); -lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___closed__48); l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__0 = _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__0(); lean_mark_persistent(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__0); l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__1 = _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabAnonymousCtor___regBuiltin_Lean_Elab_Term_elabAnonymousCtor__1___closed__1(); @@ -35811,8 +35654,6 @@ l_Lean_Elab_Term_elabSubst___lam__4___closed__1 = _init_l_Lean_Elab_Term_elabSub lean_mark_persistent(l_Lean_Elab_Term_elabSubst___lam__4___closed__1); l_Lean_Elab_Term_elabSubst___lam__4___closed__2 = _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_elabSubst___lam__4___closed__2); -l_Lean_Elab_Term_elabSubst___lam__4___closed__3 = _init_l_Lean_Elab_Term_elabSubst___lam__4___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabSubst___lam__4___closed__3); l_Lean_Elab_Term_elabSubst___closed__0 = _init_l_Lean_Elab_Term_elabSubst___closed__0(); lean_mark_persistent(l_Lean_Elab_Term_elabSubst___closed__0); l_Lean_Elab_Term_elabSubst___closed__1 = _init_l_Lean_Elab_Term_elabSubst___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin.c b/stage0/stdlib/Lean/Elab/DocString/Builtin.c index f3922f4c05..d730b407a0 100644 --- a/stage0/stdlib/Lean/Elab/DocString/Builtin.c +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin.c @@ -15,23 +15,31 @@ extern "C" { #endif static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__3; LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_Data_ConvTactic_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_open_getArgs___closed__3; static lean_object* l_Lean_Doc_suggestLeanBlock___closed__0; -static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__8; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__11; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Doc_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__2; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_DocArg_ofSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2; static lean_object* l_Lean_Doc_leanRole___lam__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,7 +59,9 @@ lean_object* l_List_lengthTR___redArg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_given___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__3; static lean_object* l_Lean_Doc_attr___lam__2___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); @@ -59,6 +69,8 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStx(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_given___closed__1; static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0; static lean_object* l_Lean_Doc_attr___closed__15; uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); @@ -75,8 +87,10 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenCon LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__1(lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__5; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___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*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TSyntax_getId(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,63 +101,79 @@ static lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___close static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__2; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean_getArgs___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1___at___Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___closed__0; static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameConvTactic; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0; static lean_object* l_Lean_Doc_attr___closed__13; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__2; lean_object* l_Lean_Environment_header(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestCat___redArg___closed__2; static lean_object* l_Lean_Doc_assert___closed__5; static lean_object* l_Lean_Doc_suggestAttr___closed__0; static lean_object* l_Lean_Doc_suggestName___closed__1; -static lean_object* l_Lean_Doc_suggestName___lam__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3(lean_object*); +lean_object* l_Lean_Doc_instFromDocArgString___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__7; LEAN_EXPORT lean_object* l_Lean_Doc_leanRole(lean_object*, 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_indentD(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; uint8_t l_Array_isEmpty___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0; static lean_object* l_Lean_Doc_name___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; uint8_t l_Lean_Exception_isInterrupt(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0; static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_attr_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Lean_Doc_assert_x27___closed__10; LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_given_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSyntax; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__6; +static lean_object* l_Lean_Doc_output_getArgs___closed__0; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14(lean_object*, lean_object*, lean_object*); @@ -162,17 +192,20 @@ LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__1___boxed(lean_object*, lean_o static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__2; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_quote(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable(lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0(lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestOption___closed__2; static lean_object* l_Lean_Doc_output___closed__3; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__0; @@ -202,6 +235,7 @@ static lean_object* l_Lean_Doc_suggestTactic___closed__4; static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Option_ctorIdx___boxed(lean_object*); extern lean_object* l_Lean_Parser_Term_attributes; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attribute_ctorIdx(lean_object*); static lean_object* l_Lean_Doc_assert_x27___closed__1; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -209,6 +243,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_go(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0; @@ -224,10 +259,12 @@ lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1(lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanRole___lam__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_conv_getArgs___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_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f___lam__0(lean_object*); @@ -237,19 +274,25 @@ LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___b LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__5___boxed(lean_object**); static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__3; lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__7; static lean_object* l_Lean_Doc_lean___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_given_getArgs___closed__5; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -257,6 +300,8 @@ static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___L extern lean_object* l_Lean_Parser_ParserExtension_instInhabitedState_default; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_open_getArgs___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -285,12 +330,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onl static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_open_getArgs___closed__0; +static lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__11; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___lam__0(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__6; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); @@ -306,11 +354,15 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvT LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__4(lean_object*, lean_object*); lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSyntaxCat; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__14; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestTactic___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3; LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__6; static lean_object* l_Lean_Doc_assert_x27___closed__6; @@ -318,6 +370,8 @@ static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionV LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__8; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_tactic_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__15; @@ -329,30 +383,37 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_panic___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___redArg___boxed(lean_object**); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_DocArg_syntax(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___lam__1___closed__0; uint8_t l_List_isEmpty___redArg(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; static lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__10; LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_set__option_getArgs___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg___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*); static lean_object* l_Lean_Doc_tactic___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__1; lean_object* l_Lean_MessageData_note(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__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_EXPORT lean_object* l_Lean_Doc_leanRole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Fn(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0; static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__0; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___boxed(lean_object**); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -362,21 +423,25 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDec LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0___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_Exception_toMessageData(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_SetOption_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_given_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0; static lean_object* l_Lean_Doc_given___closed__5; uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Attribute_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__0; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_conv___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___closed__1; @@ -386,26 +451,32 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2; uint8_t lean_string_validate_utf8(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3(lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_lean_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name_getArgs___closed__3; +LEAN_EXPORT lean_object* l_Lean_Doc_given_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__3; -static lean_object* l_Lean_Doc_suggestName___lam__1___closed__2; LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__7; static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1; lean_object* l_Lean_ScopedEnvExtension_activateScoped___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkInputContext___redArg(lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2; lean_object* l_Lean_Parser_getTokenTable(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -422,15 +493,20 @@ LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3___boxed(lean_object*, lean_o LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_given___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*); +static lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__1; static lean_object* l_Lean_Doc_suggestLeanTermBlock___closed__0; static lean_object* l_Lean_Doc_assert___closed__2; lean_object* l_Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_Doc_output_spec__0(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3; LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3; static lean_object* l_Lean_Doc_lean___closed__8; +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object*, lean_object*, lean_object*, lean_object*); @@ -438,6 +514,7 @@ lean_object* l_Lean_MessageSeverity_toString(uint8_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__0; +lean_object* l_Lean_Doc_instFromDocArgMessageSeverity___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__12; lean_object* l_Lean_FileMap_ofPosition(lean_object*, lean_object*); @@ -446,20 +523,26 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logInfoAt___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__24(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__17(size_t, size_t, lean_object*); +static lean_object* l_Lean_Doc_given_getArgs___closed__4; static lean_object* l_Lean_Doc_name___closed__0; static lean_object* l_Lean_Doc_suggestOption___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_tactic_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(lean_object*, lean_object*); uint8_t l_Lean_Parser_isTerminalCommand(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__16; +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -468,29 +551,41 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name_getArgs___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2; LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_output_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedScope_default; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__18; static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__1; +static lean_object* l_Lean_Doc_given_getArgs___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2; static lean_object* l_Lean_Doc_option___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; static lean_object* l_Lean_Doc_suggestTactic___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lean_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_tactic_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_name_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg___closed__2; @@ -498,19 +593,25 @@ lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9_spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__3; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__9; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_InputContext_atEnd(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1; lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_open_getArgs___closed__5; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_getFlag(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__3____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; @@ -518,6 +619,7 @@ static lean_object* l_Lean_Doc_manual___closed__1; lean_object* l_Lean_getAttributeNames(lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_nat_to_int(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_set__option___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*); @@ -532,6 +634,7 @@ lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert_x27___closed__0; @@ -540,13 +643,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___a LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__7; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__0; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); @@ -558,10 +667,14 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Doc_manual_spec__1(lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_instFromDocArgDataValue___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -569,10 +682,12 @@ lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameOption; +static lean_object* l_Lean_Doc_open_getArgs___closed__2; lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0; static lean_object* l_Lean_Doc_given___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Tactic_ctorIdx(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__5; @@ -597,24 +712,32 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf_ lean_object* l_Lean_MessageData_andList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2; +static lean_object* l_Lean_Doc_manual_getArgs___closed__0; static lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3; -static lean_object* l_Lean_Doc_suggestAttr___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_conv_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___boxed(lean_object**); lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__0; static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__0; LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__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*); extern lean_object* l_Lean_Parser_parserExtension; @@ -625,8 +748,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_opt static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_syntax_getArgs___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_object*); lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); +static lean_object* l_Lean_Doc_output_getArgs___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -641,11 +767,12 @@ LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__3(lean_object*, lean_object*, static lean_object* l_Lean_Doc_tactic___closed__9; lean_object* l_Lean_Parser_symbol(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__7; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -655,18 +782,23 @@ static lean_object* l_Lean_Doc_output___closed__0; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2; static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; lean_object* l_Array_ofSubarray___redArg(lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Const_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Doc_suggestGiven___closed__1; lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instTypeNamePostponedName; +lean_object* l_Lean_Doc_instFromDocArgIdent___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -683,8 +815,10 @@ static lean_object* l_Lean_Doc_option___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_privateToUserName(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); static lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__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_instInhabitedExpr; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -705,6 +839,7 @@ LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknow LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_manualDomains; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty___boxed(lean_object*); lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -720,7 +855,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg___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*); +static lean_object* l_Lean_Doc_manual_getArgs___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_rootNamespace; static lean_object* l_Lean_Doc_lean___closed__14; @@ -735,11 +872,13 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNa extern lean_object* l_Lean_warningAsError; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__4; extern lean_object* l_Lean_Elab_pp_macroStack; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Doc_manual_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_open_getArgs___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__20; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn___lam__0____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanRole___lam__2___closed__0; @@ -747,6 +886,7 @@ static lean_object* l_Lean_Doc_attr___closed__16; static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__7; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2; lean_object* lean_string_utf8_prev(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__6; @@ -765,12 +905,17 @@ static lean_object* l_Lean_Doc_name___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_checkNameExists_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -781,11 +926,14 @@ static lean_object* l_Lean_Doc_manual___closed__5; static lean_object* l_Lean_Doc_attr___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_node(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_name_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_ConvTactic_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Doc_tactic___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__4(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0; extern lean_object* l_Lean_scopedEnvExtensionsRef; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_open___closed__0; @@ -802,11 +950,12 @@ static lean_object* l_Lean_Doc_assert_x27___closed__3; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__2; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__4; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0; lean_object* lean_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*); @@ -818,24 +967,34 @@ static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocStr lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__7___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__1; +static lean_object* l_Lean_Doc_name_getArgs___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_from_utf8_unchecked(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_set__option_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0(lean_object*, lean_object*, 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_Parser_andthen(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Doc_allTacticDocs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1; static lean_object* l_Lean_Doc_suggestName___closed__0; LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9(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*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Option_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -843,23 +1002,28 @@ static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownId static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_Const_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0___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_usize_to_nat(size_t); lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__1___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2; lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__9(lean_object*); static lean_object* l_Lean_Doc_output___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__4; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Doc_output___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl(lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__17; @@ -868,6 +1032,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__5; lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23___lam__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -881,16 +1046,24 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__0___boxed(lean_object*, l LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_manualLink(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0; static lean_object* l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0; static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_activateScoped___at___Lean_Doc_open_spec__22_spec__22(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__14; static lean_object* l_Lean_Doc_output___closed__8; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__0; @@ -903,15 +1076,20 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameAttribute; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__2; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__3; +static lean_object* l_Lean_Doc_given_getArgs___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(lean_object*, lean_object*, lean_object*); @@ -927,10 +1105,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_ static lean_object* l_Lean_Doc_lean___closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__7; +LEAN_EXPORT lean_object* l_Lean_Doc_attr_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___closed__0; static lean_object* l_Lean_Doc_given___closed__4; static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_output_spec__11(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -947,13 +1127,17 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0; static lean_object* l_Lean_Doc_tactic___closed__12; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3(lean_object*); static lean_object* l_Lean_Doc_suggestTactic___closed__3; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___closed__1; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__8; static lean_object* l_Lean_Doc_assert_x27___closed__2; LEAN_EXPORT uint8_t l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5(uint8_t, uint8_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -962,31 +1146,39 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lean_Doc_lean___closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__7; static lean_object* l_Lean_Doc_lean___closed__1; static lean_object* l_Lean_Doc_suggestName___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___boxed(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFnCleanup___redArg(lean_object*); +static lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__0; extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Name_appendCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_PostponedName_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; +LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1; static lean_object* l_Lean_Doc_leanRole___closed__0; static lean_object* l_Lean_Doc_attr___lam__2___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__6; +static lean_object* l_Lean_Doc_given_getArgs___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_15_; -static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__3; lean_object* l_Lean_Doc_elabInline(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); @@ -997,21 +1189,29 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvT static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; LEAN_EXPORT lean_object* l_Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__4; static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10___closed__2; static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__0; +static lean_object* l_Lean_Doc_set__option_getArgs___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Syntax_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_DocString_0__Lean_Doc_asNamed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_1563348410____hygCtx___hyg_15_; static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__5___closed__2; static lean_object* l_Lean_Doc_tactic___closed__3; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_tactic_getArgs___closed__0; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Doc_open_spec__24_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; @@ -1023,10 +1223,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_str static lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0___closed__1; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__1; lean_object* l_Lean_Parser_symbolFn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__4____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); @@ -1042,27 +1244,41 @@ LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_ static lean_object* l_Lean_Doc_tactic___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__6; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_instFromDocArgStrLit___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2; static lean_object* l_Lean_Doc_lean___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___closed__2; static lean_object* l_Lean_Doc_option___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3(lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameAttributes; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2; LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__5; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_given_spec__9(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Doc_assert_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_output___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1___closed__5; @@ -1076,25 +1292,31 @@ static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConsta static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16_spec__16___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forIn___at___Lean_Doc_lean_spec__2_spec__6_spec__6___redArg___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*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0; static lean_object* l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg___closed__0; lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1; static lean_object* l_Lean_Doc_attr___closed__2; lean_object* l_String_toName(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___closed__3; static lean_object* l_Lean_Doc_suggestAttr___closed__1; lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_1706582166____hygCtx___hyg_15_; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1; static lean_object* l_Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11___closed__0; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_open___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__14___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_name_getArgs___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Doc_attr_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27___boxed(lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__1; @@ -1122,6 +1344,7 @@ uint8_t l_List_elem___redArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_set__option; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Tactic_ctorIdx___boxed(lean_object*); +static lean_object* l_Lean_Doc_lean_getArgs___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; static lean_object* l_Lean_Doc_conv___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(lean_object*, lean_object*); @@ -1129,26 +1352,32 @@ lean_object* lean_get_set_stdin(lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1; lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3; lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Doc_set__option_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_left(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Doc_lean_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isPrivateName(lean_object*); LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at___Lean_Doc_open_spec__0___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__10; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSetOption; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestName___closed__4; +static lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_SyntaxCat_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_15_; lean_object* l_Lean_toMessageList(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_filterFieldList___at_____private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__3_spec__3_spec__4_spec__4_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestTactic___closed__5; +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___Lean_Doc_given_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, 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_SetOption_0__Lean_Elab_ctorType_x3f(lean_object*); @@ -1157,14 +1386,18 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0(lean_object*, lean_obje lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___closed__0; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_open_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_open(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_assert_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1177,6 +1410,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at__ static lean_object* l_Lean_Doc_suggestCat___redArg___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Doc_checkNameExists_spec__0_spec__1_spec__2___closed__2; @@ -1192,25 +1426,33 @@ LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnkn static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___Lean_Doc_leanRole_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_ensureNoOverload___at___Lean_resolveGlobalConstNoOverloadCore___at___Lean_Elab_OpenDecl_resolveId___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__3_spec__3_spec__11_spec__12(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestCat___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_syntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; size_t lean_usize_sub(size_t, size_t); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4; lean_object* lean_array_mk(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0; static lean_object* l_Lean_Doc_lean___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__15___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestOption___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3(lean_object*); uint8_t l_Substring_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_open_spec__20_spec__20___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); @@ -1219,6 +1461,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__11___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_set__option_getArgs___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__12; @@ -1228,6 +1471,7 @@ static lean_object* l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___a LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___closed__10; static lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__1; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___closed__13; @@ -1243,14 +1487,18 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveN LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3; static lean_object* l_Lean_Doc_output___closed__7; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_getRefPos___at___Lean_Elab_nestedExceptionToMessageData___at___Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__10___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean_getArgs___closed__3; LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_Doc_name_spec__14___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg___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*); +static lean_object* l_Lean_Doc_given_getArgs___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3___lam__0___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_io_error_to_string(lean_object*); @@ -1264,7 +1512,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_Persiste LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestName___closed__3; lean_object* l_Lean_Name_mkStr1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__8___boxed(lean_object**); size_t lean_usize_shift_left(size_t, size_t); @@ -1278,6 +1525,7 @@ static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocStr static lean_object* l_Lean_Doc_lean___closed__2; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0; static lean_object* l_Lean_Doc_attr___closed__11; LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1292,12 +1540,17 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lean_Doc_tactic___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f___lam__0___boxed(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_tactic_getArgs___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0; static lean_object* l_Lean_Doc_suggestName___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___Lean_Doc_open_spec__3_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(uint8_t, lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1; uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__6; LEAN_EXPORT lean_object* l_Lean_Doc_attr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_name_spec__13___boxed(lean_object*, lean_object*, lean_object*); @@ -1317,6 +1570,8 @@ static lean_object* l_Lean_Doc_assert___closed__1; LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__8___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual(lean_object*, lean_object*, 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_Parser_whitespace(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Doc_open_spec__24___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -1331,6 +1586,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvT LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock(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_MessageLog_toArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__15_spec__16(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent(lean_object*); @@ -1340,7 +1596,9 @@ LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec_ LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__5___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0; uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_open___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*); @@ -1366,13 +1624,15 @@ LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___Lean_Doc_given_spec__1(lean_ static lean_object* l_Lean_Doc_lean___closed__7; lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at_____private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_suggestOption___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__23_spec__23___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_lit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1381,6 +1641,7 @@ static lean_object* l_Lean_Doc_option___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; LEAN_EXPORT lean_object* l_Lean_Doc_option___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean_getArgs___closed__4; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_15_; static lean_object* l_Lean_Doc_leanRole___lam__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1389,6 +1650,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_output_spec__3_spec__3___lam__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_EXPORT lean_object* l_Lean_Doc_suggestTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__3; @@ -1406,6 +1668,7 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Doc_attr___closed__12; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3(lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at___Lean_Doc_name_spec__3_spec__3_spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1416,12 +1679,19 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___Lean_Doc_lean_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2; static lean_object* l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_3817989530____hygCtx___hyg_39_; +lean_object* l_Lean_Doc_addBuiltinCodeBlockSuggestion(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert_x27___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean_getArgs___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_15_; +static lean_object* l_Lean_Doc_syntax_getArgs___closed__1; LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3; lean_object* l_instDecidableEqString___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___boxed(lean_object**); +lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); static lean_object* l_Lean_Doc_lean___closed__16; @@ -1437,17 +1707,22 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Doc_given_spec__5___boxe static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__3; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_given_spec__7___lam__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_Data_Local_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Doc_given_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0; +static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0; static lean_object* l_Lean_Doc_assert_x27___closed__5; LEAN_EXPORT lean_object* l_Lean_activateScoped___at___Lean_Doc_open_spec__22___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_Doc_name_spec__14_spec__19_spec__20___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_tactic_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__2; static lean_object* l_Lean_Doc_attr___closed__5; lean_object* l_Lean_Parser_termParser(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg(lean_object*, lean_object*, lean_object*); @@ -9217,6 +9492,2193 @@ lean_dec_ref(x_3); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgIdent___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgDocScope___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_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) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Doc_name_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("full", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_name_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_name_getArgs___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scope", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_name_getArgs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_name_getArgs___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_name_getArgs___closed__1; +x_14 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_name_getArgs___closed__3; +x_21 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_22 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3(x_20, x_21, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_27 = l_Lean_Doc_done(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_28, 1); +x_32 = lean_ctor_get(x_28, 0); +lean_dec(x_32); +x_33 = l_Lean_Doc_name(x_18, x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_ctor_set(x_28, 0, x_35); +lean_ctor_set(x_33, 0, x_28); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_33); +lean_ctor_set(x_28, 0, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_free_object(x_28); +lean_dec(x_31); +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) +{ +return x_33; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_33); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_28, 1); +lean_inc(x_43); +lean_dec(x_28); +x_44 = l_Lean_Doc_name(x_18, x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_47 = x_44; +} else { + lean_dec_ref(x_44); + x_47 = lean_box(0); +} +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_43); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_43); +x_50 = lean_ctor_get(x_44, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_44, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_52 = x_44; +} else { + lean_dec_ref(x_44); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 2, 0); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_54 = !lean_is_exclusive(x_27); +if (x_54 == 0) +{ +return x_27; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_27, 0); +x_56 = lean_ctor_get(x_27, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_27); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_58 = !lean_is_exclusive(x_22); +if (x_58 == 0) +{ +return x_22; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_22, 0); +x_60 = lean_ctor_get(x_22, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_22); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_62 = !lean_is_exclusive(x_15); +if (x_62 == 0) +{ +return x_15; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_15, 0); +x_64 = lean_ctor_get(x_15, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_15); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_name_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_name_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("name", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getArgs", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_name_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_mkFreshFVarId___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -12292,7 +14754,7 @@ block_59: if (x_49 == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_array_push(x_46, x_37); +x_50 = lean_array_push(x_42, x_39); x_51 = lean_array_get_size(x_50); x_52 = lean_unsigned_to_nat(1u); x_53 = lean_nat_dec_eq(x_51, x_52); @@ -12302,18 +14764,18 @@ if (x_53 == 0) lean_object* x_54; lean_object* x_55; lean_dec(x_32); x_54 = l_Lean_Doc_tactic___closed__1; -x_55 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_54, x_50, x_48, x_44, x_45, x_42, x_38, x_41, x_43, x_39, x_40, x_47); +x_55 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_54, x_50, x_44, x_43, x_47, x_38, x_48, x_37, x_41, x_45, x_46, x_40); return x_55; } else { lean_object* x_56; lean_object* x_57; -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec_ref(x_41); -lean_dec(x_40); -lean_dec_ref(x_39); -lean_dec(x_38); +lean_dec(x_48); +lean_dec(x_46); +lean_dec_ref(x_45); +lean_dec(x_41); +lean_dec_ref(x_38); +lean_dec_ref(x_37); x_56 = lean_array_fget(x_50, x_36); lean_dec_ref(x_50); if (lean_is_scalar(x_32)) { @@ -12323,28 +14785,28 @@ if (lean_is_scalar(x_32)) { lean_ctor_set_tag(x_57, 1); } lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_47); +lean_ctor_set(x_57, 1, x_40); return x_57; } } else { lean_object* x_58; -lean_dec_ref(x_46); -lean_dec(x_43); +lean_dec(x_48); +lean_dec(x_46); +lean_dec_ref(x_45); lean_dec_ref(x_42); -lean_dec_ref(x_41); -lean_dec(x_40); -lean_dec_ref(x_39); -lean_dec(x_38); +lean_dec(x_41); +lean_dec_ref(x_38); +lean_dec_ref(x_37); if (lean_is_scalar(x_32)) { x_58 = lean_alloc_ctor(1, 2, 0); } else { x_58 = x_32; lean_ctor_set_tag(x_58, 1); } -lean_ctor_set(x_58, 0, x_37); -lean_ctor_set(x_58, 1, x_47); +lean_ctor_set(x_58, 0, x_39); +lean_ctor_set(x_58, 1, x_40); return x_58; } } @@ -12356,34 +14818,34 @@ if (x_72 == 0) { uint8_t x_73; x_73 = l_Lean_Exception_isRuntime(x_70); -x_37 = x_70; +x_37 = x_61; x_38 = x_60; -x_39 = x_61; -x_40 = x_64; +x_39 = x_70; +x_40 = x_71; x_41 = x_63; x_42 = x_62; x_43 = x_65; -x_44 = x_66; -x_45 = x_67; -x_46 = x_68; -x_47 = x_71; +x_44 = x_64; +x_45 = x_66; +x_46 = x_67; +x_47 = x_68; x_48 = x_69; x_49 = x_73; goto block_59; } else { -x_37 = x_70; +x_37 = x_61; x_38 = x_60; -x_39 = x_61; -x_40 = x_64; +x_39 = x_70; +x_40 = x_71; x_41 = x_63; x_42 = x_62; x_43 = x_65; -x_44 = x_66; -x_45 = x_67; -x_46 = x_68; -x_47 = x_71; +x_44 = x_64; +x_45 = x_66; +x_46 = x_67; +x_47 = x_68; x_48 = x_69; x_49 = x_72; goto block_59; @@ -12464,16 +14926,16 @@ lean_inc(x_98); x_99 = lean_ctor_get(x_91, 1); lean_inc(x_99); lean_dec_ref(x_91); -x_60 = x_80; -x_61 = x_83; -x_62 = x_79; -x_63 = x_81; -x_64 = x_84; -x_65 = x_82; -x_66 = x_77; -x_67 = x_78; -x_68 = x_75; -x_69 = x_76; +x_60 = x_79; +x_61 = x_81; +x_62 = x_75; +x_63 = x_82; +x_64 = x_76; +x_65 = x_77; +x_66 = x_83; +x_67 = x_84; +x_68 = x_78; +x_69 = x_80; x_70 = x_98; x_71 = x_99; goto block_74; @@ -12488,16 +14950,16 @@ lean_inc(x_100); x_101 = lean_ctor_get(x_88, 1); lean_inc(x_101); lean_dec_ref(x_88); -x_60 = x_80; -x_61 = x_83; -x_62 = x_79; -x_63 = x_81; -x_64 = x_84; -x_65 = x_82; -x_66 = x_77; -x_67 = x_78; -x_68 = x_75; -x_69 = x_76; +x_60 = x_79; +x_61 = x_81; +x_62 = x_75; +x_63 = x_82; +x_64 = x_76; +x_65 = x_77; +x_66 = x_83; +x_67 = x_84; +x_68 = x_78; +x_69 = x_80; x_70 = x_100; x_71 = x_101; goto block_74; @@ -12897,7 +15359,7 @@ block_233: if (x_223 == 0) { lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -x_224 = lean_array_push(x_220, x_211); +x_224 = lean_array_push(x_216, x_213); x_225 = lean_array_get_size(x_224); x_226 = lean_unsigned_to_nat(1u); x_227 = lean_nat_dec_eq(x_225, x_226); @@ -12907,18 +15369,18 @@ if (x_227 == 0) lean_object* x_228; lean_object* x_229; lean_dec(x_206); x_228 = l_Lean_Doc_tactic___closed__1; -x_229 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_228, x_224, x_222, x_218, x_219, x_216, x_212, x_215, x_217, x_213, x_214, x_221); +x_229 = l_Lean_Elab_throwErrorWithNestedErrors___at___Lean_Doc_tactic_spec__0___redArg(x_228, x_224, x_218, x_217, x_221, x_212, x_222, x_211, x_215, x_219, x_220, x_214); return x_229; } else { lean_object* x_230; lean_object* x_231; -lean_dec(x_217); -lean_dec_ref(x_216); -lean_dec_ref(x_215); -lean_dec(x_214); -lean_dec_ref(x_213); -lean_dec(x_212); +lean_dec(x_222); +lean_dec(x_220); +lean_dec_ref(x_219); +lean_dec(x_215); +lean_dec_ref(x_212); +lean_dec_ref(x_211); x_230 = lean_array_fget(x_224, x_210); lean_dec_ref(x_224); if (lean_is_scalar(x_206)) { @@ -12928,28 +15390,28 @@ if (lean_is_scalar(x_206)) { lean_ctor_set_tag(x_231, 1); } lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_221); +lean_ctor_set(x_231, 1, x_214); return x_231; } } else { lean_object* x_232; -lean_dec_ref(x_220); -lean_dec(x_217); +lean_dec(x_222); +lean_dec(x_220); +lean_dec_ref(x_219); lean_dec_ref(x_216); -lean_dec_ref(x_215); -lean_dec(x_214); -lean_dec_ref(x_213); -lean_dec(x_212); +lean_dec(x_215); +lean_dec_ref(x_212); +lean_dec_ref(x_211); if (lean_is_scalar(x_206)) { x_232 = lean_alloc_ctor(1, 2, 0); } else { x_232 = x_206; lean_ctor_set_tag(x_232, 1); } -lean_ctor_set(x_232, 0, x_211); -lean_ctor_set(x_232, 1, x_221); +lean_ctor_set(x_232, 0, x_213); +lean_ctor_set(x_232, 1, x_214); return x_232; } } @@ -12961,34 +15423,34 @@ if (x_246 == 0) { uint8_t x_247; x_247 = l_Lean_Exception_isRuntime(x_244); -x_211 = x_244; +x_211 = x_235; x_212 = x_234; -x_213 = x_235; -x_214 = x_238; +x_213 = x_244; +x_214 = x_245; x_215 = x_237; x_216 = x_236; x_217 = x_239; -x_218 = x_240; -x_219 = x_241; -x_220 = x_242; -x_221 = x_245; +x_218 = x_238; +x_219 = x_240; +x_220 = x_241; +x_221 = x_242; x_222 = x_243; x_223 = x_247; goto block_233; } else { -x_211 = x_244; +x_211 = x_235; x_212 = x_234; -x_213 = x_235; -x_214 = x_238; +x_213 = x_244; +x_214 = x_245; x_215 = x_237; x_216 = x_236; x_217 = x_239; -x_218 = x_240; -x_219 = x_241; -x_220 = x_242; -x_221 = x_245; +x_218 = x_238; +x_219 = x_240; +x_220 = x_241; +x_221 = x_242; x_222 = x_243; x_223 = x_246; goto block_233; @@ -13065,16 +15527,16 @@ lean_inc(x_270); x_271 = lean_ctor_get(x_265, 1); lean_inc(x_271); lean_dec_ref(x_265); -x_234 = x_254; -x_235 = x_257; -x_236 = x_253; -x_237 = x_255; -x_238 = x_258; -x_239 = x_256; -x_240 = x_251; -x_241 = x_252; -x_242 = x_249; -x_243 = x_250; +x_234 = x_253; +x_235 = x_255; +x_236 = x_249; +x_237 = x_256; +x_238 = x_250; +x_239 = x_251; +x_240 = x_257; +x_241 = x_258; +x_242 = x_252; +x_243 = x_254; x_244 = x_270; x_245 = x_271; goto block_248; @@ -13089,16 +15551,16 @@ lean_inc(x_272); x_273 = lean_ctor_get(x_262, 1); lean_inc(x_273); lean_dec_ref(x_262); -x_234 = x_254; -x_235 = x_257; -x_236 = x_253; -x_237 = x_255; -x_238 = x_258; -x_239 = x_256; -x_240 = x_251; -x_241 = x_252; -x_242 = x_249; -x_243 = x_250; +x_234 = x_253; +x_235 = x_255; +x_236 = x_249; +x_237 = x_256; +x_238 = x_250; +x_239 = x_251; +x_240 = x_257; +x_241 = x_258; +x_242 = x_252; +x_243 = x_254; x_244 = x_272; x_245 = x_273; goto block_248; @@ -13522,6 +15984,297 @@ lean_dec_ref(x_2); return x_14; } } +static lean_object* _init_l_Lean_Doc_tactic_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("checked", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_tactic_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_tactic_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_tactic_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = l_Lean_Doc_tactic_getArgs___closed__1; +x_14 = 1; +x_15 = l_Lean_Doc_getFlag(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_20 = l_Lean_Doc_done(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_ctor_get(x_21, 0); +lean_dec(x_25); +x_26 = lean_unbox(x_18); +lean_dec(x_18); +x_27 = l_Lean_Doc_tactic(x_26, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_ctor_set(x_21, 0, x_29); +lean_ctor_set(x_27, 0, x_21); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_27, 0); +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_27); +lean_ctor_set(x_21, 0, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_free_object(x_21); +lean_dec(x_24); +x_33 = !lean_is_exclusive(x_27); +if (x_33 == 0) +{ +return x_27; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_27, 0); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_27); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; uint8_t x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_21, 1); +lean_inc(x_37); +lean_dec(x_21); +x_38 = lean_unbox(x_18); +lean_dec(x_18); +x_39 = l_Lean_Doc_tactic(x_38, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); +} +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_37); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_37); +x_45 = lean_ctor_get(x_39, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_39, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_47 = x_39; +} else { + lean_dec_ref(x_39); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_49 = !lean_is_exclusive(x_20); +if (x_49 == 0) +{ +return x_20; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_20, 0); +x_51 = lean_ctor_get(x_20, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_20); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_53 = !lean_is_exclusive(x_15); +if (x_53 == 0) +{ +return x_15; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_15, 0); +x_55 = lean_ctor_get(x_15, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_15); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_tactic_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_tactic_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_tactic___lam__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l_Lean_Doc_tactic___lam__1___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_tactic_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -15202,9 +17955,9 @@ if (x_24 == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_15); -x_25 = lean_array_push(x_21, x_23); +x_25 = lean_array_push(x_21, x_22); x_26 = l_Lean_Doc_conv___closed__1; -x_27 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_27 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); return x_27; } else @@ -15223,8 +17976,8 @@ if (lean_is_scalar(x_15)) { x_28 = x_15; lean_ctor_set_tag(x_28, 1); } -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_22); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); return x_28; } } @@ -15237,16 +17990,16 @@ if (x_33 == 0) uint8_t x_34; x_34 = l_Lean_Exception_isRuntime(x_31); x_21 = x_30; -x_22 = x_32; -x_23 = x_31; +x_22 = x_31; +x_23 = x_32; x_24 = x_34; goto block_29; } else { x_21 = x_30; -x_22 = x_32; -x_23 = x_31; +x_22 = x_31; +x_23 = x_32; x_24 = x_33; goto block_29; } @@ -15256,7 +18009,7 @@ block_59: if (x_38 == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_array_push(x_19, x_36); +x_39 = lean_array_push(x_19, x_37); x_40 = l_Lean_Doc_tactic___closed__2; x_41 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); lean_closure_set(x_41, 0, x_40); @@ -15267,7 +18020,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_42 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_41, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_37); +x_42 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_41, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_object* x_44; lean_object* x_45; @@ -15366,8 +18119,8 @@ lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_36); -lean_ctor_set(x_58, 1, x_37); +lean_ctor_set(x_58, 0, x_37); +lean_ctor_set(x_58, 1, x_36); return x_58; } } @@ -15379,15 +18132,15 @@ if (x_62 == 0) { uint8_t x_63; x_63 = l_Lean_Exception_isRuntime(x_60); -x_36 = x_60; -x_37 = x_61; +x_36 = x_61; +x_37 = x_60; x_38 = x_63; goto block_59; } else { -x_36 = x_60; -x_37 = x_61; +x_36 = x_61; +x_37 = x_60; x_38 = x_62; goto block_59; } @@ -15564,9 +18317,9 @@ if (x_136 == 0) { lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_dec(x_15); -x_137 = lean_array_push(x_133, x_135); +x_137 = lean_array_push(x_133, x_134); x_138 = l_Lean_Doc_conv___closed__1; -x_139 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_138, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_134); +x_139 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_138, x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_135); return x_139; } else @@ -15585,8 +18338,8 @@ if (lean_is_scalar(x_15)) { x_140 = x_15; lean_ctor_set_tag(x_140, 1); } -lean_ctor_set(x_140, 0, x_135); -lean_ctor_set(x_140, 1, x_134); +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_135); return x_140; } } @@ -15599,16 +18352,16 @@ if (x_145 == 0) uint8_t x_146; x_146 = l_Lean_Exception_isRuntime(x_143); x_133 = x_142; -x_134 = x_144; -x_135 = x_143; +x_134 = x_143; +x_135 = x_144; x_136 = x_146; goto block_141; } else { x_133 = x_142; -x_134 = x_144; -x_135 = x_143; +x_134 = x_143; +x_135 = x_144; x_136 = x_145; goto block_141; } @@ -15618,7 +18371,7 @@ block_168: if (x_150 == 0) { lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_151 = lean_array_push(x_130, x_148); +x_151 = lean_array_push(x_130, x_149); x_152 = l_Lean_Doc_tactic___closed__2; x_153 = lean_alloc_closure((void*)(l_Lean_Doc_tactic___lam__2), 4, 2); lean_closure_set(x_153, 0, x_152); @@ -15629,7 +18382,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_154 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_153, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_149); +x_154 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4(x_153, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132, x_10, x_148); if (lean_obj_tag(x_154) == 0) { lean_object* x_155; lean_object* x_156; lean_object* x_157; @@ -15722,8 +18475,8 @@ lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_148); -lean_ctor_set(x_167, 1, x_149); +lean_ctor_set(x_167, 0, x_149); +lean_ctor_set(x_167, 1, x_148); return x_167; } } @@ -15735,15 +18488,15 @@ if (x_171 == 0) { uint8_t x_172; x_172 = l_Lean_Exception_isRuntime(x_169); -x_148 = x_169; -x_149 = x_170; +x_148 = x_170; +x_149 = x_169; x_150 = x_172; goto block_168; } else { -x_148 = x_169; -x_149 = x_170; +x_148 = x_170; +x_149 = x_169; x_150 = x_171; goto block_168; } @@ -15792,6 +18545,230 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_conv_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_conv(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_conv(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_conv_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_conv_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_conv_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_attr_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -16306,7 +19283,7 @@ if (lean_is_exclusive(x_16)) { x_19 = !lean_is_exclusive(x_9); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_44; lean_object* x_45; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 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_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_119; lean_object* x_120; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_159; lean_object* x_160; lean_object* x_164; +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_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_44; lean_object* x_45; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 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_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_119; lean_object* x_120; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_159; lean_object* x_160; lean_object* x_164; x_20 = lean_ctor_get(x_9, 5); x_21 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__0; x_22 = l_Lean_Doc_Data_instImpl____x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_15_; @@ -16644,7 +19621,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_71 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_71 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; lean_object* x_73; lean_object* x_74; @@ -16662,7 +19639,7 @@ lean_inc_ref(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_74 = lean_apply_11(x_59, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +x_74 = lean_apply_11(x_60, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); x_44 = x_58; x_45 = x_74; goto block_57; @@ -16670,7 +19647,7 @@ goto block_57; else { lean_object* x_75; lean_object* x_76; -lean_dec_ref(x_59); +lean_dec_ref(x_60); x_75 = lean_ctor_get(x_71, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_71, 1); @@ -16697,7 +19674,7 @@ lean_inc_ref(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_78 = lean_apply_11(x_59, x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_78 = lean_apply_11(x_60, x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); x_44 = x_58; x_45 = x_78; goto block_57; @@ -16706,41 +19683,41 @@ goto block_57; block_88: { lean_object* x_87; -lean_dec(x_84); -x_87 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_82, x_85, x_86); +lean_dec(x_83); +x_87 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_84, x_82, x_86); lean_dec(x_86); -x_58 = x_80; -x_59 = x_81; -x_60 = x_83; +x_58 = x_81; +x_59 = x_80; +x_60 = x_85; x_61 = x_87; goto block_79; } block_97: { uint8_t x_96; -x_96 = lean_nat_dec_le(x_95, x_90); +x_96 = lean_nat_dec_le(x_95, x_92); if (x_96 == 0) { -lean_dec(x_90); +lean_dec(x_92); lean_inc(x_95); -x_80 = x_89; -x_81 = x_92; -x_82 = x_91; -x_83 = x_94; +x_80 = x_90; +x_81 = x_89; +x_82 = x_95; +x_83 = x_91; x_84 = x_93; -x_85 = x_95; +x_85 = x_94; x_86 = x_95; goto block_88; } else { -x_80 = x_89; -x_81 = x_92; -x_82 = x_91; -x_83 = x_94; +x_80 = x_90; +x_81 = x_89; +x_82 = x_95; +x_83 = x_91; x_84 = x_93; -x_85 = x_95; -x_86 = x_90; +x_85 = x_94; +x_86 = x_92; goto block_88; } } @@ -16765,7 +19742,7 @@ lean_dec_ref(x_104); x_107 = l_Lean_getAttributeNames(x_105); x_108 = lean_array_mk(x_107); x_109 = lean_array_get_size(x_108); -x_110 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_102, x_101, x_103, x_108, x_23, x_109); +x_110 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_101, x_100, x_103, x_108, x_23, x_109); lean_dec(x_109); lean_dec_ref(x_108); lean_dec(x_103); @@ -16781,22 +19758,22 @@ if (x_115 == 0) { lean_inc(x_114); x_89 = x_98; -x_90 = x_114; -x_91 = x_110; -x_92 = x_100; -x_93 = x_111; -x_94 = x_106; +x_90 = x_106; +x_91 = x_111; +x_92 = x_114; +x_93 = x_110; +x_94 = x_102; x_95 = x_114; goto block_97; } else { x_89 = x_98; -x_90 = x_114; -x_91 = x_110; -x_92 = x_100; -x_93 = x_111; -x_94 = x_106; +x_90 = x_106; +x_91 = x_111; +x_92 = x_114; +x_93 = x_110; +x_94 = x_102; x_95 = x_23; goto block_97; } @@ -16805,8 +19782,8 @@ else { lean_dec(x_111); x_58 = x_98; -x_59 = x_100; -x_60 = x_106; +x_59 = x_106; +x_60 = x_102; x_61 = x_110; goto block_79; } @@ -16815,7 +19792,7 @@ else { lean_object* x_116; lean_object* x_117; lean_dec(x_103); -lean_dec_ref(x_101); +lean_dec_ref(x_102); lean_dec_ref(x_100); lean_dec(x_13); x_116 = lean_ctor_get(x_104, 0); @@ -16918,9 +19895,9 @@ if (x_145 == 0) lean_dec(x_144); x_98 = x_119; x_99 = x_134; -x_100 = x_139; -x_101 = x_140; -x_102 = x_129; +x_100 = x_140; +x_101 = x_129; +x_102 = x_139; x_103 = x_141; goto block_118; } @@ -16928,9 +19905,9 @@ else { x_98 = x_119; x_99 = x_134; -x_100 = x_139; -x_101 = x_140; -x_102 = x_129; +x_100 = x_140; +x_101 = x_129; +x_102 = x_139; x_103 = x_144; goto block_118; } @@ -17042,7 +20019,7 @@ goto block_158; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_243; lean_object* x_244; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; lean_object* x_300; lean_object* x_316; lean_object* x_317; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_356; lean_object* x_357; lean_object* x_361; +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_243; lean_object* x_244; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; lean_object* x_299; lean_object* x_300; lean_object* x_316; lean_object* x_317; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_356; lean_object* x_357; lean_object* x_361; x_203 = lean_ctor_get(x_9, 0); x_204 = lean_ctor_get(x_9, 1); x_205 = lean_ctor_get(x_9, 2); @@ -17363,7 +20340,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_268 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_267, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_257); +x_268 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_267, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_256); if (lean_obj_tag(x_268) == 0) { lean_object* x_269; lean_object* x_270; lean_object* x_271; @@ -17381,7 +20358,7 @@ lean_inc_ref(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_271 = lean_apply_11(x_256, x_269, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_270); +x_271 = lean_apply_11(x_257, x_269, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_270); x_243 = x_255; x_244 = x_271; goto block_254; @@ -17389,7 +20366,7 @@ goto block_254; else { lean_object* x_272; lean_object* x_273; -lean_dec_ref(x_256); +lean_dec_ref(x_257); x_272 = lean_ctor_get(x_268, 0); lean_inc(x_272); x_273 = lean_ctor_get(x_268, 1); @@ -17416,7 +20393,7 @@ lean_inc_ref(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_275 = lean_apply_11(x_256, x_274, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_257); +x_275 = lean_apply_11(x_257, x_274, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_224, x_10, x_256); x_243 = x_255; x_244 = x_275; goto block_254; @@ -17425,41 +20402,41 @@ goto block_254; block_285: { lean_object* x_284; -lean_dec(x_281); -x_284 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_279, x_282, x_283); +lean_dec(x_280); +x_284 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Doc_attr_spec__3___redArg(x_281, x_279, x_283); lean_dec(x_283); -x_255 = x_277; -x_256 = x_278; -x_257 = x_280; +x_255 = x_278; +x_256 = x_277; +x_257 = x_282; x_258 = x_284; goto block_276; } block_294: { uint8_t x_293; -x_293 = lean_nat_dec_le(x_292, x_287); +x_293 = lean_nat_dec_le(x_292, x_289); if (x_293 == 0) { -lean_dec(x_287); +lean_dec(x_289); lean_inc(x_292); -x_277 = x_286; -x_278 = x_289; -x_279 = x_288; -x_280 = x_291; +x_277 = x_287; +x_278 = x_286; +x_279 = x_292; +x_280 = x_288; x_281 = x_290; -x_282 = x_292; +x_282 = x_291; x_283 = x_292; goto block_285; } else { -x_277 = x_286; -x_278 = x_289; -x_279 = x_288; -x_280 = x_291; +x_277 = x_287; +x_278 = x_286; +x_279 = x_292; +x_280 = x_288; x_281 = x_290; -x_282 = x_292; -x_283 = x_287; +x_282 = x_291; +x_283 = x_289; goto block_285; } } @@ -17484,7 +20461,7 @@ lean_dec_ref(x_301); x_304 = l_Lean_getAttributeNames(x_302); x_305 = lean_array_mk(x_304); x_306 = lean_array_get_size(x_305); -x_307 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_299, x_298, x_300, x_305, x_221, x_306); +x_307 = l_Array_filterMapM___at___Lean_Doc_attr_spec__1(x_298, x_297, x_300, x_305, x_221, x_306); lean_dec(x_306); lean_dec_ref(x_305); lean_dec(x_300); @@ -17500,22 +20477,22 @@ if (x_312 == 0) { lean_inc(x_311); x_286 = x_295; -x_287 = x_311; -x_288 = x_307; -x_289 = x_297; -x_290 = x_308; -x_291 = x_303; +x_287 = x_303; +x_288 = x_308; +x_289 = x_311; +x_290 = x_307; +x_291 = x_299; x_292 = x_311; goto block_294; } else { x_286 = x_295; -x_287 = x_311; -x_288 = x_307; -x_289 = x_297; -x_290 = x_308; -x_291 = x_303; +x_287 = x_303; +x_288 = x_308; +x_289 = x_311; +x_290 = x_307; +x_291 = x_299; x_292 = x_221; goto block_294; } @@ -17524,8 +20501,8 @@ else { lean_dec(x_308); x_255 = x_295; -x_256 = x_297; -x_257 = x_303; +x_256 = x_303; +x_257 = x_299; x_258 = x_307; goto block_276; } @@ -17534,7 +20511,7 @@ else { lean_object* x_313; lean_object* x_314; lean_dec(x_300); -lean_dec_ref(x_298); +lean_dec_ref(x_299); lean_dec_ref(x_297); lean_dec(x_13); x_313 = lean_ctor_get(x_301, 0); @@ -17637,9 +20614,9 @@ if (x_342 == 0) lean_dec(x_341); x_295 = x_316; x_296 = x_331; -x_297 = x_336; -x_298 = x_337; -x_299 = x_326; +x_297 = x_337; +x_298 = x_326; +x_299 = x_336; x_300 = x_338; goto block_315; } @@ -17647,9 +20624,9 @@ else { x_295 = x_316; x_296 = x_331; -x_297 = x_336; -x_298 = x_337; -x_299 = x_326; +x_297 = x_337; +x_298 = x_326; +x_299 = x_336; x_300 = x_341; goto block_315; } @@ -17912,6 +20889,230 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_attr_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_attr(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_attr(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_attr_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_attr_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_attr___closed__6; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l_Lean_Doc_attr___closed__6; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_attr_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0() { _start: { @@ -18870,7 +22071,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; @@ -18879,7 +22080,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec_ref(x_28); -x_31 = l_Lean_Parser_ParserState_setPos(x_26, x_27); +x_31 = l_Lean_Parser_ParserState_setPos(x_24, x_27); x_32 = lean_box(0); x_33 = lean_box(0); lean_inc(x_19); @@ -18889,8 +22090,8 @@ lean_ctor_set(x_34, 1, x_29); lean_ctor_set(x_34, 2, x_32); lean_ctor_set(x_34, 3, x_33); x_35 = l_Lean_Parser_getTokenTable(x_19); -lean_inc_ref(x_25); -x_36 = l_Lean_Parser_ParserFn_run(x_1, x_25, x_34, x_35, x_31); +lean_inc_ref(x_26); +x_36 = l_Lean_Parser_ParserFn_run(x_1, x_26, x_34, x_35, x_31); lean_inc_ref(x_36); x_37 = l_Lean_Parser_ParserState_allErrors(x_36); x_38 = l_Array_isEmpty___redArg(x_37); @@ -18899,7 +22100,7 @@ if (x_38 == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_inc_ref(x_36); -x_39 = l_Lean_Parser_ParserState_toErrorMsg(x_25, x_36); +x_39 = l_Lean_Parser_ParserState_toErrorMsg(x_26, x_36); x_40 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_40, 0, x_39); x_41 = l_Lean_MessageData_ofFormat(x_40); @@ -18961,7 +22162,7 @@ else lean_object* x_49; uint8_t x_50; x_49 = lean_ctor_get(x_36, 2); lean_inc(x_49); -x_50 = l_Lean_Parser_InputContext_atEnd(x_25, x_49); +x_50 = l_Lean_Parser_InputContext_atEnd(x_26, x_49); lean_dec(x_49); if (x_50 == 0) { @@ -18969,7 +22170,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean x_51 = l_Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4___closed__3; lean_inc_ref(x_36); x_52 = l_Lean_Parser_ParserState_mkError(x_36, x_51); -x_53 = l_Lean_Parser_ParserState_toErrorMsg(x_25, x_52); +x_53 = l_Lean_Parser_ParserState_toErrorMsg(x_26, x_52); x_54 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_54, 0, x_53); x_55 = l_Lean_MessageData_ofFormat(x_54); @@ -19029,7 +22230,7 @@ return x_62; else { uint8_t x_63; lean_object* x_64; -lean_dec_ref(x_25); +lean_dec_ref(x_26); x_63 = 0; x_64 = l_Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5___lam__4(x_36, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); lean_dec(x_11); @@ -19048,7 +22249,7 @@ else uint8_t x_65; lean_dec(x_27); lean_dec_ref(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_24); lean_dec(x_19); lean_dec(x_11); lean_dec_ref(x_10); @@ -19105,9 +22306,9 @@ if (lean_obj_tag(x_77) == 0) lean_object* x_78; lean_object* x_79; x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; x_79 = l_panic___at_____private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___Lean_Doc_parseStrLit___at___Lean_Doc_tactic_spec__4_spec__4_spec__4(x_78); -x_24 = x_74; -x_25 = x_75; -x_26 = x_76; +x_24 = x_76; +x_25 = x_74; +x_26 = x_75; x_27 = x_79; goto block_69; } @@ -19117,9 +22318,9 @@ lean_object* x_80; x_80 = lean_ctor_get(x_77, 0); lean_inc(x_80); lean_dec_ref(x_77); -x_24 = x_74; -x_25 = x_75; -x_26 = x_76; +x_24 = x_76; +x_25 = x_74; +x_26 = x_75; x_27 = x_80; goto block_69; } @@ -19464,11 +22665,11 @@ x_182 = lean_array_get_size(x_179); x_183 = lean_nat_dec_le(x_180, x_182); if (x_183 == 0) { -x_103 = x_178; -x_104 = x_172; -x_105 = x_179; +x_103 = x_179; +x_104 = x_176; +x_105 = x_172; x_106 = x_177; -x_107 = x_176; +x_107 = x_178; x_108 = x_181; x_109 = x_182; goto block_170; @@ -19476,11 +22677,11 @@ goto block_170; else { lean_dec(x_182); -x_103 = x_178; -x_104 = x_172; -x_105 = x_179; +x_103 = x_179; +x_104 = x_176; +x_105 = x_172; x_106 = x_177; -x_107 = x_176; +x_107 = x_178; x_108 = x_181; x_109 = x_180; goto block_170; @@ -19558,8 +22759,8 @@ lean_dec(x_190); x_194 = l_Lean_Doc_option___closed__2; x_195 = l_Lean_Doc_option___closed__3; x_196 = lean_array_push(x_195, x_188); -x_197 = lean_array_push(x_196, x_192); -x_198 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_194, x_197, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_191); +x_197 = lean_array_push(x_196, x_191); +x_198 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_194, x_197, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_192); x_199 = !lean_is_exclusive(x_198); if (x_199 == 0) { @@ -19594,8 +22795,8 @@ if (lean_is_scalar(x_190)) { } else { x_203 = x_190; } -lean_ctor_set(x_203, 0, x_192); -lean_ctor_set(x_203, 1, x_191); +lean_ctor_set(x_203, 0, x_191); +lean_ctor_set(x_203, 1, x_192); return x_203; } } @@ -19607,15 +22808,15 @@ if (x_207 == 0) { uint8_t x_208; x_208 = l_Lean_Exception_isRuntime(x_205); -x_191 = x_206; -x_192 = x_205; +x_191 = x_205; +x_192 = x_206; x_193 = x_208; goto block_204; } else { -x_191 = x_206; -x_192 = x_205; +x_191 = x_205; +x_192 = x_206; x_193 = x_207; goto block_204; } @@ -20572,13 +23773,13 @@ block_83: if (x_80 == 0) { lean_object* x_81; uint8_t x_82; -lean_dec_ref(x_77); -x_81 = l_Lean_Exception_getRef(x_79); +lean_dec_ref(x_79); +x_81 = l_Lean_Exception_getRef(x_78); x_82 = l_Lean_Syntax_isMissing(x_81); if (x_82 == 0) { lean_dec(x_76); -x_43 = x_79; +x_43 = x_78; x_44 = x_81; x_45 = x_2; x_46 = x_3; @@ -20589,13 +23790,13 @@ x_50 = x_7; x_51 = x_8; x_52 = x_9; x_53 = x_10; -x_54 = x_78; +x_54 = x_77; goto block_69; } else { lean_dec(x_81); -x_43 = x_79; +x_43 = x_78; x_44 = x_76; x_45 = x_2; x_46 = x_3; @@ -20606,13 +23807,13 @@ x_50 = x_7; x_51 = x_8; x_52 = x_9; x_53 = x_10; -x_54 = x_78; +x_54 = x_77; goto block_69; } } else { -lean_dec_ref(x_79); +lean_dec_ref(x_78); lean_dec_ref(x_9); lean_dec(x_76); lean_dec(x_13); @@ -20621,7 +23822,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_77; +return x_79; } } block_89: @@ -20632,17 +23833,17 @@ if (x_87 == 0) { uint8_t x_88; x_88 = l_Lean_Exception_isRuntime(x_85); -x_77 = x_84; -x_78 = x_86; -x_79 = x_85; +x_77 = x_86; +x_78 = x_85; +x_79 = x_84; x_80 = x_88; goto block_83; } else { -x_77 = x_84; -x_78 = x_86; -x_79 = x_85; +x_77 = x_86; +x_78 = x_85; +x_79 = x_84; x_80 = x_87; goto block_83; } @@ -20652,13 +23853,13 @@ block_96: if (x_93 == 0) { lean_object* x_94; uint8_t x_95; -lean_dec_ref(x_92); -x_94 = l_Lean_Exception_getRef(x_90); +lean_dec_ref(x_90); +x_94 = l_Lean_Exception_getRef(x_91); x_95 = l_Lean_Syntax_isMissing(x_94); if (x_95 == 0) { lean_dec(x_76); -x_16 = x_90; +x_16 = x_91; x_17 = x_94; x_18 = x_2; x_19 = x_3; @@ -20669,13 +23870,13 @@ x_23 = x_7; x_24 = x_8; x_25 = x_9; x_26 = x_10; -x_27 = x_91; +x_27 = x_92; goto block_42; } else { lean_dec(x_94); -x_16 = x_90; +x_16 = x_91; x_17 = x_76; x_18 = x_2; x_19 = x_3; @@ -20686,13 +23887,13 @@ x_23 = x_7; x_24 = x_8; x_25 = x_9; x_26 = x_10; -x_27 = x_91; +x_27 = x_92; goto block_42; } } else { -lean_dec_ref(x_90); +lean_dec_ref(x_91); lean_dec_ref(x_9); lean_dec(x_76); lean_dec(x_13); @@ -20701,7 +23902,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_92; +return x_90; } } block_102: @@ -20712,17 +23913,17 @@ if (x_100 == 0) { uint8_t x_101; x_101 = l_Lean_Exception_isRuntime(x_98); -x_90 = x_98; -x_91 = x_99; -x_92 = x_97; +x_90 = x_97; +x_91 = x_98; +x_92 = x_99; x_93 = x_101; goto block_96; } else { -x_90 = x_98; -x_91 = x_99; -x_92 = x_97; +x_90 = x_97; +x_91 = x_98; +x_92 = x_99; x_93 = x_100; goto block_96; } @@ -20730,11 +23931,11 @@ goto block_96; block_170: { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = l_Array_toSubarray___redArg(x_105, x_108, x_109); +x_110 = l_Array_toSubarray___redArg(x_103, x_108, x_109); x_111 = l_Array_ofSubarray___redArg(x_110); lean_dec_ref(x_110); -lean_inc(x_104); -x_112 = l_Lean_Syntax_setArgs(x_104, x_111); +lean_inc(x_105); +x_112 = l_Lean_Syntax_setArgs(x_105, x_111); x_113 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_113, 0, x_112); lean_inc(x_10); @@ -20743,7 +23944,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_114 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_107); +x_114 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_104); if (lean_obj_tag(x_114) == 0) { lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; @@ -20798,7 +23999,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_127 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_117, x_120, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_126); +x_127 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_117, x_120, x_107, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_126); lean_dec(x_120); if (lean_obj_tag(x_127) == 0) { @@ -20823,7 +24024,7 @@ if (lean_is_scalar(x_72)) { x_131 = x_72; } lean_ctor_set(x_131, 0, x_75); -lean_ctor_set(x_131, 1, x_104); +lean_ctor_set(x_131, 1, x_105); x_132 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_132, 0, x_130); lean_ctor_set(x_132, 1, x_131); @@ -20852,7 +24053,7 @@ if (lean_is_scalar(x_72)) { x_140 = x_72; } lean_ctor_set(x_140, 0, x_75); -lean_ctor_set(x_140, 1, x_104); +lean_ctor_set(x_140, 1, x_105); x_141 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_141, 0, x_139); lean_ctor_set(x_141, 1, x_140); @@ -20874,7 +24075,7 @@ return x_147; else { uint8_t x_148; -lean_dec(x_104); +lean_dec(x_105); lean_dec(x_72); x_148 = !lean_is_exclusive(x_127); if (x_148 == 0) @@ -20914,8 +24115,8 @@ else uint8_t x_154; lean_dec(x_120); lean_dec(x_117); -lean_dec(x_104); -lean_dec_ref(x_103); +lean_dec_ref(x_107); +lean_dec(x_105); lean_dec(x_72); x_154 = !lean_is_exclusive(x_125); if (x_154 == 0) @@ -20954,9 +24155,9 @@ else { uint8_t x_160; lean_dec(x_117); +lean_dec_ref(x_107); lean_dec(x_106); -lean_dec(x_104); -lean_dec_ref(x_103); +lean_dec(x_105); lean_dec(x_72); x_160 = !lean_is_exclusive(x_119); if (x_160 == 0) @@ -20994,9 +24195,9 @@ goto block_102; else { uint8_t x_166; +lean_dec_ref(x_107); lean_dec(x_106); -lean_dec(x_104); -lean_dec_ref(x_103); +lean_dec(x_105); lean_dec_ref(x_9); lean_dec(x_76); lean_dec(x_72); @@ -21125,11 +24326,11 @@ x_498 = lean_array_get_size(x_495); x_499 = lean_nat_dec_le(x_496, x_498); if (x_499 == 0) { -x_434 = x_494; -x_435 = x_488; -x_436 = x_495; +x_434 = x_495; +x_435 = x_492; +x_436 = x_488; x_437 = x_493; -x_438 = x_492; +x_438 = x_494; x_439 = x_497; x_440 = x_498; goto block_486; @@ -21137,11 +24338,11 @@ goto block_486; else { lean_dec(x_498); -x_434 = x_494; -x_435 = x_488; -x_436 = x_495; +x_434 = x_495; +x_435 = x_492; +x_436 = x_488; x_437 = x_493; -x_438 = x_492; +x_438 = x_494; x_439 = x_497; x_440 = x_496; goto block_486; @@ -21221,8 +24422,8 @@ lean_dec(x_506); x_510 = l_Lean_Doc_option___closed__2; x_511 = l_Lean_Doc_option___closed__3; x_512 = lean_array_push(x_511, x_504); -x_513 = lean_array_push(x_512, x_508); -x_514 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_510, x_513, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_507); +x_513 = lean_array_push(x_512, x_507); +x_514 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_510, x_513, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_508); x_515 = lean_ctor_get(x_514, 0); lean_inc(x_515); x_516 = lean_ctor_get(x_514, 1); @@ -21259,8 +24460,8 @@ if (lean_is_scalar(x_506)) { } else { x_519 = x_506; } -lean_ctor_set(x_519, 0, x_508); -lean_ctor_set(x_519, 1, x_507); +lean_ctor_set(x_519, 0, x_507); +lean_ctor_set(x_519, 1, x_508); return x_519; } } @@ -21272,15 +24473,15 @@ if (x_523 == 0) { uint8_t x_524; x_524 = l_Lean_Exception_isRuntime(x_521); -x_507 = x_522; -x_508 = x_521; +x_507 = x_521; +x_508 = x_522; x_509 = x_524; goto block_520; } else { -x_507 = x_522; -x_508 = x_521; +x_507 = x_521; +x_508 = x_522; x_509 = x_523; goto block_520; } @@ -21609,13 +24810,13 @@ block_414: if (x_411 == 0) { lean_object* x_412; uint8_t x_413; -lean_dec_ref(x_408); -x_412 = l_Lean_Exception_getRef(x_410); +lean_dec_ref(x_410); +x_412 = l_Lean_Exception_getRef(x_409); x_413 = l_Lean_Syntax_isMissing(x_412); if (x_413 == 0) { lean_dec(x_406); -x_43 = x_410; +x_43 = x_409; x_44 = x_412; x_45 = x_2; x_46 = x_3; @@ -21626,13 +24827,13 @@ x_50 = x_7; x_51 = x_8; x_52 = x_407; x_53 = x_10; -x_54 = x_409; +x_54 = x_408; goto block_69; } else { lean_dec(x_412); -x_43 = x_410; +x_43 = x_409; x_44 = x_406; x_45 = x_2; x_46 = x_3; @@ -21643,13 +24844,13 @@ x_50 = x_7; x_51 = x_8; x_52 = x_407; x_53 = x_10; -x_54 = x_409; +x_54 = x_408; goto block_69; } } else { -lean_dec_ref(x_410); +lean_dec_ref(x_409); lean_dec_ref(x_407); lean_dec(x_406); lean_dec(x_13); @@ -21658,7 +24859,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_408; +return x_410; } } block_420: @@ -21669,17 +24870,17 @@ if (x_418 == 0) { uint8_t x_419; x_419 = l_Lean_Exception_isRuntime(x_416); -x_408 = x_415; -x_409 = x_417; -x_410 = x_416; +x_408 = x_417; +x_409 = x_416; +x_410 = x_415; x_411 = x_419; goto block_414; } else { -x_408 = x_415; -x_409 = x_417; -x_410 = x_416; +x_408 = x_417; +x_409 = x_416; +x_410 = x_415; x_411 = x_418; goto block_414; } @@ -21689,13 +24890,13 @@ block_427: if (x_424 == 0) { lean_object* x_425; uint8_t x_426; -lean_dec_ref(x_423); -x_425 = l_Lean_Exception_getRef(x_421); +lean_dec_ref(x_421); +x_425 = l_Lean_Exception_getRef(x_422); x_426 = l_Lean_Syntax_isMissing(x_425); if (x_426 == 0) { lean_dec(x_406); -x_16 = x_421; +x_16 = x_422; x_17 = x_425; x_18 = x_2; x_19 = x_3; @@ -21706,13 +24907,13 @@ x_23 = x_7; x_24 = x_8; x_25 = x_407; x_26 = x_10; -x_27 = x_422; +x_27 = x_423; goto block_42; } else { lean_dec(x_425); -x_16 = x_421; +x_16 = x_422; x_17 = x_406; x_18 = x_2; x_19 = x_3; @@ -21723,13 +24924,13 @@ x_23 = x_7; x_24 = x_8; x_25 = x_407; x_26 = x_10; -x_27 = x_422; +x_27 = x_423; goto block_42; } } else { -lean_dec_ref(x_421); +lean_dec_ref(x_422); lean_dec_ref(x_407); lean_dec(x_406); lean_dec(x_13); @@ -21738,7 +24939,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_423; +return x_421; } } block_433: @@ -21749,17 +24950,17 @@ if (x_431 == 0) { uint8_t x_432; x_432 = l_Lean_Exception_isRuntime(x_429); -x_421 = x_429; -x_422 = x_430; -x_423 = x_428; +x_421 = x_428; +x_422 = x_429; +x_423 = x_430; x_424 = x_432; goto block_427; } else { -x_421 = x_429; -x_422 = x_430; -x_423 = x_428; +x_421 = x_428; +x_422 = x_429; +x_423 = x_430; x_424 = x_431; goto block_427; } @@ -21767,11 +24968,11 @@ goto block_427; block_486: { lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -x_441 = l_Array_toSubarray___redArg(x_436, x_439, x_440); +x_441 = l_Array_toSubarray___redArg(x_434, x_439, x_440); x_442 = l_Array_ofSubarray___redArg(x_441); lean_dec_ref(x_441); -lean_inc(x_435); -x_443 = l_Lean_Syntax_setArgs(x_435, x_442); +lean_inc(x_436); +x_443 = l_Lean_Syntax_setArgs(x_436, x_442); x_444 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_444, 0, x_443); lean_inc(x_10); @@ -21780,7 +24981,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_445 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_444, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_438); +x_445 = l_Lean_Elab_addCompletionInfo___at___Lean_Doc_option_spec__0(x_444, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_435); if (lean_obj_tag(x_445) == 0) { lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; @@ -21835,7 +25036,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_458 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_448, x_451, x_434, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_457); +x_458 = l_Lean_Elab_validateOptionValue___at___Lean_Doc_option_spec__1(x_448, x_451, x_438, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_407, x_10, x_457); lean_dec(x_451); if (lean_obj_tag(x_458) == 0) { @@ -21864,7 +25065,7 @@ if (lean_is_scalar(x_72)) { x_462 = x_72; } lean_ctor_set(x_462, 0, x_405); -lean_ctor_set(x_462, 1, x_435); +lean_ctor_set(x_462, 1, x_436); x_463 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_463, 0, x_461); lean_ctor_set(x_463, 1, x_462); @@ -21889,7 +25090,7 @@ return x_469; else { lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -lean_dec(x_435); +lean_dec(x_436); lean_dec(x_72); x_470 = lean_ctor_get(x_458, 0); lean_inc(x_470); @@ -21923,8 +25124,8 @@ else lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_dec(x_451); lean_dec(x_448); -lean_dec(x_435); -lean_dec_ref(x_434); +lean_dec_ref(x_438); +lean_dec(x_436); lean_dec(x_72); x_474 = lean_ctor_get(x_456, 0); lean_inc(x_474); @@ -21957,9 +25158,9 @@ else { lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_dec(x_448); +lean_dec_ref(x_438); lean_dec(x_437); -lean_dec(x_435); -lean_dec_ref(x_434); +lean_dec(x_436); lean_dec(x_72); x_478 = lean_ctor_get(x_450, 0); lean_inc(x_478); @@ -21991,9 +25192,9 @@ goto block_433; else { lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +lean_dec_ref(x_438); lean_dec(x_437); -lean_dec(x_435); -lean_dec_ref(x_434); +lean_dec(x_436); lean_dec_ref(x_407); lean_dec(x_406); lean_dec(x_72); @@ -22328,6 +25529,238 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_option(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_option(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_option_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("option", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_option_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -23528,6 +26961,238 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_syntaxCat(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_syntaxCat(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_syntaxCat_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("syntaxCat", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_syntaxCat_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty_spec__0(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { @@ -24103,6 +27768,1000 @@ lean_dec_ref(x_2); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgIdent___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("anon", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_23_; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_7, 1); +x_20 = lean_ctor_get(x_7, 2); +x_21 = lean_nat_dec_lt(x_9, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_22, 1, x_10); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec_ref(x_8); +x_24 = lean_array_fget_borrowed(x_1, x_9); +x_25 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1; +lean_inc(x_24); +x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_nat_add(x_9, x_20); +lean_dec(x_9); +lean_inc_ref(x_2); +{ +lean_object* _tmp_7 = x_2; +lean_object* _tmp_8 = x_27; +x_8 = _tmp_7; +x_9 = _tmp_8; +} +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_29 = l_Lean_Syntax_getArg(x_24, x_3); +x_30 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_30, 0, x_29); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +x_31 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_30, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec_ref(x_31); +x_34 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_33); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_9); +lean_inc_ref(x_1); +x_38 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_39 = l_Array_ofSubarray___redArg(x_38); +lean_dec_ref(x_38); +x_40 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_41 = l_Array_toSubarray___redArg(x_1, x_40, x_5); +x_42 = l_Array_ofSubarray___redArg(x_41); +lean_dec_ref(x_41); +x_43 = l_Array_append___redArg(x_39, x_42); +lean_dec_ref(x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_37); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_6); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_35, 0, x_46); +return x_35; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_35); +lean_inc(x_9); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_5); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_47); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_6); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_48); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_59 = !lean_is_exclusive(x_35); +if (x_59 == 0) +{ +return x_35; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_35, 0); +x_61 = lean_ctor_get(x_35, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_35); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_63 = !lean_is_exclusive(x_31); +if (x_63 == 0) +{ +return x_31; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_31, 0); +x_65 = lean_ctor_get(x_31, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_31); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_7, 5); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_10); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Missing positional argument `", 29, 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get_size(x_2); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +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_box(0); +x_18 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_2); +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(x_2, x_18, x_13, x_15, x_14, x_17, x_16, x_18, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_dec(x_24); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec_ref(x_19); +x_26 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_27 = l_Lean_MessageData_ofName(x_1); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_27); +lean_ctor_set(x_21, 0, x_26); +x_28 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_30; +} +else +{ +uint8_t x_31; +lean_free_object(x_21); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_19, 0); +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_20); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_20, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_23, 0); +lean_inc(x_35); +lean_dec_ref(x_23); +lean_ctor_set(x_20, 0, x_35); +return x_19; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_dec(x_20); +x_37 = lean_ctor_get(x_23, 0); +lean_inc(x_37); +lean_dec_ref(x_23); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_19, 0, x_38); +return x_19; +} +} +else +{ +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_39 = lean_ctor_get(x_19, 1); +lean_inc(x_39); +lean_dec(x_19); +x_40 = lean_ctor_get(x_20, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_41 = x_20; +} else { + lean_dec_ref(x_20); + x_41 = lean_box(0); +} +x_42 = lean_ctor_get(x_23, 0); +lean_inc(x_42); +lean_dec_ref(x_23); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +} +} +else +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +lean_dec(x_21); +if (lean_obj_tag(x_45) == 0) +{ +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_dec(x_20); +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); +lean_dec_ref(x_19); +x_47 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_48 = l_Lean_MessageData_ofName(x_1); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_46); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_53 = lean_ctor_get(x_19, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_54 = x_19; +} else { + lean_dec_ref(x_19); + x_54 = lean_box(0); +} +x_55 = lean_ctor_get(x_20, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_56 = x_20; +} else { + lean_dec_ref(x_20); + x_56 = lean_box(0); +} +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +lean_dec_ref(x_45); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +if (lean_is_scalar(x_54)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_54; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_53); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_19); +if (x_60 == 0) +{ +return x_19; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_19, 0); +x_62 = lean_ctor_get(x_19, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_19); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Doc_syntax_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cat", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_syntax_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_syntax_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_syntax_getArgs___closed__1; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_19 = l_Lean_Doc_done(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_20, 0); +lean_dec(x_24); +x_25 = l_Lean_Doc_syntax(x_17, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_20, 0, x_27); +lean_ctor_set(x_25, 0, x_20); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_20, 0, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_free_object(x_20); +lean_dec(x_23); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_dec(x_20); +x_36 = l_Lean_Doc_syntax(x_17, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_36) == 0) +{ +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_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_39 = x_36; +} else { + lean_dec_ref(x_36); + x_39 = lean_box(0); +} +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_35); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_35); +x_42 = lean_ctor_get(x_36, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_36, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_44 = x_36; +} else { + lean_dec_ref(x_36); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_46 = !lean_is_exclusive(x_19); +if (x_46 == 0) +{ +return x_19; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_19, 0); +x_48 = lean_ctor_get(x_19, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_19); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_50 = !lean_is_exclusive(x_14); +if (x_50 == 0) +{ +return x_14; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_14, 0); +x_52 = lean_ctor_get(x_14, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_14); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_11); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_syntax_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("syntax", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_syntax_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0() { _start: { @@ -26092,9 +30751,9 @@ return x_250; block_46: { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = l_Lean_Expr_fvar___override(x_25); +x_29 = l_Lean_Expr_fvar___override(x_24); x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 0, x_18); lean_inc_ref(x_28); x_31 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_31, 0, x_28); @@ -26107,7 +30766,7 @@ lean_closure_set(x_34, 2, x_30); lean_closure_set(x_34, 3, x_31); lean_closure_set(x_34, 4, x_32); lean_closure_set(x_34, 5, x_33); -x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_27, x_20, x_22, x_18, x_21, x_23, x_26, x_24); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_26, x_25, x_20, x_21, x_27, x_23, x_19, x_22); if (lean_obj_tag(x_35) == 0) { uint8_t x_36; @@ -26186,16 +30845,16 @@ x_65 = 0; lean_inc_ref(x_47); lean_inc(x_61); x_66 = l_Lean_LocalContext_mkLocalDecl(x_48, x_61, x_63, x_47, x_64, x_65); -x_18 = x_55; -x_19 = x_47; -x_20 = x_53; -x_21 = x_56; -x_22 = x_54; +x_18 = x_47; +x_19 = x_58; +x_20 = x_54; +x_21 = x_55; +x_22 = x_62; x_23 = x_57; -x_24 = x_62; -x_25 = x_61; -x_26 = x_58; -x_27 = x_52; +x_24 = x_61; +x_25 = x_53; +x_26 = x_52; +x_27 = x_56; x_28 = x_66; goto block_46; } @@ -26216,16 +30875,16 @@ x_72 = 0; lean_inc_ref(x_47); lean_inc(x_67); x_73 = l_Lean_LocalContext_mkLetDecl(x_48, x_67, x_70, x_47, x_69, x_71, x_72); -x_18 = x_55; -x_19 = x_47; -x_20 = x_53; -x_21 = x_56; -x_22 = x_54; +x_18 = x_47; +x_19 = x_58; +x_20 = x_54; +x_21 = x_55; +x_22 = x_68; x_23 = x_57; -x_24 = x_68; -x_25 = x_67; -x_26 = x_58; -x_27 = x_52; +x_24 = x_67; +x_25 = x_53; +x_26 = x_52; +x_27 = x_56; x_28 = x_73; goto block_46; } @@ -27972,6 +32631,1387 @@ lean_dec_ref(x_4); return x_17; } } +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgStrLit___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("type", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_given_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("typeIsMeta", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_given_getArgs___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("show", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_given_getArgs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_given_getArgs___closed__4; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_given_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_given_getArgs___closed__1; +x_14 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_given_getArgs___closed__3; +x_21 = 0; +x_22 = l_Lean_Doc_getFlag(x_20, x_21, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l_Lean_Doc_given_getArgs___closed__5; +x_28 = 1; +x_29 = l_Lean_Doc_getFlag(x_27, x_28, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec_ref(x_29); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_34 = l_Lean_Doc_done(x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec_ref(x_34); +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_35, 1); +x_39 = lean_ctor_get(x_35, 0); +lean_dec(x_39); +x_40 = lean_unbox(x_25); +lean_dec(x_25); +x_41 = lean_unbox(x_32); +lean_dec(x_32); +x_42 = l_Lean_Doc_given(x_18, x_40, x_41, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_ctor_set(x_35, 0, x_44); +lean_ctor_set(x_42, 0, x_35); +return x_42; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_42, 0); +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_42); +lean_ctor_set(x_35, 0, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +else +{ +uint8_t x_48; +lean_free_object(x_35); +lean_dec(x_38); +x_48 = !lean_is_exclusive(x_42); +if (x_48 == 0) +{ +return x_42; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_42, 0); +x_50 = lean_ctor_get(x_42, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_42); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_35, 1); +lean_inc(x_52); +lean_dec(x_35); +x_53 = lean_unbox(x_25); +lean_dec(x_25); +x_54 = lean_unbox(x_32); +lean_dec(x_32); +x_55 = l_Lean_Doc_given(x_18, x_53, x_54, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_52); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_52); +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_32); +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_65 = !lean_is_exclusive(x_34); +if (x_65 == 0) +{ +return x_34; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_34, 0); +x_67 = lean_ctor_get(x_34, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_34); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_69 = !lean_is_exclusive(x_29); +if (x_69 == 0) +{ +return x_29; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_29, 0); +x_71 = lean_ctor_get(x_29, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_29); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_73 = !lean_is_exclusive(x_22); +if (x_73 == 0) +{ +return x_22; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_22, 0); +x_75 = lean_ctor_get(x_22, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_22); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_77 = !lean_is_exclusive(x_15); +if (x_77 == 0) +{ +return x_15; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_15, 0); +x_79 = lean_ctor_get(x_15, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_15); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_given_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_given_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("given", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_given_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable(lean_object* x_1) { _start: { @@ -28399,7 +34439,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; uint8_t x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; uint8_t x_136; lean_object* x_137; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; lean_object* x_159; uint8_t x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; uint8_t x_100; lean_object* x_101; uint8_t x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; uint8_t x_136; lean_object* x_137; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_144; uint8_t x_157; uint8_t x_158; lean_object* x_159; uint8_t x_160; uint8_t x_161; uint8_t x_163; uint8_t x_178; x_157 = 2; x_178 = l_Lean_instBEqMessageSeverity_beq(x_3, x_157); if (x_178 == 0) @@ -28460,12 +34500,12 @@ x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_23); lean_ctor_set(x_31, 1, x_9); x_32 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_32, 0, x_10); -lean_ctor_set(x_32, 1, x_12); -lean_ctor_set(x_32, 2, x_14); -lean_ctor_set(x_32, 3, x_8); +lean_ctor_set(x_32, 0, x_8); +lean_ctor_set(x_32, 1, x_14); +lean_ctor_set(x_32, 2, x_13); +lean_ctor_set(x_32, 3, x_10); lean_ctor_set(x_32, 4, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_12); lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_32, sizeof(void*)*5 + 2, x_4); x_33 = l_Lean_MessageLog_add(x_32, x_30); @@ -28526,12 +34566,12 @@ x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_9); x_53 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_53, 0, x_10); -lean_ctor_set(x_53, 1, x_12); -lean_ctor_set(x_53, 2, x_14); -lean_ctor_set(x_53, 3, x_8); +lean_ctor_set(x_53, 0, x_8); +lean_ctor_set(x_53, 1, x_14); +lean_ctor_set(x_53, 2, x_13); +lean_ctor_set(x_53, 3, x_10); lean_ctor_set(x_53, 4, x_52); -lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_12); lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_53, sizeof(void*)*5 + 2, x_4); x_54 = l_Lean_MessageLog_add(x_53, x_42); @@ -28629,12 +34669,12 @@ x_78 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_9); x_79 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_79, 0, x_10); -lean_ctor_set(x_79, 1, x_12); -lean_ctor_set(x_79, 2, x_14); -lean_ctor_set(x_79, 3, x_8); +lean_ctor_set(x_79, 0, x_8); +lean_ctor_set(x_79, 1, x_14); +lean_ctor_set(x_79, 2, x_13); +lean_ctor_set(x_79, 3, x_10); lean_ctor_set(x_79, 4, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_12); lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_79, sizeof(void*)*5 + 2, x_4); x_80 = l_Lean_MessageLog_add(x_79, x_66); @@ -28680,8 +34720,8 @@ else { uint8_t x_87; lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_12); +lean_dec_ref(x_14); +lean_dec(x_13); lean_dec_ref(x_10); lean_dec_ref(x_9); lean_dec_ref(x_8); @@ -28708,8 +34748,8 @@ return x_90; else { uint8_t x_91; -lean_dec(x_14); -lean_dec_ref(x_12); +lean_dec_ref(x_14); +lean_dec(x_13); lean_dec_ref(x_10); lean_dec_ref(x_9); lean_dec_ref(x_8); @@ -28743,7 +34783,7 @@ lean_inc_ref(x_103); x_104 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); lean_dec_ref(x_5); x_105 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_106 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(x_105, x_6, x_97); +x_106 = l_Lean_addMessageContextPartial___at___Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__2_spec__2_spec__2___redArg(x_105, x_6, x_98); x_107 = !lean_is_exclusive(x_106); if (x_107 == 0) { @@ -28751,8 +34791,8 @@ lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; x_108 = lean_ctor_get(x_106, 0); x_109 = lean_ctor_get(x_106, 1); lean_inc_ref(x_103); -x_110 = l_Lean_FileMap_toPosition(x_103, x_98); -lean_dec(x_98); +x_110 = l_Lean_FileMap_toPosition(x_103, x_97); +lean_dec(x_97); x_111 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_112 = lean_alloc_ctor(1, 1, 0); @@ -28761,13 +34801,13 @@ x_113 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__ if (x_104 == 0) { lean_free_object(x_106); -x_8 = x_113; +x_8 = x_102; x_9 = x_108; -x_10 = x_102; -x_11 = x_99; -x_12 = x_110; -x_13 = x_100; -x_14 = x_112; +x_10 = x_113; +x_11 = x_100; +x_12 = x_99; +x_13 = x_112; +x_14 = x_110; x_15 = x_6; x_16 = x_109; goto block_95; @@ -28796,13 +34836,13 @@ return x_106; else { lean_free_object(x_106); -x_8 = x_113; +x_8 = x_102; x_9 = x_108; -x_10 = x_102; -x_11 = x_99; -x_12 = x_110; -x_13 = x_100; -x_14 = x_112; +x_10 = x_113; +x_11 = x_100; +x_12 = x_99; +x_13 = x_112; +x_14 = x_110; x_15 = x_6; x_16 = x_109; goto block_95; @@ -28818,8 +34858,8 @@ lean_inc(x_120); lean_inc(x_119); lean_dec(x_106); lean_inc_ref(x_103); -x_121 = l_Lean_FileMap_toPosition(x_103, x_98); -lean_dec(x_98); +x_121 = l_Lean_FileMap_toPosition(x_103, x_97); +lean_dec(x_97); x_122 = l_Lean_FileMap_toPosition(x_103, x_101); lean_dec(x_101); x_123 = lean_alloc_ctor(1, 1, 0); @@ -28827,13 +34867,13 @@ lean_ctor_set(x_123, 0, x_122); x_124 = l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_name_spec__27_spec__27___redArg___closed__0; if (x_104 == 0) { -x_8 = x_124; +x_8 = x_102; x_9 = x_119; -x_10 = x_102; -x_11 = x_99; -x_12 = x_121; -x_13 = x_100; -x_14 = x_123; +x_10 = x_124; +x_11 = x_100; +x_12 = x_99; +x_13 = x_123; +x_14 = x_121; x_15 = x_6; x_16 = x_120; goto block_95; @@ -28863,13 +34903,13 @@ return x_130; } else { -x_8 = x_124; +x_8 = x_102; x_9 = x_119; -x_10 = x_102; -x_11 = x_99; -x_12 = x_121; -x_13 = x_100; -x_14 = x_123; +x_10 = x_124; +x_11 = x_100; +x_12 = x_99; +x_13 = x_123; +x_14 = x_121; x_15 = x_6; x_16 = x_120; goto block_95; @@ -28880,16 +34920,16 @@ goto block_95; block_140: { lean_object* x_138; -x_138 = l_Lean_Syntax_getTailPos_x3f(x_134, x_136); -lean_dec(x_134); +x_138 = l_Lean_Syntax_getTailPos_x3f(x_133, x_136); +lean_dec(x_133); if (lean_obj_tag(x_138) == 0) { lean_inc(x_137); x_96 = x_132; -x_97 = x_133; -x_98 = x_137; -x_99 = x_135; -x_100 = x_136; +x_97 = x_137; +x_98 = x_134; +x_99 = x_136; +x_100 = x_135; x_101 = x_137; goto block_131; } @@ -28900,10 +34940,10 @@ x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); lean_dec_ref(x_138); x_96 = x_132; -x_97 = x_133; -x_98 = x_137; -x_99 = x_135; -x_100 = x_136; +x_97 = x_137; +x_98 = x_134; +x_99 = x_136; +x_100 = x_135; x_101 = x_139; goto block_131; } @@ -28928,8 +34968,8 @@ if (lean_obj_tag(x_149) == 0) lean_object* x_150; x_150 = lean_unsigned_to_nat(0u); x_132 = x_141; -x_133 = x_147; -x_134 = x_148; +x_133 = x_148; +x_134 = x_147; x_135 = x_144; x_136 = x_143; x_137 = x_150; @@ -28942,8 +34982,8 @@ x_151 = lean_ctor_get(x_149, 0); lean_inc(x_151); lean_dec_ref(x_149); x_132 = x_141; -x_133 = x_147; -x_134 = x_148; +x_133 = x_148; +x_134 = x_147; x_135 = x_144; x_136 = x_143; x_137 = x_151; @@ -29460,10 +35500,10 @@ block_9: lean_object* x_7; lean_object* x_8; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); +lean_ctor_set(x_7, 1, x_5); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 1, x_4); return x_8; } block_36: @@ -29499,8 +35539,8 @@ lean_object* x_29; lean_object* x_30; lean_dec_ref(x_27); x_29 = l_IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7___redArg___closed__4; x_30 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__7_spec__9(x_29); -x_4 = x_22; -x_5 = x_26; +x_4 = x_26; +x_5 = x_22; x_6 = x_30; goto block_9; } @@ -29509,8 +35549,8 @@ else lean_object* x_31; x_31 = lean_string_from_utf8_unchecked(x_27); lean_dec_ref(x_27); -x_4 = x_22; -x_5 = x_26; +x_4 = x_26; +x_5 = x_22; x_6 = x_31; goto block_9; } @@ -33704,14 +39744,14 @@ lean_object* x_63; lean_object* x_64; x_63 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_63, 0, x_54); lean_ctor_set(x_63, 1, x_62); -lean_inc(x_57); -lean_inc_ref(x_60); -lean_inc(x_59); +lean_inc(x_61); +lean_inc_ref(x_49); +lean_inc(x_50); +lean_inc_ref(x_59); +lean_inc(x_58); lean_inc_ref(x_56); -lean_inc(x_49); -lean_inc_ref(x_53); -x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_58, x_63, x_52, x_61, x_55, x_53, x_49, x_56, x_59, x_60, x_57, x_51); -lean_dec(x_58); +x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_52, x_63, x_55, x_60, x_57, x_56, x_58, x_59, x_50, x_49, x_61, x_51); +lean_dec(x_52); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -33722,20 +39762,20 @@ lean_inc(x_66); lean_dec_ref(x_64); lean_inc(x_5); lean_inc(x_4); -x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_50, x_65, x_52, x_61, x_55, x_53, x_49, x_56, x_59, x_60, x_57, x_66); +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_53, x_65, x_55, x_60, x_57, x_56, x_58, x_59, x_50, x_49, x_61, x_66); x_23 = x_67; goto block_40; } else { uint8_t x_68; -lean_dec_ref(x_60); -lean_dec(x_59); -lean_dec(x_57); +lean_dec(x_61); +lean_dec_ref(x_59); +lean_dec(x_58); lean_dec_ref(x_56); lean_dec_ref(x_53); -lean_dec_ref(x_50); -lean_dec(x_49); +lean_dec(x_50); +lean_dec_ref(x_49); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); @@ -33768,25 +39808,25 @@ return x_71; block_112: { lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_85 = lean_ctor_get(x_80, 0); -x_86 = lean_ctor_get(x_80, 1); -x_87 = lean_ctor_get(x_80, 2); -x_88 = lean_ctor_get(x_80, 3); -x_89 = lean_ctor_get(x_80, 4); -x_90 = lean_ctor_get(x_80, 5); -x_91 = lean_ctor_get(x_80, 6); -x_92 = lean_ctor_get(x_80, 7); -x_93 = lean_ctor_get(x_80, 8); -x_94 = lean_ctor_get(x_80, 9); -x_95 = lean_ctor_get(x_80, 10); -x_96 = lean_ctor_get(x_80, 11); -x_97 = lean_ctor_get_uint8(x_80, sizeof(void*)*14); -x_98 = lean_ctor_get(x_80, 12); -x_99 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); -x_100 = lean_ctor_get(x_80, 13); +x_85 = lean_ctor_get(x_73, 0); +x_86 = lean_ctor_get(x_73, 1); +x_87 = lean_ctor_get(x_73, 2); +x_88 = lean_ctor_get(x_73, 3); +x_89 = lean_ctor_get(x_73, 4); +x_90 = lean_ctor_get(x_73, 5); +x_91 = lean_ctor_get(x_73, 6); +x_92 = lean_ctor_get(x_73, 7); +x_93 = lean_ctor_get(x_73, 8); +x_94 = lean_ctor_get(x_73, 9); +x_95 = lean_ctor_get(x_73, 10); +x_96 = lean_ctor_get(x_73, 11); +x_97 = lean_ctor_get_uint8(x_73, sizeof(void*)*14); +x_98 = lean_ctor_get(x_73, 12); +x_99 = lean_ctor_get_uint8(x_73, sizeof(void*)*14 + 1); +x_100 = lean_ctor_get(x_73, 13); x_101 = 0; -x_102 = l_Lean_replaceRef(x_77, x_90); -lean_dec(x_77); +x_102 = l_Lean_replaceRef(x_79, x_90); +lean_dec(x_79); lean_inc_ref(x_100); lean_inc(x_98); lean_inc(x_96); @@ -33817,12 +39857,12 @@ lean_ctor_set(x_103, 12, x_98); lean_ctor_set(x_103, 13, x_100); lean_ctor_set_uint8(x_103, sizeof(void*)*14, x_97); lean_ctor_set_uint8(x_103, sizeof(void*)*14 + 1, x_99); -lean_inc(x_75); -lean_inc(x_79); -lean_inc_ref(x_76); -lean_inc(x_73); +lean_inc(x_81); +lean_inc(x_76); +lean_inc_ref(x_77); +lean_inc(x_74); lean_inc_ref(x_84); -x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_74, x_84, x_73, x_76, x_79, x_103, x_75, x_78); +x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_75, x_84, x_74, x_77, x_76, x_103, x_81, x_83); if (lean_obj_tag(x_104) == 0) { lean_object* x_105; lean_object* x_106; lean_object* x_107; @@ -33833,7 +39873,7 @@ lean_inc(x_106); lean_dec_ref(x_104); lean_inc(x_5); lean_inc(x_4); -x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_82, x_105, x_83, x_81, x_74, x_84, x_73, x_76, x_79, x_80, x_75, x_106); +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_80, x_105, x_82, x_78, x_75, x_84, x_74, x_77, x_76, x_73, x_81, x_106); x_23 = x_107; goto block_40; } @@ -33841,12 +39881,12 @@ else { uint8_t x_108; lean_dec_ref(x_84); -lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec_ref(x_76); -lean_dec(x_75); -lean_dec(x_73); +lean_dec_ref(x_77); +lean_dec(x_76); +lean_dec(x_74); +lean_dec_ref(x_73); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); @@ -33880,10 +39920,10 @@ block_140: { if (x_125 == 0) { -x_73 = x_114; -x_74 = x_113; -x_75 = x_116; -x_76 = x_115; +x_73 = x_113; +x_74 = x_115; +x_75 = x_114; +x_76 = x_116; x_77 = x_117; x_78 = x_119; x_79 = x_118; @@ -33899,13 +39939,13 @@ else lean_object* x_126; lean_object* x_127; lean_object* x_128; x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; +lean_inc(x_121); +lean_inc_ref(x_113); lean_inc(x_116); -lean_inc_ref(x_120); -lean_inc(x_118); -lean_inc_ref(x_115); -lean_inc(x_114); +lean_inc_ref(x_117); +lean_inc(x_115); lean_inc_ref(x_123); -x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_113, x_123, x_114, x_115, x_118, x_120, x_116, x_119); +x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_114, x_123, x_115, x_117, x_116, x_113, x_121, x_124); if (lean_obj_tag(x_128) == 0) { lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; @@ -33923,18 +39963,18 @@ if (lean_obj_tag(x_129) == 0) { lean_object* x_134; x_134 = l_Lean_Doc_attr___closed__5; -x_49 = x_114; -x_50 = x_122; +x_49 = x_113; +x_50 = x_116; x_51 = x_130; -x_52 = x_124; -x_53 = x_123; +x_52 = x_118; +x_53 = x_120; x_54 = x_133; -x_55 = x_113; -x_56 = x_115; -x_57 = x_116; -x_58 = x_117; -x_59 = x_118; -x_60 = x_120; +x_55 = x_122; +x_56 = x_123; +x_57 = x_114; +x_58 = x_115; +x_59 = x_117; +x_60 = x_119; x_61 = x_121; x_62 = x_134; goto block_72; @@ -33945,18 +39985,18 @@ lean_object* x_135; x_135 = lean_ctor_get(x_129, 0); lean_inc(x_135); lean_dec_ref(x_129); -x_49 = x_114; -x_50 = x_122; +x_49 = x_113; +x_50 = x_116; x_51 = x_130; -x_52 = x_124; -x_53 = x_123; +x_52 = x_118; +x_53 = x_120; x_54 = x_133; -x_55 = x_113; -x_56 = x_115; -x_57 = x_116; -x_58 = x_117; -x_59 = x_118; -x_60 = x_120; +x_55 = x_122; +x_56 = x_123; +x_57 = x_114; +x_58 = x_115; +x_59 = x_117; +x_60 = x_119; x_61 = x_121; x_62 = x_135; goto block_72; @@ -33966,13 +40006,13 @@ else { uint8_t x_136; lean_dec_ref(x_123); -lean_dec_ref(x_122); +lean_dec(x_121); lean_dec_ref(x_120); lean_dec(x_118); -lean_dec(x_117); +lean_dec_ref(x_117); lean_dec(x_116); -lean_dec_ref(x_115); -lean_dec(x_114); +lean_dec(x_115); +lean_dec_ref(x_113); lean_dec(x_48); lean_dec(x_21); lean_dec_ref(x_20); @@ -34011,17 +40051,17 @@ x_153 = 1; x_154 = l_Lean_instBEqMessageSeverity_beq(x_46, x_153); if (x_154 == 0) { -x_73 = x_147; -x_74 = x_145; -x_75 = x_151; -x_76 = x_148; -x_77 = x_141; -x_78 = x_152; -x_79 = x_149; -x_80 = x_150; -x_81 = x_144; -x_82 = x_142; -x_83 = x_143; +x_73 = x_150; +x_74 = x_147; +x_75 = x_145; +x_76 = x_149; +x_77 = x_148; +x_78 = x_144; +x_79 = x_141; +x_80 = x_142; +x_81 = x_151; +x_82 = x_143; +x_83 = x_152; x_84 = x_146; goto block_112; } @@ -34029,35 +40069,35 @@ else { if (x_6 == 0) { -x_113 = x_145; -x_114 = x_147; -x_115 = x_148; -x_116 = x_151; -x_117 = x_141; -x_118 = x_149; -x_119 = x_152; -x_120 = x_150; -x_121 = x_144; -x_122 = x_142; +x_113 = x_150; +x_114 = x_145; +x_115 = x_147; +x_116 = x_149; +x_117 = x_148; +x_118 = x_141; +x_119 = x_144; +x_120 = x_142; +x_121 = x_151; +x_122 = x_143; x_123 = x_146; -x_124 = x_143; +x_124 = x_152; x_125 = x_154; goto block_140; } else { -x_113 = x_145; -x_114 = x_147; -x_115 = x_148; -x_116 = x_151; -x_117 = x_141; -x_118 = x_149; -x_119 = x_152; -x_120 = x_150; -x_121 = x_144; -x_122 = x_142; +x_113 = x_150; +x_114 = x_145; +x_115 = x_147; +x_116 = x_149; +x_117 = x_148; +x_118 = x_141; +x_119 = x_144; +x_120 = x_142; +x_121 = x_151; +x_122 = x_143; x_123 = x_146; -x_124 = x_143; +x_124 = x_152; x_125 = x_47; goto block_140; } @@ -34069,44 +40109,44 @@ lean_object* x_170; lean_object* x_171; x_170 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_170, 0, x_156); lean_ctor_set(x_170, 1, x_169); -lean_inc(x_163); -lean_inc_ref(x_160); -lean_inc(x_159); -lean_inc_ref(x_168); -lean_inc(x_157); +lean_inc(x_168); +lean_inc_ref(x_164); +lean_inc(x_160); +lean_inc_ref(x_163); +lean_inc(x_165); lean_inc_ref(x_162); -x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_164, x_170, x_165, x_161, x_167, x_162, x_157, x_168, x_159, x_160, x_163, x_166); +x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_158, x_170, x_166, x_157, x_167, x_162, x_165, x_163, x_160, x_164, x_168, x_161); if (lean_obj_tag(x_171) == 0) { lean_object* x_172; x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); lean_dec_ref(x_171); -x_141 = x_164; -x_142 = x_158; -x_143 = x_165; -x_144 = x_161; +x_141 = x_158; +x_142 = x_159; +x_143 = x_166; +x_144 = x_157; x_145 = x_167; x_146 = x_162; -x_147 = x_157; -x_148 = x_168; -x_149 = x_159; -x_150 = x_160; -x_151 = x_163; +x_147 = x_165; +x_148 = x_163; +x_149 = x_160; +x_150 = x_164; +x_151 = x_168; x_152 = x_172; goto block_155; } else { uint8_t x_173; -lean_dec_ref(x_168); -lean_dec(x_164); -lean_dec(x_163); +lean_dec(x_168); +lean_dec(x_165); +lean_dec_ref(x_164); +lean_dec_ref(x_163); lean_dec_ref(x_162); -lean_dec_ref(x_160); -lean_dec(x_159); -lean_dec_ref(x_158); -lean_dec(x_157); +lean_dec(x_160); +lean_dec_ref(x_159); +lean_dec(x_158); lean_dec(x_48); lean_dec(x_21); lean_dec_ref(x_20); @@ -34141,18 +40181,18 @@ block_205: { if (x_190 == 0) { -x_141 = x_183; -x_142 = x_186; -x_143 = x_184; +x_141 = x_182; +x_142 = x_183; +x_143 = x_188; x_144 = x_181; -x_145 = x_188; +x_145 = x_187; x_146 = x_180; x_147 = x_185; -x_148 = x_189; -x_149 = x_187; +x_148 = x_179; +x_149 = x_184; x_150 = x_178; -x_151 = x_179; -x_152 = x_182; +x_151 = x_186; +x_152 = x_189; goto block_155; } else @@ -34160,13 +40200,13 @@ else lean_object* x_191; lean_object* x_192; lean_object* x_193; x_191 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; x_192 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; -lean_inc(x_179); +lean_inc(x_186); lean_inc_ref(x_178); -lean_inc(x_187); -lean_inc_ref(x_189); +lean_inc(x_184); +lean_inc_ref(x_179); lean_inc(x_185); lean_inc_ref(x_180); -x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_188, x_180, x_185, x_189, x_187, x_178, x_179, x_182); +x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_187, x_180, x_185, x_179, x_184, x_178, x_186, x_189); if (lean_obj_tag(x_193) == 0) { lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; @@ -34186,18 +40226,18 @@ if (lean_obj_tag(x_194) == 0) lean_object* x_199; x_199 = l_Lean_Doc_attr___closed__5; x_156 = x_198; -x_157 = x_185; -x_158 = x_186; -x_159 = x_187; -x_160 = x_178; -x_161 = x_181; +x_157 = x_181; +x_158 = x_182; +x_159 = x_183; +x_160 = x_184; +x_161 = x_195; x_162 = x_180; x_163 = x_179; -x_164 = x_183; -x_165 = x_184; -x_166 = x_195; -x_167 = x_188; -x_168 = x_189; +x_164 = x_178; +x_165 = x_185; +x_166 = x_188; +x_167 = x_187; +x_168 = x_186; x_169 = x_199; goto block_177; } @@ -34208,18 +40248,18 @@ x_200 = lean_ctor_get(x_194, 0); lean_inc(x_200); lean_dec_ref(x_194); x_156 = x_198; -x_157 = x_185; -x_158 = x_186; -x_159 = x_187; -x_160 = x_178; -x_161 = x_181; +x_157 = x_181; +x_158 = x_182; +x_159 = x_183; +x_160 = x_184; +x_161 = x_195; x_162 = x_180; x_163 = x_179; -x_164 = x_183; -x_165 = x_184; -x_166 = x_195; -x_167 = x_188; -x_168 = x_189; +x_164 = x_178; +x_165 = x_185; +x_166 = x_188; +x_167 = x_187; +x_168 = x_186; x_169 = x_200; goto block_177; } @@ -34227,13 +40267,13 @@ goto block_177; else { uint8_t x_201; -lean_dec_ref(x_189); -lean_dec(x_187); -lean_dec_ref(x_186); +lean_dec(x_186); lean_dec(x_185); -lean_dec(x_183); +lean_dec(x_184); +lean_dec_ref(x_183); +lean_dec(x_182); lean_dec_ref(x_180); -lean_dec(x_179); +lean_dec_ref(x_179); lean_dec_ref(x_178); lean_dec(x_48); lean_dec(x_21); @@ -34292,34 +40332,34 @@ else if (x_7 == 0) { x_178 = x_215; -x_179 = x_216; +x_179 = x_213; x_180 = x_211; x_181 = x_209; -x_182 = x_217; -x_183 = x_206; -x_184 = x_208; +x_182 = x_206; +x_183 = x_207; +x_184 = x_214; x_185 = x_212; -x_186 = x_207; -x_187 = x_214; -x_188 = x_210; -x_189 = x_213; +x_186 = x_216; +x_187 = x_210; +x_188 = x_208; +x_189 = x_217; x_190 = x_219; goto block_205; } else { x_178 = x_215; -x_179 = x_216; +x_179 = x_213; x_180 = x_211; x_181 = x_209; -x_182 = x_217; -x_183 = x_206; -x_184 = x_208; +x_182 = x_206; +x_183 = x_207; +x_184 = x_214; x_185 = x_212; -x_186 = x_207; -x_187 = x_214; -x_188 = x_210; -x_189 = x_213; +x_186 = x_216; +x_187 = x_210; +x_188 = x_208; +x_189 = x_217; x_190 = x_47; goto block_205; } @@ -34618,16 +40658,16 @@ block_72: { lean_object* x_63; lean_object* x_64; x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_63, 0, x_53); lean_ctor_set(x_63, 1, x_62); -lean_inc(x_49); +lean_inc(x_59); +lean_inc_ref(x_60); +lean_inc(x_50); +lean_inc_ref(x_61); +lean_inc(x_55); lean_inc_ref(x_54); -lean_inc(x_53); -lean_inc_ref(x_55); -lean_inc(x_52); -lean_inc_ref(x_58); -x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_60, x_63, x_57, x_50, x_51, x_58, x_52, x_55, x_53, x_54, x_49, x_59); -lean_dec(x_60); +x_64 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_51, x_63, x_58, x_57, x_49, x_54, x_55, x_61, x_50, x_60, x_59, x_52); +lean_dec(x_51); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -34638,7 +40678,7 @@ lean_inc(x_66); lean_dec_ref(x_64); lean_inc(x_5); lean_inc(x_4); -x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_61, x_65, x_57, x_50, x_51, x_58, x_52, x_55, x_53, x_54, x_49, x_66); +x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_56, x_65, x_58, x_57, x_49, x_54, x_55, x_61, x_50, x_60, x_59, x_66); x_23 = x_67; goto block_40; } @@ -34646,12 +40686,12 @@ else { uint8_t x_68; lean_dec_ref(x_61); -lean_dec_ref(x_58); -lean_dec_ref(x_55); +lean_dec_ref(x_60); +lean_dec(x_59); +lean_dec_ref(x_56); +lean_dec(x_55); lean_dec_ref(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_49); +lean_dec(x_50); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); @@ -34684,25 +40724,25 @@ return x_71; block_112: { lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_85 = lean_ctor_get(x_80, 0); -x_86 = lean_ctor_get(x_80, 1); -x_87 = lean_ctor_get(x_80, 2); -x_88 = lean_ctor_get(x_80, 3); -x_89 = lean_ctor_get(x_80, 4); -x_90 = lean_ctor_get(x_80, 5); -x_91 = lean_ctor_get(x_80, 6); -x_92 = lean_ctor_get(x_80, 7); -x_93 = lean_ctor_get(x_80, 8); -x_94 = lean_ctor_get(x_80, 9); -x_95 = lean_ctor_get(x_80, 10); -x_96 = lean_ctor_get(x_80, 11); -x_97 = lean_ctor_get_uint8(x_80, sizeof(void*)*14); -x_98 = lean_ctor_get(x_80, 12); -x_99 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); -x_100 = lean_ctor_get(x_80, 13); +x_85 = lean_ctor_get(x_82, 0); +x_86 = lean_ctor_get(x_82, 1); +x_87 = lean_ctor_get(x_82, 2); +x_88 = lean_ctor_get(x_82, 3); +x_89 = lean_ctor_get(x_82, 4); +x_90 = lean_ctor_get(x_82, 5); +x_91 = lean_ctor_get(x_82, 6); +x_92 = lean_ctor_get(x_82, 7); +x_93 = lean_ctor_get(x_82, 8); +x_94 = lean_ctor_get(x_82, 9); +x_95 = lean_ctor_get(x_82, 10); +x_96 = lean_ctor_get(x_82, 11); +x_97 = lean_ctor_get_uint8(x_82, sizeof(void*)*14); +x_98 = lean_ctor_get(x_82, 12); +x_99 = lean_ctor_get_uint8(x_82, sizeof(void*)*14 + 1); +x_100 = lean_ctor_get(x_82, 13); x_101 = 0; -x_102 = l_Lean_replaceRef(x_79, x_90); -lean_dec(x_79); +x_102 = l_Lean_replaceRef(x_77, x_90); +lean_dec(x_77); lean_inc_ref(x_100); lean_inc(x_98); lean_inc(x_96); @@ -34733,12 +40773,12 @@ lean_ctor_set(x_103, 12, x_98); lean_ctor_set(x_103, 13, x_100); lean_ctor_set_uint8(x_103, sizeof(void*)*14, x_97); lean_ctor_set_uint8(x_103, sizeof(void*)*14 + 1, x_99); -lean_inc(x_73); -lean_inc(x_78); -lean_inc_ref(x_81); -lean_inc(x_77); -lean_inc_ref(x_74); -x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_76, x_74, x_77, x_81, x_78, x_103, x_73, x_84); +lean_inc(x_76); +lean_inc(x_74); +lean_inc_ref(x_83); +lean_inc(x_79); +lean_inc_ref(x_80); +x_104 = l_Lean_log___at___Lean_logError___at___Lean_Doc_parseStrLit_x27___at___Lean_Doc_option_spec__5_spec__5_spec__5___redArg(x_48, x_101, x_3, x_75, x_80, x_79, x_83, x_74, x_103, x_76, x_78); if (lean_obj_tag(x_104) == 0) { lean_object* x_105; lean_object* x_106; lean_object* x_107; @@ -34749,7 +40789,7 @@ lean_inc(x_106); lean_dec_ref(x_104); lean_inc(x_5); lean_inc(x_4); -x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_83, x_105, x_82, x_75, x_76, x_74, x_77, x_81, x_78, x_80, x_73, x_106); +x_107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___lam__2(x_4, x_5, x_81, x_105, x_73, x_84, x_75, x_80, x_79, x_83, x_74, x_82, x_76, x_106); x_23 = x_107; goto block_40; } @@ -34757,12 +40797,12 @@ else { uint8_t x_108; lean_dec_ref(x_83); +lean_dec_ref(x_82); lean_dec_ref(x_81); lean_dec_ref(x_80); -lean_dec(x_78); -lean_dec(x_77); -lean_dec_ref(x_74); -lean_dec(x_73); +lean_dec(x_79); +lean_dec(x_76); +lean_dec(x_74); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); @@ -34796,17 +40836,17 @@ block_140: { if (x_125 == 0) { -x_73 = x_114; -x_74 = x_113; -x_75 = x_115; +x_73 = x_113; +x_74 = x_115; +x_75 = x_114; x_76 = x_116; x_77 = x_117; -x_78 = x_120; -x_79 = x_119; -x_80 = x_118; -x_81 = x_121; -x_82 = x_123; -x_83 = x_122; +x_78 = x_118; +x_79 = x_120; +x_80 = x_119; +x_81 = x_122; +x_82 = x_121; +x_83 = x_123; x_84 = x_124; goto block_112; } @@ -34815,13 +40855,13 @@ else lean_object* x_126; lean_object* x_127; lean_object* x_128; x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__1; x_127 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__4; -lean_inc(x_114); -lean_inc_ref(x_118); -lean_inc(x_120); +lean_inc(x_116); lean_inc_ref(x_121); -lean_inc(x_117); -lean_inc_ref(x_113); -x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_116, x_113, x_117, x_121, x_120, x_118, x_114, x_124); +lean_inc(x_115); +lean_inc_ref(x_123); +lean_inc(x_120); +lean_inc_ref(x_119); +x_128 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_126, x_127, x_114, x_119, x_120, x_123, x_115, x_121, x_116, x_118); if (lean_obj_tag(x_128) == 0) { lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; @@ -34841,17 +40881,17 @@ lean_object* x_134; x_134 = l_Lean_Doc_attr___closed__5; x_49 = x_114; x_50 = x_115; -x_51 = x_116; -x_52 = x_117; -x_53 = x_120; -x_54 = x_118; -x_55 = x_121; -x_56 = x_133; -x_57 = x_123; +x_51 = x_117; +x_52 = x_130; +x_53 = x_133; +x_54 = x_119; +x_55 = x_120; +x_56 = x_122; +x_57 = x_124; x_58 = x_113; -x_59 = x_130; -x_60 = x_119; -x_61 = x_122; +x_59 = x_116; +x_60 = x_121; +x_61 = x_123; x_62 = x_134; goto block_72; } @@ -34863,17 +40903,17 @@ lean_inc(x_135); lean_dec_ref(x_129); x_49 = x_114; x_50 = x_115; -x_51 = x_116; -x_52 = x_117; -x_53 = x_120; -x_54 = x_118; -x_55 = x_121; -x_56 = x_133; -x_57 = x_123; +x_51 = x_117; +x_52 = x_130; +x_53 = x_133; +x_54 = x_119; +x_55 = x_120; +x_56 = x_122; +x_57 = x_124; x_58 = x_113; -x_59 = x_130; -x_60 = x_119; -x_61 = x_122; +x_59 = x_116; +x_60 = x_121; +x_61 = x_123; x_62 = x_135; goto block_72; } @@ -34881,14 +40921,14 @@ goto block_72; else { uint8_t x_136; +lean_dec_ref(x_123); lean_dec_ref(x_122); lean_dec_ref(x_121); lean_dec(x_120); -lean_dec(x_119); -lean_dec_ref(x_118); +lean_dec_ref(x_119); lean_dec(x_117); -lean_dec(x_114); -lean_dec_ref(x_113); +lean_dec(x_116); +lean_dec(x_115); lean_dec(x_48); lean_dec(x_21); lean_dec_ref(x_20); @@ -34927,53 +40967,53 @@ x_153 = 1; x_154 = l_Lean_instBEqMessageSeverity_beq(x_46, x_153); if (x_154 == 0) { -x_73 = x_151; -x_74 = x_146; -x_75 = x_144; -x_76 = x_145; -x_77 = x_147; -x_78 = x_149; -x_79 = x_141; -x_80 = x_150; -x_81 = x_148; -x_82 = x_143; -x_83 = x_142; -x_84 = x_152; +x_73 = x_143; +x_74 = x_149; +x_75 = x_145; +x_76 = x_151; +x_77 = x_141; +x_78 = x_152; +x_79 = x_147; +x_80 = x_146; +x_81 = x_142; +x_82 = x_150; +x_83 = x_148; +x_84 = x_144; goto block_112; } else { if (x_6 == 0) { -x_113 = x_146; -x_114 = x_151; -x_115 = x_144; -x_116 = x_145; -x_117 = x_147; -x_118 = x_150; -x_119 = x_141; -x_120 = x_149; -x_121 = x_148; +x_113 = x_143; +x_114 = x_145; +x_115 = x_149; +x_116 = x_151; +x_117 = x_141; +x_118 = x_152; +x_119 = x_146; +x_120 = x_147; +x_121 = x_150; x_122 = x_142; -x_123 = x_143; -x_124 = x_152; +x_123 = x_148; +x_124 = x_144; x_125 = x_154; goto block_140; } else { -x_113 = x_146; -x_114 = x_151; -x_115 = x_144; -x_116 = x_145; -x_117 = x_147; -x_118 = x_150; -x_119 = x_141; -x_120 = x_149; -x_121 = x_148; +x_113 = x_143; +x_114 = x_145; +x_115 = x_149; +x_116 = x_151; +x_117 = x_141; +x_118 = x_152; +x_119 = x_146; +x_120 = x_147; +x_121 = x_150; x_122 = x_142; -x_123 = x_143; -x_124 = x_152; +x_123 = x_148; +x_124 = x_144; x_125 = x_47; goto block_140; } @@ -34983,46 +41023,46 @@ block_177: { lean_object* x_170; lean_object* x_171; x_170 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_170, 0, x_156); +lean_ctor_set(x_170, 0, x_164); lean_ctor_set(x_170, 1, x_169); -lean_inc(x_166); -lean_inc_ref(x_164); +lean_inc(x_162); +lean_inc_ref(x_158); lean_inc(x_163); -lean_inc_ref(x_165); -lean_inc(x_160); -lean_inc_ref(x_161); -x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_167, x_170, x_157, x_158, x_162, x_161, x_160, x_165, x_163, x_164, x_166, x_159); +lean_inc_ref(x_167); +lean_inc(x_165); +lean_inc_ref(x_160); +x_171 = l_Lean_logErrorAt___at___Lean_Doc_name_spec__27(x_157, x_170, x_166, x_156, x_159, x_160, x_165, x_167, x_163, x_158, x_162, x_168); if (lean_obj_tag(x_171) == 0) { lean_object* x_172; x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); lean_dec_ref(x_171); -x_141 = x_167; -x_142 = x_168; -x_143 = x_157; -x_144 = x_158; -x_145 = x_162; -x_146 = x_161; -x_147 = x_160; -x_148 = x_165; +x_141 = x_157; +x_142 = x_161; +x_143 = x_166; +x_144 = x_156; +x_145 = x_159; +x_146 = x_160; +x_147 = x_165; +x_148 = x_167; x_149 = x_163; -x_150 = x_164; -x_151 = x_166; +x_150 = x_158; +x_151 = x_162; x_152 = x_172; goto block_155; } else { uint8_t x_173; -lean_dec_ref(x_168); -lean_dec(x_167); -lean_dec(x_166); -lean_dec_ref(x_165); -lean_dec_ref(x_164); +lean_dec_ref(x_167); +lean_dec(x_165); lean_dec(x_163); +lean_dec(x_162); lean_dec_ref(x_161); -lean_dec(x_160); +lean_dec_ref(x_160); +lean_dec_ref(x_158); +lean_dec(x_157); lean_dec(x_48); lean_dec(x_21); lean_dec_ref(x_20); @@ -35057,18 +41097,18 @@ block_205: { if (x_190 == 0) { -x_141 = x_187; -x_142 = x_188; -x_143 = x_181; -x_144 = x_180; -x_145 = x_179; -x_146 = x_189; -x_147 = x_185; -x_148 = x_184; -x_149 = x_178; -x_150 = x_183; -x_151 = x_186; -x_152 = x_182; +x_141 = x_179; +x_142 = x_186; +x_143 = x_185; +x_144 = x_178; +x_145 = x_184; +x_146 = x_183; +x_147 = x_182; +x_148 = x_189; +x_149 = x_188; +x_150 = x_181; +x_151 = x_187; +x_152 = x_180; goto block_155; } else @@ -35076,13 +41116,13 @@ else lean_object* x_191; lean_object* x_192; lean_object* x_193; x_191 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__8; x_192 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_lean_spec__9_spec__9___closed__10; -lean_inc(x_186); -lean_inc_ref(x_183); -lean_inc(x_178); -lean_inc_ref(x_184); -lean_inc(x_185); +lean_inc(x_187); +lean_inc_ref(x_181); +lean_inc(x_188); lean_inc_ref(x_189); -x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_179, x_189, x_185, x_184, x_178, x_183, x_186, x_182); +lean_inc(x_182); +lean_inc_ref(x_183); +x_193 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_191, x_192, x_184, x_183, x_182, x_189, x_188, x_181, x_187, x_180); if (lean_obj_tag(x_193) == 0) { lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; @@ -35101,19 +41141,19 @@ if (lean_obj_tag(x_194) == 0) { lean_object* x_199; x_199 = l_Lean_Doc_attr___closed__5; -x_156 = x_198; -x_157 = x_181; -x_158 = x_180; -x_159 = x_195; -x_160 = x_185; -x_161 = x_189; -x_162 = x_179; -x_163 = x_178; -x_164 = x_183; -x_165 = x_184; -x_166 = x_186; -x_167 = x_187; -x_168 = x_188; +x_156 = x_178; +x_157 = x_179; +x_158 = x_181; +x_159 = x_184; +x_160 = x_183; +x_161 = x_186; +x_162 = x_187; +x_163 = x_188; +x_164 = x_198; +x_165 = x_182; +x_166 = x_185; +x_167 = x_189; +x_168 = x_195; x_169 = x_199; goto block_177; } @@ -35123,19 +41163,19 @@ lean_object* x_200; x_200 = lean_ctor_get(x_194, 0); lean_inc(x_200); lean_dec_ref(x_194); -x_156 = x_198; -x_157 = x_181; -x_158 = x_180; -x_159 = x_195; -x_160 = x_185; -x_161 = x_189; -x_162 = x_179; -x_163 = x_178; -x_164 = x_183; -x_165 = x_184; -x_166 = x_186; -x_167 = x_187; -x_168 = x_188; +x_156 = x_178; +x_157 = x_179; +x_158 = x_181; +x_159 = x_184; +x_160 = x_183; +x_161 = x_186; +x_162 = x_187; +x_163 = x_188; +x_164 = x_198; +x_165 = x_182; +x_166 = x_185; +x_167 = x_189; +x_168 = x_195; x_169 = x_200; goto block_177; } @@ -35144,13 +41184,13 @@ else { uint8_t x_201; lean_dec_ref(x_189); -lean_dec_ref(x_188); +lean_dec(x_188); lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_185); -lean_dec_ref(x_184); +lean_dec_ref(x_186); lean_dec_ref(x_183); -lean_dec(x_178); +lean_dec(x_182); +lean_dec_ref(x_181); +lean_dec(x_179); lean_dec(x_48); lean_dec(x_21); lean_dec_ref(x_20); @@ -35207,35 +41247,35 @@ else { if (x_7 == 0) { -x_178 = x_214; -x_179 = x_210; -x_180 = x_209; -x_181 = x_208; -x_182 = x_217; -x_183 = x_215; -x_184 = x_213; -x_185 = x_212; -x_186 = x_216; -x_187 = x_206; -x_188 = x_207; -x_189 = x_211; +x_178 = x_209; +x_179 = x_206; +x_180 = x_217; +x_181 = x_215; +x_182 = x_212; +x_183 = x_211; +x_184 = x_210; +x_185 = x_208; +x_186 = x_207; +x_187 = x_216; +x_188 = x_214; +x_189 = x_213; x_190 = x_219; goto block_205; } else { -x_178 = x_214; -x_179 = x_210; -x_180 = x_209; -x_181 = x_208; -x_182 = x_217; -x_183 = x_215; -x_184 = x_213; -x_185 = x_212; -x_186 = x_216; -x_187 = x_206; -x_188 = x_207; -x_189 = x_211; +x_178 = x_209; +x_179 = x_206; +x_180 = x_217; +x_181 = x_215; +x_182 = x_212; +x_183 = x_211; +x_184 = x_210; +x_185 = x_208; +x_186 = x_207; +x_187 = x_216; +x_188 = x_214; +x_189 = x_213; x_190 = x_47; goto block_205; } @@ -37143,6 +43183,487 @@ lean_dec(x_5); return x_19; } } +static lean_object* _init_l_Lean_Doc_lean_getArgs___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_lean_getArgs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("error", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_lean_getArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_lean_getArgs___closed__1; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_lean_getArgs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("warning", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_lean_getArgs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_lean_getArgs___closed__3; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lean_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_lean_getArgs___closed__0; +x_14 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_lean_getArgs___closed__2; +x_21 = 0; +x_22 = l_Lean_Doc_getFlag(x_20, x_21, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = l_Lean_Doc_lean_getArgs___closed__4; +x_28 = l_Lean_Doc_getFlag(x_27, x_21, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec_ref(x_28); +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Doc_given_getArgs___closed__5; +x_34 = l_Lean_Doc_getFlag(x_33, x_21, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec_ref(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_39 = l_Lean_Doc_done(x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec_ref(x_39); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; +x_43 = lean_ctor_get(x_40, 1); +x_44 = lean_ctor_get(x_40, 0); +lean_dec(x_44); +x_45 = lean_unbox(x_25); +lean_dec(x_25); +x_46 = lean_unbox(x_31); +lean_dec(x_31); +x_47 = lean_unbox(x_37); +lean_dec(x_37); +x_48 = l_Lean_Doc_lean(x_18, x_45, x_46, x_47, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_ctor_set(x_40, 0, x_50); +lean_ctor_set(x_48, 0, x_40); +return x_48; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_48, 0); +x_52 = lean_ctor_get(x_48, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_48); +lean_ctor_set(x_40, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_40); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +uint8_t x_54; +lean_free_object(x_40); +lean_dec(x_43); +x_54 = !lean_is_exclusive(x_48); +if (x_54 == 0) +{ +return x_48; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_48); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +lean_object* x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; +x_58 = lean_ctor_get(x_40, 1); +lean_inc(x_58); +lean_dec(x_40); +x_59 = lean_unbox(x_25); +lean_dec(x_25); +x_60 = lean_unbox(x_31); +lean_dec(x_31); +x_61 = lean_unbox(x_37); +lean_dec(x_37); +x_62 = l_Lean_Doc_lean(x_18, x_59, x_60, x_61, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_65 = x_62; +} else { + lean_dec_ref(x_62); + x_65 = lean_box(0); +} +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_58); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_64); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_58); +x_68 = lean_ctor_get(x_62, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_62, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_70 = x_62; +} else { + lean_dec_ref(x_62); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +} +else +{ +uint8_t x_72; +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_72 = !lean_is_exclusive(x_39); +if (x_72 == 0) +{ +return x_39; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_39, 0); +x_74 = lean_ctor_get(x_39, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_39); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +else +{ +uint8_t x_76; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_76 = !lean_is_exclusive(x_34); +if (x_76 == 0) +{ +return x_34; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_34, 0); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_34); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_80 = !lean_is_exclusive(x_28); +if (x_80 == 0) +{ +return x_28; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_28, 0); +x_82 = lean_ctor_get(x_28, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_28); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_84 = !lean_is_exclusive(x_22); +if (x_84 == 0) +{ +return x_22; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_22, 0); +x_86 = lean_ctor_get(x_22, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_22); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_88 = !lean_is_exclusive(x_15); +if (x_88 == 0) +{ +return x_15; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_15, 0); +x_90 = lean_ctor_get(x_15, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_15); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lean_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_lean_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_lean_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocCodeBlock(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0() { _start: { @@ -38839,8 +45360,8 @@ lean_dec(x_68); if (x_69 == 0) { lean_dec_ref(x_4); -x_15 = x_40; -x_16 = x_65; +x_15 = x_65; +x_16 = x_40; x_17 = x_69; x_18 = x_64; goto block_22; @@ -38869,8 +45390,8 @@ lean_inc(x_72); lean_dec_ref(x_70); x_73 = lean_unbox(x_71); lean_dec(x_71); -x_15 = x_40; -x_16 = x_65; +x_15 = x_65; +x_16 = x_40; x_17 = x_73; x_18 = x_72; goto block_22; @@ -39018,15 +45539,15 @@ block_22: if (x_17 == 0) { lean_object* x_19; lean_object* x_20; -lean_dec(x_15); +lean_dec(x_16); x_19 = lean_box(0); -x_20 = lean_apply_11(x_16, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +x_20 = lean_apply_11(x_15, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); return x_20; } else { lean_object* x_21; -lean_dec_ref(x_16); +lean_dec_ref(x_15); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -39037,7 +45558,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 0, x_16); lean_ctor_set(x_21, 1, x_18); return x_21; } @@ -39241,35 +45762,19 @@ return x_4; static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("warning", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8; +x_1 = l_Lean_Doc_lean_getArgs___closed__3; x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("error", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10; +x_1 = l_Lean_Doc_lean_getArgs___closed__1; x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__5; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); @@ -39434,14 +45939,14 @@ goto block_94; case 1: { lean_object* x_97; -x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; +x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8; x_52 = x_97; goto block_94; } default: { lean_object* x_98; -x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; x_52 = x_98; goto block_94; } @@ -39850,14 +46355,14 @@ goto block_94; case 1: { lean_object* x_97; -x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; +x_97 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8; x_52 = x_97; goto block_94; } default: { lean_object* x_98; -x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11; +x_98 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9; x_52 = x_98; goto block_94; } @@ -41451,6 +47956,1347 @@ lean_dec(x_1); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1___at___Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc_ref(x_1); +x_9 = l_Lean_Doc_instFromDocArgMessageSeverity___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_Doc_DocArg_syntax(x_1); +lean_dec_ref(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = l_Lean_Doc_DocArg_syntax(x_1); +lean_dec_ref(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec_ref(x_1); +x_19 = !lean_is_exclusive(x_9); +if (x_19 == 0) +{ +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_9, 0); +x_21 = lean_ctor_get(x_9, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_9); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgWithSyntax___private__1___at___Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___lam__0), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___lam__0), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___lam__0), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, 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) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Doc_output_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("severity", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_output_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_output_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_output_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_lean_getArgs___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Doc_output_getArgs___closed__1; +x_20 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_21 = l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0(x_19, x_20, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_26 = l_Lean_Doc_done(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_27, 1); +x_31 = lean_ctor_get(x_27, 0); +lean_dec(x_31); +x_32 = l_Lean_Doc_output(x_17, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_17); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_ctor_set(x_27, 0, x_34); +lean_ctor_set(x_32, 0, x_27); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_32, 0); +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_32); +lean_ctor_set(x_27, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_free_object(x_27); +lean_dec(x_30); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +return x_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_32, 0); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_32); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_dec(x_27); +x_43 = l_Lean_Doc_output(x_17, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +lean_dec(x_17); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_42); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_42); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_24); +lean_dec(x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_26); +if (x_53 == 0) +{ +return x_26; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_26, 0); +x_55 = lean_ctor_get(x_26, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_26); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_21); +if (x_57 == 0) +{ +return x_21; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_21, 0); +x_59 = lean_ctor_get(x_21, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_21); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_14); +if (x_61 == 0) +{ +return x_14; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_14, 0); +x_63 = lean_ctor_get(x_14, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_14); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("output", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_output_getArgs), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocCodeBlock(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0() { _start: { @@ -42311,6 +50157,282 @@ lean_dec_ref(x_2); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_given_getArgs___closed__1; +x_14 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_given_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_20 = l_Lean_Doc_done(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_ctor_get(x_21, 0); +lean_dec(x_25); +x_26 = l_Lean_Doc_leanRole(x_18, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_ctor_set(x_21, 0, x_28); +lean_ctor_set(x_26, 0, x_21); +return x_26; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 0); +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_26); +lean_ctor_set(x_21, 0, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_21); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_free_object(x_21); +lean_dec(x_24); +x_32 = !lean_is_exclusive(x_26); +if (x_32 == 0) +{ +return x_26; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_26, 0); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_26); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_dec(x_21); +x_37 = l_Lean_Doc_leanRole(x_18, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_36); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_36); +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_47 = !lean_is_exclusive(x_20); +if (x_47 == 0) +{ +return x_20; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_20, 0); +x_49 = lean_ctor_get(x_20, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_20); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_51 = !lean_is_exclusive(x_15); +if (x_51 == 0) +{ +return x_15; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_15, 0); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_15); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_leanRole_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leanRole", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_leanRole_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_lit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -42385,6 +50507,238 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_lit(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_lit(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_lit_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("lit", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_lit_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -42667,6 +51021,238 @@ lean_dec(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_leanTerm(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_leanTerm(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_leanTerm_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leanTerm", 8, 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_leanTerm_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocCodeBlock(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -44164,6 +52750,238 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_assert_x27(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_assert_x27(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_assert_x27_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assert'", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_assert_x27_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -45325,6 +54143,238 @@ lean_dec_ref(x_1); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Doc_assert_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_13 = l_Lean_Doc_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = l_Lean_Doc_assert(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_14, 0, x_21); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_14, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_free_object(x_14); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = l_Lean_Doc_assert(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_29); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_33; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) +{ +return x_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_assert_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_assert_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assert", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_assert_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { _start: { @@ -50689,6 +59739,972 @@ lean_dec_ref(x_3); return x_15; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_22; +x_22 = lean_usize_dec_lt(x_4, x_3); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_6); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_14); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_34; +x_25 = lean_ctor_get(x_5, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_5, 1); +lean_inc(x_26); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_27 = x_5; +} else { + lean_dec_ref(x_5); + x_27 = lean_box(0); +} +x_28 = lean_array_uget(x_2, x_4); +lean_inc(x_28); +x_34 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_28); +if (lean_obj_tag(x_34) == 0) +{ +x_29 = x_6; +x_30 = x_14; +goto block_33; +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec_ref(x_34); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +x_39 = l_Lean_TSyntax_getId(x_37); +lean_dec(x_37); +x_40 = lean_erase_macro_scopes(x_39); +x_41 = lean_name_eq(x_40, x_1); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_free_object(x_35); +lean_dec(x_38); +x_29 = x_6; +x_30 = x_14; +goto block_33; +} +else +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_28); +lean_dec(x_27); +x_42 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_42, 0, x_38); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_43 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = lean_array_push(x_26, x_44); +lean_ctor_set(x_35, 1, x_46); +lean_ctor_set(x_35, 0, x_25); +x_15 = x_35; +x_16 = x_6; +x_17 = x_45; +goto block_21; +} +else +{ +uint8_t x_47; +lean_free_object(x_35); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_6); +x_47 = !lean_is_exclusive(x_43); +if (x_47 == 0) +{ +return x_43; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_43, 0); +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_43); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_35, 0); +x_52 = lean_ctor_get(x_35, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_35); +x_53 = l_Lean_TSyntax_getId(x_51); +lean_dec(x_51); +x_54 = lean_erase_macro_scopes(x_53); +x_55 = lean_name_eq(x_54, x_1); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_dec(x_52); +x_29 = x_6; +x_30 = x_14; +goto block_33; +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_28); +lean_dec(x_27); +x_56 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_56, 0, x_52); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_57 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_56, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec_ref(x_57); +x_60 = lean_array_push(x_26, x_58); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_25); +lean_ctor_set(x_61, 1, x_60); +x_15 = x_61; +x_16 = x_6; +x_17 = x_59; +goto block_21; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_6); +x_62 = lean_ctor_get(x_57, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_64 = x_57; +} else { + lean_dec_ref(x_57); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +} +} +block_33: +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_array_push(x_25, x_28); +if (lean_is_scalar(x_27)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_27; +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_26); +x_15 = x_32; +x_16 = x_29; +x_17 = x_30; +goto block_21; +} +} +block_21: +{ +size_t x_18; size_t x_19; +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_4 = x_19; +x_5 = x_15; +x_6 = x_16; +x_14 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgIdent___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_2, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_17, 0, x_16); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec_ref(x_18); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_3, x_2, x_21); +x_23 = 1; +x_24 = lean_usize_add(x_2, x_23); +x_25 = lean_array_uset(x_22, x_2, x_19); +x_2 = x_24; +x_3 = x_25; +x_12 = x_20; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) +{ +return x_18; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +static lean_object* _init_l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_13 = lean_erase_macro_scopes(x_1); +x_14 = l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1; +x_15 = lean_array_size(x_2); +x_16 = 0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_2); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg(x_13, x_2, x_15, x_16, x_14, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_2); +lean_dec(x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec_ref(x_17); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_array_size(x_22); +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg(x_23, x_16, x_22, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) +{ +return x_17; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_17); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("n", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_open_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scoped", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_open_getArgs___closed__2; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("only", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_open_getArgs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_open_getArgs___closed__4; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_open_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_open_getArgs___closed__1; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lean_Doc_open_getArgs___closed__3; +x_19 = 0; +x_20 = l_Lean_Doc_getFlag(x_18, x_19, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +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; lean_object* x_26; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l_Lean_Doc_open_getArgs___closed__5; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_26 = l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0(x_25, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_31 = l_Lean_Doc_done(x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec_ref(x_31); +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_32, 1); +x_36 = lean_ctor_get(x_32, 0); +lean_dec(x_36); +x_37 = lean_unbox(x_23); +lean_dec(x_23); +x_38 = l_Lean_Doc_open(x_16, x_37, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +lean_dec(x_29); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_ctor_set(x_32, 0, x_40); +lean_ctor_set(x_38, 0, x_32); +return x_38; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_38, 0); +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_38); +lean_ctor_set(x_32, 0, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_32); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +lean_free_object(x_32); +lean_dec(x_35); +x_44 = !lean_is_exclusive(x_38); +if (x_44 == 0) +{ +return x_38; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_38, 0); +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_38); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; uint8_t x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_32, 1); +lean_inc(x_48); +lean_dec(x_32); +x_49 = lean_unbox(x_23); +lean_dec(x_23); +x_50 = l_Lean_Doc_open(x_16, x_49, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +lean_dec(x_29); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_48); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_48); +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_58 = x_50; +} else { + lean_dec_ref(x_50); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_29); +lean_dec(x_23); +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_60 = !lean_is_exclusive(x_31); +if (x_60 == 0) +{ +return x_31; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_31, 0); +x_62 = lean_ctor_get(x_31, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_31); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_23); +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_64 = !lean_is_exclusive(x_26); +if (x_64 == 0) +{ +return x_26; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_26, 0); +x_66 = lean_ctor_get(x_26, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_26); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +uint8_t x_68; +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_68 = !lean_is_exclusive(x_20); +if (x_68 == 0) +{ +return x_20; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_20, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_20); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +else +{ +uint8_t x_72; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_72 = !lean_is_exclusive(x_13); +if (x_72 == 0) +{ +return x_13; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_13, 0); +x_74 = lean_ctor_get(x_13, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_13); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__0(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___redArg(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_16 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0_spec__1(x_15, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("open", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Doc_open_getArgs), 11, 0); +x_5 = l_Lean_Doc_addBuiltinDocCommand(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_set__option(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -51061,6 +61077,907 @@ lean_dec_ref(x_3); return x_13; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgDataValue___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_7, 1); +x_20 = lean_ctor_get(x_7, 2); +x_21 = lean_nat_dec_lt(x_9, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_22, 1, x_10); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec_ref(x_8); +x_24 = lean_array_fget_borrowed(x_1, x_9); +x_25 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1; +lean_inc(x_24); +x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_nat_add(x_9, x_20); +lean_dec(x_9); +lean_inc_ref(x_2); +{ +lean_object* _tmp_7 = x_2; +lean_object* _tmp_8 = x_27; +x_8 = _tmp_7; +x_9 = _tmp_8; +} +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_29 = l_Lean_Syntax_getArg(x_24, x_3); +x_30 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_30, 0, x_29); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +x_31 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_30, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec_ref(x_31); +x_34 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___lam__0), 8, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_33); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_9); +lean_inc_ref(x_1); +x_38 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_39 = l_Array_ofSubarray___redArg(x_38); +lean_dec_ref(x_38); +x_40 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_41 = l_Array_toSubarray___redArg(x_1, x_40, x_5); +x_42 = l_Array_ofSubarray___redArg(x_41); +lean_dec_ref(x_41); +x_43 = l_Array_append___redArg(x_39, x_42); +lean_dec_ref(x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_37); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_6); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_35, 0, x_46); +return x_35; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_35); +lean_inc(x_9); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_5); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_47); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_6); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_48); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_59 = !lean_is_exclusive(x_35); +if (x_59 == 0) +{ +return x_35; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_35, 0); +x_61 = lean_ctor_get(x_35, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_35); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_63 = !lean_is_exclusive(x_31); +if (x_63 == 0) +{ +return x_31; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_31, 0); +x_65 = lean_ctor_get(x_31, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_31); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +return x_23; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get_size(x_2); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +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_box(0); +x_18 = l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_2); +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(x_2, x_18, x_13, x_15, x_14, x_17, x_16, x_18, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_dec(x_24); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec_ref(x_19); +x_26 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_27 = l_Lean_MessageData_ofName(x_1); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_27); +lean_ctor_set(x_21, 0, x_26); +x_28 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_30; +} +else +{ +uint8_t x_31; +lean_free_object(x_21); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_19, 0); +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_20); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_20, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_23, 0); +lean_inc(x_35); +lean_dec_ref(x_23); +lean_ctor_set(x_20, 0, x_35); +return x_19; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_dec(x_20); +x_37 = lean_ctor_get(x_23, 0); +lean_inc(x_37); +lean_dec_ref(x_23); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_19, 0, x_38); +return x_19; +} +} +else +{ +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_39 = lean_ctor_get(x_19, 1); +lean_inc(x_39); +lean_dec(x_19); +x_40 = lean_ctor_get(x_20, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_41 = x_20; +} else { + lean_dec_ref(x_20); + x_41 = lean_box(0); +} +x_42 = lean_ctor_get(x_23, 0); +lean_inc(x_42); +lean_dec_ref(x_23); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +} +} +else +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +lean_dec(x_21); +if (lean_obj_tag(x_45) == 0) +{ +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_dec(x_20); +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); +lean_dec_ref(x_19); +x_47 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_48 = l_Lean_MessageData_ofName(x_1); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_46); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_53 = lean_ctor_get(x_19, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_54 = x_19; +} else { + lean_dec_ref(x_19); + x_54 = lean_box(0); +} +x_55 = lean_ctor_get(x_20, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_56 = x_20; +} else { + lean_dec_ref(x_20); + x_56 = lean_box(0); +} +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +lean_dec_ref(x_45); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +if (lean_is_scalar(x_54)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_54; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_53); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_19); +if (x_60 == 0) +{ +return x_19; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_19, 0); +x_62 = lean_ctor_get(x_19, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_19); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Doc_set__option_getArgs___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_set__option_getArgs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("value", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_set__option_getArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_set__option_getArgs___closed__1; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_set__option_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Doc_set__option_getArgs___closed__0; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_13 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec_ref(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lean_Doc_set__option_getArgs___closed__2; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_19 = l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0(x_18, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec_ref(x_19); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_24 = l_Lean_Doc_done(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec_ref(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 1); +x_29 = lean_ctor_get(x_25, 0); +lean_dec(x_29); +x_30 = l_Lean_Doc_set__option(x_16, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_ctor_set(x_25, 0, x_32); +lean_ctor_set(x_30, 0, x_25); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_30, 0); +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_30); +lean_ctor_set(x_25, 0, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_25); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_free_object(x_25); +lean_dec(x_28); +x_36 = !lean_is_exclusive(x_30); +if (x_36 == 0) +{ +return x_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_30, 0); +x_38 = lean_ctor_get(x_30, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_30); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +lean_dec(x_25); +x_41 = l_Lean_Doc_set__option(x_16, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_40); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_40); +x_47 = lean_ctor_get(x_41, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_49 = x_41; +} else { + lean_dec_ref(x_41); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_51 = !lean_is_exclusive(x_24); +if (x_51 == 0) +{ +return x_24; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_24, 0); +x_53 = lean_ctor_get(x_24, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_24); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_16); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_55 = !lean_is_exclusive(x_19); +if (x_55 == 0) +{ +return x_19; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_19, 0); +x_57 = lean_ctor_get(x_19, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_19); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_59 = !lean_is_exclusive(x_13); +if (x_59 == 0) +{ +return x_13; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_13, 0); +x_61 = lean_ctor_get(x_13, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_13); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_11); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_set__option_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Doc_set__option_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_12; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("set_option", 10, 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Doc_set__option_getArgs___boxed), 11, 0); +x_5 = l_Lean_Doc_addBuiltinDocCommand(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_manual_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -51557,6 +62474,922 @@ lean_dec_ref(x_2); return x_14; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgString___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_7, 1); +x_20 = lean_ctor_get(x_7, 2); +x_21 = lean_nat_dec_lt(x_9, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_8); +lean_ctor_set(x_22, 1, x_10); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec_ref(x_8); +x_24 = lean_array_fget_borrowed(x_1, x_9); +x_25 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1; +lean_inc(x_24); +x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_nat_add(x_9, x_20); +lean_dec(x_9); +lean_inc_ref(x_2); +{ +lean_object* _tmp_7 = x_2; +lean_object* _tmp_8 = x_27; +x_8 = _tmp_7; +x_9 = _tmp_8; +} +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec_ref(x_10); +lean_dec_ref(x_2); +x_29 = l_Lean_Syntax_getArg(x_24, x_3); +x_30 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_30, 0, x_29); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +x_31 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_30, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec_ref(x_31); +x_34 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_34, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_33); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_9); +lean_inc_ref(x_1); +x_38 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_39 = l_Array_ofSubarray___redArg(x_38); +lean_dec_ref(x_38); +x_40 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_41 = l_Array_toSubarray___redArg(x_1, x_40, x_5); +x_42 = l_Array_ofSubarray___redArg(x_41); +lean_dec_ref(x_41); +x_43 = l_Array_append___redArg(x_39, x_42); +lean_dec_ref(x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_37); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_6); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_35, 0, x_46); +return x_35; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_35); +lean_inc(x_9); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_3, x_9); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_9, x_4); +lean_dec(x_9); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_5); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_47); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_6); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_48); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_59 = !lean_is_exclusive(x_35); +if (x_59 == 0) +{ +return x_35; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_35, 0); +x_61 = lean_ctor_get(x_35, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_35); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_63 = !lean_is_exclusive(x_31); +if (x_63 == 0) +{ +return x_31; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_31, 0); +x_65 = lean_ctor_get(x_31, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_31); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +return x_23; +} +} +static lean_object* _init_l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get_size(x_2); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +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_box(0); +x_18 = l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_2); +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg(x_2, x_18, x_13, x_15, x_14, x_17, x_16, x_18, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_dec(x_24); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_20); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec_ref(x_19); +x_26 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_27 = l_Lean_MessageData_ofName(x_1); +lean_ctor_set_tag(x_21, 7); +lean_ctor_set(x_21, 1, x_27); +lean_ctor_set(x_21, 0, x_26); +x_28 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_30; +} +else +{ +uint8_t x_31; +lean_free_object(x_21); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_19, 0); +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_20); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_20, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_23, 0); +lean_inc(x_35); +lean_dec_ref(x_23); +lean_ctor_set(x_20, 0, x_35); +return x_19; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_dec(x_20); +x_37 = lean_ctor_get(x_23, 0); +lean_inc(x_37); +lean_dec_ref(x_23); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_19, 0, x_38); +return x_19; +} +} +else +{ +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_39 = lean_ctor_get(x_19, 1); +lean_inc(x_39); +lean_dec(x_19); +x_40 = lean_ctor_get(x_20, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_41 = x_20; +} else { + lean_dec_ref(x_20); + x_41 = lean_box(0); +} +x_42 = lean_ctor_get(x_23, 0); +lean_inc(x_42); +lean_dec_ref(x_23); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +} +} +else +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +lean_dec(x_21); +if (lean_obj_tag(x_45) == 0) +{ +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_dec(x_20); +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); +lean_dec_ref(x_19); +x_47 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2; +x_48 = l_Lean_MessageData_ofName(x_1); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Doc_checkNameExists___redArg___closed__8; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_throwError___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__1___redArg(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_46); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_53 = lean_ctor_get(x_19, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_54 = x_19; +} else { + lean_dec_ref(x_19); + x_54 = lean_box(0); +} +x_55 = lean_ctor_get(x_20, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_56 = x_20; +} else { + lean_dec_ref(x_20); + x_56 = lean_box(0); +} +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +lean_dec_ref(x_45); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +if (lean_is_scalar(x_54)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_54; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_53); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_19); +if (x_60 == 0) +{ +return x_19; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_19, 0); +x_62 = lean_ctor_get(x_19, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_19); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Doc_manual_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("domain", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_manual_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_manual_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_manual_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Doc_manual_getArgs___closed__1; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec_ref(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Doc_lean_getArgs___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_20 = l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0(x_19, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +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 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec_ref(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_25 = l_Lean_Doc_done(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec_ref(x_25); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +x_31 = l_Lean_Doc_manual(x_17, x_23, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_23); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_ctor_set(x_26, 0, x_33); +lean_ctor_set(x_31, 0, x_26); +return x_31; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_31); +lean_ctor_set(x_26, 0, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_26); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +else +{ +uint8_t x_37; +lean_free_object(x_26); +lean_dec(x_29); +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +return x_31; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_31, 0); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_31); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_26, 1); +lean_inc(x_41); +lean_dec(x_26); +x_42 = l_Lean_Doc_manual(x_17, x_23, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_23); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_45 = x_42; +} else { + lean_dec_ref(x_42); + x_45 = lean_box(0); +} +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_41); +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_44); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_41); +x_48 = lean_ctor_get(x_42, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_42, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_50 = x_42; +} else { + lean_dec_ref(x_42); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(1, 2, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_52 = !lean_is_exclusive(x_25); +if (x_52 == 0) +{ +return x_25; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_25, 0); +x_54 = lean_ctor_get(x_25, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_25); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_17); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_56 = !lean_is_exclusive(x_20); +if (x_56 == 0) +{ +return x_20; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_20, 0); +x_58 = lean_ctor_get(x_20, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_20); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_60 = !lean_is_exclusive(x_14); +if (x_60 == 0) +{ +return x_14; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_14, 0); +x_62 = lean_ctor_get(x_14, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_14); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_11); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +_start: +{ +lean_object* x_23; +x_23 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +lean_dec(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec_ref(x_7); +lean_dec(x_4); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("manual", 6, 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0; +x_3 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_manual_getArgs), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -51568,28 +63401,9 @@ return x_9; static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__0() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("given", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestName___lam__1___closed__0; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_suggestName___lam__1___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestName___lam__1___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -51601,7 +63415,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___lam__1(lean_object* x_1, lean_ _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = l_Lean_Doc_suggestName___lam__1___closed__2; +x_13 = l_Lean_Doc_suggestName___lam__1___closed__0; x_14 = lean_array_push(x_1, x_13); x_15 = lean_box(0); x_16 = lean_alloc_ctor(0, 2, 0); @@ -51625,28 +63439,9 @@ return x_2; static lean_object* _init_l_Lean_Doc_suggestName___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("name", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_suggestName___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestName___closed__1; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_suggestName___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestName___closed__2; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -51654,11 +63449,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestName___closed__4() { +static lean_object* _init_l_Lean_Doc_suggestName___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestName___closed__3; +x_1 = l_Lean_Doc_suggestName___closed__1; x_2 = l_Lean_Doc_suggestName___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -51711,7 +63506,7 @@ if (x_28 == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_27, 0); lean_dec(x_29); -x_30 = l_Lean_Doc_suggestName___closed__4; +x_30 = l_Lean_Doc_suggestName___closed__2; lean_ctor_set(x_27, 0, x_30); return x_27; } @@ -51721,7 +63516,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_27, 1); lean_inc(x_31); lean_dec(x_27); -x_32 = l_Lean_Doc_suggestName___closed__4; +x_32 = l_Lean_Doc_suggestName___closed__2; x_33 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -51814,7 +63609,7 @@ if (x_45 == 0) lean_object* x_46; lean_object* x_47; x_46 = lean_ctor_get(x_39, 0); lean_dec(x_46); -x_47 = l_Lean_Doc_suggestName___closed__4; +x_47 = l_Lean_Doc_suggestName___closed__2; lean_ctor_set(x_39, 0, x_47); return x_39; } @@ -51824,7 +63619,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_39, 1); lean_inc(x_48); lean_dec(x_39); -x_49 = l_Lean_Doc_suggestName___closed__4; +x_49 = l_Lean_Doc_suggestName___closed__2; x_50 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -52004,6 +63799,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestName", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestName___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} static lean_object* _init_l_Lean_Doc_suggestGiven___closed__0() { _start: { @@ -52017,7 +63849,7 @@ static lean_object* _init_l_Lean_Doc_suggestGiven___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestName___lam__1___closed__2; +x_1 = l_Lean_Doc_suggestName___lam__1___closed__0; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -52135,31 +63967,49 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("lean", 4, 4); +x_1 = lean_mk_string_unchecked("suggestGiven", 12, 12); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestLean___lam__0___closed__0; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestGiven___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestLean___lam__0___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -52167,11 +64017,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestLean___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestLean___lam__0___closed__2; +x_1 = l_Lean_Doc_suggestLean___lam__0___closed__0; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -52181,7 +64031,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0(lean_object* x_1, lean_ _start: { lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Doc_suggestLean___lam__0___closed__3; +x_12 = l_Lean_Doc_suggestLean___lam__0___closed__1; x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -52508,31 +64358,49 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("leanTerm", 8, 8); +x_1 = lean_mk_string_unchecked("suggestLean", 11, 11); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestLean___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -52540,7 +64408,7 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -52549,12 +64417,12 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4() { +static lean_object* _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2; -x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; +x_1 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; +x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1; x_3 = lean_array_push(x_2, x_1); return x_3; } @@ -52563,7 +64431,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0(lean_object* x _start: { lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4; +x_12 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2; x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -52832,16 +64700,16 @@ block_17: if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -lean_dec_ref(x_13); +lean_dec_ref(x_12); x_15 = l_Lean_Doc_suggestLeanTermBlock___closed__0; x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 1, x_13); return x_16; } else { -return x_13; +return x_12; } } block_23: @@ -52853,16 +64721,16 @@ if (x_21 == 0) uint8_t x_22; x_22 = l_Lean_Exception_isRuntime(x_19); lean_dec_ref(x_19); -x_12 = x_20; -x_13 = x_18; +x_12 = x_18; +x_13 = x_20; x_14 = x_22; goto block_17; } else { lean_dec_ref(x_19); -x_12 = x_20; -x_13 = x_18; +x_12 = x_18; +x_13 = x_20; x_14 = x_21; goto block_17; } @@ -52899,6 +64767,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestLeanTermBlock", 20, 20); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestLeanTermBlock___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeBlockSuggestion(x_2, x_3, x_1); +return x_4; +} +} static lean_object* _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__0() { _start: { @@ -52942,7 +64847,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestLean___lam__0___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -52955,7 +64860,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Doc_suggestLeanBlock___closed__0; -x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3; +x_2 = l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1; x_3 = lean_array_push(x_2, x_1); return x_3; } @@ -53103,6 +65008,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestLeanBlock", 16, 16); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestLeanBlock___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeBlockSuggestion(x_2, x_3, x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_Doc_suggestTactic_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { _start: { @@ -53195,20 +65137,9 @@ return x_3; static lean_object* _init_l_Lean_Doc_suggestTactic___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_tactic___lam__1___closed__0; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_suggestTactic___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestTactic___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -53216,11 +65147,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestTactic___closed__5() { +static lean_object* _init_l_Lean_Doc_suggestTactic___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestTactic___closed__4; +x_1 = l_Lean_Doc_suggestTactic___closed__3; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -53315,7 +65246,7 @@ if (x_29 == 0) lean_object* x_30; lean_object* x_31; x_30 = lean_ctor_get(x_28, 0); lean_dec(x_30); -x_31 = l_Lean_Doc_suggestTactic___closed__5; +x_31 = l_Lean_Doc_suggestTactic___closed__4; lean_ctor_set(x_28, 0, x_31); return x_28; } @@ -53325,7 +65256,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; x_32 = lean_ctor_get(x_28, 1); lean_inc(x_32); lean_dec(x_28); -x_33 = l_Lean_Doc_suggestTactic___closed__5; +x_33 = l_Lean_Doc_suggestTactic___closed__4; x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -53407,7 +65338,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_45 = l_Lean_Doc_suggestTactic___closed__5; +x_45 = l_Lean_Doc_suggestTactic___closed__4; if (lean_is_scalar(x_22)) { x_46 = lean_alloc_ctor(0, 2, 0); } else { @@ -53493,23 +65424,49 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestAttr___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestTactic", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_attr___closed__6; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestAttr___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestTactic___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestAttr___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestAttr___closed__0; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -53517,11 +65474,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestAttr___closed__2() { +static lean_object* _init_l_Lean_Doc_suggestAttr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestAttr___closed__1; +x_1 = l_Lean_Doc_suggestAttr___closed__0; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -53567,7 +65524,7 @@ return x_22; else { lean_object* x_28; -x_28 = l_Lean_Doc_suggestAttr___closed__2; +x_28 = l_Lean_Doc_suggestAttr___closed__1; lean_ctor_set(x_22, 0, x_28); return x_22; } @@ -53594,7 +65551,7 @@ return x_34; else { lean_object* x_35; lean_object* x_36; -x_35 = l_Lean_Doc_suggestAttr___closed__2; +x_35 = l_Lean_Doc_suggestAttr___closed__1; x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_30); @@ -53651,7 +65608,7 @@ if (x_45 == 0) lean_object* x_46; lean_object* x_47; x_46 = lean_ctor_get(x_44, 0); lean_dec(x_46); -x_47 = l_Lean_Doc_suggestAttr___closed__2; +x_47 = l_Lean_Doc_suggestAttr___closed__1; lean_ctor_set(x_44, 0, x_47); return x_44; } @@ -53661,7 +65618,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_44, 1); lean_inc(x_48); lean_dec(x_44); -x_49 = l_Lean_Doc_suggestAttr___closed__2; +x_49 = l_Lean_Doc_suggestAttr___closed__1; x_50 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -53681,17 +65638,17 @@ if (x_53 == 0) { uint8_t x_54; x_54 = l_Lean_Exception_isRuntime(x_51); -x_12 = x_51; -x_13 = x_41; -x_14 = x_52; +x_12 = x_41; +x_13 = x_52; +x_14 = x_51; x_15 = x_54; goto block_19; } else { -x_12 = x_51; -x_13 = x_41; -x_14 = x_52; +x_12 = x_41; +x_13 = x_52; +x_14 = x_51; x_15 = x_53; goto block_19; } @@ -53722,19 +65679,19 @@ block_19: if (x_15 == 0) { lean_object* x_16; lean_object* x_17; -lean_dec_ref(x_12); -x_16 = lean_mk_empty_array_with_capacity(x_13); +lean_dec_ref(x_14); +x_16 = lean_mk_empty_array_with_capacity(x_12); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_14); +lean_ctor_set(x_17, 1, x_13); return x_17; } else { lean_object* x_18; x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_14); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_13); return x_18; } } @@ -53752,31 +65709,49 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestOption___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("option", 6, 6); +x_1 = lean_mk_string_unchecked("suggestAttr", 11, 11); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestOption___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestOption___closed__0; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestOption___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestAttr___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestOption___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestOption___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -53784,11 +65759,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestOption___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestOption___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestOption___closed__2; +x_1 = l_Lean_Doc_suggestOption___closed__0; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -53823,7 +65798,7 @@ if (x_27 == 0) lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 0); lean_dec(x_28); -x_29 = l_Lean_Doc_suggestOption___closed__3; +x_29 = l_Lean_Doc_suggestOption___closed__1; lean_ctor_set(x_26, 0, x_29); return x_26; } @@ -53833,7 +65808,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_26, 1); lean_inc(x_30); lean_dec(x_26); -x_31 = l_Lean_Doc_suggestOption___closed__3; +x_31 = l_Lean_Doc_suggestOption___closed__1; x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -53903,7 +65878,7 @@ if (x_45 == 0) lean_object* x_46; lean_object* x_47; x_46 = lean_ctor_get(x_44, 0); lean_dec(x_46); -x_47 = l_Lean_Doc_suggestOption___closed__3; +x_47 = l_Lean_Doc_suggestOption___closed__1; lean_ctor_set(x_44, 0, x_47); return x_44; } @@ -53913,7 +65888,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_44, 1); lean_inc(x_48); lean_dec(x_44); -x_49 = l_Lean_Doc_suggestOption___closed__3; +x_49 = l_Lean_Doc_suggestOption___closed__1; x_50 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -54080,7 +66055,7 @@ if (lean_is_exclusive(x_77)) { lean_dec_ref(x_77); x_79 = lean_box(0); } -x_80 = l_Lean_Doc_suggestOption___closed__3; +x_80 = l_Lean_Doc_suggestOption___closed__1; if (lean_is_scalar(x_79)) { x_81 = lean_alloc_ctor(0, 2, 0); } else { @@ -54224,31 +66199,49 @@ lean_dec(x_1); return x_12; } } -static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__0() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("syntaxCat", 9, 9); +x_1 = lean_mk_string_unchecked("suggestOption", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__1() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_suggestCat___redArg___closed__0; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0; x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__2() { +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestOption___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Doc_suggestCat___redArg___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -54256,11 +66249,11 @@ lean_ctor_set(x_3, 2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__3() { +static lean_object* _init_l_Lean_Doc_suggestCat___redArg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Doc_suggestCat___redArg___closed__2; +x_1 = l_Lean_Doc_suggestCat___redArg___closed__0; x_2 = l_Lean_Doc_suggestGiven___closed__0; x_3 = lean_array_push(x_2, x_1); return x_3; @@ -54309,7 +66302,7 @@ return x_11; else { lean_object* x_25; -x_25 = l_Lean_Doc_suggestCat___redArg___closed__3; +x_25 = l_Lean_Doc_suggestCat___redArg___closed__1; lean_ctor_set(x_11, 0, x_25); return x_11; } @@ -54353,7 +66346,7 @@ return x_39; else { lean_object* x_40; lean_object* x_41; -x_40 = l_Lean_Doc_suggestCat___redArg___closed__3; +x_40 = l_Lean_Doc_suggestCat___redArg___closed__1; x_41 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_27); @@ -54415,6 +66408,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestCat", 10, 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestCat___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestSyntax_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -54566,25 +66596,6 @@ goto _start; } } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("syntax", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0; -x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -54604,7 +66615,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_ob x_7 = lean_array_uget(x_3, x_2); x_8 = lean_unsigned_to_nat(0u); x_9 = lean_array_uset(x_3, x_2, x_8); -x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1; +x_10 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1; x_11 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_7, x_5); x_12 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_12, 0, x_11); @@ -54799,6 +66810,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestSyntax", 13, 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0; +x_2 = l_Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_3 = l_Lean_Doc_Data_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_15_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestSyntax___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_DocString_Builtin_Parsing(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_DocString_Builtin_Scopes(uint8_t builtin, lean_object*); @@ -55098,7 +67146,32 @@ l_Lean_Doc_name___closed__7 = _init_l_Lean_Doc_name___closed__7(); lean_mark_persistent(l_Lean_Doc_name___closed__7); l_Lean_Doc_name___closed__8 = _init_l_Lean_Doc_name___closed__8(); lean_mark_persistent(l_Lean_Doc_name___closed__8); -l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0 = _init_l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0(); +l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__0___closed__0); +l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_name_getArgs_spec__3___closed__0); +l_Lean_Doc_name_getArgs___closed__0 = _init_l_Lean_Doc_name_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_name_getArgs___closed__0); +l_Lean_Doc_name_getArgs___closed__1 = _init_l_Lean_Doc_name_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_name_getArgs___closed__1); +l_Lean_Doc_name_getArgs___closed__2 = _init_l_Lean_Doc_name_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_name_getArgs___closed__2); +l_Lean_Doc_name_getArgs___closed__3 = _init_l_Lean_Doc_name_getArgs___closed__3(); +lean_mark_persistent(l_Lean_Doc_name_getArgs___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__4); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_name___regBuiltin_Lean_Doc_name__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0 = _init_l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0(); lean_mark_persistent(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__0); l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1 = _init_l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1(); lean_mark_persistent(l_Lean_Syntax_rewriteBottomUpM___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__2___lam__3___closed__1); @@ -55168,7 +67241,20 @@ l_Lean_Doc_tactic___closed__11 = _init_l_Lean_Doc_tactic___closed__11(); lean_mark_persistent(l_Lean_Doc_tactic___closed__11); l_Lean_Doc_tactic___closed__12 = _init_l_Lean_Doc_tactic___closed__12(); lean_mark_persistent(l_Lean_Doc_tactic___closed__12); -l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0(); +l_Lean_Doc_tactic_getArgs___closed__0 = _init_l_Lean_Doc_tactic_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_tactic_getArgs___closed__0); +l_Lean_Doc_tactic_getArgs___closed__1 = _init_l_Lean_Doc_tactic_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_tactic_getArgs___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__0(); l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg___closed__1(); l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0 = _init_l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0(); lean_mark_persistent(l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___redArg___closed__0); @@ -55200,7 +67286,16 @@ l_Lean_Doc_conv___closed__0 = _init_l_Lean_Doc_conv___closed__0(); lean_mark_persistent(l_Lean_Doc_conv___closed__0); l_Lean_Doc_conv___closed__1 = _init_l_Lean_Doc_conv___closed__1(); lean_mark_persistent(l_Lean_Doc_conv___closed__1); -l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0 = _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0 = _init_l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0(); lean_mark_persistent(l_Array_filterMapM___at___Lean_Doc_attr_spec__1___closed__0); l_Lean_Doc_attr___lam__2___closed__0 = _init_l_Lean_Doc_attr___lam__2___closed__0(); lean_mark_persistent(l_Lean_Doc_attr___lam__2___closed__0); @@ -55242,7 +67337,16 @@ l_Lean_Doc_attr___closed__16 = _init_l_Lean_Doc_attr___closed__16(); lean_mark_persistent(l_Lean_Doc_attr___closed__16); l_Lean_Doc_attr___closed__17 = _init_l_Lean_Doc_attr___closed__17(); lean_mark_persistent(l_Lean_Doc_attr___closed__17); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1); @@ -55304,7 +67408,18 @@ l_Lean_Doc_option___closed__5 = _init_l_Lean_Doc_option___closed__5(); lean_mark_persistent(l_Lean_Doc_option___closed__5); l_Lean_Doc_option___closed__6 = _init_l_Lean_Doc_option___closed__6(); lean_mark_persistent(l_Lean_Doc_option___closed__6); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_option___regBuiltin_Lean_Doc_option__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__1); @@ -55312,9 +67427,45 @@ l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2 = _i lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__2); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___closed__3); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0(); +l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0 = _init_l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0(); +lean_mark_persistent(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__0); +l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1 = _init_l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1(); +lean_mark_persistent(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1); +l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__0); +l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1 = _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__1); +l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2 = _init_l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2(); +lean_mark_persistent(l_Lean_Doc_getPositional___at___Lean_Doc_syntax_getArgs_spec__0___closed__2); +l_Lean_Doc_syntax_getArgs___closed__0 = _init_l_Lean_Doc_syntax_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_syntax_getArgs___closed__0); +l_Lean_Doc_syntax_getArgs___closed__1 = _init_l_Lean_Doc_syntax_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_syntax_getArgs___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__0___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3___closed__0); @@ -55358,7 +67509,30 @@ l_Lean_Doc_given___closed__4 = _init_l_Lean_Doc_given___closed__4(); lean_mark_persistent(l_Lean_Doc_given___closed__4); l_Lean_Doc_given___closed__5 = _init_l_Lean_Doc_given___closed__5(); lean_mark_persistent(l_Lean_Doc_given___closed__5); -if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_io_mk_world()); +l_Lean_Doc_given_getArgs___closed__0 = _init_l_Lean_Doc_given_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__0); +l_Lean_Doc_given_getArgs___closed__1 = _init_l_Lean_Doc_given_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__1); +l_Lean_Doc_given_getArgs___closed__2 = _init_l_Lean_Doc_given_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__2); +l_Lean_Doc_given_getArgs___closed__3 = _init_l_Lean_Doc_given_getArgs___closed__3(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__3); +l_Lean_Doc_given_getArgs___closed__4 = _init_l_Lean_Doc_given_getArgs___closed__4(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__4); +l_Lean_Doc_given_getArgs___closed__5 = _init_l_Lean_Doc_given_getArgs___closed__5(); +lean_mark_persistent(l_Lean_Doc_given_getArgs___closed__5); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_given___regBuiltin_Lean_Doc_given__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn____x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt); @@ -55463,7 +67637,28 @@ l_Lean_Doc_lean___closed__15 = _init_l_Lean_Doc_lean___closed__15(); lean_mark_persistent(l_Lean_Doc_lean___closed__15); l_Lean_Doc_lean___closed__16 = _init_l_Lean_Doc_lean___closed__16(); lean_mark_persistent(l_Lean_Doc_lean___closed__16); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0(); +l_Lean_Doc_lean_getArgs___closed__0 = _init_l_Lean_Doc_lean_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__0); +l_Lean_Doc_lean_getArgs___closed__1 = _init_l_Lean_Doc_lean_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__1); +l_Lean_Doc_lean_getArgs___closed__2 = _init_l_Lean_Doc_lean_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__2); +l_Lean_Doc_lean_getArgs___closed__3 = _init_l_Lean_Doc_lean_getArgs___closed__3(); +lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__3); +l_Lean_Doc_lean_getArgs___closed__4 = _init_l_Lean_Doc_lean_getArgs___closed__4(); +lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__4); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_withNl___closed__1); @@ -55495,10 +67690,6 @@ l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__8); l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__9); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__10); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_output_spec__9_spec__9___closed__11); l_Lean_Doc_output___closed__0 = _init_l_Lean_Doc_output___closed__0(); lean_mark_persistent(l_Lean_Doc_output___closed__0); l_Lean_Doc_output___closed__1 = _init_l_Lean_Doc_output___closed__1(); @@ -55517,7 +67708,24 @@ l_Lean_Doc_output___closed__7 = _init_l_Lean_Doc_output___closed__7(); lean_mark_persistent(l_Lean_Doc_output___closed__7); l_Lean_Doc_output___closed__8 = _init_l_Lean_Doc_output___closed__8(); lean_mark_persistent(l_Lean_Doc_output___closed__8); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0(); +l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_output_getArgs_spec__0___closed__0); +l_Lean_Doc_output_getArgs___closed__0 = _init_l_Lean_Doc_output_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_output_getArgs___closed__0); +l_Lean_Doc_output_getArgs___closed__1 = _init_l_Lean_Doc_output_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_output_getArgs___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output___regBuiltin_Lean_Doc_output__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__0); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1); @@ -55537,7 +67745,38 @@ l_Lean_Doc_leanRole___lam__2___closed__3 = _init_l_Lean_Doc_leanRole___lam__2___ lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__3); l_Lean_Doc_leanRole___closed__0 = _init_l_Lean_Doc_leanRole___closed__0(); lean_mark_persistent(l_Lean_Doc_leanRole___closed__0); -l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0___boxed__const__1); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1___closed__0); @@ -55562,7 +67801,18 @@ lean_mark_persistent(l_Lean_Doc_assert_x27___closed__8); l_Lean_Doc_assert_x27___closed__9 = _init_l_Lean_Doc_assert_x27___closed__9(); lean_mark_persistent(l_Lean_Doc_assert_x27___closed__9); l_Lean_Doc_assert_x27___closed__10 = _init_l_Lean_Doc_assert_x27___closed__10(); -l_Lean_Doc_assert___closed__0 = _init_l_Lean_Doc_assert___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_assert___closed__0 = _init_l_Lean_Doc_assert___closed__0(); lean_mark_persistent(l_Lean_Doc_assert___closed__0); l_Lean_Doc_assert___closed__1 = _init_l_Lean_Doc_assert___closed__1(); lean_mark_persistent(l_Lean_Doc_assert___closed__1); @@ -55574,7 +67824,18 @@ l_Lean_Doc_assert___closed__4 = _init_l_Lean_Doc_assert___closed__4(); lean_mark_persistent(l_Lean_Doc_assert___closed__4); l_Lean_Doc_assert___closed__5 = _init_l_Lean_Doc_assert___closed__5(); lean_mark_persistent(l_Lean_Doc_assert___closed__5); -l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0(); lean_mark_persistent(l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__0); l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1(); lean_mark_persistent(l_Lean_resolveNamespaceCore___at___Lean_resolveNamespace___at___Lean_Doc_open_spec__0_spec__1___redArg___closed__1); @@ -55616,7 +67877,49 @@ l_Lean_Doc_open___closed__0 = _init_l_Lean_Doc_open___closed__0(); lean_mark_persistent(l_Lean_Doc_open___closed__0); l_Lean_Doc_open___closed__1 = _init_l_Lean_Doc_open___closed__1(); lean_mark_persistent(l_Lean_Doc_open___closed__1); -l_Lean_Doc_manual___closed__0 = _init_l_Lean_Doc_manual___closed__0(); +l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__0); +l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1 = _init_l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1(); +lean_mark_persistent(l_Lean_Doc_getMany___at___Lean_Doc_open_getArgs_spec__0___closed__1); +l_Lean_Doc_open_getArgs___closed__0 = _init_l_Lean_Doc_open_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__0); +l_Lean_Doc_open_getArgs___closed__1 = _init_l_Lean_Doc_open_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__1); +l_Lean_Doc_open_getArgs___closed__2 = _init_l_Lean_Doc_open_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__2); +l_Lean_Doc_open_getArgs___closed__3 = _init_l_Lean_Doc_open_getArgs___closed__3(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__3); +l_Lean_Doc_open_getArgs___closed__4 = _init_l_Lean_Doc_open_getArgs___closed__4(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__4); +l_Lean_Doc_open_getArgs___closed__5 = _init_l_Lean_Doc_open_getArgs___closed__5(); +lean_mark_persistent(l_Lean_Doc_open_getArgs___closed__5); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_open___regBuiltin_Lean_Doc_open__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getPositional___at___Lean_Doc_set__option_getArgs_spec__0___closed__0); +l_Lean_Doc_set__option_getArgs___closed__0 = _init_l_Lean_Doc_set__option_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_set__option_getArgs___closed__0); +l_Lean_Doc_set__option_getArgs___closed__1 = _init_l_Lean_Doc_set__option_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_set__option_getArgs___closed__1); +l_Lean_Doc_set__option_getArgs___closed__2 = _init_l_Lean_Doc_set__option_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_set__option_getArgs___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_manual___closed__0 = _init_l_Lean_Doc_manual___closed__0(); lean_mark_persistent(l_Lean_Doc_manual___closed__0); l_Lean_Doc_manual___closed__1 = _init_l_Lean_Doc_manual___closed__1(); lean_mark_persistent(l_Lean_Doc_manual___closed__1); @@ -55630,47 +67933,84 @@ l_Lean_Doc_manual___closed__5 = _init_l_Lean_Doc_manual___closed__5(); lean_mark_persistent(l_Lean_Doc_manual___closed__5); l_Lean_Doc_manual___closed__6 = _init_l_Lean_Doc_manual___closed__6(); lean_mark_persistent(l_Lean_Doc_manual___closed__6); -l_Lean_Doc_suggestName___lam__1___closed__0 = _init_l_Lean_Doc_suggestName___lam__1___closed__0(); +l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getPositional___at___Lean_Doc_manual_getArgs_spec__0___closed__0); +l_Lean_Doc_manual_getArgs___closed__0 = _init_l_Lean_Doc_manual_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_manual_getArgs___closed__0); +l_Lean_Doc_manual_getArgs___closed__1 = _init_l_Lean_Doc_manual_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_manual_getArgs___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestName___lam__1___closed__0 = _init_l_Lean_Doc_suggestName___lam__1___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__0); -l_Lean_Doc_suggestName___lam__1___closed__1 = _init_l_Lean_Doc_suggestName___lam__1___closed__1(); -lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__1); -l_Lean_Doc_suggestName___lam__1___closed__2 = _init_l_Lean_Doc_suggestName___lam__1___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestName___lam__1___closed__2); l_Lean_Doc_suggestName___closed__0 = _init_l_Lean_Doc_suggestName___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__0); l_Lean_Doc_suggestName___closed__1 = _init_l_Lean_Doc_suggestName___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__1); l_Lean_Doc_suggestName___closed__2 = _init_l_Lean_Doc_suggestName___closed__2(); lean_mark_persistent(l_Lean_Doc_suggestName___closed__2); -l_Lean_Doc_suggestName___closed__3 = _init_l_Lean_Doc_suggestName___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestName___closed__3); -l_Lean_Doc_suggestName___closed__4 = _init_l_Lean_Doc_suggestName___closed__4(); -lean_mark_persistent(l_Lean_Doc_suggestName___closed__4); -l_Lean_Doc_suggestGiven___closed__0 = _init_l_Lean_Doc_suggestGiven___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestGiven___closed__0 = _init_l_Lean_Doc_suggestGiven___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestGiven___closed__0); l_Lean_Doc_suggestGiven___closed__1 = _init_l_Lean_Doc_suggestGiven___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestGiven___closed__1); -l_Lean_Doc_suggestLean___lam__0___closed__0 = _init_l_Lean_Doc_suggestLean___lam__0___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestLean___lam__0___closed__0 = _init_l_Lean_Doc_suggestLean___lam__0___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__0); l_Lean_Doc_suggestLean___lam__0___closed__1 = _init_l_Lean_Doc_suggestLean___lam__0___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__1); -l_Lean_Doc_suggestLean___lam__0___closed__2 = _init_l_Lean_Doc_suggestLean___lam__0___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__2); -l_Lean_Doc_suggestLean___lam__0___closed__3 = _init_l_Lean_Doc_suggestLean___lam__0___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestLean___lam__0___closed__3); -l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0); l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__1); l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2(); lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2); -l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__3); -l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4 = _init_l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4(); -lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__4); l_Lean_Doc_suggestLeanTermBlock___closed__0 = _init_l_Lean_Doc_suggestLeanTermBlock___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestLeanTermBlock___closed__0); -l_Lean_Doc_suggestLeanBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestLeanBlock___lam__0___closed__0 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___lam__0___closed__0); l_Lean_Doc_suggestLeanBlock___lam__0___closed__1 = _init_l_Lean_Doc_suggestLeanBlock___lam__0___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___lam__0___closed__1); @@ -55680,7 +68020,16 @@ l_Lean_Doc_suggestLeanBlock___closed__0 = _init_l_Lean_Doc_suggestLeanBlock___cl lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___closed__0); l_Lean_Doc_suggestLeanBlock___closed__1 = _init_l_Lean_Doc_suggestLeanBlock___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestLeanBlock___closed__1); -l_Lean_Doc_suggestTactic___closed__0 = _init_l_Lean_Doc_suggestTactic___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestTactic___closed__0 = _init_l_Lean_Doc_suggestTactic___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__0); l_Lean_Doc_suggestTactic___closed__1 = _init_l_Lean_Doc_suggestTactic___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__1); @@ -55690,35 +68039,64 @@ l_Lean_Doc_suggestTactic___closed__3 = _init_l_Lean_Doc_suggestTactic___closed__ lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__3); l_Lean_Doc_suggestTactic___closed__4 = _init_l_Lean_Doc_suggestTactic___closed__4(); lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__4); -l_Lean_Doc_suggestTactic___closed__5 = _init_l_Lean_Doc_suggestTactic___closed__5(); -lean_mark_persistent(l_Lean_Doc_suggestTactic___closed__5); -l_Lean_Doc_suggestAttr___closed__0 = _init_l_Lean_Doc_suggestAttr___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestAttr___closed__0 = _init_l_Lean_Doc_suggestAttr___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__0); l_Lean_Doc_suggestAttr___closed__1 = _init_l_Lean_Doc_suggestAttr___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__1); -l_Lean_Doc_suggestAttr___closed__2 = _init_l_Lean_Doc_suggestAttr___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestAttr___closed__2); -l_Lean_Doc_suggestOption___closed__0 = _init_l_Lean_Doc_suggestOption___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestOption___closed__0 = _init_l_Lean_Doc_suggestOption___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestOption___closed__0); l_Lean_Doc_suggestOption___closed__1 = _init_l_Lean_Doc_suggestOption___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestOption___closed__1); -l_Lean_Doc_suggestOption___closed__2 = _init_l_Lean_Doc_suggestOption___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestOption___closed__2); -l_Lean_Doc_suggestOption___closed__3 = _init_l_Lean_Doc_suggestOption___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestOption___closed__3); -l_Lean_Doc_suggestCat___redArg___closed__0 = _init_l_Lean_Doc_suggestCat___redArg___closed__0(); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Doc_suggestCat___redArg___closed__0 = _init_l_Lean_Doc_suggestCat___redArg___closed__0(); lean_mark_persistent(l_Lean_Doc_suggestCat___redArg___closed__0); l_Lean_Doc_suggestCat___redArg___closed__1 = _init_l_Lean_Doc_suggestCat___redArg___closed__1(); lean_mark_persistent(l_Lean_Doc_suggestCat___redArg___closed__1); -l_Lean_Doc_suggestCat___redArg___closed__2 = _init_l_Lean_Doc_suggestCat___redArg___closed__2(); -lean_mark_persistent(l_Lean_Doc_suggestCat___redArg___closed__2); -l_Lean_Doc_suggestCat___redArg___closed__3 = _init_l_Lean_Doc_suggestCat___redArg___closed__3(); -lean_mark_persistent(l_Lean_Doc_suggestCat___redArg___closed__3); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestSyntax_spec__1___redArg___closed__1); -return lean_io_result_mk_ok(lean_box(0)); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1(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/Elab/DocString/Builtin/Keywords.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c index 0289137193..3abc868364 100644 --- a/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c @@ -19,15 +19,19 @@ static lean_object* l_Lean_Doc_kw_x21___closed__9; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2(lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___boxed(lean_object**); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__1; static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__3; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_getArgs___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___boxed(lean_object*); +lean_object* l_Lean_Doc_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms___lam__0(lean_object*); LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_DocArg_ofSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,8 +65,10 @@ static lean_object* l_Lean_Doc_kw_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__10; +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__13; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2; lean_object* l_Lean_TSyntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__14; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; @@ -77,6 +83,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__4; lean_object* l_Lean_ConstantInfo_type(lean_object*); @@ -86,14 +93,17 @@ LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0___boxe static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; lean_object* l_Lean_Environment_header(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1(lean_object*); LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0; LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10___boxed(lean_object*, lean_object*, lean_object*); @@ -113,7 +123,6 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_kw_x21___closed__20; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -150,6 +159,7 @@ uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); +static lean_object* l_Lean_Doc_kw_x21_getArgs___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__7; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -188,9 +198,11 @@ uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0; LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___redArg___lam__0(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_getArgs___closed__2; static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5(lean_object*, size_t, size_t, lean_object*); @@ -213,6 +225,7 @@ lean_object* l_Lean_MessageData_note(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___boxed(lean_object**); uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__7; lean_object* l_Lean_MessageData_hint(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -229,7 +242,6 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at__ uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___boxed(lean_object*); -static lean_object* l_Lean_Doc_kw_x21___closed__21; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logErrorAt___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,6 +272,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__4; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg___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*); @@ -267,6 +280,7 @@ LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownC LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17; @@ -277,6 +291,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lea LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,17 +308,20 @@ static lean_object* l_Lean_Doc_kw_x21___closed__6; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1; static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__5; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0___redArg___closed__1; +static lean_object* l_Lean_Doc_kw_getArgs___closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___redArg___boxed(lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__16; @@ -311,8 +329,10 @@ lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lea lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__14; LEAN_EXPORT lean_object* l_Substring_takeRightWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrNameHasAtomsUnsafe___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); @@ -322,6 +342,7 @@ lean_object* l_Lean_Environment_evalConstCheck___redArg(lean_object*, lean_objec static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__6; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__10; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__10; LEAN_EXPORT lean_object* l_Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -331,6 +352,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lea LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3; lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_kw___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -338,6 +360,7 @@ lean_object* l_Lean_Name_getPrefix(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__18; LEAN_EXPORT lean_object* l_String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0(lean_object*); lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_addBuiltinCodeSuggestion(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserHasAtomPrefix___redArg___closed__1; @@ -362,6 +385,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__15____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__15; @@ -399,10 +423,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lea LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Functor_mapRev___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Array_ofSubarray___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Doc_instFromDocArgIdent___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__1; @@ -457,6 +483,7 @@ extern lean_object* l_Lean_Elab_pp_macroStack; LEAN_EXPORT lean_object* l_Lean_Doc_suggestKw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__4(lean_object*, lean_object*); lean_object* l___private_Init_Dynamic_0__Dynamic_typeNameImpl(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -478,11 +505,14 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_x27_attempt___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_x21_getArgs___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,6 +522,7 @@ lean_object* lean_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_splitAux___at___String_split___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -500,15 +531,18 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveN lean_object* l_Lean_MacroScopesView_review(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__7; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__1_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -519,6 +553,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); static lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___closed__0; static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8___closed__0; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -527,9 +562,11 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__1(uint8_t, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__4; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2; lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__5; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -552,6 +589,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -562,6 +600,7 @@ static lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__5___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -580,19 +619,23 @@ LEAN_EXPORT lean_object* l_Lean_log___at___Lean_logInfo___at_____private_Lean_El LEAN_EXPORT lean_object* l_Lean_Doc_kw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg___lam__0___closed__3; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtoms___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24_spec__24_spec__25___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__12____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_foldl___at___Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___at___Lean_Doc_kw_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__9____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -607,6 +650,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__24___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__16; +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1_spec__2___closed__1; lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); @@ -625,6 +669,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__19_spec__19___closed__0; +lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__5____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; @@ -632,6 +677,7 @@ lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_obje static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___redArg___closed__6; LEAN_EXPORT lean_object* l_Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___redArg(lean_object*); @@ -644,6 +690,8 @@ LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobal LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___redArg(lean_object*, lean_object*); lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21_getArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt_spec__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); uint8_t l_Lean_isPrivateName(lean_object*); @@ -655,15 +703,19 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lea LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_onlyCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__13; @@ -679,6 +731,7 @@ lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrCanEps___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_____private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8_spec__8___closed__11; @@ -692,23 +745,28 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___Lean_Elab_pushInfoLeaf_ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_getArgs___closed__4; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_ofExcept___at___Lean_evalConstCheck___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_namedParserHasAtomPrefixUnsafe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); +static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrHasAtom___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__16; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_kw_getArgs___closed__0; lean_object* l_Lean_Name_mkStr1(lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_PersistentHashMap_foldlMAux___at___Lean_PersistentHashMap_foldlM___at___Lean_PersistentHashMap_forIn___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__12; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_categorySuggestions_spec__0___redArg___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -739,6 +797,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__0; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); +lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_checkKindExists___redArg___closed__8; uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -750,12 +809,15 @@ LEAN_EXPORT lean_object* l_Lean_Doc_checkKindExists___redArg___boxed(lean_object LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtom___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_containsAtom_attempt___closed__6; +LEAN_EXPORT lean_object* l_Lean_Doc_kw_getArgs___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_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_startsWithAtom_x3f_attempt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__5_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstVal___at___Lean_mkConstWithLevelParams___at___Lean_Elab_addConstInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__8_spec__8_spec__8_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_withAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_exprContainsAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -764,8 +826,10 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__19_spec__19_spec__19___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_canEpsilon_attempt(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_____private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at___Lean_Doc_kw_x21_spec__2_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__11____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -792,6 +856,7 @@ size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___Lean_resolveLocalName___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__0_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__13____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_parserDescrStartsWithAtom___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_spec__22___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_kw_x21___closed__18; @@ -23458,6 +23523,1260 @@ lean_dec_ref(x_3); return x_14; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgIdent___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Doc_kw_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cat", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_getArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_mk_syntax_ident(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Doc_kw_getArgs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("of", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_getArgs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_getArgs___closed__3; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_kw_getArgs___closed__1; +x_14 = l_Lean_Doc_kw_getArgs___closed__2; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_kw_getArgs___closed__4; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_21 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(x_20, x_14, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_26 = l_Lean_Doc_done(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_27, 1); +x_31 = lean_ctor_get(x_27, 0); +lean_dec(x_31); +x_32 = l_Lean_Doc_kw(x_18, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_ctor_set(x_27, 0, x_34); +lean_ctor_set(x_32, 0, x_27); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_32, 0); +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_32); +lean_ctor_set(x_27, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_free_object(x_27); +lean_dec(x_30); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +return x_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_32, 0); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_32); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_dec(x_27); +x_43 = l_Lean_Doc_kw(x_18, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_42); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_42); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_53 = !lean_is_exclusive(x_26); +if (x_53 == 0) +{ +return x_26; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_26, 0); +x_55 = lean_ctor_get(x_26, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_26); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_57 = !lean_is_exclusive(x_21); +if (x_57 == 0) +{ +return x_21; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_21, 0); +x_59 = lean_ctor_get(x_21, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_21); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_61 = !lean_is_exclusive(x_15); +if (x_61 == 0) +{ +return x_15; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_15, 0); +x_63 = lean_ctor_get(x_15, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_15); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_kw_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getArgs", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_kw_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -23531,6 +24850,334 @@ lean_dec_ref(x_3); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_kw_getArgs___closed__1; +x_14 = l_Lean_Doc_kw_getArgs___closed__2; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_kw_getArgs___closed__4; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_21 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0(x_20, x_14, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_26 = l_Lean_Doc_done(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec_ref(x_26); +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_27, 1); +x_31 = lean_ctor_get(x_27, 0); +lean_dec(x_31); +x_32 = l_Lean_Doc_kw_x3f(x_18, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_ctor_set(x_27, 0, x_34); +lean_ctor_set(x_32, 0, x_27); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_32, 0); +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_32); +lean_ctor_set(x_27, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +uint8_t x_38; +lean_free_object(x_27); +lean_dec(x_30); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +return x_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_32, 0); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_32); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_dec(x_27); +x_43 = l_Lean_Doc_kw_x3f(x_18, x_24, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_42); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_42); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_53 = !lean_is_exclusive(x_26); +if (x_53 == 0) +{ +return x_26; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_26, 0); +x_55 = lean_ctor_get(x_26, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_26); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_57 = !lean_is_exclusive(x_21); +if (x_57 == 0) +{ +return x_21; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_21, 0); +x_59 = lean_ctor_get(x_21, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_21); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +x_61 = !lean_is_exclusive(x_15); +if (x_61 == 0) +{ +return x_15; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_15, 0); +x_63 = lean_ctor_get(x_15, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_15); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x3f_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_kw_x3f_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_kw_x3f_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_PostponedKind_ctorIdx(lean_object* x_1) { _start: { @@ -24283,7 +25930,7 @@ return x_81; LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; +lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; lean_object* x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; uint8_t x_86; uint8_t x_101; x_13 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__0___boxed), 7, 0); x_14 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__1___boxed), 7, 0); x_62 = lean_alloc_closure((void*)(l_Lean_logAt___at___Lean_logErrorAt___at___Lean_Doc_kw_x21_spec__0_spec__0___redArg___lam__2___boxed), 7, 0); @@ -24312,7 +25959,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); 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; @@ -24355,8 +26002,8 @@ x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec_ref(x_28); lean_inc(x_21); -x_31 = l_Lean_FileMap_toPosition(x_21, x_18); -lean_dec(x_18); +x_31 = l_Lean_FileMap_toPosition(x_21, x_17); +lean_dec(x_17); x_32 = l_Lean_FileMap_toPosition(x_21, x_19); lean_dec(x_19); x_33 = lean_alloc_ctor(1, 1, 0); @@ -24383,7 +26030,7 @@ uint8_t x_40; lean_dec(x_26); lean_dec(x_21); lean_dec(x_19); -lean_dec(x_18); +lean_dec(x_17); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -24415,7 +26062,7 @@ else uint8_t x_44; lean_dec(x_21); lean_dec(x_19); -lean_dec(x_18); +lean_dec(x_17); lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); @@ -24447,7 +26094,7 @@ else { uint8_t x_48; lean_dec(x_19); -lean_dec(x_18); +lean_dec(x_17); lean_dec_ref(x_13); lean_dec(x_11); lean_dec_ref(x_10); @@ -24479,15 +26126,15 @@ return x_51; block_61: { lean_object* x_59; -x_59 = l_Lean_Syntax_getTailPos_x3f(x_56, x_57); -lean_dec(x_56); +x_59 = l_Lean_Syntax_getTailPos_x3f(x_57, x_56); +lean_dec(x_57); if (lean_obj_tag(x_59) == 0) { lean_inc(x_58); x_15 = x_53; x_16 = x_55; -x_17 = x_54; -x_18 = x_58; +x_17 = x_58; +x_18 = x_54; x_19 = x_58; goto block_52; } @@ -24499,8 +26146,8 @@ lean_inc(x_60); lean_dec_ref(x_59); x_15 = x_53; x_16 = x_55; -x_17 = x_54; -x_18 = x_58; +x_17 = x_58; +x_18 = x_54; x_19 = x_60; goto block_52; } @@ -24533,8 +26180,8 @@ x_72 = lean_unsigned_to_nat(0u); x_53 = x_63; x_54 = x_69; x_55 = x_66; -x_56 = x_70; -x_57 = x_64; +x_56 = x_64; +x_57 = x_70; x_58 = x_72; goto block_61; } @@ -24547,8 +26194,8 @@ lean_dec_ref(x_71); x_53 = x_63; x_54 = x_69; x_55 = x_66; -x_56 = x_70; -x_57 = x_64; +x_56 = x_64; +x_57 = x_70; x_58 = x_73; goto block_61; } @@ -26322,8 +27969,8 @@ if (x_51 == 0) lean_dec(x_49); lean_dec_ref(x_47); lean_dec(x_40); -x_28 = x_45; -x_29 = x_44; +x_28 = x_44; +x_29 = x_45; x_30 = x_50; goto block_33; } @@ -26336,8 +27983,8 @@ if (x_52 == 0) lean_dec(x_49); lean_dec_ref(x_47); lean_dec(x_40); -x_28 = x_45; -x_29 = x_44; +x_28 = x_44; +x_29 = x_45; x_30 = x_50; goto block_33; } @@ -26350,8 +27997,8 @@ lean_dec(x_49); x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lean_unresolveNameGlobal___at___Lean_unresolveNameGlobalAvoidingLocals___at_____private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_ofSuggestions_spec__0_spec__13_spec__16(x_40, x_47, x_53, x_54, x_50); lean_dec_ref(x_47); lean_dec(x_40); -x_28 = x_45; -x_29 = x_44; +x_28 = x_44; +x_29 = x_45; x_30 = x_55; goto block_33; } @@ -26670,7 +28317,7 @@ block_33: { lean_object* x_31; lean_object* x_32; x_31 = lean_box(0); -x_32 = lean_apply_12(x_28, x_30, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_29); +x_32 = lean_apply_12(x_29, x_30, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_28); return x_32; } } @@ -26890,30 +28537,26 @@ return x_3; static lean_object* _init_l_Lean_Doc_kw_x21___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__6; -x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("for automatic resolution", 24, 24); +return x_1; } } static lean_object* _init_l_Lean_Doc_kw_x21___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl_makeHint___redArg___closed__3; -x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21___closed__7; +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_Doc_kw_x21___closed__9() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("for automatic resolution", 24, 24); +x_1 = lean_mk_string_unchecked("for automatic resolution with suggestions", 41, 41); return x_1; } } @@ -26930,31 +28573,13 @@ return x_2; static lean_object* _init_l_Lean_Doc_kw_x21___closed__11() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("for automatic resolution with suggestions", 41, 41); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_kw_x21___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_kw_x21___closed__11; -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_Doc_kw_x21___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(2u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_kw_x21___closed__14() { +static lean_object* _init_l_Lean_Doc_kw_x21___closed__12() { _start: { lean_object* x_1; @@ -26962,16 +28587,16 @@ x_1 = lean_mk_string_unchecked("Use one of the other keyword roles.", 35, 35); return x_1; } } -static lean_object* _init_l_Lean_Doc_kw_x21___closed__15() { +static lean_object* _init_l_Lean_Doc_kw_x21___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_kw_x21___closed__14; +x_1 = l_Lean_Doc_kw_x21___closed__12; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_kw_x21___closed__16() { +static lean_object* _init_l_Lean_Doc_kw_x21___closed__14() { _start: { lean_object* x_1; @@ -26979,7 +28604,7 @@ x_1 = l_Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Postponed_125007431 return x_1; } } -static lean_object* _init_l_Lean_Doc_kw_x21___closed__17() { +static lean_object* _init_l_Lean_Doc_kw_x21___closed__15() { _start: { lean_object* x_1; @@ -26987,6 +28612,25 @@ x_1 = lean_mk_string_unchecked("checkKindExists", 15, 15); return x_1; } } +static lean_object* _init_l_Lean_Doc_kw_x21___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Doc_kw_x21___closed__15; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PostponedCheck", 14, 14); +return x_1; +} +} static lean_object* _init_l_Lean_Doc_kw_x21___closed__18() { _start: { @@ -27001,25 +28645,6 @@ return x_4; static lean_object* _init_l_Lean_Doc_kw_x21___closed__19() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("PostponedCheck", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lean_Doc_kw_x21___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Doc_kw_x21___closed__19; -x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Doc_kw_x21___closed__21() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(1u); x_2 = lean_mk_empty_array_with_capacity(x_1); @@ -27081,7 +28706,7 @@ goto block_49; else { lean_object* x_54; uint8_t x_55; lean_object* x_56; -x_54 = l_Lean_Doc_kw_x21___closed__7; +x_54 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0; x_55 = 0; lean_inc(x_12); lean_inc_ref(x_11); @@ -27101,7 +28726,7 @@ lean_inc(x_57); x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); lean_dec_ref(x_56); -x_59 = l_Lean_Doc_kw_x21___closed__8; +x_59 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0; lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); @@ -27126,7 +28751,7 @@ x_65 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_57, x_5 x_66 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_66, 0, x_65); x_67 = lean_box(0); -x_68 = l_Lean_Doc_kw_x21___closed__10; +x_68 = l_Lean_Doc_kw_x21___closed__8; x_69 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_69, 0, x_66); lean_ctor_set(x_69, 1, x_67); @@ -27143,7 +28768,7 @@ lean_ctor_set_uint8(x_71, sizeof(void*)*3, x_70); x_72 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_61, x_52); x_73 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_73, 0, x_72); -x_74 = l_Lean_Doc_kw_x21___closed__12; +x_74 = l_Lean_Doc_kw_x21___closed__10; x_75 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_67); @@ -27156,10 +28781,10 @@ lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_67); lean_ctor_set(x_76, 2, x_67); lean_ctor_set_uint8(x_76, sizeof(void*)*3, x_70); -x_77 = l_Lean_Doc_kw_x21___closed__13; +x_77 = l_Lean_Doc_kw_x21___closed__11; x_78 = lean_array_push(x_77, x_71); x_79 = lean_array_push(x_78, x_76); -x_80 = l_Lean_Doc_kw_x21___closed__15; +x_80 = l_Lean_Doc_kw_x21___closed__13; x_81 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_81, 0, x_64); x_82 = lean_box(x_55); @@ -27600,8 +29225,8 @@ if (x_152 == 0) lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; x_153 = lean_ctor_get(x_2, 0); x_154 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; -x_155 = l_Lean_Doc_kw_x21___closed__16; -x_156 = l_Lean_Doc_kw_x21___closed__18; +x_155 = l_Lean_Doc_kw_x21___closed__14; +x_156 = l_Lean_Doc_kw_x21___closed__16; x_157 = lean_array_size(x_153); x_158 = 0; x_159 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(x_157, x_158, x_153); @@ -27614,7 +29239,7 @@ x_162 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_162, 0, x_156); lean_ctor_set(x_162, 1, x_159); lean_ctor_set(x_162, 2, x_161); -x_163 = l_Lean_Doc_kw_x21___closed__20; +x_163 = l_Lean_Doc_kw_x21___closed__18; x_164 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_164, 0, x_155); lean_ctor_set(x_164, 1, x_162); @@ -27625,7 +29250,7 @@ x_166 = l_Lean_TSyntax_getString(x_15); lean_dec(x_15); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_166); -x_167 = l_Lean_Doc_kw_x21___closed__21; +x_167 = l_Lean_Doc_kw_x21___closed__19; x_168 = lean_array_push(x_167, x_2); x_169 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_169, 0, x_165); @@ -27642,8 +29267,8 @@ x_171 = lean_ctor_get(x_2, 0); lean_inc(x_171); lean_dec(x_2); x_172 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_; -x_173 = l_Lean_Doc_kw_x21___closed__16; -x_174 = l_Lean_Doc_kw_x21___closed__18; +x_173 = l_Lean_Doc_kw_x21___closed__14; +x_174 = l_Lean_Doc_kw_x21___closed__16; x_175 = lean_array_size(x_171); x_176 = 0; x_177 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_kw_x21_spec__10(x_175, x_176, x_171); @@ -27656,7 +29281,7 @@ x_180 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_180, 0, x_174); lean_ctor_set(x_180, 1, x_177); lean_ctor_set(x_180, 2, x_179); -x_181 = l_Lean_Doc_kw_x21___closed__20; +x_181 = l_Lean_Doc_kw_x21___closed__18; x_182 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_182, 0, x_173); lean_ctor_set(x_182, 1, x_180); @@ -27667,7 +29292,7 @@ x_184 = l_Lean_TSyntax_getString(x_15); lean_dec(x_15); x_185 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_185, 0, x_184); -x_186 = l_Lean_Doc_kw_x21___closed__21; +x_186 = l_Lean_Doc_kw_x21___closed__19; x_187 = lean_array_push(x_186, x_185); x_188 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_188, 0, x_183); @@ -28233,6 +29858,2155 @@ lean_dec_ref(x_3); return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgIdent___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0___boxed), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgDocScope___private__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_28; +x_20 = lean_ctor_get(x_8, 1); +x_21 = lean_ctor_get(x_8, 2); +x_28 = lean_nat_dec_lt(x_10, x_20); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_11); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec_ref(x_9); +x_31 = lean_array_fget_borrowed(x_1, x_10); +lean_inc(x_31); +x_32 = l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_Lean_TSyntax_getId(x_36); +lean_dec(x_36); +x_39 = lean_erase_macro_scopes(x_38); +x_40 = lean_name_eq(x_39, x_3); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_free_object(x_34); +lean_dec(x_37); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_41 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_41, 0, x_37); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec_ref(x_42); +x_45 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_45, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +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_48 = lean_ctor_get(x_46, 0); +lean_inc(x_10); +lean_inc_ref(x_1); +x_49 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_50 = l_Array_ofSubarray___redArg(x_49); +lean_dec_ref(x_49); +x_51 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_52 = l_Array_toSubarray___redArg(x_1, x_51, x_6); +x_53 = l_Array_ofSubarray___redArg(x_52); +lean_dec_ref(x_52); +x_54 = l_Array_append___redArg(x_50, x_53); +lean_dec_ref(x_53); +lean_ctor_set(x_32, 0, x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_7); +lean_ctor_set(x_34, 1, x_54); +lean_ctor_set(x_34, 0, x_55); +lean_ctor_set(x_46, 0, x_34); +return x_46; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +lean_inc(x_10); +lean_inc_ref(x_1); +x_58 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_59 = l_Array_ofSubarray___redArg(x_58); +lean_dec_ref(x_58); +x_60 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_61 = l_Array_toSubarray___redArg(x_1, x_60, x_6); +x_62 = l_Array_ofSubarray___redArg(x_61); +lean_dec_ref(x_61); +x_63 = l_Array_append___redArg(x_59, x_62); +lean_dec_ref(x_62); +lean_ctor_set(x_32, 0, x_56); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_34, 1, x_63); +lean_ctor_set(x_34, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_34); +lean_ctor_set(x_65, 1, x_57); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_66 = !lean_is_exclusive(x_46); +if (x_66 == 0) +{ +return x_46; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_46, 0); +x_68 = lean_ctor_get(x_46, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_46); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_free_object(x_34); +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_70 = !lean_is_exclusive(x_42); +if (x_70 == 0) +{ +return x_42; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_42, 0); +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_42); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_34, 0); +x_75 = lean_ctor_get(x_34, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_34); +x_76 = l_Lean_TSyntax_getId(x_74); +lean_dec(x_74); +x_77 = lean_erase_macro_scopes(x_76); +x_78 = lean_name_eq(x_77, x_3); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_dec(x_75); +lean_free_object(x_32); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_79 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_79, 0, x_75); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_80 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_79, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec_ref(x_80); +x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_83, 0, x_81); +x_84 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_83, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_88 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_89 = l_Array_ofSubarray___redArg(x_88); +lean_dec_ref(x_88); +x_90 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_91 = l_Array_toSubarray___redArg(x_1, x_90, x_6); +x_92 = l_Array_ofSubarray___redArg(x_91); +lean_dec_ref(x_91); +x_93 = l_Array_append___redArg(x_89, x_92); +lean_dec_ref(x_92); +lean_ctor_set(x_32, 0, x_85); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_32); +lean_ctor_set(x_94, 1, x_7); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_86); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_free_object(x_32); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_84, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_99 = x_84; +} else { + lean_dec_ref(x_84); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_free_object(x_32); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_101 = lean_ctor_get(x_80, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_80, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_103 = x_80; +} else { + lean_dec_ref(x_80); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(1, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_101); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_32, 0); +lean_inc(x_105); +lean_dec(x_32); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = l_Lean_TSyntax_getId(x_106); +lean_dec(x_106); +x_110 = lean_erase_macro_scopes(x_109); +x_111 = lean_name_eq(x_110, x_3); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_dec(x_108); +lean_dec(x_107); +lean_inc_ref(x_2); +x_22 = x_2; +x_23 = x_11; +x_24 = x_19; +goto block_27; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec_ref(x_11); +lean_dec_ref(x_2); +x_112 = lean_alloc_closure((void*)(l_Lean_Doc_DocArg_ofSyntax___boxed), 8, 1); +lean_closure_set(x_112, 0, x_107); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc_ref(x_13); +x_113 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_112, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec_ref(x_113); +x_116 = lean_alloc_closure((void*)(l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___lam__0), 8, 1); +lean_closure_set(x_116, 0, x_114); +x_117 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_116, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; +} else { + lean_dec_ref(x_117); + x_120 = lean_box(0); +} +lean_inc(x_10); +lean_inc_ref(x_1); +x_121 = l_Array_toSubarray___redArg(x_1, x_4, x_10); +x_122 = l_Array_ofSubarray___redArg(x_121); +lean_dec_ref(x_121); +x_123 = lean_nat_add(x_10, x_5); +lean_dec(x_10); +x_124 = l_Array_toSubarray___redArg(x_1, x_123, x_6); +x_125 = l_Array_ofSubarray___redArg(x_124); +lean_dec_ref(x_124); +x_126 = l_Array_append___redArg(x_122, x_125); +lean_dec_ref(x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_118); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_7); +if (lean_is_scalar(x_108)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_108; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +if (lean_is_scalar(x_120)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_120; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_119); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_108); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_131 = lean_ctor_get(x_117, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_117, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_133 = x_117; +} else { + lean_dec_ref(x_117); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_108); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_135 = lean_ctor_get(x_113, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_113, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_137 = x_113; +} else { + lean_dec_ref(x_113); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +} +block_27: +{ +lean_object* x_25; +x_25 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_9 = x_22; +x_10 = x_25; +x_11 = x_23; +x_19 = x_24; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_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) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +return x_24; +} +} +static lean_object* _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +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_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_erase_macro_scopes(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +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_box(0); +x_20 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0; +lean_inc_ref(x_3); +x_21 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg(x_3, x_20, x_14, x_15, x_17, x_16, x_19, x_18, x_20, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_18); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +x_24 = lean_ctor_get(x_23, 0); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_22, 0); +lean_dec(x_28); +lean_ctor_set(x_22, 0, x_2); +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_33 = x_22; +} else { + lean_dec_ref(x_22); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_inc_ref(x_24); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_22, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +lean_dec_ref(x_24); +lean_ctor_set(x_22, 0, x_40); +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_22, 1); +lean_inc(x_41); +lean_dec(x_22); +x_42 = lean_ctor_get(x_24, 0); +lean_inc(x_42); +lean_dec_ref(x_24); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_21, 0, x_43); +return x_21; +} +} +else +{ +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_44 = lean_ctor_get(x_21, 1); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_ctor_get(x_22, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_46 = x_22; +} else { + lean_dec_ref(x_22); + x_46 = lean_box(0); +} +x_47 = lean_ctor_get(x_24, 0); +lean_inc(x_47); +lean_dec_ref(x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_21); +if (x_50 == 0) +{ +return x_21; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_21, 0); +x_52 = lean_ctor_get(x_21, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_21); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +static lean_object* _init_l_Lean_Doc_kw_x21_getArgs___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scope", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Doc_kw_x21_getArgs___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Doc_kw_x21_getArgs___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21_getArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_Doc_kw_getArgs___closed__4; +x_14 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_15 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec_ref(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Doc_kw_x21_getArgs___closed__1; +x_21 = lean_box(0); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_22 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3(x_20, x_21, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec_ref(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_27 = l_Lean_Doc_done(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec_ref(x_27); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_28, 1); +x_32 = lean_ctor_get(x_28, 0); +lean_dec(x_32); +x_33 = l_Lean_Doc_kw_x21(x_18, x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_ctor_set(x_28, 0, x_35); +lean_ctor_set(x_33, 0, x_28); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_33); +lean_ctor_set(x_28, 0, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_free_object(x_28); +lean_dec(x_31); +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) +{ +return x_33; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_33); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_28, 1); +lean_inc(x_43); +lean_dec(x_28); +x_44 = l_Lean_Doc_kw_x21(x_18, x_25, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_47 = x_44; +} else { + lean_dec_ref(x_44); + x_47 = lean_box(0); +} +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_43); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_43); +x_50 = lean_ctor_get(x_44, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_44, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_52 = x_44; +} else { + lean_dec_ref(x_44); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 2, 0); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_54 = !lean_is_exclusive(x_27); +if (x_54 == 0) +{ +return x_27; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_27, 0); +x_56 = lean_ctor_get(x_27, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_27); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_18); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_58 = !lean_is_exclusive(x_22); +if (x_58 == 0) +{ +return x_22; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_22, 0); +x_60 = lean_ctor_get(x_22, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_22); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_62 = !lean_is_exclusive(x_15); +if (x_62 == 0) +{ +return x_15; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_15, 0); +x_64 = lean_ctor_get(x_15, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_15); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Doc_instFromDocArgOption___private__1___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +lean_object* x_20; +x_20 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Range_Basic_0__Std_Range_forIn_x27_loop___at___Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_3); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_kw_x21_getArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Doc_kw_x21_getArgs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_1); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1; +x_2 = l_Lean_Doc_kw_x21___closed__2; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_kw_x21_getArgs___boxed), 12, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3(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_Doc_kw_x21___closed__3; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0; +x_4 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1; +x_5 = l_Lean_Doc_addBuiltinDocRole(x_2, x_3, x_4, x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Doc_suggestKw_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -28473,7 +32247,7 @@ lean_inc(x_9); lean_dec(x_7); x_10 = lean_unsigned_to_nat(0u); x_11 = lean_array_uset(x_3, x_2, x_10); -x_12 = l_Lean_Doc_kw_x21___closed__7; +x_12 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0; x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0; x_14 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_9, x_5); x_15 = lean_string_append(x_13, x_14); @@ -28712,6 +32486,43 @@ lean_dec(x_1); return x_12; } } +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suggestKw", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__14____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_Data_instImpl___closed__2____x40_Lean_Elab_DocString_Builtin_Keywords_1640796728____hygCtx___hyg_23_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Doc_suggestKw___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1; +x_3 = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2; +x_4 = l_Lean_Doc_addBuiltinCodeSuggestion(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Lean_Elab_DocString(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_DocString_Builtin_Scopes(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_DocString_Builtin_Postponed(uint8_t builtin, lean_object*); @@ -29079,7 +32890,39 @@ l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17 lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__17); l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kwImpl___closed__18); -l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); +l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_kw_getArgs_spec__0___closed__0); +l_Lean_Doc_kw_getArgs___closed__0 = _init_l_Lean_Doc_kw_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_kw_getArgs___closed__0); +l_Lean_Doc_kw_getArgs___closed__1 = _init_l_Lean_Doc_kw_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_kw_getArgs___closed__1); +l_Lean_Doc_kw_getArgs___closed__2 = _init_l_Lean_Doc_kw_getArgs___closed__2(); +lean_mark_persistent(l_Lean_Doc_kw_getArgs___closed__2); +l_Lean_Doc_kw_getArgs___closed__3 = _init_l_Lean_Doc_kw_getArgs___closed__3(); +lean_mark_persistent(l_Lean_Doc_kw_getArgs___closed__3); +l_Lean_Doc_kw_getArgs___closed__4 = _init_l_Lean_Doc_kw_getArgs___closed__4(); +lean_mark_persistent(l_Lean_Doc_kw_getArgs___closed__4); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__2); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3___closed__3); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw___regBuiltin_Lean_Doc_kw__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x3f___regBuiltin_Lean_Doc_kw_x3f__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__0____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_); l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_ = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_instImpl___closed__1____x40_Lean_Elab_DocString_Builtin_Keywords_1858815893____hygCtx___hyg_15_); @@ -29147,17 +32990,37 @@ l_Lean_Doc_kw_x21___closed__18 = _init_l_Lean_Doc_kw_x21___closed__18(); lean_mark_persistent(l_Lean_Doc_kw_x21___closed__18); l_Lean_Doc_kw_x21___closed__19 = _init_l_Lean_Doc_kw_x21___closed__19(); lean_mark_persistent(l_Lean_Doc_kw_x21___closed__19); -l_Lean_Doc_kw_x21___closed__20 = _init_l_Lean_Doc_kw_x21___closed__20(); -lean_mark_persistent(l_Lean_Doc_kw_x21___closed__20); -l_Lean_Doc_kw_x21___closed__21 = _init_l_Lean_Doc_kw_x21___closed__21(); -lean_mark_persistent(l_Lean_Doc_kw_x21___closed__21); -l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0(); +l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__0___closed__0); +l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0 = _init_l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0(); +lean_mark_persistent(l_Lean_Doc_getNamed___at___Lean_Doc_kw_x21_getArgs_spec__3___closed__0); +l_Lean_Doc_kw_x21_getArgs___closed__0 = _init_l_Lean_Doc_kw_x21_getArgs___closed__0(); +lean_mark_persistent(l_Lean_Doc_kw_x21_getArgs___closed__0); +l_Lean_Doc_kw_x21_getArgs___closed__1 = _init_l_Lean_Doc_kw_x21_getArgs___closed__1(); +lean_mark_persistent(l_Lean_Doc_kw_x21_getArgs___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3___closed__1); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_kw_x21___regBuiltin_Lean_Doc_kw_x21__3(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__0); l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__1); l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Doc_suggestKw_spec__2___redArg___closed__2); -return lean_io_result_mk_ok(lean_box(0)); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__0); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__1); +l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2 = _init_l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1___closed__2); +if (builtin) {res = l___private_Lean_Elab_DocString_Builtin_Keywords_0__Lean_Doc_suggestKw___regBuiltin_Lean_Doc_suggestKw__1(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/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 0142ada4f2..46979c2a80 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -44325,15 +44325,41 @@ lean_inc_ref(x_6); x_22 = lean_apply_8(x_3, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_23; lean_object* x_24; uint8_t x_25; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec_ref(x_22); -x_25 = lean_box(0); -x_26 = l_Lean_Meta_mkAuxTheorem(x_23, x_1, x_12, x_25, x_2, x_6, x_7, x_8, x_9, x_24); -return x_26; +if (x_2 == 0) +{ +x_25 = x_2; +goto block_28; +} +else +{ +uint8_t x_29; +x_29 = l_Lean_Expr_hasSorry(x_1); +if (x_29 == 0) +{ +x_25 = x_2; +goto block_28; +} +else +{ +uint8_t x_30; +x_30 = 0; +x_25 = x_30; +goto block_28; +} +} +block_28: +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l_Lean_Meta_mkAuxTheorem(x_23, x_1, x_12, x_26, x_25, x_6, x_7, x_8, x_9, x_24); +return x_27; +} } else { @@ -46893,7 +46919,7 @@ lean_inc_ref(x_8); x_14 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__1(x_12, x_13, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t 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_55; uint8_t x_56; lean_object* x_57; uint8_t x_58; uint8_t x_59; lean_object* x_60; lean_object* x_70; uint8_t x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_86; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; uint8_t x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_86; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -46943,20 +46969,20 @@ lean_inc(x_32); x_33 = lean_ctor_get(x_3, 1); lean_inc(x_33); lean_dec_ref(x_3); -x_34 = l_Array_isEmpty___redArg(x_20); -lean_dec_ref(x_20); +x_34 = l_Array_isEmpty___redArg(x_22); +lean_dec_ref(x_22); x_35 = 1; x_36 = lean_box(x_34); x_37 = lean_box(x_19); x_38 = lean_box(x_35); -x_39 = lean_box(x_22); +x_39 = lean_box(x_21); x_40 = lean_box(x_11); x_41 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally___boxed__const__1; x_42 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally___lam__3___boxed), 17, 10); lean_closure_set(x_42, 0, x_36); lean_closure_set(x_42, 1, x_37); lean_closure_set(x_42, 2, x_24); -lean_closure_set(x_42, 3, x_21); +lean_closure_set(x_42, 3, x_23); lean_closure_set(x_42, 4, x_38); lean_closure_set(x_42, 5, x_39); lean_closure_set(x_42, 6, x_40); @@ -46995,7 +47021,7 @@ x_50 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_closure_set(x_50, 0, x_43); lean_closure_set(x_50, 1, x_48); lean_closure_set(x_50, 2, x_49); -if (x_23 == 0) +if (x_20 == 0) { lean_object* x_51; x_51 = l_Lean_withExporting___at___Lean_withoutExporting___at___Lean_Meta_abstractProof___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__9_spec__9_spec__9___redArg(x_50, x_11, x_25, x_26, x_27, x_28, x_29, x_30, x_31); @@ -47006,7 +47032,7 @@ else if (x_19 == 0) { lean_object* x_52; -x_52 = l_Lean_withExporting___at___Lean_withoutExporting___at___Lean_Meta_abstractProof___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__9_spec__9_spec__9___redArg(x_50, x_23, x_25, x_26, x_27, x_28, x_29, x_30, x_31); +x_52 = l_Lean_withExporting___at___Lean_withoutExporting___at___Lean_Meta_abstractProof___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__9_spec__9_spec__9___redArg(x_50, x_20, x_25, x_26, x_27, x_28, x_29, x_30, x_31); return x_52; } else @@ -47020,9 +47046,9 @@ return x_53; block_69: { size_t x_61; lean_object* x_62; -x_61 = lean_array_size(x_57); -lean_inc_ref(x_57); -x_62 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__19___redArg(x_61, x_13, x_57, x_6, x_7, x_8, x_9, x_60); +x_61 = lean_array_size(x_58); +lean_inc_ref(x_58); +x_62 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__19___redArg(x_61, x_13, x_58, x_6, x_7, x_8, x_9, x_60); if (lean_obj_tag(x_62) == 0) { lean_object* x_63; lean_object* x_64; @@ -47034,8 +47060,8 @@ lean_dec_ref(x_62); x_19 = x_59; x_20 = x_57; x_21 = x_55; -x_22 = x_56; -x_23 = x_58; +x_22 = x_58; +x_23 = x_56; x_24 = x_63; x_25 = x_4; x_26 = x_5; @@ -47049,8 +47075,8 @@ goto block_54; else { uint8_t x_65; -lean_dec_ref(x_57); -lean_dec_ref(x_55); +lean_dec_ref(x_58); +lean_dec_ref(x_56); lean_dec_ref(x_18); lean_dec(x_9); lean_dec_ref(x_8); @@ -47096,13 +47122,13 @@ lean_inc(x_77); lean_dec_ref(x_74); x_78 = lean_unbox(x_75); lean_dec(x_75); -lean_inc_ref(x_72); +lean_inc_ref(x_73); x_19 = x_78; x_20 = x_72; x_21 = x_70; -x_22 = x_71; -x_23 = x_73; -x_24 = x_72; +x_22 = x_73; +x_23 = x_71; +x_24 = x_73; x_25 = x_4; x_26 = x_5; x_27 = x_6; @@ -47132,8 +47158,8 @@ goto block_69; else { uint8_t x_81; -lean_dec_ref(x_72); -lean_dec_ref(x_70); +lean_dec_ref(x_73); +lean_dec_ref(x_71); lean_dec_ref(x_18); lean_dec(x_9); lean_dec_ref(x_8); @@ -47182,10 +47208,10 @@ lean_inc(x_91); lean_dec_ref(x_87); lean_inc_ref_n(x_86, 2); x_19 = x_90; -x_20 = x_86; -x_21 = x_86; -x_22 = x_90; -x_23 = x_90; +x_20 = x_90; +x_21 = x_90; +x_22 = x_86; +x_23 = x_86; x_24 = x_86; x_25 = x_4; x_26 = x_5; @@ -47211,10 +47237,10 @@ lean_object* x_96; lean_dec(x_94); x_96 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally___lam__5(x_90, x_11, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_92); lean_inc_ref(x_86); -x_70 = x_86; -x_71 = x_90; -x_72 = x_86; -x_73 = x_90; +x_70 = x_90; +x_71 = x_86; +x_72 = x_90; +x_73 = x_86; x_74 = x_96; goto block_85; } @@ -47224,10 +47250,10 @@ if (x_95 == 0) { lean_dec(x_94); lean_inc_ref(x_86); -x_55 = x_86; -x_56 = x_90; -x_57 = x_86; -x_58 = x_90; +x_55 = x_90; +x_56 = x_86; +x_57 = x_90; +x_58 = x_86; x_59 = x_90; x_60 = x_92; goto block_69; @@ -47256,20 +47282,20 @@ x_101 = lean_unbox(x_99); lean_dec(x_99); x_102 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally___lam__5(x_90, x_11, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_100); lean_inc_ref(x_86); -x_70 = x_86; -x_71 = x_90; -x_72 = x_86; -x_73 = x_90; +x_70 = x_90; +x_71 = x_86; +x_72 = x_90; +x_73 = x_86; x_74 = x_102; goto block_85; } else { lean_inc_ref(x_86); -x_70 = x_86; -x_71 = x_90; -x_72 = x_86; -x_73 = x_90; +x_70 = x_90; +x_71 = x_86; +x_72 = x_90; +x_73 = x_86; x_74 = x_98; goto block_85; } diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 89c186842e..d3979127c7 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -662,6 +662,7 @@ uint8_t l_Lean_instBEqInternalExceptionId_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_spec__6_spec__6_spec__7_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___Lean_instantiateLCtxMVars___at___Lean_instantiateMVarDeclMVars___at___Lean_Elab_Term_runTactic_spec__10_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasSorry(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_spec__6_spec__6_spec__7(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*); static lean_object* l_Lean_Elab_Term_instReprPostponeBehavior_repr___closed__0; size_t lean_usize_sub(size_t, size_t); @@ -21036,7 +21037,7 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_21; uint8_t x_32; lean_object* x_33; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t 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_63; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_21; uint8_t x_32; lean_object* x_33; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; uint8_t 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_63; lean_object* x_74; lean_object* x_75; uint8_t x_76; x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_4, 1); @@ -21319,15 +21320,15 @@ goto _start; block_47: { lean_object* x_45; lean_object* x_46; -x_45 = l_Lean_addTrace___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance_spec__2___redArg(x_37, x_44, x_39, x_42, x_38, x_43, x_41); +x_45 = l_Lean_addTrace___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance_spec__2___redArg(x_37, x_44, x_40, x_39, x_38, x_43, x_41); lean_dec(x_43); lean_dec_ref(x_38); -lean_dec(x_42); -lean_dec_ref(x_39); +lean_dec(x_39); +lean_dec_ref(x_40); x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec_ref(x_45); -x_32 = x_40; +x_32 = x_42; x_33 = x_46; goto block_35; } @@ -21365,10 +21366,10 @@ lean_inc(x_58); lean_dec_ref(x_54); x_59 = l_List_filterAuxM___at___List_filterAuxM___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep_spec__0_spec__0___closed__3; x_38 = x_51; -x_39 = x_49; -x_40 = x_48; +x_39 = x_50; +x_40 = x_49; x_41 = x_58; -x_42 = x_50; +x_42 = x_48; x_43 = x_52; x_44 = x_59; goto block_47; @@ -21381,10 +21382,10 @@ lean_inc(x_60); lean_dec_ref(x_54); x_61 = l_List_filterAuxM___at___List_filterAuxM___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep_spec__0_spec__0___closed__6; x_38 = x_51; -x_39 = x_49; -x_40 = x_48; +x_39 = x_50; +x_40 = x_49; x_41 = x_60; -x_42 = x_50; +x_42 = x_48; x_43 = x_52; x_44 = x_61; goto block_47; @@ -21763,10 +21764,10 @@ return x_34; block_47: { lean_object* x_45; lean_object* x_46; -x_45 = l_Lean_addTrace___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance_spec__2___redArg(x_37, x_44, x_41, x_40, x_39, x_43, x_38); -lean_dec(x_43); -lean_dec_ref(x_39); +x_45 = l_Lean_addTrace___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance_spec__2___redArg(x_37, x_44, x_41, x_43, x_39, x_40, x_38); lean_dec(x_40); +lean_dec_ref(x_39); +lean_dec(x_43); lean_dec_ref(x_41); x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); @@ -21810,10 +21811,10 @@ lean_dec_ref(x_54); x_59 = l_List_filterAuxM___at___List_filterAuxM___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep_spec__0_spec__0___closed__3; x_38 = x_58; x_39 = x_51; -x_40 = x_50; +x_40 = x_52; x_41 = x_49; x_42 = x_48; -x_43 = x_52; +x_43 = x_50; x_44 = x_59; goto block_47; } @@ -21826,10 +21827,10 @@ lean_dec_ref(x_54); x_61 = l_List_filterAuxM___at___List_filterAuxM___at_____private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep_spec__0_spec__0___closed__6; x_38 = x_60; x_39 = x_51; -x_40 = x_50; +x_40 = x_52; x_41 = x_49; x_42 = x_48; -x_43 = x_52; +x_43 = x_50; x_44 = x_61; goto block_47; } @@ -24342,15 +24343,41 @@ lean_inc_ref(x_6); x_22 = lean_apply_8(x_3, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_23; lean_object* x_24; uint8_t x_25; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec_ref(x_22); -x_25 = lean_box(0); -x_26 = l_Lean_Meta_mkAuxTheorem(x_23, x_1, x_12, x_25, x_2, x_6, x_7, x_8, x_9, x_24); -return x_26; +if (x_2 == 0) +{ +x_25 = x_2; +goto block_28; +} +else +{ +uint8_t x_29; +x_29 = l_Lean_Expr_hasSorry(x_1); +if (x_29 == 0) +{ +x_25 = x_2; +goto block_28; +} +else +{ +uint8_t x_30; +x_30 = 0; +x_25 = x_30; +goto block_28; +} +} +block_28: +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l_Lean_Meta_mkAuxTheorem(x_23, x_1, x_12, x_26, x_25, x_6, x_7, x_8, x_9, x_24); +return x_27; +} } else { @@ -24578,7 +24605,7 @@ return x_17; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withNarrowedTacticReuse___at___Lean_Elab_Term_withNarrowedArgTacticReuse___at___Lean_Elab_Term_runTactic_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; uint8_t x_35; uint8_t x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; lean_object* x_116; +uint8_t x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; lean_object* x_116; lean_inc_ref(x_1); x_58 = lean_apply_1(x_1, x_3); x_59 = lean_ctor_get(x_58, 0); @@ -24645,25 +24672,25 @@ block_34: { lean_object* x_32; lean_object* x_33; x_32 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 0, x_17); lean_ctor_set(x_32, 1, x_26); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_15); -lean_ctor_set(x_32, 4, x_17); -lean_ctor_set(x_32, 5, x_30); +lean_ctor_set(x_32, 2, x_21); +lean_ctor_set(x_32, 3, x_29); +lean_ctor_set(x_32, 4, x_14); +lean_ctor_set(x_32, 5, x_16); lean_ctor_set(x_32, 6, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*7, x_13); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 1, x_14); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 2, x_24); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 3, x_18); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 4, x_19); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 5, x_27); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 6, x_22); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 7, x_29); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 8, x_28); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 9, x_20); -lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 10, x_16); -x_33 = lean_apply_9(x_23, x_4, x_5, x_32, x_7, x_8, x_9, x_10, x_11, x_12); +lean_ctor_set_uint8(x_32, sizeof(void*)*7, x_20); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 1, x_30); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 2, x_28); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 3, x_22); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 4, x_23); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 5, x_24); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 6, x_19); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 7, x_18); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 8, x_15); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 9, x_25); +lean_ctor_set_uint8(x_32, sizeof(void*)*7 + 10, x_13); +x_33 = lean_apply_9(x_27, x_4, x_5, x_32, x_7, x_8, x_9, x_10, x_11, x_12); return x_33; } block_57: @@ -24671,27 +24698,27 @@ block_57: lean_object* x_55; lean_object* x_56; x_55 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_47); +lean_ctor_set(x_55, 1, x_39); x_56 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_56, 0, x_55); x_13 = x_35; x_14 = x_36; x_15 = x_37; x_16 = x_38; -x_17 = x_39; -x_18 = x_40; -x_19 = x_41; -x_20 = x_42; -x_21 = x_43; -x_22 = x_44; -x_23 = x_45; -x_24 = x_48; -x_25 = x_46; -x_26 = x_50; -x_27 = x_49; -x_28 = x_53; -x_29 = x_52; -x_30 = x_51; +x_17 = x_40; +x_18 = x_41; +x_19 = x_42; +x_20 = x_43; +x_21 = x_44; +x_22 = x_45; +x_23 = x_46; +x_24 = x_47; +x_25 = x_48; +x_26 = x_49; +x_27 = x_50; +x_28 = x_52; +x_29 = x_51; +x_30 = x_53; x_31 = x_56; goto block_34; } @@ -24701,24 +24728,24 @@ if (lean_obj_tag(x_76) == 0) { lean_dec(x_59); lean_dec_ref(x_1); -x_13 = x_64; -x_14 = x_65; -x_15 = x_68; -x_16 = x_79; -x_17 = x_69; -x_18 = x_71; -x_19 = x_72; -x_20 = x_78; -x_21 = x_62; -x_22 = x_74; -x_23 = x_80; -x_24 = x_66; -x_25 = x_67; +x_13 = x_79; +x_14 = x_69; +x_15 = x_77; +x_16 = x_70; +x_17 = x_62; +x_18 = x_75; +x_19 = x_74; +x_20 = x_64; +x_21 = x_67; +x_22 = x_71; +x_23 = x_72; +x_24 = x_73; +x_25 = x_78; x_26 = x_63; -x_27 = x_73; -x_28 = x_77; -x_29 = x_75; -x_30 = x_70; +x_27 = x_80; +x_28 = x_66; +x_29 = x_68; +x_30 = x_65; x_31 = x_76; goto block_34; } @@ -24738,25 +24765,25 @@ lean_dec_ref(x_1); x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); lean_dec(x_81); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_83; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_83; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_82; goto block_57; } @@ -24792,50 +24819,50 @@ lean_free_object(x_85); lean_dec(x_89); lean_free_object(x_82); x_94 = lean_box(0); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_86; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_86; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_94; goto block_57; } else { lean_ctor_set(x_85, 0, x_92); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_86; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_86; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_82; goto block_57; } @@ -24862,25 +24889,25 @@ lean_dec(x_99); lean_dec(x_96); lean_free_object(x_82); x_101 = lean_box(0); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_86; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_86; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_101; goto block_57; } @@ -24891,25 +24918,25 @@ x_102 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_102, 0, x_99); lean_ctor_set(x_102, 1, x_96); lean_ctor_set(x_82, 0, x_102); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_86; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_86; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_82; goto block_57; } @@ -24950,25 +24977,25 @@ lean_dec(x_110); lean_dec(x_107); lean_dec(x_106); x_112 = lean_box(0); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_104; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_104; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_112; goto block_57; } @@ -24984,25 +25011,25 @@ lean_ctor_set(x_113, 0, x_110); lean_ctor_set(x_113, 1, x_106); x_114 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_114, 0, x_113); -x_35 = x_64; -x_36 = x_65; -x_37 = x_68; -x_38 = x_79; -x_39 = x_69; -x_40 = x_71; -x_41 = x_72; -x_42 = x_78; -x_43 = x_62; -x_44 = x_74; -x_45 = x_80; -x_46 = x_67; -x_47 = x_104; -x_48 = x_66; -x_49 = x_73; -x_50 = x_63; -x_51 = x_70; -x_52 = x_75; -x_53 = x_77; +x_35 = x_79; +x_36 = x_69; +x_37 = x_77; +x_38 = x_70; +x_39 = x_104; +x_40 = x_62; +x_41 = x_75; +x_42 = x_74; +x_43 = x_64; +x_44 = x_67; +x_45 = x_71; +x_46 = x_72; +x_47 = x_73; +x_48 = x_78; +x_49 = x_63; +x_50 = x_80; +x_51 = x_68; +x_52 = x_66; +x_53 = x_65; x_54 = x_114; goto block_57; } diff --git a/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c b/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c index d73cd421d7..5cbe5e34fb 100644 --- a/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c +++ b/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c @@ -119,7 +119,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_Persist LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_AbstractNestedProofs_visit_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_abstractNestedProofs___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_abstractProof___redArg___lam__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_abstractProof___redArg___lam__0(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Meta_AbstractNestedProofs_visit_spec__1_spec__5___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_Meta_AbstractNestedProofs_visit_spec__1_spec__5(lean_object*, lean_object*, lean_object*, lean_object*); @@ -180,6 +180,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___at___Lean_Meta_Abstrac lean_object* l_Nat_nextPowerOfTwo(lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractNestedProofs_visit___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasSorry(lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at___Lean_Meta_abstractProof___at___Lean_Meta_AbstractNestedProofs_visit_spec__21_spec__21_spec__21___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_AbstractNestedProofs_visit___lam__4(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,21 +220,47 @@ lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_ size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Meta_AbstractNestedProofs_visit_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___Lean_Meta_abstractProof___at___Lean_Meta_AbstractNestedProofs_visit_spec__21_spec__21(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_abstractProof___redArg___lam__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Meta_abstractProof___redArg___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = lean_box(0); -x_7 = lean_box(x_2); -x_8 = lean_box(x_3); -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxTheorem___boxed), 10, 5); -lean_closure_set(x_9, 0, x_5); -lean_closure_set(x_9, 1, x_1); -lean_closure_set(x_9, 2, x_7); -lean_closure_set(x_9, 3, x_6); -lean_closure_set(x_9, 4, x_8); -x_10 = lean_apply_2(x_4, lean_box(0), x_9); -return x_10; +uint8_t x_6; +if (x_4 == 0) +{ +x_6 = x_4; +goto block_12; +} +else +{ +uint8_t x_13; +x_13 = l_Lean_Expr_hasSorry(x_1); +if (x_13 == 0) +{ +x_6 = x_4; +goto block_12; +} +else +{ +uint8_t x_14; +x_14 = 0; +x_6 = x_14; +goto block_12; +} +} +block_12: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_box(0); +x_8 = lean_box(x_2); +x_9 = lean_box(x_6); +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_mkAuxTheorem___boxed), 10, 5); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_8); +lean_closure_set(x_10, 3, x_7); +lean_closure_set(x_10, 4, x_9); +x_11 = lean_apply_2(x_3, lean_box(0), x_10); +return x_11; +} } } LEAN_EXPORT lean_object* l_Lean_Meta_abstractProof___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -293,8 +320,8 @@ lean_inc(x_2); x_14 = lean_alloc_closure((void*)(l_Lean_Meta_abstractProof___redArg___lam__0___boxed), 5, 4); lean_closure_set(x_14, 0, x_5); lean_closure_set(x_14, 1, x_12); -lean_closure_set(x_14, 2, x_13); -lean_closure_set(x_14, 3, x_2); +lean_closure_set(x_14, 2, x_2); +lean_closure_set(x_14, 3, x_13); lean_inc(x_8); x_15 = lean_alloc_closure((void*)(l_Lean_Meta_abstractProof___redArg___lam__1), 4, 3); lean_closure_set(x_15, 0, x_7); @@ -329,8 +356,8 @@ _start: { uint8_t x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_unbox(x_2); -x_7 = lean_unbox(x_3); -x_8 = l_Lean_Meta_abstractProof___redArg___lam__0(x_1, x_6, x_7, x_4, x_5); +x_7 = lean_unbox(x_4); +x_8 = l_Lean_Meta_abstractProof___redArg___lam__0(x_1, x_6, x_3, x_7, x_5); return x_8; } } @@ -2116,11 +2143,11 @@ x_41 = lean_ctor_get(x_34, 1); lean_inc_ref(x_34); lean_inc(x_41); x_42 = l_Lean_PersistentHashMap_insert___at___Lean_Meta_AbstractNestedProofs_visit_spec__9___redArg(x_36, x_41, x_34); -x_19 = x_42; +x_19 = x_38; x_20 = x_35; -x_21 = x_38; -x_22 = x_34; -x_23 = x_37; +x_21 = x_42; +x_22 = x_37; +x_23 = x_34; x_24 = x_40; goto block_28; } @@ -2140,13 +2167,13 @@ block_28: { lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_22); -x_26 = l_Lean_PersistentArray_set___redArg(x_23, x_24, x_25); +lean_ctor_set(x_25, 0, x_23); +x_26 = l_Lean_PersistentArray_set___redArg(x_22, x_24, x_25); lean_dec(x_24); x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 0, x_21); lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_21); +lean_ctor_set(x_27, 2, x_19); x_13 = x_27; x_14 = x_20; goto block_18; @@ -2359,11 +2386,11 @@ x_41 = lean_ctor_get(x_34, 1); lean_inc_ref(x_34); lean_inc(x_41); x_42 = l_Lean_PersistentHashMap_insert___at___Lean_Meta_AbstractNestedProofs_visit_spec__9___redArg(x_36, x_41, x_34); -x_19 = x_38; -x_20 = x_34; -x_21 = x_37; -x_22 = x_35; -x_23 = x_42; +x_19 = x_42; +x_20 = x_35; +x_21 = x_38; +x_22 = x_37; +x_23 = x_34; x_24 = x_40; goto block_28; } @@ -2381,15 +2408,15 @@ block_28: { lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_20); -x_26 = l_Lean_PersistentArray_set___redArg(x_21, x_24, x_25); +lean_ctor_set(x_25, 0, x_23); +x_26 = l_Lean_PersistentArray_set___redArg(x_22, x_24, x_25); lean_dec(x_24); x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 0, x_19); lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_19); +lean_ctor_set(x_27, 2, x_21); x_13 = x_27; -x_14 = x_22; +x_14 = x_20; goto block_18; } } @@ -3473,15 +3500,41 @@ lean_inc_ref(x_6); x_23 = lean_apply_8(x_3, x_20, x_22, x_5, x_6, x_7, x_8, x_9, x_21); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec_ref(x_23); -x_26 = lean_box(0); -x_27 = l_Lean_Meta_mkAuxTheorem(x_24, x_1, x_12, x_26, x_2, x_6, x_7, x_8, x_9, x_25); -return x_27; +if (x_2 == 0) +{ +x_26 = x_2; +goto block_29; +} +else +{ +uint8_t x_30; +x_30 = l_Lean_Expr_hasSorry(x_1); +if (x_30 == 0) +{ +x_26 = x_2; +goto block_29; +} +else +{ +uint8_t x_31; +x_31 = 0; +x_26 = x_31; +goto block_29; +} +} +block_29: +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +x_28 = l_Lean_Meta_mkAuxTheorem(x_24, x_1, x_12, x_27, x_26, x_6, x_7, x_8, x_9, x_25); +return x_28; +} } else {