diff --git a/stage0/stdlib/Init.c b/stage0/stdlib/Init.c index 1bc2140686..827b6eaded 100644 --- a/stage0/stdlib/Init.c +++ b/stage0/stdlib/Init.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init -// Imports: Init.Prelude Init.Notation Init.Tactics Init.TacticsExtra Init.ByCases Init.RCases Init.Core Init.Control Init.Data.Basic Init.WF Init.WFTactics Init.Data Init.System Init.Util Init.Dynamic Init.ShareCommon Init.MetaTypes Init.Meta Init.NotationExtra Init.SimpLemmas Init.PropLemmas Init.Hints Init.Conv Init.Guard Init.Simproc Init.SizeOfLemmas Init.BinderPredicates +// Imports: Init.Prelude Init.Notation Init.Tactics Init.TacticsExtra Init.ByCases Init.RCases Init.Core Init.Control Init.Data.Basic Init.WF Init.WFTactics Init.Data Init.System Init.Util Init.Dynamic Init.ShareCommon Init.MetaTypes Init.Meta Init.NotationExtra Init.SimpLemmas Init.PropLemmas Init.Hints Init.Conv Init.Guard Init.Simproc Init.SizeOfLemmas Init.BinderPredicates Init.Ext #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -40,6 +40,7 @@ lean_object* initialize_Init_Guard(uint8_t builtin, lean_object*); lean_object* initialize_Init_Simproc(uint8_t builtin, lean_object*); lean_object* initialize_Init_SizeOfLemmas(uint8_t builtin, lean_object*); lean_object* initialize_Init_BinderPredicates(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Ext(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init(uint8_t builtin, lean_object* w) { lean_object * res; @@ -126,6 +127,9 @@ lean_dec_ref(res); res = initialize_Init_BinderPredicates(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Ext(builtin, 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/Init/BinderPredicates.c b/stage0/stdlib/Init/BinderPredicates.c index df4cb8ab34..cb3be35229 100644 --- a/stage0/stdlib/Init/BinderPredicates.c +++ b/stage0/stdlib/Init/BinderPredicates.c @@ -14,6 +14,7 @@ extern "C" { #endif static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__8; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Category_binderPred; @@ -23,18 +24,26 @@ LEAN_EXPORT lean_object* l_Lean_term_u2200_____x2c__; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__9; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__1; LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_binderTerm_u2208_____closed__5; +static lean_object* l_Lean_binderTerm_u2286_____closed__4; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__4; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__8; +static lean_object* l_Lean_binderTerm_u2208_____closed__6; +static lean_object* l_Lean_binderTerm_u2209_____closed__1; static lean_object* l_Lean_binderPred_quot___closed__10; static lean_object* l_Lean_binderPred_quot___closed__14; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__24; static lean_object* l_Lean_binderPred_quot___closed__17; LEAN_EXPORT lean_object* l_Lean_binderTerm_u2264__; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__9; +static lean_object* l_Lean_binderTerm_u2283_____closed__6; static lean_object* l_Lean_binderPred_quot___closed__11; +static lean_object* l_Lean_binderTerm_u2208_____closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2; static lean_object* l_Lean_binderTerm_x3c_____closed__4; static lean_object* l_Lean_term_u2203_____x2c_____closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__21; static lean_object* l_Lean_binderTerm_u2265_____closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__19; @@ -43,7 +52,9 @@ lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__5; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1; static lean_object* l_Lean_term_u2203_____x2c_____closed__4; +static lean_object* l_Lean_binderTerm_u2287_____closed__6; static lean_object* l_Lean_binderTerm_u2264_____closed__2; static lean_object* l_Lean_binderTerm_u2260_____closed__2; static lean_object* l_Lean_binderPred_quot___closed__9; @@ -53,6 +64,7 @@ static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__ static lean_object* l_Lean_binderTerm_u2264_____closed__4; LEAN_EXPORT lean_object* l_Lean_binderPred_quot; static lean_object* l_Lean_binderPred_quot___closed__15; +static lean_object* l_Lean_binderTerm_u2286_____closed__1; static lean_object* l_Lean_binderTerm_x3e_____closed__3; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__2; static lean_object* l_Lean_binderTerm_x3e_____closed__1; @@ -60,25 +72,42 @@ static lean_object* l_Lean_binderPred_quot___closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__14; LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_termSatisfies__binder__pred_x25____; +static lean_object* l_Lean_binderTerm_u2282_____closed__6; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__18; static lean_object* l_Lean_binderPred_quot___closed__7; static lean_object* l_Lean_binderTerm_u2265_____closed__4; +static lean_object* l_Lean_binderTerm_u2209_____closed__6; LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__11; +static lean_object* l_Lean_binderTerm_u2209_____closed__5; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_binderTerm_u2286_____closed__3; static lean_object* l_Lean_binderTerm_u2264_____closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2; LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__1; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__3; static lean_object* l_Lean_binderTerm_u2264_____closed__5; +static lean_object* l_Lean_binderTerm_u2286_____closed__2; +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2287__; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1; static lean_object* l_Lean_binderPred_quot___closed__3; LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1; static lean_object* l_Lean_term_u2200_____x2c_____closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__12; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__3; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__1; +static lean_object* l_Lean_binderTerm_u2287_____closed__5; static lean_object* l_Lean_binderTerm_x3e_____closed__6; +static lean_object* l_Lean_binderTerm_u2283_____closed__1; +static lean_object* l_Lean_binderTerm_u2283_____closed__5; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_binderTerm_u2260_____closed__6; LEAN_EXPORT lean_object* l_Lean_binderTerm_u2260__; @@ -86,25 +115,36 @@ static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__ static lean_object* l_Lean_term_u2203_____x2c_____closed__12; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__4; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__2; +static lean_object* l_Lean_binderTerm_u2282_____closed__2; +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2282__; +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2209__; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1; +static lean_object* l_Lean_binderTerm_u2209_____closed__4; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__16; static lean_object* l_Lean_term_u2203_____x2c_____closed__9; static lean_object* l_Lean_binderTerm_u2260_____closed__1; +static lean_object* l_Lean_binderTerm_u2287_____closed__4; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_binderTerm_x3e_____closed__5; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__3; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_binderTerm_u2208_____closed__3; +static lean_object* l_Lean_binderTerm_u2209_____closed__2; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__1; static lean_object* l_Lean_binderPred_quot___closed__18; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3; static lean_object* l_Lean_binderTerm_u2265_____closed__6; static lean_object* l_Lean_binderTerm_u2265_____closed__1; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__7; static lean_object* l_Lean_term_u2200_____x2c_____closed__4; static lean_object* l_Lean_term_u2200_____x2c_____closed__7; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__2; +static lean_object* l_Lean_binderTerm_u2287_____closed__3; static lean_object* l_Lean_term_u2203_____x2c_____closed__10; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__23; static lean_object* l_Lean_term_u2203_____x2c_____closed__7; @@ -114,33 +154,54 @@ lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l_Lean_term_u2203_____x2c_____closed__8; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__3; static lean_object* l_Lean_binderPred_quot___closed__8; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3; +static lean_object* l_Lean_binderTerm_u2287_____closed__2; +static lean_object* l_Lean_binderTerm_u2208_____closed__1; +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2283__; static lean_object* l_Lean_binderTerm_x3c_____closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__3; +static lean_object* l_Lean_binderTerm_u2282_____closed__1; +static lean_object* l_Lean_binderTerm_u2286_____closed__5; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__17; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2; +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_term_u2203_____x2c_____closed__6; static lean_object* l_Lean_term_u2203_____x2c_____closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__2; static lean_object* l_Lean_binderTerm_u2265_____closed__3; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__15; +static lean_object* l_Lean_binderTerm_u2282_____closed__4; static lean_object* l_Lean_term_u2203_____x2c_____closed__11; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__20; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_binderTerm_u2287_____closed__1; LEAN_EXPORT lean_object* l_Lean_binderTerm_u2265__; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_binderIdent; +static lean_object* l_Lean_binderTerm_u2286_____closed__6; +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__2; +static lean_object* l_Lean_binderTerm_u2209_____closed__3; static lean_object* l_Lean_binderTerm_u2264_____closed__6; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__7; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2; static lean_object* l_Lean_term_u2200_____x2c_____closed__5; +static lean_object* l_Lean_binderTerm_u2283_____closed__4; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__22; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__13; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__2; static lean_object* l_Lean_binderTerm_u2260_____closed__5; +static lean_object* l_Lean_binderTerm_u2283_____closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__1; +static lean_object* l_Lean_binderTerm_u2208_____closed__4; static lean_object* l_Lean_binderPred_quot___closed__19; +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2286__; +static lean_object* l_Lean_binderTerm_u2282_____closed__3; static lean_object* l_Lean_binderTerm_x3c_____closed__6; +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_binderTerm_x3e__; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3; static lean_object* l_Lean_term_u2200_____x2c_____closed__6; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__6; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,14 +218,19 @@ static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__ static lean_object* l_Lean_binderTerm_x3c_____closed__5; LEAN_EXPORT lean_object* l_Lean_term_u2203_____x2c__; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__5; +static lean_object* l_Lean_binderTerm_u2283_____closed__3; static lean_object* l_Lean_term_u2200_____x2c_____closed__3; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__6; lean_object* l_String_toSubstring_x27(lean_object*); static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__5; +static lean_object* l_Lean_binderTerm_u2282_____closed__5; LEAN_EXPORT lean_object* l_Lean_binderTerm_x3c__; static lean_object* l_Lean_binderTerm_u2265_____closed__5; static lean_object* l_Lean_binderPred_quot___closed__16; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__2; +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_binderTerm_u2208__; static lean_object* l_Lean_term_u2203_____x2c_____closed__5; static lean_object* l_Lean_binderTerm_x3c_____closed__1; static lean_object* l_Lean_binderPred_quot___closed__13; @@ -2248,6 +2314,990 @@ return x_24; } } } +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm∈_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2208_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ∈ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2208_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2208_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2208_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2208_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2208__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2208_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_∈_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("∈", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2208_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm∉_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2209_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ∉ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2209_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2209_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2209_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2209_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2209__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2209_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_∉_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("∉", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2209_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm⊆_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2286_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊆ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2286_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2286_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2286_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2286_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2286__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2286_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊆_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⊆", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2286_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm⊂_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2282_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊂ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2282_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2282_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2282_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2282_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2282__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2282_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊂_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⊂", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2282_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm⊇_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2287_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊇ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2287_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2287_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2287_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2287_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2287__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2287_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊇_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⊇", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2287_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm⊃_", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_binderPred_quot___closed__1; +x_2 = l_Lean_binderTerm_u2283_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊃ ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2283_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderPred_quot___closed__9; +x_2 = l_Lean_binderTerm_u2283_____closed__4; +x_3 = l_Lean_term_u2203_____x2c_____closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2283_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2283_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_binderTerm_u2283__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2283_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊃_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⊃", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_termSatisfies__binder__pred_x25_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_binderTerm_u2283_____closed__2; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +lean_dec(x_11); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +lean_dec(x_2); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2; +x_23 = l_Lean_Syntax_node3(x_19, x_22, x_9, x_21, x_16); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} +} lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_BinderPredicates(uint8_t builtin, lean_object* w) { @@ -2527,6 +3577,126 @@ l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binde lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__2); l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__3(); lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__3); +l_Lean_binderTerm_u2208_____closed__1 = _init_l_Lean_binderTerm_u2208_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__1); +l_Lean_binderTerm_u2208_____closed__2 = _init_l_Lean_binderTerm_u2208_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__2); +l_Lean_binderTerm_u2208_____closed__3 = _init_l_Lean_binderTerm_u2208_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__3); +l_Lean_binderTerm_u2208_____closed__4 = _init_l_Lean_binderTerm_u2208_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__4); +l_Lean_binderTerm_u2208_____closed__5 = _init_l_Lean_binderTerm_u2208_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__5); +l_Lean_binderTerm_u2208_____closed__6 = _init_l_Lean_binderTerm_u2208_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2208_____closed__6); +l_Lean_binderTerm_u2208__ = _init_l_Lean_binderTerm_u2208__(); +lean_mark_persistent(l_Lean_binderTerm_u2208__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______6___closed__3); +l_Lean_binderTerm_u2209_____closed__1 = _init_l_Lean_binderTerm_u2209_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__1); +l_Lean_binderTerm_u2209_____closed__2 = _init_l_Lean_binderTerm_u2209_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__2); +l_Lean_binderTerm_u2209_____closed__3 = _init_l_Lean_binderTerm_u2209_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__3); +l_Lean_binderTerm_u2209_____closed__4 = _init_l_Lean_binderTerm_u2209_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__4); +l_Lean_binderTerm_u2209_____closed__5 = _init_l_Lean_binderTerm_u2209_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__5); +l_Lean_binderTerm_u2209_____closed__6 = _init_l_Lean_binderTerm_u2209_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2209_____closed__6); +l_Lean_binderTerm_u2209__ = _init_l_Lean_binderTerm_u2209__(); +lean_mark_persistent(l_Lean_binderTerm_u2209__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______7___closed__3); +l_Lean_binderTerm_u2286_____closed__1 = _init_l_Lean_binderTerm_u2286_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__1); +l_Lean_binderTerm_u2286_____closed__2 = _init_l_Lean_binderTerm_u2286_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__2); +l_Lean_binderTerm_u2286_____closed__3 = _init_l_Lean_binderTerm_u2286_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__3); +l_Lean_binderTerm_u2286_____closed__4 = _init_l_Lean_binderTerm_u2286_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__4); +l_Lean_binderTerm_u2286_____closed__5 = _init_l_Lean_binderTerm_u2286_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__5); +l_Lean_binderTerm_u2286_____closed__6 = _init_l_Lean_binderTerm_u2286_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2286_____closed__6); +l_Lean_binderTerm_u2286__ = _init_l_Lean_binderTerm_u2286__(); +lean_mark_persistent(l_Lean_binderTerm_u2286__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______8___closed__3); +l_Lean_binderTerm_u2282_____closed__1 = _init_l_Lean_binderTerm_u2282_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__1); +l_Lean_binderTerm_u2282_____closed__2 = _init_l_Lean_binderTerm_u2282_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__2); +l_Lean_binderTerm_u2282_____closed__3 = _init_l_Lean_binderTerm_u2282_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__3); +l_Lean_binderTerm_u2282_____closed__4 = _init_l_Lean_binderTerm_u2282_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__4); +l_Lean_binderTerm_u2282_____closed__5 = _init_l_Lean_binderTerm_u2282_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__5); +l_Lean_binderTerm_u2282_____closed__6 = _init_l_Lean_binderTerm_u2282_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2282_____closed__6); +l_Lean_binderTerm_u2282__ = _init_l_Lean_binderTerm_u2282__(); +lean_mark_persistent(l_Lean_binderTerm_u2282__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______9___closed__3); +l_Lean_binderTerm_u2287_____closed__1 = _init_l_Lean_binderTerm_u2287_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__1); +l_Lean_binderTerm_u2287_____closed__2 = _init_l_Lean_binderTerm_u2287_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__2); +l_Lean_binderTerm_u2287_____closed__3 = _init_l_Lean_binderTerm_u2287_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__3); +l_Lean_binderTerm_u2287_____closed__4 = _init_l_Lean_binderTerm_u2287_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__4); +l_Lean_binderTerm_u2287_____closed__5 = _init_l_Lean_binderTerm_u2287_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__5); +l_Lean_binderTerm_u2287_____closed__6 = _init_l_Lean_binderTerm_u2287_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2287_____closed__6); +l_Lean_binderTerm_u2287__ = _init_l_Lean_binderTerm_u2287__(); +lean_mark_persistent(l_Lean_binderTerm_u2287__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______10___closed__3); +l_Lean_binderTerm_u2283_____closed__1 = _init_l_Lean_binderTerm_u2283_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__1); +l_Lean_binderTerm_u2283_____closed__2 = _init_l_Lean_binderTerm_u2283_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__2); +l_Lean_binderTerm_u2283_____closed__3 = _init_l_Lean_binderTerm_u2283_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__3); +l_Lean_binderTerm_u2283_____closed__4 = _init_l_Lean_binderTerm_u2283_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__4); +l_Lean_binderTerm_u2283_____closed__5 = _init_l_Lean_binderTerm_u2283_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__5); +l_Lean_binderTerm_u2283_____closed__6 = _init_l_Lean_binderTerm_u2283_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2283_____closed__6); +l_Lean_binderTerm_u2283__ = _init_l_Lean_binderTerm_u2283__(); +lean_mark_persistent(l_Lean_binderTerm_u2283__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______11___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Control/Lawful.c b/stage0/stdlib/Init/Control/Lawful.c index b7bd5ff78e..74376f4bc2 100644 --- a/stage0/stdlib/Init/Control/Lawful.c +++ b/stage0/stdlib/Init/Control/Lawful.c @@ -13,10 +13,439 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19; LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_0__ExceptT_run__bind_match__1_splitter(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__12; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26; LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_0__ExceptT_bindCont_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_0__ExceptT_run__bind_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5; +LEAN_EXPORT lean_object* l___auto____x40_Init_Control_Lawful___hyg_1733_; +LEAN_EXPORT lean_object* l___auto____x40_Init_Control_Lawful___hyg_1803_; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__23; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14; +LEAN_EXPORT lean_object* l___auto____x40_Init_Control_Lawful___hyg_1655_; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__7; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10; +LEAN_EXPORT lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595_; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3; LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_0__ExceptT_bindCont_match__1_splitter(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +LEAN_EXPORT lean_object* l___auto____x40_Init_Control_Lawful___hyg_1873_; +static lean_object* l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4; +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Parser", 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq", 9); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3; +x_4 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6() { +_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___auto____x40_Init_Control_Lawful___hyg_1595____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3; +x_4 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__7; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("intros", 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____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___auto____x40_Init_Control_Lawful___hyg_1595____closed__1; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3; +x_4 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__12; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(";", 1); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticRfl", 9); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____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___auto____x40_Init_Control_Lawful___hyg_1595____closed__1; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3; +x_4 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rfl", 3); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__23; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6; +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5; +x_3 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1595_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1655_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1733_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1803_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +return x_1; +} +} +static lean_object* _init_l___auto____x40_Init_Control_Lawful___hyg_1873_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33; +return x_1; +} +} LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_0__ExceptT_bindCont_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -100,6 +529,82 @@ lean_dec_ref(res); res = initialize_Init_Control_StateRef(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__1); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__2); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__3); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__4); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__5); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__6); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__7 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__7(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__7); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__8); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__9); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__10); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__11); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__12 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__12(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__12); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__13); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__14); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__15); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__16); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__17); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__18); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__19); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__20); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__21); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__22); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__23 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__23(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__23); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__24); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__25); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__26); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__27); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__28); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__29); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__30); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__31); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__32); +l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33 = _init_l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595____closed__33); +l___auto____x40_Init_Control_Lawful___hyg_1595_ = _init_l___auto____x40_Init_Control_Lawful___hyg_1595_(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1595_); +l___auto____x40_Init_Control_Lawful___hyg_1655_ = _init_l___auto____x40_Init_Control_Lawful___hyg_1655_(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1655_); +l___auto____x40_Init_Control_Lawful___hyg_1733_ = _init_l___auto____x40_Init_Control_Lawful___hyg_1733_(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1733_); +l___auto____x40_Init_Control_Lawful___hyg_1803_ = _init_l___auto____x40_Init_Control_Lawful___hyg_1803_(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1803_); +l___auto____x40_Init_Control_Lawful___hyg_1873_ = _init_l___auto____x40_Init_Control_Lawful___hyg_1873_(); +lean_mark_persistent(l___auto____x40_Init_Control_Lawful___hyg_1873_); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Core.c b/stage0/stdlib/Init/Core.c index 37ca0e819b..5408237280 100644 --- a/stage0/stdlib/Init/Core.c +++ b/stage0/stdlib/Init/Core.c @@ -13,14 +13,19 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__5; +static lean_object* l_term___u2229_____closed__2; LEAN_EXPORT lean_object* l_toBoolUsing(lean_object*); +static lean_object* l_term___u222a_____closed__6; LEAN_EXPORT lean_object* l_Subtype_instInhabitedSubtype___rarg(lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__6; static lean_object* l___aux__Init__Core______unexpand__Iff__1___closed__1; +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__3; static lean_object* l_term_x7b_x7d___closed__7; LEAN_EXPORT lean_object* l_Eq_mpr(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqQuotient___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_reduceNat(lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2287____1___closed__1; LEAN_EXPORT lean_object* l_Subtype_instInhabitedSubtype___rarg___boxed(lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__8; static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__10; @@ -29,17 +34,27 @@ LEAN_EXPORT lean_object* l_instInhabitedProp; LEAN_EXPORT lean_object* l_Thunk_bind___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_lift___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__7; +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2287____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_bne(lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__4; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__13; +static lean_object* l___aux__Init__Core______macroRules__term___u2283____1___closed__2; LEAN_EXPORT lean_object* l_And_elim___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__7; LEAN_EXPORT lean_object* l_Thunk_map___rarg(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__2; +static lean_object* l___aux__Init__Core______macroRules__term___u2287____1___closed__2; LEAN_EXPORT lean_object* l_instDecidableEqEmpty___boxed(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__5; LEAN_EXPORT lean_object* l_instInhabitedProd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_rec___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__PSum__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2295_____closed__3; +static lean_object* l_term___u2229_____closed__6; LEAN_EXPORT lean_object* l_instInhabitedTask(lean_object*); +static lean_object* l_term___u2283_____closed__2; LEAN_EXPORT lean_object* l_iteInduction___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__2; LEAN_EXPORT lean_object* l_Task_pure___boxed(lean_object*, lean_object*); @@ -48,7 +63,9 @@ static lean_object* l_term___x3c_x2d_x3e_____closed__9; LEAN_EXPORT uint8_t l_instDecidableTrue; LEAN_EXPORT lean_object* l_Quotient_hrecOn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__6; +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__4; static lean_object* l_term___x21_x3d_____closed__5; +static lean_object* l_term___u2229_____closed__1; static lean_object* l_term_x7b_x7d___closed__2; LEAN_EXPORT lean_object* l_Eq_ndrecOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__PSum__1(lean_object*, lean_object*, lean_object*); @@ -57,24 +74,32 @@ LEAN_EXPORT lean_object* l_instHasEquiv___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_iteInduction(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqSum___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_reduceBool(uint8_t); +static lean_object* l_term___u2287_____closed__3; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqProd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Empty_elim(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Quotient_rec(lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2205___closed__4; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Iff__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2282_____closed__4; LEAN_EXPORT lean_object* l_thunkCoe(lean_object*); LEAN_EXPORT lean_object* l_Quot_indep___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Thunk_map___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2286_____closed__3; +static lean_object* l_term___u2283_____closed__5; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__EmptyCollection__emptyCollection__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_mk___rarg(lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Prod_lexLtDec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2260____1___closed__5; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_term___u2283__; LEAN_EXPORT lean_object* l_Decidable_byCases___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasEquiv__Equiv__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_recOn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2248_____closed__5; LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__5; @@ -95,17 +120,22 @@ static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___clo static lean_object* l_term___u2295_x27_____closed__3; LEAN_EXPORT lean_object* l_instDecidableDitePropNot(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqQuotient(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2287____1___closed__3; LEAN_EXPORT lean_object* l_Task_Priority_max; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_term___u2229_____closed__4; static lean_object* l_term_u2205___closed__3; LEAN_EXPORT lean_object* l_instDecidableEqProp___rarg___boxed(lean_object*); +static lean_object* l_term___u222a_____closed__7; LEAN_EXPORT lean_object* l_Quot_recOn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_thunkCoe___rarg(lean_object*); LEAN_EXPORT lean_object* l_term___u2248__; LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term_u2205__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_map___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___x5c_____closed__5; LEAN_EXPORT lean_object* l_instInhabitedTrue; lean_object* lean_task_bind(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_term___x5c__; static lean_object* l___aux__Init__Core______macroRules__term___u2260____1___closed__2; LEAN_EXPORT lean_object* l_Squash_lift(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x21_x3d_____closed__4; @@ -119,20 +149,31 @@ LEAN_EXPORT lean_object* l_Quot_liftOn(lean_object*, lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Quotient_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__EmptyCollection__emptyCollection__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_bne___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__1; LEAN_EXPORT lean_object* l_instDecidableEqEmpty(uint8_t, uint8_t); +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__7; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); LEAN_EXPORT lean_object* l_instInhabitedPUnit; static lean_object* l_term___u2194_____closed__4; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Sum__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_term_x7b_x7d; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_term___u2286__; static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__5; LEAN_EXPORT lean_object* l_instDecidableIteProp___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqProp(lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__2; LEAN_EXPORT lean_object* l_Eq_mp___rarg(lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2287_____closed__1; +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__2; +static lean_object* l___aux__Init__Core______macroRules__term___u2283____1___closed__3; LEAN_EXPORT lean_object* l_instInhabitedPProd___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Eq_mp(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2283____1___closed__1; static lean_object* l_noConfusionEnum___rarg___closed__1; +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__3; +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__2; LEAN_EXPORT lean_object* l_Prod_lexLtDec___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__3; LEAN_EXPORT lean_object* l_flip(lean_object*, lean_object*, lean_object*); @@ -142,33 +183,47 @@ LEAN_EXPORT lean_object* l_Quotient_lift_u2082(lean_object*, lean_object*, lean_ static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__EmptyCollection__emptyCollection__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Ne__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2283_____closed__1; LEAN_EXPORT lean_object* l_Quotient_recOnSubsingleton___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quot_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u222a_____closed__2; static lean_object* l_term_x7b_x7d___closed__3; LEAN_EXPORT uint8_t l_instDecidableEqProp___rarg(uint8_t); +LEAN_EXPORT lean_object* l_term___u2282__; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Quotient_mk_x27___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Task_spawn___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Eq_mpr___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Prod_map(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Decidable_byCases___rarg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_thunkCoe___rarg___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u222a____1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2295_x27_____closed__2; static lean_object* l_term_x7b_x7d___closed__1; +static lean_object* l_term___u2283_____closed__3; +static lean_object* l_term___u2287_____closed__5; LEAN_EXPORT lean_object* l_term___u2260__; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__4; LEAN_EXPORT lean_object* l_Squash_mk___rarg(lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__7; static lean_object* l_term___x21_x3d_____closed__6; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_rec___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PEmpty_elim___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_instDecidableDitePropNot___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_term___u2229__; LEAN_EXPORT lean_object* l_instDecidableEqPEmpty(uint8_t, uint8_t); +static lean_object* l_term___u2286_____closed__4; uint8_t lean_strict_or(uint8_t, uint8_t); static lean_object* l_term___u2260_____closed__1; LEAN_EXPORT lean_object* l_instInhabitedForInStep__1(lean_object*); static lean_object* l_term___u2260_____closed__6; LEAN_EXPORT lean_object* l_And_elim(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_flip___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__7; LEAN_EXPORT lean_object* l_Eq_mpr___rarg(lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2248____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__3; @@ -177,35 +232,48 @@ static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1__ static lean_object* l___aux__Init__Core______macroRules__term___u2248____1___closed__1; LEAN_EXPORT lean_object* l_strictOr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PEmpty_elim(lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__1; LEAN_EXPORT lean_object* l_Eq_ndrecOn___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__PSum__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__1; static lean_object* l___aux__Init__Core______macroRules__term___u2260____1___closed__3; static lean_object* l_term___x21_x3d_____closed__2; static lean_object* l___aux__Init__Core______macroRules__term___u2248____1___closed__4; static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__6; +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__3; +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__2; LEAN_EXPORT lean_object* l_inline(lean_object*); static lean_object* l_term___u2194_____closed__5; LEAN_EXPORT lean_object* l_decidable__of__decidable__of__eq(lean_object*, lean_object*); +static lean_object* l_term___x5c_____closed__4; LEAN_EXPORT lean_object* l_Quotient_mk_x27___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +LEAN_EXPORT lean_object* l_term___u2287__; LEAN_EXPORT lean_object* l_Quotient_mk(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_lexLtDec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Ne__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__1; LEAN_EXPORT lean_object* l_term___x3c_x2d_x3e__; LEAN_EXPORT lean_object* l_Task_map___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2194_____closed__6; LEAN_EXPORT lean_object* l_Quot_liftOn___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2282_____closed__5; static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__3; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_bne___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__9; LEAN_EXPORT lean_object* l_decidable__of__decidable__of__iff___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableForAll___rarg___boxed(lean_object*, lean_object*); static lean_object* l_term___u2194_____closed__2; +LEAN_EXPORT lean_object* l_term___u222a__; static lean_object* l_term_x7b_x7d___closed__4; +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__3; +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__6; lean_object* lean_thunk_get_own(lean_object*); LEAN_EXPORT lean_object* l_Eq_mp___rarg___boxed(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); @@ -218,21 +286,32 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Thunk_map(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_lift___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__1; LEAN_EXPORT uint8_t l_decidable__of__decidable__of__eq___rarg(uint8_t, lean_object*); +static lean_object* l_term___x5c_____closed__2; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__8; +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2229____1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2248____1___closed__3; LEAN_EXPORT lean_object* l_Quotient_recOn___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__4; LEAN_EXPORT lean_object* l_Subtype_instInhabitedSubtype(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2283____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2287_____closed__4; +static lean_object* l_term___u2229_____closed__5; static lean_object* l_term_u2205___closed__2; LEAN_EXPORT lean_object* l_instHasEquiv(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2283____1___closed__5; static lean_object* l_term___x3c_x2d_x3e_____closed__2; LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2194____1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2248_____closed__4; +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__1; static lean_object* l_term___u2295_x27_____closed__4; LEAN_EXPORT lean_object* l_Quot_indep(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_iteInduction___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__6; static lean_object* l___aux__Init__Core______macroRules__term___u2260____1___closed__1; lean_object* lean_task_get_own(lean_object*); LEAN_EXPORT lean_object* l_Sum_inhabitedRight___rarg(lean_object*); @@ -244,6 +323,7 @@ LEAN_EXPORT lean_object* l_Quotient_recOn___boxed(lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_instInhabitedForInStep(lean_object*); LEAN_EXPORT lean_object* l_Quotient_mk_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Not_elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2229_____closed__7; lean_object* lean_mk_thunk(lean_object*); LEAN_EXPORT lean_object* l_term___u2295_x27__; lean_object* lean_thunk_pure(lean_object*); @@ -251,6 +331,7 @@ static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1 static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__7; LEAN_EXPORT lean_object* l_instBEqProd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instInhabitedPSum__1(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2287____1___closed__4; LEAN_EXPORT lean_object* l_Thunk_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_toBoolUsing___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Quotient_lift_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -264,21 +345,30 @@ LEAN_EXPORT lean_object* l_Sum_inhabitedLeft(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_strictAnd___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Sum__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2205___closed__1; +static lean_object* l_term___x5c_____closed__1; LEAN_EXPORT lean_object* l_instInhabitedNonScalar; +static lean_object* l_term___u2282_____closed__1; static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__5; +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__7; LEAN_EXPORT lean_object* l_instInhabitedTask___rarg(lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__4; LEAN_EXPORT lean_object* l_Sum_inhabitedRight(lean_object*, lean_object*); static lean_object* l_term___u2248_____closed__1; +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__5; static lean_object* l_term___x3c_x2d_x3e_____closed__5; +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__1; static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__1; +static lean_object* l_term___u2282_____closed__6; LEAN_EXPORT lean_object* l_Thunk_bind___rarg(lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__4; LEAN_EXPORT lean_object* l_decidable__of__decidable__of__iff(lean_object*, lean_object*); static lean_object* l_term___u2295_____closed__5; static lean_object* l___aux__Init__Core______macroRules__term___u2248____1___closed__6; LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__5; +static lean_object* l_term___u2286_____closed__6; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); +static lean_object* l_term___u2286_____closed__5; static lean_object* l_term___u2260_____closed__4; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__4; LEAN_EXPORT uint8_t l_instDecidableFalse; @@ -287,9 +377,12 @@ LEAN_EXPORT lean_object* l_term___x21_x3d__; static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__1; LEAN_EXPORT lean_object* l_instInhabitedForInStep__1___rarg(lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__12; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___x5c____1___closed__6; static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__2; static lean_object* l_term___x3c_x2d_x3e_____closed__11; LEAN_EXPORT lean_object* l_term___u2295__; +static lean_object* l_term___u2282_____closed__2; static lean_object* l_term___x3c_x2d_x3e_____closed__10; LEAN_EXPORT lean_object* l_instDecidableDitePropNot___rarg(uint8_t, lean_object*, lean_object*); static lean_object* l_term___x3c_x2d_x3e_____closed__4; @@ -303,18 +396,23 @@ static lean_object* l_term___u2248_____closed__2; LEAN_EXPORT lean_object* l_instInhabitedMProd(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PEmpty_elim___rarg(uint8_t); +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___x5c____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_instDecidableForAll___rarg(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Iff_elim(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Decidable_byCases(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__4; LEAN_EXPORT lean_object* l_Lean_reduceNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_instInhabitedMProd___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u222a_____closed__1; static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__7; LEAN_EXPORT lean_object* l_instInhabitedForInStep___rarg(lean_object*); static lean_object* l_term___u2295_x27_____closed__1; LEAN_EXPORT lean_object* l_Subtype_instDecidableEqSubtype___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2282_____closed__3; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__11; static lean_object* l___aux__Init__Core______macroRules__term___u2248____1___closed__7; +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2286____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqQuotient___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_toBoolUsing___rarg(uint8_t); LEAN_EXPORT lean_object* l_noConfusionEnum___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,14 +421,17 @@ static lean_object* l_term___u2260_____closed__3; LEAN_EXPORT lean_object* l_instDecidableIff___rarg___boxed(lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_term___u222a_____closed__4; LEAN_EXPORT lean_object* l_instTransPropIff; LEAN_EXPORT lean_object* l_Quotient_lift(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__5; +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__4; LEAN_EXPORT uint8_t l_instDecidableIff___rarg(uint8_t, uint8_t); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Sum__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_liftOn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__bne__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u2287_____closed__2; static lean_object* l_term_u2205___closed__5; LEAN_EXPORT lean_object* l_inline___rarg(lean_object*); static lean_object* l_term___u2295_____closed__6; @@ -349,6 +450,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__EmptyCollection__emp static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Iff__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_liftOn_u2082___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_term___u222a_____closed__5; LEAN_EXPORT lean_object* l_Quotient_mk___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Thunk_pure___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2295____1(lean_object*, lean_object*, lean_object*); @@ -358,15 +460,21 @@ LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Iff__1___lambda__1(l LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Iff__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Empty_elim___boxed(lean_object*, lean_object*); static lean_object* l_term_x7b_x7d___closed__8; +static lean_object* l_term___x5c_____closed__3; LEAN_EXPORT uint8_t l_instDecidableEqPUnit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Squash_lift___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__7; +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__6; LEAN_EXPORT lean_object* l_Quot_recOnSubsingleton___rarg(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__4; LEAN_EXPORT lean_object* l_Quotient_liftOn_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quot_hrecOn___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2260____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term_x7b_x7d__1___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_instDecidableIteProp___rarg(uint8_t, uint8_t, uint8_t); +static lean_object* l_term___u2283_____closed__6; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; LEAN_EXPORT lean_object* l_Quotient_recOnSubsingleton_u2082(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_liftOn___boxed(lean_object*, lean_object*, lean_object*); @@ -386,35 +494,51 @@ LEAN_EXPORT lean_object* l_Eq_ndrecOn___rarg(lean_object*); static lean_object* l_term___u2295_x27_____closed__5; LEAN_EXPORT lean_object* l_thunkCoe___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableIff(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2283____1___closed__4; LEAN_EXPORT lean_object* l_instDecidableEqPUnit___boxed(lean_object*, lean_object*); static lean_object* l_term___x21_x3d_____closed__3; LEAN_EXPORT lean_object* l_Quotient_liftOn_u2082(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Iff_elim___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqPEmpty___boxed(lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u222a____1___closed__2; +static lean_object* l_term___u2287_____closed__6; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__bne__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_liftOn___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instInhabitedProd___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableIteProp(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_recOnSubsingleton___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2229____1___closed__3; static lean_object* l_term___u2295_____closed__1; LEAN_EXPORT lean_object* l_Lean_reduceBool___boxed(lean_object*); static lean_object* l_term___u2194_____closed__1; LEAN_EXPORT lean_object* l_Thunk_get___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instInhabitedPSum(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2282____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__4; +static lean_object* l_term___u2229_____closed__3; LEAN_EXPORT lean_object* l_Quot_hrecOn(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__Core______macroRules__term___u2282____1___closed__6; +static lean_object* l_term___u222a_____closed__3; LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasEquiv__Equiv__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_hrecOn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Thunk_bind___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Squash_mk(lean_object*); +static lean_object* l_term___u2286_____closed__1; LEAN_EXPORT lean_object* l_Task_get___boxed(lean_object*, lean_object*); lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_term___u2194__; +static lean_object* l_term___u2286_____closed__2; +static lean_object* l___aux__Init__Core______macroRules__term___u2286____1___closed__5; +static lean_object* l___aux__Init__Core______macroRules__term___u2287____1___closed__5; LEAN_EXPORT lean_object* l_instInhabitedPNonScalar; +static lean_object* l_term___x5c_____closed__6; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__10; static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__7; +static lean_object* l_term___u2283_____closed__4; LEAN_EXPORT lean_object* l_term_u2205; static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__1; static lean_object* l_term___u2260_____closed__2; @@ -2688,6 +2812,2506 @@ lean_dec(x_1); return x_8; } } +static lean_object* _init_l_term___u2286_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊆_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u2286_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u2286_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2286_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊆ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u2286_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u2286_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u2286_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u2286_____closed__4; +x_3 = l_term___u2248_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2286_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_term___u2286_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_unsigned_to_nat(51u); +x_4 = l_term___u2286_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_term___u2286__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u2286_____closed__6; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Subset", 6); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u2286____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2286____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("HasSubset", 9); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Core______macroRules__term___u2286____1___closed__4; +x_2 = l___aux__Init__Core______macroRules__term___u2286____1___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2286____1___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; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2286____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2286____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u2286_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u2286____1___closed__3; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u2286____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u2286____1___closed__7; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u2286_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u2286_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u2286_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u2286_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__HasSubset__Subset__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___u2282_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊂_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u2282_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u2282_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2282_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊂ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u2282_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u2282_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u2282_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u2282_____closed__4; +x_3 = l_term___u2248_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2282_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_term___u2282_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_unsigned_to_nat(51u); +x_4 = l_term___u2282_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_term___u2282__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u2282_____closed__6; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("SSubset", 7); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u2282____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2282____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("HasSSubset", 10); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Core______macroRules__term___u2282____1___closed__4; +x_2 = l___aux__Init__Core______macroRules__term___u2282____1___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2282____1___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; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2282____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2282____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u2282_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u2282____1___closed__3; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u2282____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u2282____1___closed__7; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u2282_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u2282_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u2282_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u2282_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__HasSSubset__SSubset__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___u2287_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊇_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u2287_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u2287_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2287_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊇ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u2287_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u2287_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u2287_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u2287_____closed__4; +x_3 = l_term___u2248_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2287_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_term___u2287_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_unsigned_to_nat(51u); +x_4 = l_term___u2287_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_term___u2287__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u2287_____closed__6; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Superset", 8); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u2287____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2287____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2287____1___closed__3; +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___aux__Init__Core______macroRules__term___u2287____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2287____1___closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2287____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u2287_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u2287____1___closed__3; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u2287____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u2287____1___closed__5; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u2287_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u2287_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__Superset__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u2287_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u2287_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Superset__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__Superset__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___u2283_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_⊃_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u2283_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u2283_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2283_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ⊃ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u2283_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u2283_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u2283_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u2283_____closed__4; +x_3 = l_term___u2248_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2283_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_term___u2283_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_unsigned_to_nat(51u); +x_4 = l_term___u2283_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_term___u2283__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u2283_____closed__6; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("SSuperset", 9); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u2283____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2283____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2283____1___closed__3; +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___aux__Init__Core______macroRules__term___u2283____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2283____1___closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2283____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u2283_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u2283____1___closed__3; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u2283____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u2283____1___closed__5; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u2283_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u2283_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__SSuperset__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u2283_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u2283_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SSuperset__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__SSuperset__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___u222a_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_∪_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u222a_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u222a_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u222a_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ∪ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u222a_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u222a_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u222a_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_term___x3c_x2d_x3e_____closed__8; +x_2 = lean_unsigned_to_nat(66u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u222a_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u222a_____closed__4; +x_3 = l_term___u222a_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u222a_____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___u222a_____closed__2; +x_2 = lean_unsigned_to_nat(65u); +x_3 = l_term___u222a_____closed__6; +x_4 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u222a__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u222a_____closed__7; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Union.union", 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u222a____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Union", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("union", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Core______macroRules__term___u222a____1___closed__3; +x_2 = l___aux__Init__Core______macroRules__term___u222a____1___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u222a____1___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; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u222a____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u222a____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u222a_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u222a____1___closed__5; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u222a____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u222a____1___closed__7; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u222a_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u222a_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__Union__union__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u222a_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u222a_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Union__union__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__Union__union__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___u2229_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_∩_", 9); +return x_1; +} +} +static lean_object* _init_l_term___u2229_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___u2229_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2229_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ∩ ", 5); +return x_1; +} +} +static lean_object* _init_l_term___u2229_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___u2229_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___u2229_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_term___x3c_x2d_x3e_____closed__8; +x_2 = lean_unsigned_to_nat(71u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___u2229_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___u2229_____closed__4; +x_3 = l_term___u2229_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2229_____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___u2229_____closed__2; +x_2 = lean_unsigned_to_nat(70u); +x_3 = l_term___u2229_____closed__6; +x_4 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +return x_4; +} +} +static lean_object* _init_l_term___u2229__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___u2229_____closed__7; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Inter.inter", 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___u2229____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Inter", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inter", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Core______macroRules__term___u2229____1___closed__3; +x_2 = l___aux__Init__Core______macroRules__term___u2229____1___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2229____1___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; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___u2229____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___u2229____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___u2229_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___u2229____1___closed__5; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___u2229____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___u2229____1___closed__7; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___u2229_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___u2229_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___u2229_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___u2229_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__Inter__inter__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l_term___x5c_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_\\_", 7); +return x_1; +} +} +static lean_object* _init_l_term___x5c_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_term___x5c_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_term___x5c_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" \\ ", 3); +return x_1; +} +} +static lean_object* _init_l_term___x5c_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term___x5c_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_term___x5c_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_term___x3c_x2d_x3e_____closed__4; +x_2 = l_term___x5c_____closed__4; +x_3 = l_term___u2229_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_term___x5c_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_term___x5c_____closed__2; +x_2 = lean_unsigned_to_nat(70u); +x_3 = lean_unsigned_to_nat(71u); +x_4 = l_term___x5c_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_term___x5c__() { +_start: +{ +lean_object* x_1; +x_1 = l_term___x5c_____closed__6; +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("SDiff.sdiff", 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__Core______macroRules__term___x5c____1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("SDiff", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("sdiff", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Core______macroRules__term___x5c____1___closed__3; +x_2 = l___aux__Init__Core______macroRules__term___x5c____1___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___x5c____1___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; +} +} +static lean_object* _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__Core______macroRules__term___x5c____1___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______macroRules__term___x5c____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term___x5c_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l___aux__Init__Core______macroRules__term___x5c____1___closed__5; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l___aux__Init__Core______macroRules__term___x5c____1___closed__2; +x_20 = l___aux__Init__Core______macroRules__term___x5c____1___closed__7; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_replaceRef(x_1, x_6); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = l_term___x5c_____closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_term___x5c_____closed__2; +lean_inc(x_10); +x_14 = l_Lean_Syntax_node3(x_10, x_13, x_3, x_12, x_4); +x_15 = l___aux__Init__Core______unexpand__Iff__1___lambda__2___closed__1; +x_16 = l_Array_appendCore___rarg(x_15, x_5); +x_17 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +lean_inc(x_10); +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_16); +x_19 = l_Lean_Syntax_node2(x_10, x_2, x_14, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__Core______unexpand__Iff__1___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_17 = l_Lean_Syntax_matchesNull(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_15); +x_19 = lean_nat_dec_le(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = l_Lean_Syntax_getArg(x_15, x_8); +x_23 = l_Lean_Syntax_getArg(x_15, x_14); +x_24 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_25 = lean_nat_sub(x_18, x_8); +lean_dec(x_18); +x_26 = l_Array_extract___rarg(x_24, x_16, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = lean_box(2); +x_28 = l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__14; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_26); +x_30 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_31 = l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1(x_9, x_4, x_22, x_23, x_30, x_2, x_3); +lean_dec(x_2); +lean_dec(x_30); +lean_dec(x_9); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = l_Lean_Syntax_getArg(x_15, x_8); +x_33 = l_Lean_Syntax_getArg(x_15, x_14); +lean_dec(x_15); +x_34 = l_Lean_replaceRef(x_9, x_2); +lean_dec(x_2); +lean_dec(x_9); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_term___x5c_____closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_term___x5c_____closed__2; +x_40 = l_Lean_Syntax_node3(x_36, x_39, x_32, x_38, x_33); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___aux__Init__Core______unexpand__SDiff__sdiff__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} static lean_object* _init_l_term_x7b_x7d___closed__1() { _start: { @@ -5873,6 +8497,198 @@ l___aux__Init__Core______macroRules__term___u2248____1___closed__6 = _init_l___a lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2248____1___closed__6); l___aux__Init__Core______macroRules__term___u2248____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___u2248____1___closed__7(); lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2248____1___closed__7); +l_term___u2286_____closed__1 = _init_l_term___u2286_____closed__1(); +lean_mark_persistent(l_term___u2286_____closed__1); +l_term___u2286_____closed__2 = _init_l_term___u2286_____closed__2(); +lean_mark_persistent(l_term___u2286_____closed__2); +l_term___u2286_____closed__3 = _init_l_term___u2286_____closed__3(); +lean_mark_persistent(l_term___u2286_____closed__3); +l_term___u2286_____closed__4 = _init_l_term___u2286_____closed__4(); +lean_mark_persistent(l_term___u2286_____closed__4); +l_term___u2286_____closed__5 = _init_l_term___u2286_____closed__5(); +lean_mark_persistent(l_term___u2286_____closed__5); +l_term___u2286_____closed__6 = _init_l_term___u2286_____closed__6(); +lean_mark_persistent(l_term___u2286_____closed__6); +l_term___u2286__ = _init_l_term___u2286__(); +lean_mark_persistent(l_term___u2286__); +l___aux__Init__Core______macroRules__term___u2286____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__1); +l___aux__Init__Core______macroRules__term___u2286____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__2); +l___aux__Init__Core______macroRules__term___u2286____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__3); +l___aux__Init__Core______macroRules__term___u2286____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__4); +l___aux__Init__Core______macroRules__term___u2286____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__5); +l___aux__Init__Core______macroRules__term___u2286____1___closed__6 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__6(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__6); +l___aux__Init__Core______macroRules__term___u2286____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___u2286____1___closed__7(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2286____1___closed__7); +l_term___u2282_____closed__1 = _init_l_term___u2282_____closed__1(); +lean_mark_persistent(l_term___u2282_____closed__1); +l_term___u2282_____closed__2 = _init_l_term___u2282_____closed__2(); +lean_mark_persistent(l_term___u2282_____closed__2); +l_term___u2282_____closed__3 = _init_l_term___u2282_____closed__3(); +lean_mark_persistent(l_term___u2282_____closed__3); +l_term___u2282_____closed__4 = _init_l_term___u2282_____closed__4(); +lean_mark_persistent(l_term___u2282_____closed__4); +l_term___u2282_____closed__5 = _init_l_term___u2282_____closed__5(); +lean_mark_persistent(l_term___u2282_____closed__5); +l_term___u2282_____closed__6 = _init_l_term___u2282_____closed__6(); +lean_mark_persistent(l_term___u2282_____closed__6); +l_term___u2282__ = _init_l_term___u2282__(); +lean_mark_persistent(l_term___u2282__); +l___aux__Init__Core______macroRules__term___u2282____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__1); +l___aux__Init__Core______macroRules__term___u2282____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__2); +l___aux__Init__Core______macroRules__term___u2282____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__3); +l___aux__Init__Core______macroRules__term___u2282____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__4); +l___aux__Init__Core______macroRules__term___u2282____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__5); +l___aux__Init__Core______macroRules__term___u2282____1___closed__6 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__6(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__6); +l___aux__Init__Core______macroRules__term___u2282____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___u2282____1___closed__7(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2282____1___closed__7); +l_term___u2287_____closed__1 = _init_l_term___u2287_____closed__1(); +lean_mark_persistent(l_term___u2287_____closed__1); +l_term___u2287_____closed__2 = _init_l_term___u2287_____closed__2(); +lean_mark_persistent(l_term___u2287_____closed__2); +l_term___u2287_____closed__3 = _init_l_term___u2287_____closed__3(); +lean_mark_persistent(l_term___u2287_____closed__3); +l_term___u2287_____closed__4 = _init_l_term___u2287_____closed__4(); +lean_mark_persistent(l_term___u2287_____closed__4); +l_term___u2287_____closed__5 = _init_l_term___u2287_____closed__5(); +lean_mark_persistent(l_term___u2287_____closed__5); +l_term___u2287_____closed__6 = _init_l_term___u2287_____closed__6(); +lean_mark_persistent(l_term___u2287_____closed__6); +l_term___u2287__ = _init_l_term___u2287__(); +lean_mark_persistent(l_term___u2287__); +l___aux__Init__Core______macroRules__term___u2287____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2287____1___closed__1); +l___aux__Init__Core______macroRules__term___u2287____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2287____1___closed__2); +l___aux__Init__Core______macroRules__term___u2287____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2287____1___closed__3); +l___aux__Init__Core______macroRules__term___u2287____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2287____1___closed__4); +l___aux__Init__Core______macroRules__term___u2287____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u2287____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2287____1___closed__5); +l_term___u2283_____closed__1 = _init_l_term___u2283_____closed__1(); +lean_mark_persistent(l_term___u2283_____closed__1); +l_term___u2283_____closed__2 = _init_l_term___u2283_____closed__2(); +lean_mark_persistent(l_term___u2283_____closed__2); +l_term___u2283_____closed__3 = _init_l_term___u2283_____closed__3(); +lean_mark_persistent(l_term___u2283_____closed__3); +l_term___u2283_____closed__4 = _init_l_term___u2283_____closed__4(); +lean_mark_persistent(l_term___u2283_____closed__4); +l_term___u2283_____closed__5 = _init_l_term___u2283_____closed__5(); +lean_mark_persistent(l_term___u2283_____closed__5); +l_term___u2283_____closed__6 = _init_l_term___u2283_____closed__6(); +lean_mark_persistent(l_term___u2283_____closed__6); +l_term___u2283__ = _init_l_term___u2283__(); +lean_mark_persistent(l_term___u2283__); +l___aux__Init__Core______macroRules__term___u2283____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2283____1___closed__1); +l___aux__Init__Core______macroRules__term___u2283____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2283____1___closed__2); +l___aux__Init__Core______macroRules__term___u2283____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2283____1___closed__3); +l___aux__Init__Core______macroRules__term___u2283____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2283____1___closed__4); +l___aux__Init__Core______macroRules__term___u2283____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u2283____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2283____1___closed__5); +l_term___u222a_____closed__1 = _init_l_term___u222a_____closed__1(); +lean_mark_persistent(l_term___u222a_____closed__1); +l_term___u222a_____closed__2 = _init_l_term___u222a_____closed__2(); +lean_mark_persistent(l_term___u222a_____closed__2); +l_term___u222a_____closed__3 = _init_l_term___u222a_____closed__3(); +lean_mark_persistent(l_term___u222a_____closed__3); +l_term___u222a_____closed__4 = _init_l_term___u222a_____closed__4(); +lean_mark_persistent(l_term___u222a_____closed__4); +l_term___u222a_____closed__5 = _init_l_term___u222a_____closed__5(); +lean_mark_persistent(l_term___u222a_____closed__5); +l_term___u222a_____closed__6 = _init_l_term___u222a_____closed__6(); +lean_mark_persistent(l_term___u222a_____closed__6); +l_term___u222a_____closed__7 = _init_l_term___u222a_____closed__7(); +lean_mark_persistent(l_term___u222a_____closed__7); +l_term___u222a__ = _init_l_term___u222a__(); +lean_mark_persistent(l_term___u222a__); +l___aux__Init__Core______macroRules__term___u222a____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__1); +l___aux__Init__Core______macroRules__term___u222a____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__2); +l___aux__Init__Core______macroRules__term___u222a____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__3); +l___aux__Init__Core______macroRules__term___u222a____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__4); +l___aux__Init__Core______macroRules__term___u222a____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__5); +l___aux__Init__Core______macroRules__term___u222a____1___closed__6 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__6(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__6); +l___aux__Init__Core______macroRules__term___u222a____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___u222a____1___closed__7(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u222a____1___closed__7); +l_term___u2229_____closed__1 = _init_l_term___u2229_____closed__1(); +lean_mark_persistent(l_term___u2229_____closed__1); +l_term___u2229_____closed__2 = _init_l_term___u2229_____closed__2(); +lean_mark_persistent(l_term___u2229_____closed__2); +l_term___u2229_____closed__3 = _init_l_term___u2229_____closed__3(); +lean_mark_persistent(l_term___u2229_____closed__3); +l_term___u2229_____closed__4 = _init_l_term___u2229_____closed__4(); +lean_mark_persistent(l_term___u2229_____closed__4); +l_term___u2229_____closed__5 = _init_l_term___u2229_____closed__5(); +lean_mark_persistent(l_term___u2229_____closed__5); +l_term___u2229_____closed__6 = _init_l_term___u2229_____closed__6(); +lean_mark_persistent(l_term___u2229_____closed__6); +l_term___u2229_____closed__7 = _init_l_term___u2229_____closed__7(); +lean_mark_persistent(l_term___u2229_____closed__7); +l_term___u2229__ = _init_l_term___u2229__(); +lean_mark_persistent(l_term___u2229__); +l___aux__Init__Core______macroRules__term___u2229____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__1); +l___aux__Init__Core______macroRules__term___u2229____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__2); +l___aux__Init__Core______macroRules__term___u2229____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__3); +l___aux__Init__Core______macroRules__term___u2229____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__4); +l___aux__Init__Core______macroRules__term___u2229____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__5); +l___aux__Init__Core______macroRules__term___u2229____1___closed__6 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__6(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__6); +l___aux__Init__Core______macroRules__term___u2229____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___u2229____1___closed__7(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___u2229____1___closed__7); +l_term___x5c_____closed__1 = _init_l_term___x5c_____closed__1(); +lean_mark_persistent(l_term___x5c_____closed__1); +l_term___x5c_____closed__2 = _init_l_term___x5c_____closed__2(); +lean_mark_persistent(l_term___x5c_____closed__2); +l_term___x5c_____closed__3 = _init_l_term___x5c_____closed__3(); +lean_mark_persistent(l_term___x5c_____closed__3); +l_term___x5c_____closed__4 = _init_l_term___x5c_____closed__4(); +lean_mark_persistent(l_term___x5c_____closed__4); +l_term___x5c_____closed__5 = _init_l_term___x5c_____closed__5(); +lean_mark_persistent(l_term___x5c_____closed__5); +l_term___x5c_____closed__6 = _init_l_term___x5c_____closed__6(); +lean_mark_persistent(l_term___x5c_____closed__6); +l_term___x5c__ = _init_l_term___x5c__(); +lean_mark_persistent(l_term___x5c__); +l___aux__Init__Core______macroRules__term___x5c____1___closed__1 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__1(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__1); +l___aux__Init__Core______macroRules__term___x5c____1___closed__2 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__2(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__2); +l___aux__Init__Core______macroRules__term___x5c____1___closed__3 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__3(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__3); +l___aux__Init__Core______macroRules__term___x5c____1___closed__4 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__4(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__4); +l___aux__Init__Core______macroRules__term___x5c____1___closed__5 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__5(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__5); +l___aux__Init__Core______macroRules__term___x5c____1___closed__6 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__6(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__6); +l___aux__Init__Core______macroRules__term___x5c____1___closed__7 = _init_l___aux__Init__Core______macroRules__term___x5c____1___closed__7(); +lean_mark_persistent(l___aux__Init__Core______macroRules__term___x5c____1___closed__7); l_term_x7b_x7d___closed__1 = _init_l_term_x7b_x7d___closed__1(); lean_mark_persistent(l_term_x7b_x7d___closed__1); l_term_x7b_x7d___closed__2 = _init_l_term_x7b_x7d___closed__2(); diff --git a/stage0/stdlib/Init/Ext.c b/stage0/stdlib/Init/Ext.c new file mode 100644 index 0000000000..a1e53986fd --- /dev/null +++ b/stage0/stdlib/Init/Ext.c @@ -0,0 +1,3987 @@ +// Lean compiler output +// Module: Init.Ext +// Imports: Init.TacticsExtra Init.RCases +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__14; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72; +static lean_object* l_Lean_Parser_Attr_ext___closed__23; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__5; +static lean_object* l_Lean_Parser_Attr_ext___closed__37; +static lean_object* l_Lean_Parser_Attr_ext___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58; +static lean_object* l_Lean_Parser_Attr_ext___closed__33; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__16; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__12; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17; +static lean_object* l_Lean_Parser_Attr_ext___closed__12; +static lean_object* l_Lean_Parser_Attr_ext___closed__27; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68; +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Attr_ext___closed__17; +static lean_object* l_Lean_Parser_Attr_ext___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73; +static lean_object* l_Lean_Parser_Attr_ext___closed__26; +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__6; +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1______; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__22; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extType; +lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94; +static lean_object* l_Lean_Parser_Attr_ext___closed__32; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__3; +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Attr_ext___closed__25; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97; +lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extIffType; +static lean_object* l_Lean_Parser_Attr_ext___closed__13; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53; +static lean_object* l_Lean_Parser_Attr_ext___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__2; +static lean_object* l_Lean_Parser_Attr_ext___closed__16; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ext; +static lean_object* l_Lean_Parser_Attr_ext___closed__19; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__12; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__19; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__5; +static lean_object* l_Lean_Parser_Attr_ext___closed__28; +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5; +static lean_object* l_Lean_Parser_Attr_ext___closed__31; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2; +lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92; +lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16; +LEAN_EXPORT lean_object* l_Lean_Parser_Attr_ext; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__13; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8; +static lean_object* l_Lean_Parser_Attr_ext___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15; +uint8_t l_List_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__9; +lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3; +lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1; +static lean_object* l_Lean_Parser_Attr_ext___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__5; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30; +static lean_object* l_Lean_Parser_Attr_ext___closed__15; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__4; +lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__1; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__6; +lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__20; +static lean_object* l_Lean_Parser_Attr_ext___closed__22; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__21; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__13; +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Attr_ext___closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__18; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__15; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70; +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83; +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7; +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__7; +static lean_object* l_Lean_Parser_Attr_ext___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4; +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3; +static lean_object* l_Lean_Parser_Attr_ext___closed__20; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14; +static lean_object* l_Lean_Parser_Attr_ext___closed__18; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__2; +lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86; +static lean_object* l_Lean_Parser_Attr_ext___closed__29; +static lean_object* l_Lean_Parser_Attr_ext___closed__34; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55; +static lean_object* l_Lean_Parser_Attr_ext___closed__36; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2; +static lean_object* l_Lean_Parser_Attr_ext___closed__9; +static lean_object* l_Lean_Parser_Attr_ext___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_extType___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__17; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__14; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2; +static lean_object* l_Lean_Parser_Attr_ext___closed__14; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19; +static lean_object* l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_extIffType___closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90; +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__15; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__2; +static lean_object* l_Lean_Parser_Attr_ext___closed__30; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Attr_ext___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37; +static lean_object* l_Lean_Parser_Attr_ext___closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57; +lean_object* l_String_toSubstring_x27(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__26; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49; +static lean_object* l_Lean_Parser_Attr_ext___closed__35; +static lean_object* l_Lean_Parser_Attr_ext___closed__21; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82; +static lean_object* l_Lean_Parser_Attr_ext___closed__24; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81; +static lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28; +static lean_object* l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13; +uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ext___closed__10; +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Parser", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Attr", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__5() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Parser_Attr_ext___closed__3; +x_4 = l_Lean_Parser_Attr_ext___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("andthen", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Attr_ext___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__4; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("optional", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Attr_ext___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" (", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Attr_ext___closed__11; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("flat", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__14() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__13; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__12; +x_3 = l_Lean_Parser_Attr_ext___closed__14; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" := ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Attr_ext___closed__16; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__15; +x_3 = l_Lean_Parser_Attr_ext___closed__17; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Attr_ext___closed__19; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__20; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__18; +x_3 = l_Lean_Parser_Attr_ext___closed__21; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Attr_ext___closed__23; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__22; +x_3 = l_Lean_Parser_Attr_ext___closed__24; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__10; +x_2 = l_Lean_Parser_Attr_ext___closed__25; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__8; +x_3 = l_Lean_Parser_Attr_ext___closed__26; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ppSpace", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Attr_ext___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Attr_ext___closed__29; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("prio", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Attr_ext___closed__31; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__32; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__30; +x_3 = l_Lean_Parser_Attr_ext___closed__33; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__10; +x_2 = l_Lean_Parser_Attr_ext___closed__34; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__27; +x_3 = l_Lean_Parser_Attr_ext___closed__35; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__5; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Attr_ext___closed__36; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Attr_ext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Attr_ext___closed__37; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elab", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Ext", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("extType", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Elab_Tactic_Ext_extType___closed__4; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext_type% ", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_extType___closed__6; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__20; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__7; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__8; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__9; +x_3 = l_Lean_Parser_Attr_ext___closed__30; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ident", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_extType___closed__12; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__10; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_extType___closed__5; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__14; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extType() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_extType___closed__15; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("extIffType", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Elab_Tactic_Ext_extIffType___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext_iff_type% ", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_extIffType___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extIffType___closed__4; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__8; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extIffType___closed__5; +x_3 = l_Lean_Parser_Attr_ext___closed__30; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_extIffType___closed__6; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_extIffType___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Tactic_Ext_extIffType___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extIffType() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_extIffType___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declareExtTheoremFor", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declare_ext_theorems_for ", 25); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6; +x_3 = l_Lean_Parser_Attr_ext___closed__14; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7; +x_3 = l_Lean_Parser_Attr_ext___closed__17; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8; +x_3 = l_Lean_Parser_Attr_ext___closed__21; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(") ", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9; +x_3 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__10; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4; +x_3 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15; +x_3 = l_Lean_Parser_Attr_ext___closed__35; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17; +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +x_8 = l_List_isEmpty___rarg(x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_free_object(x_1); +lean_dec(x_5); +x_1 = x_6; +goto _start; +} +else +{ +lean_ctor_set(x_1, 1, x_2); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_1); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +x_14 = l_List_isEmpty___rarg(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_11); +x_1 = x_12; +goto _start; +} +else +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_2); +x_1 = x_12; +x_2 = x_16; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext_iff", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Command", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declaration", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declModifiers", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("attributes", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("@[", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("attrInstance", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("attrKind", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("]", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("protected", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("theorem", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declId", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declSig", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___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_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("typeSpec", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext_type%", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declValSimple", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":=", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fun", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("basicFun", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("structInst", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("{", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("optEllipsis", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("..", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("}", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("=>", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("byTactic", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("by", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("intros", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(";", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("substEqs", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("subst_eqs", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticRfl", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rfl", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Termination", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("suffix", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext_iff_type%", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("anonymousCtor", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⟨", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("h", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cases", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("casesTarget", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic_<;>_", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticAnd_intros", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("and_intros", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("<;>", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(",", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hole", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("paren", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticRepeat_", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89() { +_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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term‹_›", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("‹", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_∧_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("∧", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("›", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("⟩", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_7 = l_Lean_Parser_Attr_ext___closed__4; +lean_inc(x_4); +x_8 = l_Lean_Name_str___override(x_4, x_7); +x_9 = 1; +lean_inc(x_1); +x_10 = l_Lean_mkIdentFrom(x_1, x_8, x_9); +x_11 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1; +x_12 = l_Lean_Name_str___override(x_4, x_11); +lean_inc(x_1); +x_13 = l_Lean_mkIdentFrom(x_1, x_12, x_9); +x_14 = lean_ctor_get(x_5, 5); +lean_inc(x_14); +x_15 = 0; +x_16 = l_Lean_SourceInfo_fromRef(x_14, x_15); +x_17 = lean_ctor_get(x_5, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_5, 1); +lean_inc(x_18); +lean_dec(x_5); +x_19 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3; +x_20 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9; +lean_inc(x_16); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13; +lean_inc(x_16); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17; +lean_inc(x_21); +lean_inc(x_16); +x_25 = l_Lean_Syntax_node1(x_16, x_24, x_21); +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_7); +x_27 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18; +lean_inc(x_16); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19; +lean_inc(x_16); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_16); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20; +lean_inc(x_16); +x_32 = l_Lean_Syntax_node1(x_16, x_31, x_30); +lean_inc(x_16); +x_33 = l_Lean_Syntax_node1(x_16, x_19, x_32); +x_34 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21; +lean_inc(x_16); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_16); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24; +lean_inc(x_21); +lean_inc(x_16); +x_37 = l_Lean_Syntax_node2(x_16, x_36, x_10, x_21); +x_38 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29; +lean_inc(x_16); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30; +lean_inc(x_16); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_16); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Tactic_Ext_extType___closed__5; +lean_inc(x_1); +lean_inc(x_2); +lean_inc(x_16); +x_43 = l_Lean_Syntax_node3(x_16, x_42, x_41, x_2, x_1); +x_44 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28; +lean_inc(x_39); +lean_inc(x_16); +x_45 = l_Lean_Syntax_node2(x_16, x_44, x_39, x_43); +x_46 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__26; +lean_inc(x_21); +lean_inc(x_16); +x_47 = l_Lean_Syntax_node2(x_16, x_46, x_21, x_45); +x_48 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33; +lean_inc(x_16); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_16); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34; +lean_inc(x_16); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_16); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40; +lean_inc(x_16); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_16); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43; +lean_inc(x_16); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_16); +lean_ctor_set(x_55, 1, x_54); +lean_inc(x_16); +x_56 = l_Lean_Syntax_node1(x_16, x_19, x_55); +x_57 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42; +lean_inc(x_16); +x_58 = l_Lean_Syntax_node1(x_16, x_57, x_56); +x_59 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44; +lean_inc(x_16); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_16); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39; +lean_inc_n(x_21, 3); +lean_inc(x_16); +x_62 = l_Lean_Syntax_node6(x_16, x_61, x_53, x_21, x_21, x_58, x_21, x_60); +lean_inc(x_62); +lean_inc(x_16); +x_63 = l_Lean_Syntax_node2(x_16, x_19, x_62, x_62); +x_64 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45; +lean_inc(x_16); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_16); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48; +lean_inc(x_16); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_16); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53; +lean_inc(x_16); +x_69 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_69, 0, x_16); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54; +lean_inc(x_21); +lean_inc(x_16); +x_71 = l_Lean_Syntax_node2(x_16, x_70, x_69, x_21); +x_72 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55; +lean_inc(x_16); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_16); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58; +lean_inc(x_16); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_16); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57; +lean_inc(x_16); +x_77 = l_Lean_Syntax_node1(x_16, x_76, x_75); +x_78 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61; +lean_inc(x_16); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_16); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60; +lean_inc(x_16); +x_81 = l_Lean_Syntax_node1(x_16, x_80, x_79); +lean_inc(x_81); +lean_inc(x_77); +lean_inc_n(x_73, 2); +lean_inc(x_16); +x_82 = l_Lean_Syntax_node5(x_16, x_19, x_71, x_73, x_77, x_73, x_81); +x_83 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52; +lean_inc(x_16); +x_84 = l_Lean_Syntax_node1(x_16, x_83, x_82); +x_85 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50; +lean_inc(x_16); +x_86 = l_Lean_Syntax_node1(x_16, x_85, x_84); +x_87 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47; +lean_inc(x_67); +lean_inc(x_16); +x_88 = l_Lean_Syntax_node2(x_16, x_87, x_67, x_86); +x_89 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37; +lean_inc(x_65); +lean_inc(x_21); +lean_inc(x_63); +lean_inc(x_16); +x_90 = l_Lean_Syntax_node4(x_16, x_89, x_63, x_21, x_65, x_88); +x_91 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35; +lean_inc(x_51); +lean_inc(x_16); +x_92 = l_Lean_Syntax_node2(x_16, x_91, x_51, x_90); +x_93 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64; +lean_inc_n(x_21, 2); +lean_inc(x_16); +x_94 = l_Lean_Syntax_node2(x_16, x_93, x_21, x_21); +x_95 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32; +lean_inc(x_21); +lean_inc(x_94); +lean_inc(x_49); +lean_inc(x_16); +x_96 = l_Lean_Syntax_node4(x_16, x_95, x_49, x_92, x_94, x_21); +x_97 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22; +lean_inc(x_35); +lean_inc(x_16); +x_98 = l_Lean_Syntax_node4(x_16, x_97, x_35, x_37, x_47, x_96); +x_99 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8; +lean_inc(x_33); +lean_inc_n(x_21, 5); +lean_inc(x_16); +x_100 = l_Lean_Syntax_node6(x_16, x_99, x_21, x_21, x_33, x_21, x_21, x_21); +lean_inc(x_21); +lean_inc(x_16); +x_101 = l_Lean_Syntax_node2(x_16, x_36, x_13, x_21); +x_102 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65; +lean_inc(x_16); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_16); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Tactic_Ext_extIffType___closed__2; +lean_inc(x_16); +x_105 = l_Lean_Syntax_node3(x_16, x_104, x_103, x_2, x_1); +lean_inc(x_16); +x_106 = l_Lean_Syntax_node2(x_16, x_44, x_39, x_105); +lean_inc(x_21); +lean_inc(x_16); +x_107 = l_Lean_Syntax_node2(x_16, x_46, x_21, x_106); +x_108 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68; +lean_inc(x_16); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_16); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71; +x_111 = l_Lean_addMacroScope(x_18, x_110, x_17); +x_112 = lean_box(0); +x_113 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70; +lean_inc(x_16); +x_114 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_114, 0, x_16); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_111); +lean_ctor_set(x_114, 3, x_112); +lean_inc(x_114); +lean_inc(x_16); +x_115 = l_Lean_Syntax_node1(x_16, x_19, x_114); +x_116 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72; +lean_inc(x_16); +x_117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_117, 0, x_16); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75; +lean_inc(x_21); +lean_inc(x_16); +x_119 = l_Lean_Syntax_node2(x_16, x_118, x_21, x_114); +lean_inc(x_16); +x_120 = l_Lean_Syntax_node1(x_16, x_19, x_119); +x_121 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73; +lean_inc_n(x_21, 2); +lean_inc(x_117); +lean_inc(x_16); +x_122 = l_Lean_Syntax_node4(x_16, x_121, x_117, x_120, x_21, x_21); +x_123 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80; +lean_inc(x_16); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_16); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79; +lean_inc(x_16); +x_126 = l_Lean_Syntax_node1(x_16, x_125, x_124); +x_127 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81; +lean_inc(x_16); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_16); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77; +lean_inc(x_81); +lean_inc(x_16); +x_130 = l_Lean_Syntax_node3(x_16, x_129, x_126, x_128, x_81); +lean_inc(x_73); +lean_inc(x_16); +x_131 = l_Lean_Syntax_node3(x_16, x_19, x_122, x_73, x_130); +lean_inc(x_16); +x_132 = l_Lean_Syntax_node1(x_16, x_83, x_131); +lean_inc(x_16); +x_133 = l_Lean_Syntax_node1(x_16, x_85, x_132); +lean_inc(x_67); +lean_inc(x_16); +x_134 = l_Lean_Syntax_node2(x_16, x_87, x_67, x_133); +lean_inc(x_65); +lean_inc(x_21); +lean_inc(x_16); +x_135 = l_Lean_Syntax_node4(x_16, x_89, x_115, x_21, x_65, x_134); +lean_inc(x_51); +lean_inc(x_16); +x_136 = l_Lean_Syntax_node2(x_16, x_91, x_51, x_135); +x_137 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82; +lean_inc(x_16); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_16); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85; +lean_inc(x_16); +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_16); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84; +lean_inc(x_16); +x_142 = l_Lean_Syntax_node1(x_16, x_141, x_140); +lean_inc(x_142); +lean_inc(x_16); +x_143 = l_Lean_Syntax_node1(x_16, x_19, x_142); +x_144 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5; +lean_inc(x_16); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_16); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90; +lean_inc(x_16); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_16); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93; +lean_inc(x_16); +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_16); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96; +lean_inc(x_16); +x_151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_151, 0, x_16); +lean_ctor_set(x_151, 1, x_150); +x_152 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95; +lean_inc(x_142); +lean_inc(x_16); +x_153 = l_Lean_Syntax_node3(x_16, x_152, x_142, x_151, x_142); +x_154 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97; +lean_inc(x_16); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_16); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92; +lean_inc(x_16); +x_157 = l_Lean_Syntax_node3(x_16, x_156, x_149, x_153, x_155); +lean_inc(x_21); +lean_inc(x_16); +x_158 = l_Lean_Syntax_node2(x_16, x_118, x_21, x_157); +lean_inc(x_16); +x_159 = l_Lean_Syntax_node1(x_16, x_19, x_158); +lean_inc_n(x_21, 2); +lean_inc(x_16); +x_160 = l_Lean_Syntax_node4(x_16, x_121, x_117, x_159, x_21, x_21); +lean_inc(x_16); +x_161 = l_Lean_Syntax_node1(x_16, x_19, x_160); +lean_inc(x_16); +x_162 = l_Lean_Syntax_node1(x_16, x_83, x_161); +lean_inc(x_16); +x_163 = l_Lean_Syntax_node1(x_16, x_85, x_162); +x_164 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89; +lean_inc(x_16); +x_165 = l_Lean_Syntax_node2(x_16, x_164, x_147, x_163); +lean_inc(x_16); +x_166 = l_Lean_Syntax_node1(x_16, x_19, x_165); +lean_inc(x_16); +x_167 = l_Lean_Syntax_node1(x_16, x_83, x_166); +lean_inc(x_16); +x_168 = l_Lean_Syntax_node1(x_16, x_85, x_167); +x_169 = l_Lean_Parser_Attr_ext___closed__23; +lean_inc(x_16); +x_170 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_170, 0, x_16); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87; +lean_inc(x_16); +x_172 = l_Lean_Syntax_node3(x_16, x_171, x_145, x_168, x_170); +lean_inc(x_73); +lean_inc(x_16); +x_173 = l_Lean_Syntax_node5(x_16, x_19, x_172, x_73, x_77, x_73, x_81); +lean_inc(x_16); +x_174 = l_Lean_Syntax_node1(x_16, x_83, x_173); +lean_inc(x_16); +x_175 = l_Lean_Syntax_node1(x_16, x_85, x_174); +lean_inc(x_16); +x_176 = l_Lean_Syntax_node2(x_16, x_87, x_67, x_175); +lean_inc(x_65); +lean_inc(x_21); +lean_inc(x_16); +x_177 = l_Lean_Syntax_node4(x_16, x_89, x_143, x_21, x_65, x_176); +lean_inc(x_51); +lean_inc(x_16); +x_178 = l_Lean_Syntax_node2(x_16, x_91, x_51, x_177); +lean_inc(x_16); +x_179 = l_Lean_Syntax_node3(x_16, x_19, x_136, x_138, x_178); +x_180 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98; +lean_inc(x_16); +x_181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_181, 0, x_16); +lean_ctor_set(x_181, 1, x_180); +x_182 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67; +lean_inc(x_16); +x_183 = l_Lean_Syntax_node3(x_16, x_182, x_109, x_179, x_181); +lean_inc(x_21); +lean_inc(x_16); +x_184 = l_Lean_Syntax_node4(x_16, x_89, x_63, x_21, x_65, x_183); +lean_inc(x_16); +x_185 = l_Lean_Syntax_node2(x_16, x_91, x_51, x_184); +lean_inc(x_21); +lean_inc(x_16); +x_186 = l_Lean_Syntax_node4(x_16, x_95, x_49, x_185, x_94, x_21); +lean_inc(x_16); +x_187 = l_Lean_Syntax_node4(x_16, x_97, x_35, x_101, x_107, x_186); +x_188 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6; +lean_inc(x_16); +x_189 = l_Lean_Syntax_node2(x_16, x_188, x_100, x_187); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_190 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99; +lean_inc(x_16); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_16); +lean_ctor_set(x_191, 1, x_19); +lean_ctor_set(x_191, 2, x_190); +x_192 = l_Lean_Parser_Attr_ext___closed__5; +lean_inc(x_21); +lean_inc(x_16); +x_193 = l_Lean_Syntax_node3(x_16, x_192, x_26, x_21, x_191); +x_194 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15; +lean_inc(x_16); +x_195 = l_Lean_Syntax_node2(x_16, x_194, x_25, x_193); +lean_inc(x_16); +x_196 = l_Lean_Syntax_node1(x_16, x_19, x_195); +x_197 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12; +lean_inc(x_16); +x_198 = l_Lean_Syntax_node3(x_16, x_197, x_23, x_196, x_28); +lean_inc(x_16); +x_199 = l_Lean_Syntax_node1(x_16, x_19, x_198); +lean_inc_n(x_21, 3); +lean_inc(x_16); +x_200 = l_Lean_Syntax_node6(x_16, x_99, x_21, x_199, x_33, x_21, x_21, x_21); +lean_inc(x_16); +x_201 = l_Lean_Syntax_node2(x_16, x_188, x_200, x_98); +x_202 = l_Lean_Syntax_node2(x_16, x_19, x_201, x_189); +x_203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_6); +return x_203; +} +else +{ +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; +x_204 = lean_ctor_get(x_3, 0); +lean_inc(x_204); +lean_dec(x_3); +x_205 = lean_array_push(x_20, x_204); +x_206 = l_Array_append___rarg(x_20, x_205); +lean_inc(x_16); +x_207 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_207, 0, x_16); +lean_ctor_set(x_207, 1, x_19); +lean_ctor_set(x_207, 2, x_206); +x_208 = l_Lean_Parser_Attr_ext___closed__5; +lean_inc(x_21); +lean_inc(x_16); +x_209 = l_Lean_Syntax_node3(x_16, x_208, x_26, x_21, x_207); +x_210 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15; +lean_inc(x_16); +x_211 = l_Lean_Syntax_node2(x_16, x_210, x_25, x_209); +lean_inc(x_16); +x_212 = l_Lean_Syntax_node1(x_16, x_19, x_211); +x_213 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12; +lean_inc(x_16); +x_214 = l_Lean_Syntax_node3(x_16, x_213, x_23, x_212, x_28); +lean_inc(x_16); +x_215 = l_Lean_Syntax_node1(x_16, x_19, x_214); +lean_inc_n(x_21, 3); +lean_inc(x_16); +x_216 = l_Lean_Syntax_node6(x_16, x_99, x_21, x_215, x_33, x_21, x_21, x_21); +lean_inc(x_16); +x_217 = l_Lean_Syntax_node2(x_16, x_188, x_216, x_98); +x_218 = l_Lean_Syntax_node2(x_16, x_19, x_217, x_189); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_6); +return x_219; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unknown constant ", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ambiguous name ", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("true", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5; +x_2 = lean_mk_syntax_ident(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_dec(x_2); +x_6 = lean_unsigned_to_nat(2u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +x_8 = l_Lean_Elab_Tactic_Ext_extType___closed__12; +lean_inc(x_7); +x_9 = l_Lean_Syntax_isOfKind(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_10 = lean_box(1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +lean_dec(x_1); +x_14 = l_Lean_Syntax_getOptional_x3f(x_13); +lean_dec(x_13); +x_15 = l_Lean_Syntax_getId(x_7); +lean_inc(x_15); +x_16 = lean_erase_macro_scopes(x_15); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_58; +x_58 = lean_box(0); +x_17 = x_58; +goto block_57; +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_14); +if (x_59 == 0) +{ +x_17 = x_14; +goto block_57; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_14, 0); +lean_inc(x_60); +lean_dec(x_14); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_17 = x_61; +goto block_57; +} +} +block_57: +{ +lean_object* x_18; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_55; +x_55 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6; +x_18 = x_55; +goto block_54; +} +else +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_3, 0); +lean_inc(x_56); +lean_dec(x_3); +x_18 = x_56; +goto block_54; +} +block_54: +{ +lean_object* x_19; +lean_inc(x_4); +x_19 = l_Lean_Macro_resolveGlobalName(x_16, x_4, x_5); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = l_List_filterTR_loop___at_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___spec__1(x_20, x_22); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_7); +x_24 = 1; +x_25 = l_Lean_Name_toString(x_15, x_24); +x_26 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1; +x_27 = lean_string_append(x_26, x_25); +lean_dec(x_25); +x_28 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2; +x_29 = lean_string_append(x_27, x_28); +x_30 = l_Lean_Macro_throwError___rarg(x_29, x_4, x_21); +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +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_23, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_23, 1); +lean_inc(x_36); +lean_dec(x_23); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1(x_7, x_18, x_17, x_37, x_4, x_21); +return x_38; +} +else +{ +uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_7); +x_39 = 1; +x_40 = l_Lean_Name_toString(x_15, x_39); +x_41 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3; +x_42 = lean_string_append(x_41, x_40); +lean_dec(x_40); +x_43 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2; +x_44 = lean_string_append(x_42, x_43); +x_45 = l_Lean_Macro_throwError___rarg(x_44, x_4, x_21); +lean_dec(x_4); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +return x_45; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_45); +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_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_4); +x_50 = !lean_is_exclusive(x_19); +if (x_50 == 0) +{ +return x_19; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_19, 0); +x_52 = lean_ctor_get(x_19, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_19); +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_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_unsigned_to_nat(5u); +lean_inc(x_9); +x_12 = l_Lean_Syntax_matchesNull(x_9, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_box(1); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_3); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_unsigned_to_nat(3u); +x_16 = l_Lean_Syntax_getArg(x_9, x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2(x_1, x_18, x_17, x_2, x_3); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_9); +x_20 = lean_box(0); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2(x_1, x_21, x_20, x_2, x_3); +return x_22; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Parser_Attr_ext___closed__4; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("many", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("colGt", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__5; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__6; +x_3 = l_Lean_Parser_Attr_ext___closed__30; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rintroPat", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__7; +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__3; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__11; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Parser_Attr_ext___closed__8; +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__12; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" : ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__14; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("num", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__16; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__17; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__15; +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__18; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Attr_ext___closed__10; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__19; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_ext___closed__13; +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__1; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__21; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_ext___closed__22; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("applyExtTheorem", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("apply_ext_theorem", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticExt1___", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_extType___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_extType___closed__3; +x_5 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext1", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Attr_ext___closed__7; +x_2 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4; +x_3 = l_Lean_Elab_Tactic_Ext_ext___closed__12; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tacticExt1______() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rintro", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___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_Parser_Attr_ext___closed__1; +x_2 = l_Lean_Parser_Attr_ext___closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_extType___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_Syntax_getArgs(x_9); +lean_dec(x_9); +x_11 = l_Array_isEmpty___rarg(x_10); +if (x_11 == 0) +{ +uint8_t x_54; +x_54 = 0; +x_12 = x_54; +goto block_53; +} +else +{ +uint8_t x_55; +x_55 = 1; +x_12 = x_55; +goto block_53; +} +block_53: +{ +if (x_12 == 0) +{ +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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_13 = lean_ctor_get(x_2, 5); +lean_inc(x_13); +lean_dec(x_2); +x_14 = 0; +x_15 = l_Lean_SourceInfo_fromRef(x_13, x_14); +x_16 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3; +lean_inc(x_15); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2; +lean_inc(x_15); +x_19 = l_Lean_Syntax_node1(x_15, x_18, x_17); +x_20 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81; +lean_inc(x_15); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1; +lean_inc(x_15); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9; +x_25 = l_Array_append___rarg(x_24, x_10); +x_26 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3; +lean_inc(x_15); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_25); +lean_inc(x_15); +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_15); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_24); +x_29 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__2; +lean_inc(x_15); +x_30 = l_Lean_Syntax_node3(x_15, x_29, x_23, x_27, x_28); +x_31 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77; +x_32 = l_Lean_Syntax_node3(x_15, x_31, x_19, x_21, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_3); +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_10); +x_34 = lean_ctor_get(x_2, 5); +lean_inc(x_34); +lean_dec(x_2); +x_35 = 0; +x_36 = l_Lean_SourceInfo_fromRef(x_34, x_35); +x_37 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3; +lean_inc(x_36); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2; +lean_inc(x_36); +x_40 = l_Lean_Syntax_node1(x_36, x_39, x_38); +x_41 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81; +lean_inc(x_36); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53; +lean_inc(x_36); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_36); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3; +x_46 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9; +lean_inc(x_36); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_46); +x_48 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54; +lean_inc(x_36); +x_49 = l_Lean_Syntax_node2(x_36, x_48, x_44, x_47); +x_50 = l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77; +x_51 = l_Lean_Syntax_node3(x_36, x_50, x_40, x_42, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_3); +return x_52; +} +} +} +} +} +lean_object* initialize_Init_TacticsExtra(uint8_t builtin, lean_object*); +lean_object* initialize_Init_RCases(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Ext(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_TacticsExtra(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_RCases(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Attr_ext___closed__1 = _init_l_Lean_Parser_Attr_ext___closed__1(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__1); +l_Lean_Parser_Attr_ext___closed__2 = _init_l_Lean_Parser_Attr_ext___closed__2(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__2); +l_Lean_Parser_Attr_ext___closed__3 = _init_l_Lean_Parser_Attr_ext___closed__3(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__3); +l_Lean_Parser_Attr_ext___closed__4 = _init_l_Lean_Parser_Attr_ext___closed__4(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__4); +l_Lean_Parser_Attr_ext___closed__5 = _init_l_Lean_Parser_Attr_ext___closed__5(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__5); +l_Lean_Parser_Attr_ext___closed__6 = _init_l_Lean_Parser_Attr_ext___closed__6(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__6); +l_Lean_Parser_Attr_ext___closed__7 = _init_l_Lean_Parser_Attr_ext___closed__7(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__7); +l_Lean_Parser_Attr_ext___closed__8 = _init_l_Lean_Parser_Attr_ext___closed__8(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__8); +l_Lean_Parser_Attr_ext___closed__9 = _init_l_Lean_Parser_Attr_ext___closed__9(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__9); +l_Lean_Parser_Attr_ext___closed__10 = _init_l_Lean_Parser_Attr_ext___closed__10(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__10); +l_Lean_Parser_Attr_ext___closed__11 = _init_l_Lean_Parser_Attr_ext___closed__11(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__11); +l_Lean_Parser_Attr_ext___closed__12 = _init_l_Lean_Parser_Attr_ext___closed__12(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__12); +l_Lean_Parser_Attr_ext___closed__13 = _init_l_Lean_Parser_Attr_ext___closed__13(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__13); +l_Lean_Parser_Attr_ext___closed__14 = _init_l_Lean_Parser_Attr_ext___closed__14(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__14); +l_Lean_Parser_Attr_ext___closed__15 = _init_l_Lean_Parser_Attr_ext___closed__15(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__15); +l_Lean_Parser_Attr_ext___closed__16 = _init_l_Lean_Parser_Attr_ext___closed__16(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__16); +l_Lean_Parser_Attr_ext___closed__17 = _init_l_Lean_Parser_Attr_ext___closed__17(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__17); +l_Lean_Parser_Attr_ext___closed__18 = _init_l_Lean_Parser_Attr_ext___closed__18(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__18); +l_Lean_Parser_Attr_ext___closed__19 = _init_l_Lean_Parser_Attr_ext___closed__19(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__19); +l_Lean_Parser_Attr_ext___closed__20 = _init_l_Lean_Parser_Attr_ext___closed__20(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__20); +l_Lean_Parser_Attr_ext___closed__21 = _init_l_Lean_Parser_Attr_ext___closed__21(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__21); +l_Lean_Parser_Attr_ext___closed__22 = _init_l_Lean_Parser_Attr_ext___closed__22(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__22); +l_Lean_Parser_Attr_ext___closed__23 = _init_l_Lean_Parser_Attr_ext___closed__23(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__23); +l_Lean_Parser_Attr_ext___closed__24 = _init_l_Lean_Parser_Attr_ext___closed__24(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__24); +l_Lean_Parser_Attr_ext___closed__25 = _init_l_Lean_Parser_Attr_ext___closed__25(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__25); +l_Lean_Parser_Attr_ext___closed__26 = _init_l_Lean_Parser_Attr_ext___closed__26(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__26); +l_Lean_Parser_Attr_ext___closed__27 = _init_l_Lean_Parser_Attr_ext___closed__27(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__27); +l_Lean_Parser_Attr_ext___closed__28 = _init_l_Lean_Parser_Attr_ext___closed__28(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__28); +l_Lean_Parser_Attr_ext___closed__29 = _init_l_Lean_Parser_Attr_ext___closed__29(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__29); +l_Lean_Parser_Attr_ext___closed__30 = _init_l_Lean_Parser_Attr_ext___closed__30(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__30); +l_Lean_Parser_Attr_ext___closed__31 = _init_l_Lean_Parser_Attr_ext___closed__31(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__31); +l_Lean_Parser_Attr_ext___closed__32 = _init_l_Lean_Parser_Attr_ext___closed__32(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__32); +l_Lean_Parser_Attr_ext___closed__33 = _init_l_Lean_Parser_Attr_ext___closed__33(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__33); +l_Lean_Parser_Attr_ext___closed__34 = _init_l_Lean_Parser_Attr_ext___closed__34(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__34); +l_Lean_Parser_Attr_ext___closed__35 = _init_l_Lean_Parser_Attr_ext___closed__35(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__35); +l_Lean_Parser_Attr_ext___closed__36 = _init_l_Lean_Parser_Attr_ext___closed__36(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__36); +l_Lean_Parser_Attr_ext___closed__37 = _init_l_Lean_Parser_Attr_ext___closed__37(); +lean_mark_persistent(l_Lean_Parser_Attr_ext___closed__37); +l_Lean_Parser_Attr_ext = _init_l_Lean_Parser_Attr_ext(); +lean_mark_persistent(l_Lean_Parser_Attr_ext); +l_Lean_Elab_Tactic_Ext_extType___closed__1 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__1); +l_Lean_Elab_Tactic_Ext_extType___closed__2 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__2); +l_Lean_Elab_Tactic_Ext_extType___closed__3 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__3); +l_Lean_Elab_Tactic_Ext_extType___closed__4 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__4); +l_Lean_Elab_Tactic_Ext_extType___closed__5 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__5); +l_Lean_Elab_Tactic_Ext_extType___closed__6 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__6); +l_Lean_Elab_Tactic_Ext_extType___closed__7 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__7); +l_Lean_Elab_Tactic_Ext_extType___closed__8 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__8); +l_Lean_Elab_Tactic_Ext_extType___closed__9 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__9); +l_Lean_Elab_Tactic_Ext_extType___closed__10 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__10); +l_Lean_Elab_Tactic_Ext_extType___closed__11 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__11); +l_Lean_Elab_Tactic_Ext_extType___closed__12 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__12); +l_Lean_Elab_Tactic_Ext_extType___closed__13 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__13); +l_Lean_Elab_Tactic_Ext_extType___closed__14 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__14); +l_Lean_Elab_Tactic_Ext_extType___closed__15 = _init_l_Lean_Elab_Tactic_Ext_extType___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType___closed__15); +l_Lean_Elab_Tactic_Ext_extType = _init_l_Lean_Elab_Tactic_Ext_extType(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extType); +l_Lean_Elab_Tactic_Ext_extIffType___closed__1 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__1); +l_Lean_Elab_Tactic_Ext_extIffType___closed__2 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__2); +l_Lean_Elab_Tactic_Ext_extIffType___closed__3 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__3); +l_Lean_Elab_Tactic_Ext_extIffType___closed__4 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__4); +l_Lean_Elab_Tactic_Ext_extIffType___closed__5 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__5); +l_Lean_Elab_Tactic_Ext_extIffType___closed__6 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__6); +l_Lean_Elab_Tactic_Ext_extIffType___closed__7 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__7); +l_Lean_Elab_Tactic_Ext_extIffType___closed__8 = _init_l_Lean_Elab_Tactic_Ext_extIffType___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType___closed__8); +l_Lean_Elab_Tactic_Ext_extIffType = _init_l_Lean_Elab_Tactic_Ext_extIffType(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extIffType); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__1); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__2); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__3); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__4); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__5); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__6); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__7); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__8); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__9); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__10); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__11); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__12); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__13); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__14); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__15); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__16); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17 = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor___closed__17); +l_Lean_Elab_Tactic_Ext_declareExtTheoremFor = _init_l_Lean_Elab_Tactic_Ext_declareExtTheoremFor(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_declareExtTheoremFor); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__1); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__2); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__3); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__4); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__5); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__6); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__7); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__8); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__9); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__10); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__11); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__12); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__13); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__14); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__15); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__16); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__17); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__18); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__19); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__20); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__21); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__22); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__23); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__24); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__25); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__26 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__26); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__27); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__28); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__29); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__30); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__31); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__32); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__33); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__34); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__35); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__36); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__37); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__38); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__39); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__40); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__41); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__42); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__43); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__44); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__45); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__46); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__47); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__48); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__49); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__50); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__51); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__52); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__53); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__54); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__55); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__56); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__57); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__58); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__59); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__60); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__61); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__62); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__63); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__64); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__65); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__66); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__67); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__68); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__69); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__70); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__71); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__72); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__73); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__74); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__75); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__76); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__77); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__78); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__79); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__80); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__81); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__82); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__83); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__84); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__85); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__86); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__87); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__88); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__89); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__90); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__91); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__92); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__93); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__94); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__95); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__96); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__97); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__98); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__1___closed__99); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__1); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__2); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__3); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__4); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__5); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__declareExtTheoremFor__1___lambda__2___closed__6); +l_Lean_Elab_Tactic_Ext_ext___closed__1 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__1); +l_Lean_Elab_Tactic_Ext_ext___closed__2 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__2); +l_Lean_Elab_Tactic_Ext_ext___closed__3 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__3); +l_Lean_Elab_Tactic_Ext_ext___closed__4 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__4); +l_Lean_Elab_Tactic_Ext_ext___closed__5 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__5); +l_Lean_Elab_Tactic_Ext_ext___closed__6 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__6); +l_Lean_Elab_Tactic_Ext_ext___closed__7 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__7); +l_Lean_Elab_Tactic_Ext_ext___closed__8 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__8); +l_Lean_Elab_Tactic_Ext_ext___closed__9 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__9); +l_Lean_Elab_Tactic_Ext_ext___closed__10 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__10); +l_Lean_Elab_Tactic_Ext_ext___closed__11 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__11); +l_Lean_Elab_Tactic_Ext_ext___closed__12 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__12); +l_Lean_Elab_Tactic_Ext_ext___closed__13 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__13); +l_Lean_Elab_Tactic_Ext_ext___closed__14 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__14); +l_Lean_Elab_Tactic_Ext_ext___closed__15 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__15); +l_Lean_Elab_Tactic_Ext_ext___closed__16 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__16); +l_Lean_Elab_Tactic_Ext_ext___closed__17 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__17); +l_Lean_Elab_Tactic_Ext_ext___closed__18 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__18); +l_Lean_Elab_Tactic_Ext_ext___closed__19 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__19); +l_Lean_Elab_Tactic_Ext_ext___closed__20 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__20); +l_Lean_Elab_Tactic_Ext_ext___closed__21 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__21); +l_Lean_Elab_Tactic_Ext_ext___closed__22 = _init_l_Lean_Elab_Tactic_Ext_ext___closed__22(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext___closed__22); +l_Lean_Elab_Tactic_Ext_ext = _init_l_Lean_Elab_Tactic_Ext_ext(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ext); +l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__2); +l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__3); +l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__4); +l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem___closed__5); +l_Lean_Elab_Tactic_Ext_applyExtTheorem = _init_l_Lean_Elab_Tactic_Ext_applyExtTheorem(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheorem); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__1); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__2); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__3); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__4); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__5); +l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6 = _init_l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1_________closed__6); +l_Lean_Elab_Tactic_Ext_tacticExt1______ = _init_l_Lean_Elab_Tactic_Ext_tacticExt1______(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tacticExt1______); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__1); +l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__2 = _init_l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext___aux__Init__Ext______macroRules__Lean__Elab__Tactic__Ext__tacticExt1________1___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index d96d9d95ca..89373adc17 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -41,6 +41,7 @@ lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__26; static lean_object* l_term_u03a3___x2c_____closed__6; static lean_object* l_Lean_unbracketedExplicitBinders___closed__7; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10; static lean_object* l_Lean_unbracketedExplicitBinders___closed__3; static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__8; static lean_object* l_Lean_doElemWhile___x3a__Do_____closed__10; @@ -127,6 +128,7 @@ static lean_object* l_tacticFunext_________closed__7; static lean_object* l_Lean_Parser_Command_classAbbrev___closed__25; static lean_object* l_term___xd7____1___closed__5; static lean_object* l_tacticFunext_________closed__13; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__solve__1___spec__3___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_unexpandMkArray1(lean_object*, lean_object*, lean_object*); @@ -193,6 +195,7 @@ LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__solve__1( lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_bracketedExplicitBinders___closed__9; static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__22; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___spec__4(size_t, size_t, lean_object*); static lean_object* l_Lean_bracketedExplicitBinders___closed__13; LEAN_EXPORT lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,6 +233,8 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext__ static lean_object* l_term___xd7_x27_____closed__2; static lean_object* l_Lean_term__Matches___x7c___closed__8; static lean_object* l_cdot___closed__2; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_doElemWhile___x3a__Do_____closed__14; static lean_object* l_term___xd7____1___closed__4; static lean_object* l_term_u03a3___x2c_____closed__8; @@ -249,6 +254,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__com static lean_object* l_Lean_unifConstraint___closed__17; static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__47; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; static lean_object* l_term___xd7_x27_____closed__4; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__7; @@ -303,6 +309,7 @@ lean_object* l_Array_reverse___rarg(lean_object*); static lean_object* l_Lean_bracketedExplicitBinders___closed__12; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__14; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__28; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemWhile___x3a__Do____1___closed__8; static lean_object* l_Lean_doElemRepeat_____closed__8; static lean_object* l_Lean_Parser_Command_classAbbrev___closed__30; @@ -318,6 +325,7 @@ static lean_object* l_unexpandMkArray7___closed__1; LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_doElemWhile___x3a__Do_____closed__11; static lean_object* l_tacticFunext_________closed__6; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemRepeat____1___closed__14; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_unexpandSubtype___closed__2; @@ -356,6 +364,7 @@ static lean_object* l_term_u03a3_x27___x2c_____closed__8; static lean_object* l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__4___closed__6; static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__10; static lean_object* l_Lean_Parser_Command_classAbbrev___closed__16; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__1; LEAN_EXPORT lean_object* l_unexpandIte(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_unexpandTSepArray(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_classAbbrev___closed__6; @@ -505,6 +514,7 @@ static lean_object* l_Lean_explicitBinders___closed__7; static lean_object* l___aux__Init__NotationExtra______macroRules__solve__1___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_unbracketedExplicitBinders___closed__14; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Loop_noConfusion___rarg___boxed(lean_object*); static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___closed__6; static lean_object* l_unexpandListNil___rarg___closed__2; @@ -544,6 +554,7 @@ static lean_object* l_cdotTk___closed__5; static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__2; LEAN_EXPORT lean_object* l_calcSteps; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__7; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3; LEAN_EXPORT lean_object* l_unexpandTSyntaxArray(lean_object*, lean_object*, lean_object*); static lean_object* l_cdotTk___closed__7; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -564,6 +575,7 @@ LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean___aux__Init__Notatio LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop(lean_object*, lean_object*); static lean_object* l_solve___closed__10; static lean_object* l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__4___closed__3; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6; static lean_object* l_term_u03a3_x27___x2c_____closed__2; static lean_object* l_Lean_unifConstraint___closed__13; LEAN_EXPORT lean_object* l_Lean_Loop_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*); @@ -595,6 +607,7 @@ static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_ static lean_object* l_Lean_unifConstraint___closed__18; static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__13; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__13; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_classAbbrev___closed__13; static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__4; LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__term_u2203___x2c____1(lean_object*, lean_object*, lean_object*); @@ -611,6 +624,7 @@ LEAN_EXPORT lean_object* l_unexpandMkStr1(lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__31; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term_u2203___x2c_____closed__7; static lean_object* l_Lean_Parser_Command_classAbbrev___closed__15; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__2; @@ -671,10 +685,12 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__3; LEAN_EXPORT lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__7; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8; LEAN_EXPORT lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemWhile__Do____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemWhile___x3a__Do____1___closed__3; static lean_object* l_unexpandGetElem_x21___closed__2; static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__13; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_classAbbrev___closed__12; static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__10; lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -706,6 +722,7 @@ static lean_object* l_Lean_doElemWhile__Do_____closed__6; static lean_object* l_term_u03a3_x27___x2c_____closed__3; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__5; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; static lean_object* l_term_u03a3___x2c_____closed__7; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__3; @@ -730,6 +747,7 @@ LEAN_EXPORT lean_object* l_Lean_doElemRepeat__; LEAN_EXPORT lean_object* l_Lean_Loop_forIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_cdotTk___closed__11; LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__solve__1___spec__1(lean_object*, lean_object*); +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7; static lean_object* l_Lean_doElemRepeat_____closed__3; static lean_object* l_Lean_unbracketedExplicitBinders___closed__10; static lean_object* l_cdot___closed__5; @@ -778,6 +796,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__com LEAN_EXPORT lean_object* l_term___xd7_x27__; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Parser_Command_classAbbrev___closed__3; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_unexpandListNil(lean_object*); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__26; static lean_object* l_Lean_Parser_Command_classAbbrev___closed__4; @@ -796,10 +815,12 @@ LEAN_EXPORT lean_object* l_Lean_expandExplicitBindersAux_loop(lean_object*, lean LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__termExists___x2c____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___spec__5___closed__3; static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__4; +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_term__Matches___x7c___closed__1; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__41; static lean_object* l_Lean_doElemWhile___x3a__Do_____closed__9; +static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3; static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__8; static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__9; LEAN_EXPORT lean_object* l_Lean_doElemWhile__Do__; @@ -837,6 +858,7 @@ LEAN_EXPORT lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___spec__3(size_t, size_t, lean_object*); static lean_object* l_calcStep___closed__3; +lean_object* l_Lean_HygieneInfo_mkIdent(lean_object*, lean_object*, uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__10; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__17; @@ -14706,6 +14728,1309 @@ lean_dec(x_1); return x_9; } } +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveI", 5); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("this", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* 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_32; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_2, x_14); +x_16 = l_Lean_Syntax_getArgs(x_3); +x_17 = lean_ctor_get(x_10, 5); +lean_inc(x_17); +lean_dec(x_10); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3; +x_23 = 1; +x_24 = l_Lean_HygieneInfo_mkIdent(x_4, x_22, x_23); +x_25 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_26 = l_Array_append___rarg(x_25, x_16); +x_27 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_19); +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_26); +x_29 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_19); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_19); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_19); +lean_ctor_set(x_32, 1, x_31); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__48; +lean_inc(x_19); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_27); +lean_ctor_set(x_34, 2, x_33); +lean_inc(x_19); +x_35 = l_Lean_Syntax_node5(x_19, x_5, x_24, x_28, x_34, x_30, x_13); +lean_inc(x_19); +x_36 = l_Lean_Syntax_node1(x_19, x_6, x_35); +x_37 = l_Lean_Syntax_node4(x_19, x_7, x_21, x_36, x_32, x_15); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_11); +return x_38; +} +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; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_39 = lean_ctor_get(x_9, 0); +lean_inc(x_39); +lean_dec(x_9); +x_40 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_19); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_19); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_19); +x_43 = l_Lean_Syntax_node2(x_19, x_42, x_41, x_39); +x_44 = l_Array_mkArray1___rarg(x_43); +x_45 = l_Array_append___rarg(x_25, x_44); +lean_inc(x_19); +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_27); +lean_ctor_set(x_46, 2, x_45); +lean_inc(x_19); +x_47 = l_Lean_Syntax_node5(x_19, x_5, x_24, x_28, x_46, x_30, x_13); +lean_inc(x_19); +x_48 = l_Lean_Syntax_node1(x_19, x_6, x_47); +x_49 = l_Lean_Syntax_node4(x_19, x_7, x_21, x_48, x_32, x_15); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_11); +return x_50; +} +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___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_Lean_termMacro_x2etrace_x5b___x5d_____closed__1; +x_2 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__1; +x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__2; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveDecl", 8); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___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_Lean_termMacro_x2etrace_x5b___x5d_____closed__1; +x_2 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__1; +x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__2; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveIdDecl", 10); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5() { +_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_termMacro_x2etrace_x5b___x5d_____closed__1; +x_2 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__1; +x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__2; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hygieneInfo", 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("x", 1); +return x_1; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_9, x_14); +lean_dec(x_9); +x_16 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = l_Lean_Syntax_getArg(x_15, x_14); +x_21 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7; +lean_inc(x_20); +x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_expandExplicitBindersAux_loop___closed__6; +lean_inc(x_20); +x_24 = l_Lean_Syntax_isOfKind(x_20, x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__9; +lean_inc(x_20); +x_26 = l_Lean_Syntax_isOfKind(x_20, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_27 = lean_box(1); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = l_Lean_Syntax_getArg(x_15, x_8); +x_30 = lean_unsigned_to_nat(2u); +x_31 = l_Lean_Syntax_getArg(x_15, x_30); +x_32 = l_Lean_Syntax_matchesNull(x_31, x_14); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_box(1); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_3); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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_35 = lean_unsigned_to_nat(4u); +x_36 = l_Lean_Syntax_getArg(x_15, x_35); +lean_dec(x_15); +x_37 = lean_unsigned_to_nat(3u); +x_38 = l_Lean_Syntax_getArg(x_1, x_37); +lean_dec(x_1); +x_39 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_40 = lean_ctor_get(x_2, 5); +lean_inc(x_40); +lean_dec(x_2); +x_41 = 0; +x_42 = l_Lean_SourceInfo_fromRef(x_40, x_41); +x_43 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; +lean_inc(x_42); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_46 = l_Array_append___rarg(x_45, x_39); +x_47 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_42); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_42); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_42); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_expandExplicitBindersAux_loop___closed__7; +lean_inc(x_42); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set(x_52, 1, x_51); +lean_inc(x_42); +x_53 = l_Lean_Syntax_node1(x_42, x_23, x_52); +x_54 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_42); +x_55 = l_Lean_Syntax_node2(x_42, x_54, x_50, x_53); +lean_inc(x_42); +x_56 = l_Lean_Syntax_node1(x_42, x_47, x_55); +x_57 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_42); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_42); +lean_ctor_set(x_58, 1, x_57); +lean_inc(x_42); +x_59 = l_Lean_Syntax_node5(x_42, x_16, x_20, x_48, x_56, x_58, x_36); +lean_inc(x_42); +x_60 = l_Lean_Syntax_node1(x_42, x_10, x_59); +x_61 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_42); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_42); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Syntax_node4(x_42, x_4, x_44, x_60, x_62, x_38); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_3); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_20); +x_65 = l_Lean_Syntax_getArg(x_15, x_8); +x_66 = lean_unsigned_to_nat(2u); +x_67 = l_Lean_Syntax_getArg(x_15, x_66); +lean_inc(x_67); +x_68 = l_Lean_Syntax_matchesNull(x_67, x_14); +if (x_68 == 0) +{ +uint8_t x_69; +lean_inc(x_67); +x_69 = l_Lean_Syntax_matchesNull(x_67, x_8); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_70 = lean_box(1); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_3); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArg(x_67, x_14); +lean_dec(x_67); +x_73 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_72); +x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_72); +lean_dec(x_65); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_75 = lean_box(1); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_3); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; +x_77 = l_Lean_Syntax_getArg(x_72, x_8); +lean_dec(x_72); +x_78 = lean_unsigned_to_nat(4u); +x_79 = l_Lean_Syntax_getArg(x_15, x_78); +lean_dec(x_15); +x_80 = lean_unsigned_to_nat(3u); +x_81 = l_Lean_Syntax_getArg(x_1, x_80); +lean_dec(x_1); +x_82 = l_Lean_Syntax_getArgs(x_65); +lean_dec(x_65); +x_83 = lean_ctor_get(x_2, 5); +lean_inc(x_83); +x_84 = 0; +x_85 = l_Lean_SourceInfo_fromRef(x_83, x_84); +x_86 = lean_ctor_get(x_2, 2); +lean_inc(x_86); +x_87 = lean_ctor_get(x_2, 1); +lean_inc(x_87); +lean_dec(x_2); +x_88 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; +lean_inc(x_85); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_85); +lean_ctor_set(x_89, 1, x_88); +x_90 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10; +x_91 = l_Lean_addMacroScope(x_87, x_90, x_86); +x_92 = lean_box(0); +x_93 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9; +lean_inc(x_85); +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_85); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_92); +x_95 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_96 = l_Array_append___rarg(x_95, x_82); +x_97 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_85); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_85); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_85); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_85); +lean_ctor_set(x_100, 1, x_99); +lean_inc(x_85); +x_101 = l_Lean_Syntax_node2(x_85, x_73, x_100, x_77); +lean_inc(x_85); +x_102 = l_Lean_Syntax_node1(x_85, x_97, x_101); +x_103 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_85); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_85); +lean_ctor_set(x_104, 1, x_103); +lean_inc(x_85); +x_105 = l_Lean_Syntax_node5(x_85, x_16, x_94, x_98, x_102, x_104, x_79); +lean_inc(x_85); +x_106 = l_Lean_Syntax_node1(x_85, x_10, x_105); +x_107 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_85); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_85); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Syntax_node4(x_85, x_4, x_89, x_106, x_108, x_81); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_67); +x_111 = lean_unsigned_to_nat(4u); +x_112 = l_Lean_Syntax_getArg(x_15, x_111); +lean_dec(x_15); +x_113 = lean_unsigned_to_nat(3u); +x_114 = l_Lean_Syntax_getArg(x_1, x_113); +lean_dec(x_1); +x_115 = l_Lean_Syntax_getArgs(x_65); +lean_dec(x_65); +x_116 = lean_ctor_get(x_2, 5); +lean_inc(x_116); +x_117 = 0; +x_118 = l_Lean_SourceInfo_fromRef(x_116, x_117); +x_119 = lean_ctor_get(x_2, 2); +lean_inc(x_119); +x_120 = lean_ctor_get(x_2, 1); +lean_inc(x_120); +lean_dec(x_2); +x_121 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1; +lean_inc(x_118); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_118); +lean_ctor_set(x_122, 1, x_121); +x_123 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10; +x_124 = l_Lean_addMacroScope(x_120, x_123, x_119); +x_125 = lean_box(0); +x_126 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9; +lean_inc(x_118); +x_127 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_127, 0, x_118); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_124); +lean_ctor_set(x_127, 3, x_125); +x_128 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_129 = l_Array_append___rarg(x_128, x_115); +x_130 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_118); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_118); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_131, 2, x_129); +x_132 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_118); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_118); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Lean_expandExplicitBindersAux_loop___closed__7; +lean_inc(x_118); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_118); +lean_ctor_set(x_135, 1, x_134); +lean_inc(x_118); +x_136 = l_Lean_Syntax_node1(x_118, x_23, x_135); +x_137 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_118); +x_138 = l_Lean_Syntax_node2(x_118, x_137, x_133, x_136); +lean_inc(x_118); +x_139 = l_Lean_Syntax_node1(x_118, x_130, x_138); +x_140 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_118); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_118); +lean_ctor_set(x_141, 1, x_140); +lean_inc(x_118); +x_142 = l_Lean_Syntax_node5(x_118, x_16, x_127, x_131, x_139, x_141, x_112); +lean_inc(x_118); +x_143 = l_Lean_Syntax_node1(x_118, x_10, x_142); +x_144 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_118); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_118); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_Syntax_node4(x_118, x_4, x_122, x_143, x_145, x_114); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_3); +return x_147; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = l_Lean_Syntax_getArg(x_15, x_8); +x_149 = lean_unsigned_to_nat(2u); +x_150 = l_Lean_Syntax_getArg(x_15, x_149); +x_151 = l_Lean_Syntax_isNone(x_150); +if (x_151 == 0) +{ +uint8_t x_152; +lean_inc(x_150); +x_152 = l_Lean_Syntax_matchesNull(x_150, x_8); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +lean_dec(x_150); +lean_dec(x_148); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_153 = lean_box(1); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_3); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = l_Lean_Syntax_getArg(x_150, x_14); +lean_dec(x_150); +x_156 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_155); +x_157 = l_Lean_Syntax_isOfKind(x_155, x_156); +if (x_157 == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_155); +lean_dec(x_148); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_158 = lean_box(1); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_3); +return x_159; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_160 = l_Lean_Syntax_getArg(x_155, x_8); +lean_dec(x_155); +x_161 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_161, 0, x_160); +x_162 = lean_box(0); +x_163 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1(x_15, x_1, x_148, x_20, x_16, x_10, x_4, x_162, x_161, x_2, x_3); +lean_dec(x_20); +lean_dec(x_148); +lean_dec(x_1); +lean_dec(x_15); +return x_163; +} +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_150); +x_164 = lean_box(0); +x_165 = lean_box(0); +x_166 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1(x_15, x_1, x_148, x_20, x_16, x_10, x_4, x_165, x_164, x_2, x_3); +lean_dec(x_20); +lean_dec(x_148); +lean_dec(x_1); +lean_dec(x_15); +return x_166; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letI", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* 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_32; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_2, x_14); +x_16 = l_Lean_Syntax_getArgs(x_3); +x_17 = lean_ctor_get(x_10, 5); +lean_inc(x_17); +lean_dec(x_10); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3; +x_23 = 1; +x_24 = l_Lean_HygieneInfo_mkIdent(x_4, x_22, x_23); +x_25 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_26 = l_Array_append___rarg(x_25, x_16); +x_27 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_19); +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_26); +x_29 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_19); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_19); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_19); +lean_ctor_set(x_32, 1, x_31); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__48; +lean_inc(x_19); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_27); +lean_ctor_set(x_34, 2, x_33); +lean_inc(x_19); +x_35 = l_Lean_Syntax_node5(x_19, x_5, x_24, x_28, x_34, x_30, x_13); +lean_inc(x_19); +x_36 = l_Lean_Syntax_node1(x_19, x_6, x_35); +x_37 = l_Lean_Syntax_node4(x_19, x_7, x_21, x_36, x_32, x_15); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_11); +return x_38; +} +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; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_39 = lean_ctor_get(x_9, 0); +lean_inc(x_39); +lean_dec(x_9); +x_40 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_19); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_19); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_19); +x_43 = l_Lean_Syntax_node2(x_19, x_42, x_41, x_39); +x_44 = l_Array_mkArray1___rarg(x_43); +x_45 = l_Array_append___rarg(x_25, x_44); +lean_inc(x_19); +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_27); +lean_ctor_set(x_46, 2, x_45); +lean_inc(x_19); +x_47 = l_Lean_Syntax_node5(x_19, x_5, x_24, x_28, x_46, x_30, x_13); +lean_inc(x_19); +x_48 = l_Lean_Syntax_node1(x_19, x_6, x_47); +x_49 = l_Lean_Syntax_node4(x_19, x_7, x_21, x_48, x_32, x_15); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_11); +return x_50; +} +} +} +static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___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_Lean_termMacro_x2etrace_x5b___x5d_____closed__1; +x_2 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__1; +x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__2; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_9, x_14); +lean_dec(x_9); +x_16 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = l_Lean_Syntax_getArg(x_15, x_14); +x_21 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7; +lean_inc(x_20); +x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_expandExplicitBindersAux_loop___closed__6; +lean_inc(x_20); +x_24 = l_Lean_Syntax_isOfKind(x_20, x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__9; +lean_inc(x_20); +x_26 = l_Lean_Syntax_isOfKind(x_20, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_27 = lean_box(1); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = l_Lean_Syntax_getArg(x_15, x_8); +x_30 = lean_unsigned_to_nat(2u); +x_31 = l_Lean_Syntax_getArg(x_15, x_30); +x_32 = l_Lean_Syntax_matchesNull(x_31, x_14); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_box(1); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_3); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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_35 = lean_unsigned_to_nat(4u); +x_36 = l_Lean_Syntax_getArg(x_15, x_35); +lean_dec(x_15); +x_37 = lean_unsigned_to_nat(3u); +x_38 = l_Lean_Syntax_getArg(x_1, x_37); +lean_dec(x_1); +x_39 = l_Lean_Syntax_getArgs(x_29); +lean_dec(x_29); +x_40 = lean_ctor_get(x_2, 5); +lean_inc(x_40); +lean_dec(x_2); +x_41 = 0; +x_42 = l_Lean_SourceInfo_fromRef(x_40, x_41); +x_43 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; +lean_inc(x_42); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_46 = l_Array_append___rarg(x_45, x_39); +x_47 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_42); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_42); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_42); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_expandExplicitBindersAux_loop___closed__7; +lean_inc(x_42); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set(x_52, 1, x_51); +lean_inc(x_42); +x_53 = l_Lean_Syntax_node1(x_42, x_23, x_52); +x_54 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_42); +x_55 = l_Lean_Syntax_node2(x_42, x_54, x_50, x_53); +lean_inc(x_42); +x_56 = l_Lean_Syntax_node1(x_42, x_47, x_55); +x_57 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_42); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_42); +lean_ctor_set(x_58, 1, x_57); +lean_inc(x_42); +x_59 = l_Lean_Syntax_node5(x_42, x_16, x_20, x_48, x_56, x_58, x_36); +lean_inc(x_42); +x_60 = l_Lean_Syntax_node1(x_42, x_10, x_59); +x_61 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_42); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_42); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Syntax_node4(x_42, x_4, x_44, x_60, x_62, x_38); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_3); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_20); +x_65 = l_Lean_Syntax_getArg(x_15, x_8); +x_66 = lean_unsigned_to_nat(2u); +x_67 = l_Lean_Syntax_getArg(x_15, x_66); +lean_inc(x_67); +x_68 = l_Lean_Syntax_matchesNull(x_67, x_14); +if (x_68 == 0) +{ +uint8_t x_69; +lean_inc(x_67); +x_69 = l_Lean_Syntax_matchesNull(x_67, x_8); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_70 = lean_box(1); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_3); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArg(x_67, x_14); +lean_dec(x_67); +x_73 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_72); +x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_72); +lean_dec(x_65); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_75 = lean_box(1); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_3); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; +x_77 = l_Lean_Syntax_getArg(x_72, x_8); +lean_dec(x_72); +x_78 = lean_unsigned_to_nat(4u); +x_79 = l_Lean_Syntax_getArg(x_15, x_78); +lean_dec(x_15); +x_80 = lean_unsigned_to_nat(3u); +x_81 = l_Lean_Syntax_getArg(x_1, x_80); +lean_dec(x_1); +x_82 = l_Lean_Syntax_getArgs(x_65); +lean_dec(x_65); +x_83 = lean_ctor_get(x_2, 5); +lean_inc(x_83); +x_84 = 0; +x_85 = l_Lean_SourceInfo_fromRef(x_83, x_84); +x_86 = lean_ctor_get(x_2, 2); +lean_inc(x_86); +x_87 = lean_ctor_get(x_2, 1); +lean_inc(x_87); +lean_dec(x_2); +x_88 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; +lean_inc(x_85); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_85); +lean_ctor_set(x_89, 1, x_88); +x_90 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10; +x_91 = l_Lean_addMacroScope(x_87, x_90, x_86); +x_92 = lean_box(0); +x_93 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9; +lean_inc(x_85); +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_85); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_92); +x_95 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_96 = l_Array_append___rarg(x_95, x_82); +x_97 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_85); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_85); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_85); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_85); +lean_ctor_set(x_100, 1, x_99); +lean_inc(x_85); +x_101 = l_Lean_Syntax_node2(x_85, x_73, x_100, x_77); +lean_inc(x_85); +x_102 = l_Lean_Syntax_node1(x_85, x_97, x_101); +x_103 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_85); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_85); +lean_ctor_set(x_104, 1, x_103); +lean_inc(x_85); +x_105 = l_Lean_Syntax_node5(x_85, x_16, x_94, x_98, x_102, x_104, x_79); +lean_inc(x_85); +x_106 = l_Lean_Syntax_node1(x_85, x_10, x_105); +x_107 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_85); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_85); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Syntax_node4(x_85, x_4, x_89, x_106, x_108, x_81); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_67); +x_111 = lean_unsigned_to_nat(4u); +x_112 = l_Lean_Syntax_getArg(x_15, x_111); +lean_dec(x_15); +x_113 = lean_unsigned_to_nat(3u); +x_114 = l_Lean_Syntax_getArg(x_1, x_113); +lean_dec(x_1); +x_115 = l_Lean_Syntax_getArgs(x_65); +lean_dec(x_65); +x_116 = lean_ctor_get(x_2, 5); +lean_inc(x_116); +x_117 = 0; +x_118 = l_Lean_SourceInfo_fromRef(x_116, x_117); +x_119 = lean_ctor_get(x_2, 2); +lean_inc(x_119); +x_120 = lean_ctor_get(x_2, 1); +lean_inc(x_120); +lean_dec(x_2); +x_121 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1; +lean_inc(x_118); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_118); +lean_ctor_set(x_122, 1, x_121); +x_123 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10; +x_124 = l_Lean_addMacroScope(x_120, x_123, x_119); +x_125 = lean_box(0); +x_126 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9; +lean_inc(x_118); +x_127 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_127, 0, x_118); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_124); +lean_ctor_set(x_127, 3, x_125); +x_128 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_129 = l_Array_append___rarg(x_128, x_115); +x_130 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__16; +lean_inc(x_118); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_118); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_131, 2, x_129); +x_132 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_118); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_118); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Lean_expandExplicitBindersAux_loop___closed__7; +lean_inc(x_118); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_118); +lean_ctor_set(x_135, 1, x_134); +lean_inc(x_118); +x_136 = l_Lean_Syntax_node1(x_118, x_23, x_135); +x_137 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_118); +x_138 = l_Lean_Syntax_node2(x_118, x_137, x_133, x_136); +lean_inc(x_118); +x_139 = l_Lean_Syntax_node1(x_118, x_130, x_138); +x_140 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__2___closed__44; +lean_inc(x_118); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_118); +lean_ctor_set(x_141, 1, x_140); +lean_inc(x_118); +x_142 = l_Lean_Syntax_node5(x_118, x_16, x_127, x_131, x_139, x_141, x_112); +lean_inc(x_118); +x_143 = l_Lean_Syntax_node1(x_118, x_10, x_142); +x_144 = l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__10; +lean_inc(x_118); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_118); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_Syntax_node4(x_118, x_4, x_122, x_143, x_145, x_114); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_3); +return x_147; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = l_Lean_Syntax_getArg(x_15, x_8); +x_149 = lean_unsigned_to_nat(2u); +x_150 = l_Lean_Syntax_getArg(x_15, x_149); +x_151 = l_Lean_Syntax_isNone(x_150); +if (x_151 == 0) +{ +uint8_t x_152; +lean_inc(x_150); +x_152 = l_Lean_Syntax_matchesNull(x_150, x_8); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +lean_dec(x_150); +lean_dec(x_148); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_153 = lean_box(1); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_3); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = l_Lean_Syntax_getArg(x_150, x_14); +lean_dec(x_150); +x_156 = l_Lean_expandExplicitBindersAux_loop___closed__11; +lean_inc(x_155); +x_157 = l_Lean_Syntax_isOfKind(x_155, x_156); +if (x_157 == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_155); +lean_dec(x_148); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_158 = lean_box(1); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_3); +return x_159; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_160 = l_Lean_Syntax_getArg(x_155, x_8); +lean_dec(x_155); +x_161 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_161, 0, x_160); +x_162 = lean_box(0); +x_163 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1(x_15, x_1, x_148, x_20, x_16, x_10, x_4, x_162, x_161, x_2, x_3); +lean_dec(x_20); +lean_dec(x_148); +lean_dec(x_1); +lean_dec(x_15); +return x_163; +} +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_150); +x_164 = lean_box(0); +x_165 = lean_box(0); +x_166 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1(x_15, x_1, x_148, x_20, x_16, x_10, x_4, x_165, x_164, x_2, x_3); +lean_dec(x_20); +lean_dec(x_148); +lean_dec(x_1); +lean_dec(x_15); +return x_166; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} static lean_object* _init_l_cdotTk___closed__1() { _start: { @@ -18515,6 +19840,36 @@ l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__15); l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__16 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__16(); lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__16); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__3); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__1(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__1); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__3); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__4); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__5); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__6); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__7); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__8); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__10); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___lambda__1___closed__1); +l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___closed__1(); +lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1___closed__1); l_cdotTk___closed__1 = _init_l_cdotTk___closed__1(); lean_mark_persistent(l_cdotTk___closed__1); l_cdotTk___closed__2 = _init_l_cdotTk___closed__2(); diff --git a/stage0/stdlib/Init/Tactics.c b/stage0/stdlib/Init/Tactics.c index ab04226b09..f1f0d5b9b5 100644 --- a/stage0/stdlib/Init/Tactics.c +++ b/stage0/stdlib/Init/Tactics.c @@ -77,6 +77,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__3; static lean_object* l_term_____x5b___x5d___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__16; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__10; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__1; static lean_object* l_Lean_Parser_Tactic_assumption___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_induction; static lean_object* l_Lean_Parser_Tactic_tacticSorry___closed__5; @@ -120,6 +121,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_location; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__2; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__9; static lean_object* l_Lean_Parser_Tactic_intros___closed__9; static lean_object* l_Lean_Parser_Tactic_case___closed__5; @@ -147,6 +149,7 @@ static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__24; static lean_object* l_Lean_Parser_Tactic_tacticInfer__instance___closed__3; static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__3; static lean_object* l_Lean_Parser_Attr_simp___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticHaveI__; static lean_object* l_Lean_Parser_Tactic_rename___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__12; static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__13; @@ -223,6 +226,7 @@ static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tac static lean_object* l_Lean_Parser_Tactic_discharger___closed__12; static lean_object* l_Lean_Parser_Tactic_eqRefl___closed__4; static lean_object* l_Lean_Parser_Tactic_intro___closed__14; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticLetI__; static lean_object* l_Lean_Parser_Tactic_simp___closed__4; static lean_object* l_Lean_Parser_Tactic_exact___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__3; @@ -260,6 +264,7 @@ static lean_object* l_Lean_Parser_Tactic_paren___closed__5; static lean_object* l_Lean_Parser_Tactic_dsimp___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_case___closed__6; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRfl_x27__1___closed__2; static lean_object* l_Lean_Parser_Tactic_intros___closed__8; @@ -295,6 +300,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_dbgTrace___closed__1; static lean_object* l_Lean_Parser_Tactic_change___closed__7; static lean_object* l_Lean_Parser_Tactic_case_x27___closed__1; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__3; static lean_object* l_Lean_Parser_Tactic_rename___closed__5; static lean_object* l_Lean_Parser_Tactic_skip___closed__2; static lean_object* l_Lean_Parser_Tactic_discharger___closed__8; @@ -319,6 +325,7 @@ static lean_object* l_Lean_Parser_Tactic_replace___closed__5; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__7; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__3; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_config___closed__7; @@ -403,6 +410,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimp; static lean_object* l_Lean_Parser_Tactic_first___closed__8; static lean_object* l_Lean_Parser_Tactic_dsimp___closed__8; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__2; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__4; static lean_object* l_Lean_Parser_Tactic_config___closed__5; static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__6; @@ -486,6 +494,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticNofun___closed__1; lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_runTac___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticUnhygienic____1___closed__1; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___closed__1; static lean_object* l_Lean_Parser_Tactic_anyGoals___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticInfer__instance__1___closed__1; @@ -521,12 +530,14 @@ static lean_object* l_Lean_Parser_Tactic_location___closed__6; static lean_object* l_Lean_Parser_Tactic_substVars___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticAdmit__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_intro___closed__7; +static lean_object* l_Lean_Parser_Tactic_substEqs___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticSorry; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic_delta___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticStop_____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__5___closed__1; static lean_object* l_Lean_Parser_Tactic_letrec___closed__11; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__2; static lean_object* l_Lean_Parser_Attr_simp___closed__5; static lean_object* l_Lean_Parser_Tactic_injection___closed__5; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__14; @@ -581,6 +592,7 @@ static lean_object* l_Lean_Parser_Tactic_withUnfoldingAll___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticInfer__instance__1___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__4; +static lean_object* l_Lean_Parser_Tactic_substEqs___closed__4; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; static lean_object* l_Lean_Parser_Tactic_right___closed__4; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__14; @@ -589,6 +601,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAll___closed__13; static lean_object* l_Lean_Parser_Tactic_discharger___closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_injection; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +static lean_object* l_Lean_Parser_Tactic_substEqs___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_changeWith; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_clear___closed__3; @@ -613,6 +626,7 @@ static lean_object* l_Lean_Parser_Tactic_acRfl___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticRefine__lift_x27__; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__5(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_refine___closed__4; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__4; @@ -698,6 +712,7 @@ static lean_object* l_Lean_Parser_Tactic_apply___closed__2; static lean_object* l_Lean_Parser_Tactic_location___closed__2; static lean_object* l_Lean_Parser_Tactic_first___closed__24; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_withUnfoldingAll; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticRfl_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__8; @@ -767,6 +782,7 @@ static lean_object* l_Lean_Parser_Tactic_revert___closed__5; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__21; static lean_object* l_Lean_Parser_Tactic_induction___closed__7; static lean_object* l_Lean_Parser_Tactic_tacIfThenElse___closed__11; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__5; static lean_object* l_Lean_Parser_Tactic_simp___closed__16; static lean_object* l_Lean_Parser_Tactic_inductionAltLHS___closed__5; static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__1; @@ -793,10 +809,12 @@ static lean_object* l_Lean_Parser_Tactic_traceState___closed__5; static lean_object* l_Lean_Parser_Tactic_simp___closed__1; static lean_object* l_Lean_Parser_Tactic_location___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rwSeq; +static lean_object* l_Lean_Parser_Tactic_substEqs___closed__3; static lean_object* l_Lean_Parser_Tactic_checkpoint___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__4; static lean_object* l_Lean_Parser_Tactic_config___closed__8; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_generalize; static lean_object* l_Lean_Parser_Tactic_simp___closed__7; @@ -927,6 +945,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__3; static lean_object* l_Lean_Parser_Tactic_cases___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticNofun___closed__4; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__4; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__21; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_injections; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__7; @@ -974,6 +993,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_tacticNomatch___x2c_x2c___closed__5; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1___closed__4; +static lean_object* l_Lean_Parser_Tactic_substEqs___closed__5; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNofun__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_discharger___closed__17; @@ -988,6 +1008,7 @@ static lean_object* l_Lean_Parser_Tactic_intro___closed__16; static lean_object* l_Lean_Parser_Tactic_config___closed__6; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__29; static lean_object* l_Lean_Parser_Tactic_tacticSorry___closed__3; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__6; static lean_object* l_Lean_Parser_Tactic_paren___closed__4; static lean_object* l_Lean_Parser_Tactic_case___closed__7; @@ -1031,6 +1052,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_intro___closed__18; static lean_object* l_Lean_Parser_Tactic_intros___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_letrec; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_substEqs; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_revert; static lean_object* l___aux__Init__Tactics______macroRules__term_____x5b___x5d__1___closed__7; @@ -1173,6 +1195,7 @@ static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_change; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticRepeat__; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__5; +static lean_object* l_Lean_Parser_Tactic_tacticHaveI_____closed__6; static lean_object* l_Lean_Parser_Tactic_case_x27___closed__7; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__3; @@ -1215,6 +1238,7 @@ static lean_object* l_Lean_Parser_Tactic_revert___closed__6; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; static lean_object* l_Lean_Parser_Tactic_substVars___closed__5; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__5; +static lean_object* l_Lean_Parser_Tactic_tacticLetI_____closed__6; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__8; static lean_object* l_Lean_Parser_Tactic_case___closed__11; static lean_object* l_Lean_Parser_Tactic_tacticSorry___closed__1; @@ -16459,6 +16483,68 @@ return x_43; } } } +static lean_object* _init_l_Lean_Parser_Tactic_substEqs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("substEqs", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_substEqs___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_Parser_Tactic_withAnnotateState___closed__1; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__2; +x_3 = l_Lean_Parser_Tactic_withAnnotateState___closed__3; +x_4 = l_Lean_Parser_Tactic_substEqs___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_substEqs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("subst_eqs", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_substEqs___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_substEqs___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_substEqs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_substEqs___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_substEqs___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_substEqs() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_substEqs___closed__5; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_runTac___closed__1() { _start: { @@ -16563,6 +16649,326 @@ x_1 = l_Lean_Parser_Tactic_runTac___closed__9; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticHaveI_", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____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_Parser_Tactic_withAnnotateState___closed__1; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__2; +x_3 = l_Lean_Parser_Tactic_withAnnotateState___closed__3; +x_4 = l_Lean_Parser_Tactic_tacticHaveI_____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveI", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticHaveI_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7; +x_2 = l_Lean_Parser_Tactic_tacticHaveI_____closed__4; +x_3 = l_Lean_Parser_Tactic_tacticHave_____closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticHaveI_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_tacticHaveI_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticHaveI__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_tacticHaveI_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___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_Lean_Parser_Tactic_withAnnotateState___closed__1; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__2; +x_3 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_4 = l_Lean_Parser_Tactic_tacticHaveI_____closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_tacticHaveI_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 5); +lean_inc(x_10); +lean_dec(x_2); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__1; +lean_inc(x_12); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_tacticHaveI_____closed__3; +lean_inc(x_12); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1___closed__2; +lean_inc(x_12); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__6; +lean_inc(x_12); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +lean_inc(x_12); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_12); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +lean_inc(x_12); +x_24 = l_Lean_Syntax_node1(x_12, x_23, x_22); +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; +lean_inc(x_12); +x_26 = l_Lean_Syntax_node2(x_12, x_25, x_20, x_24); +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___closed__1; +lean_inc(x_12); +x_28 = l_Lean_Syntax_node4(x_12, x_27, x_16, x_9, x_18, x_26); +x_29 = l_Lean_Parser_Tactic_tacticRefine__lift_____closed__2; +x_30 = l_Lean_Syntax_node2(x_12, x_29, x_14, x_28); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_3); +return x_31; +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticLetI_", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____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_Parser_Tactic_withAnnotateState___closed__1; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__2; +x_3 = l_Lean_Parser_Tactic_withAnnotateState___closed__3; +x_4 = l_Lean_Parser_Tactic_tacticLetI_____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letI", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticLetI_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7; +x_2 = l_Lean_Parser_Tactic_tacticLetI_____closed__4; +x_3 = l_Lean_Parser_Tactic_tacticHave_____closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticLetI_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_tacticLetI_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticLetI__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_tacticLetI_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___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_Lean_Parser_Tactic_withAnnotateState___closed__1; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__2; +x_3 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_4 = l_Lean_Parser_Tactic_tacticLetI_____closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_tacticLetI_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 5); +lean_inc(x_10); +lean_dec(x_2); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__1; +lean_inc(x_12); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_tacticLetI_____closed__3; +lean_inc(x_12); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1___closed__2; +lean_inc(x_12); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__6; +lean_inc(x_12); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +lean_inc(x_12); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_12); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +lean_inc(x_12); +x_24 = l_Lean_Syntax_node1(x_12, x_23, x_22); +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; +lean_inc(x_12); +x_26 = l_Lean_Syntax_node2(x_12, x_25, x_20, x_24); +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___closed__1; +lean_inc(x_12); +x_28 = l_Lean_Syntax_node4(x_12, x_27, x_16, x_9, x_18, x_26); +x_29 = l_Lean_Parser_Tactic_tacticRefine__lift_____closed__2; +x_30 = l_Lean_Syntax_node2(x_12, x_29, x_14, x_28); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_3); +return x_31; +} +} +} static lean_object* _init_l_Lean_Parser_Attr_simp___closed__1() { _start: { @@ -20209,6 +20615,18 @@ l_Lean_Parser_Tactic_tacticAnd__intros___closed__5 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros___closed__5); l_Lean_Parser_Tactic_tacticAnd__intros = _init_l_Lean_Parser_Tactic_tacticAnd__intros(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros); +l_Lean_Parser_Tactic_substEqs___closed__1 = _init_l_Lean_Parser_Tactic_substEqs___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs___closed__1); +l_Lean_Parser_Tactic_substEqs___closed__2 = _init_l_Lean_Parser_Tactic_substEqs___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs___closed__2); +l_Lean_Parser_Tactic_substEqs___closed__3 = _init_l_Lean_Parser_Tactic_substEqs___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs___closed__3); +l_Lean_Parser_Tactic_substEqs___closed__4 = _init_l_Lean_Parser_Tactic_substEqs___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs___closed__4); +l_Lean_Parser_Tactic_substEqs___closed__5 = _init_l_Lean_Parser_Tactic_substEqs___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs___closed__5); +l_Lean_Parser_Tactic_substEqs = _init_l_Lean_Parser_Tactic_substEqs(); +lean_mark_persistent(l_Lean_Parser_Tactic_substEqs); l_Lean_Parser_Tactic_runTac___closed__1 = _init_l_Lean_Parser_Tactic_runTac___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__1); l_Lean_Parser_Tactic_runTac___closed__2 = _init_l_Lean_Parser_Tactic_runTac___closed__2(); @@ -20229,6 +20647,38 @@ l_Lean_Parser_Tactic_runTac___closed__9 = _init_l_Lean_Parser_Tactic_runTac___cl lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__9); l_Lean_Parser_Tactic_runTac = _init_l_Lean_Parser_Tactic_runTac(); lean_mark_persistent(l_Lean_Parser_Tactic_runTac); +l_Lean_Parser_Tactic_tacticHaveI_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__1); +l_Lean_Parser_Tactic_tacticHaveI_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__2); +l_Lean_Parser_Tactic_tacticHaveI_____closed__3 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__3); +l_Lean_Parser_Tactic_tacticHaveI_____closed__4 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__4); +l_Lean_Parser_Tactic_tacticHaveI_____closed__5 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__5); +l_Lean_Parser_Tactic_tacticHaveI_____closed__6 = _init_l_Lean_Parser_Tactic_tacticHaveI_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI_____closed__6); +l_Lean_Parser_Tactic_tacticHaveI__ = _init_l_Lean_Parser_Tactic_tacticHaveI__(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticHaveI__); +l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHaveI____1___closed__1); +l_Lean_Parser_Tactic_tacticLetI_____closed__1 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__1); +l_Lean_Parser_Tactic_tacticLetI_____closed__2 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__2); +l_Lean_Parser_Tactic_tacticLetI_____closed__3 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__3); +l_Lean_Parser_Tactic_tacticLetI_____closed__4 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__4); +l_Lean_Parser_Tactic_tacticLetI_____closed__5 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__5); +l_Lean_Parser_Tactic_tacticLetI_____closed__6 = _init_l_Lean_Parser_Tactic_tacticLetI_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI_____closed__6); +l_Lean_Parser_Tactic_tacticLetI__ = _init_l_Lean_Parser_Tactic_tacticLetI__(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticLetI__); +l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLetI____1___closed__1); l_Lean_Parser_Attr_simp___closed__1 = _init_l_Lean_Parser_Attr_simp___closed__1(); lean_mark_persistent(l_Lean_Parser_Attr_simp___closed__1); l_Lean_Parser_Attr_simp___closed__2 = _init_l_Lean_Parser_Attr_simp___closed__2(); diff --git a/stage0/stdlib/Init/WF.c b/stage0/stdlib/Init/WF.c index 5b378e2cfc..1b70456912 100644 --- a/stage0/stdlib/Init/WF.c +++ b/stage0/stdlib/Init/WF.c @@ -15,10 +15,12 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Prod_rprod___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PSigma_instWellFoundedRelationPSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_Lex_instDecidableRelProdLex(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_instWellFoundedRelationProd(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PSigma_skipLeft___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_invImage(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_invImage___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_Lex_instDecidableRelProdLex___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_PSigma_lex___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_lt__wfRel; LEAN_EXPORT lean_object* l_measure(lean_object*, lean_object*); @@ -120,6 +122,71 @@ lean_dec(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Prod_Lex_instDecidableRelProdLex___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); +lean_dec(x_7); +lean_inc(x_10); +lean_inc(x_8); +x_12 = lean_apply_2(x_3, x_8, x_10); +x_13 = lean_unbox(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_apply_2(x_1, x_8, x_10); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_5); +x_16 = 0; +x_17 = lean_box(x_16); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_apply_2(x_5, x_9, x_11); +return x_18; +} +} +else +{ +uint8_t x_19; lean_object* x_20; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_1); +x_19 = 1; +x_20 = lean_box(x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Prod_Lex_instDecidableRelProdLex(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Prod_Lex_instDecidableRelProdLex___rarg), 7, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_Prod_lex(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 2c898ad9db..0dd69e67e0 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.BuiltinNotation -// Imports: Init Lean.Compiler.BorrowedAnnotation Lean.Meta.KAbstract Lean.Meta.Closure Lean.Meta.MatchUtil Lean.Compiler.ImplementedByAttr Lean.Elab.SyntheticMVars Lean.Elab.Eval +// Imports: Init Lean.Compiler.BorrowedAnnotation Lean.Meta.KAbstract Lean.Meta.Closure Lean.Meta.MatchUtil Lean.Compiler.ImplementedByAttr Lean.Elab.SyntheticMVars Lean.Elab.Eval Lean.Elab.Binders #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabHaveI___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed__4; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -38,21 +38,23 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__28; static lean_object* l_Lean_Elab_Term_elabPanic___closed__1; -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__4; 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*); 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*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__8(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandCDot_x3f_go___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__14(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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_EXPORT lean_object* l_Lean_Elab_Term_mkPairs(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -99,11 +101,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange_ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__14; extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4; 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; static lean_object* l_Lean_Elab_Term_expandHave___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange(lean_object*); @@ -126,6 +128,7 @@ lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object* static lean_object* l_Lean_Elab_Term_expandAssert___closed__11; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__12; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI(lean_object*); 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___regBuiltin_Lean_Elab_Term_elabNoindex___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple___closed__1; @@ -136,6 +139,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*); static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__1; +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__5; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__18; @@ -157,15 +162,16 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(lean_obj static lean_object* l_Lean_Elab_Term_expandAssert___closed__5; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___closed__5; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPanic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__4; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_hasCDot___spec__1(lean_object*, size_t, size_t); uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed__2; static lean_object* l_Lean_Elab_Term_elabCoe___closed__2; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__1; @@ -189,17 +195,21 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunc lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___lambda__8___closed__1; +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__38; LEAN_EXPORT uint8_t l_Lean_Elab_Term_hasCDot(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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*); @@ -207,15 +217,15 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription(lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkPairs_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst___closed__2; @@ -266,6 +276,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__3___boxed(lean_obj static lean_object* l_Lean_Elab_Term_expandHave___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__6; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4; static lean_object* l_Lean_Elab_Term_elabSubst___closed__11; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5; @@ -291,13 +302,13 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_hasCDot___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__15(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabShow(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___closed__7; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__1; @@ -341,6 +352,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange(lean static lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription_declRange___closed__6; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__10; static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2; static lean_object* l_Lean_Elab_Term_elabPanic___closed__16; static lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___closed__1; static lean_object* l_Lean_Elab_Term_elabSubst___closed__9; @@ -352,6 +364,7 @@ static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__10; static lean_object* l_Lean_Elab_Term_expandShow___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen_declRange___closed__7; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1; static lean_object* l_Lean_Elab_Term_elabSorry___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__12; @@ -359,8 +372,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoe(lean_object*, lean_object*, le static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__3; static lean_object* l_Lean_Elab_Term_elabCoe___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15; +lean_object* l_Lean_Elab_Term_withExpectedType(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_Term_elabTrailingParserMacro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabRunElab___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_docString___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -375,13 +388,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow_declRange___closed__2 LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSorry(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___regBuiltin_Lean_Elab_Term_elabSubst___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__10; lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); @@ -399,12 +413,11 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_elabCoeFunNotation___closed__4; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__2; static lean_object* l_Lean_Elab_Term_elabShow___closed__1; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__15; static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__3; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_elabCoeFunNotation___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -417,6 +430,7 @@ lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_obje static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__7; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__16; static lean_object* l_Lean_Elab_Term_expandHave___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNoindex___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_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg(lean_object*); @@ -433,6 +447,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__9; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow_declRange___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__1; +lean_object* l_Lean_Expr_abstractM(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__32; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed__4; static lean_object* l_Lean_Elab_Term_elabRunElab___closed__8; @@ -455,6 +470,7 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__7; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__36; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; +lean_object* lean_expr_instantiate(lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); @@ -502,6 +518,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term static lean_object* l_Lean_Elab_Term_expandTuple___closed__3; static lean_object* l_Lean_Elab_Term_expandTuple___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___closed__7; extern lean_object* l_Lean_Elab_Term_termElabAttribute; @@ -510,6 +527,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunc LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__9(lean_object*, 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_Term_elabTrailingParserMacro___lambda__3___closed__2; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_markBorrowed(lean_object*); lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -520,6 +538,7 @@ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__4; static lean_object* l_Lean_Elab_Term_elabSubst___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_docString(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__20(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__6___boxed(lean_object*, lean_object*); @@ -536,8 +555,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed_ extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Lean_Elab_Term_elabStateRefT___closed__2; LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandCDot_x3f_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__23; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -558,6 +579,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__7; +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(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__34; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); @@ -582,7 +604,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange__ static lean_object* l_Lean_Elab_Term_elabShow___closed__13; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3; extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__5; 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*); @@ -593,9 +617,8 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__6; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__7; -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -608,7 +631,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__9___boxed(lean_obj static lean_object* l_Lean_Elab_Term_elabSorry___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___closed__3; -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert_declRange___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange(lean_object*); @@ -648,6 +670,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation___closed__5 static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__6; static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange(lean_object*); static lean_object* l_Lean_Elab_Term_expandSuffices___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_elabShow___closed__2; @@ -676,14 +699,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed__5; lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__10; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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___regBuiltin_Lean_Elab_Term_expandAssert_declRange(lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__7(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__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -696,7 +722,6 @@ static lean_object* l_Lean_Elab_Term_elabShow___closed__9; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__2; static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(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_Term_expandSuffices___closed__3; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__3___closed__1; @@ -709,7 +734,9 @@ lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe___closed__1; LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI(lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__10; +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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___regBuiltin_Lean_Elab_Term_elabBorrowed(lean_object*); static lean_object* l_Lean_Elab_Term_expandAssert___closed__12; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__8; @@ -719,6 +746,7 @@ static lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___closed__2; static lean_object* l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__43; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2; @@ -760,14 +788,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__2___ static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__2; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandParen_declRange(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__5; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__6; @@ -785,6 +814,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe___closed__3; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__4; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabLetI___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_hasCDot___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__16(lean_object*, size_t, size_t, lean_object*); @@ -794,6 +825,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe___closed__2; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___closed__1; +lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); uint8_t l_Lean_isPrivateNameFromImportedModule(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__3; @@ -819,9 +851,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__2; static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation___closed__2; -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange___closed__6; LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__9___boxed(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__1; @@ -849,6 +880,7 @@ lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabRunElab___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabShow___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -857,7 +889,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__4; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___closed__1; static lean_object* l_Lean_Elab_Term_expandTuple___closed__1; -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__1; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -892,6 +923,7 @@ static lean_object* l_Lean_Elab_Term_elabRunElab___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple(lean_object*); extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_Elab_Term_hasCDot___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1; static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___closed__5; static lean_object* l_Lean_Elab_Term_elabSubst___closed__15; @@ -925,9 +957,11 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandCDot_x3f_go___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst___closed__3; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__2; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation___closed__5; @@ -944,6 +978,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow_declRange___closed__5 uint8_t l_Lean_Expr_hasFVar(lean_object*); static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__9; 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*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabCoeFunNotation___closed__1; static lean_object* l_Lean_Elab_Term_elabSubst___closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange(lean_object*); @@ -957,6 +992,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7; @@ -970,6 +1006,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed 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; static lean_object* l_Lean_Elab_Term_expandHave___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -978,6 +1016,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__21; +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); @@ -1045,6 +1084,7 @@ uint8_t l_Lean_Exception_isRuntime(lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen_declRange___closed__4; static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandParen(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandSuffices___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__2; @@ -1081,6 +1121,7 @@ lean_object* lean_expr_instantiate1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__5; lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___closed__1; +static lean_object* l_Lean_Elab_Term_elabLetI___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___spec__3(lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_elabPanic___closed__4; @@ -1099,6 +1140,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__3(lea LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__8; lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabHaveI___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__1; static lean_object* l_Lean_Elab_Term_expandHave___closed__9; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; @@ -1391,7 +1433,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(17u); +x_1 = lean_unsigned_to_nat(18u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1403,7 +1445,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(23u); +x_1 = lean_unsigned_to_nat(24u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1431,7 +1473,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(17u); +x_1 = lean_unsigned_to_nat(18u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1443,7 +1485,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(17u); +x_1 = lean_unsigned_to_nat(18u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1750,7 +1792,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(25u); +x_1 = lean_unsigned_to_nat(26u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1762,7 +1804,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(30u); +x_1 = lean_unsigned_to_nat(31u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1790,7 +1832,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(25u); +x_1 = lean_unsigned_to_nat(26u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1802,7 +1844,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(25u); +x_1 = lean_unsigned_to_nat(26u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2092,7 +2134,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(32u); +x_1 = lean_unsigned_to_nat(33u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2104,7 +2146,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(37u); +x_1 = lean_unsigned_to_nat(38u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2132,7 +2174,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(32u); +x_1 = lean_unsigned_to_nat(33u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2144,7 +2186,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(32u); +x_1 = lean_unsigned_to_nat(33u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2190,46 +2232,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg), 1, 0); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -2276,7 +2279,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1() { _start: { lean_object* x_1; @@ -2284,16 +2287,16 @@ x_1 = lean_mk_string_from_bytes("'", 1); return x_1; } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1; +x_1 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3() { _start: { lean_object* x_1; @@ -2301,16 +2304,16 @@ x_1 = lean_mk_string_from_bytes("' is not a constructor", 22); return x_1; } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3; +x_1 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -2364,15 +2367,15 @@ lean_dec(x_9); x_18 = lean_box(0); x_19 = l_Lean_Expr_const___override(x_1, x_18); x_20 = l_Lean_MessageData_ofExpr(x_19); -x_21 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2; +x_21 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2; x_22 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4; +x_23 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4; x_24 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__3(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_25 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_17); return x_25; } } @@ -2402,7 +2405,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, 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_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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) { _start: { uint8_t x_15; @@ -2582,7 +2585,7 @@ return x_53; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -2590,11 +2593,11 @@ x_11 = lean_apply_9(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_8, x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg___lambda__1), 10, 3); +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg___lambda__1), 10, 3); lean_closure_set(x_10, 0, x_2); lean_closure_set(x_10, 1, x_3); lean_closure_set(x_10, 2, x_4); @@ -2645,15 +2648,15 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -2711,7 +2714,7 @@ x_12 = lean_array_get_size(x_2); x_13 = lean_unsigned_to_nat(1u); x_14 = lean_unsigned_to_nat(0u); lean_inc(x_12); -x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__4(x_2, x_12, x_12, x_11, x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__3(x_2, x_12, x_12, x_11, x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_12); if (lean_obj_tag(x_15) == 0) { @@ -3026,7 +3029,7 @@ x_64 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; x_65 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_66 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -3125,7 +3128,7 @@ lean_object* x_14; lean_dec(x_6); lean_inc(x_7); lean_inc(x_1); -x_14 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); 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; @@ -3147,7 +3150,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_20 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___rarg(x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_20 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg(x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, 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; uint8_t x_25; @@ -3426,7 +3429,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -3786,25 +3789,11 @@ return x_93; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3813,11 +3802,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___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) { _start: { lean_object* x_9; -x_9 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3826,11 +3815,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -3843,11 +3832,11 @@ lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3915,7 +3904,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(39u); +x_1 = lean_unsigned_to_nat(40u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3927,7 +3916,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(75u); +x_1 = lean_unsigned_to_nat(76u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3954,19 +3943,20 @@ return x_5; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(39u); -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_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(40u); +x_2 = lean_unsigned_to_nat(39u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(39u); +x_1 = lean_unsigned_to_nat(40u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4050,7 +4040,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -4157,7 +4147,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(77u); +x_1 = lean_unsigned_to_nat(78u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4169,7 +4159,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(80u); +x_1 = lean_unsigned_to_nat(81u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4197,7 +4187,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(77u); +x_1 = lean_unsigned_to_nat(78u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4209,7 +4199,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(77u); +x_1 = lean_unsigned_to_nat(78u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4487,7 +4477,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandShow_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(82u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4499,7 +4489,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandShow_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(85u); +x_1 = lean_unsigned_to_nat(86u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4527,7 +4517,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandShow_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(82u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4539,7 +4529,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandShow_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(82u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4863,7 +4853,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -4889,7 +4879,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_19; } else @@ -5112,7 +5102,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabShow_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(87u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5124,7 +5114,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabShow_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(120u); +x_1 = lean_unsigned_to_nat(121u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5152,7 +5142,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabShow_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(87u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5164,7 +5154,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabShow_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(87u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6908,7 +6898,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(122u); +x_1 = lean_unsigned_to_nat(123u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6920,7 +6910,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(133u); +x_1 = lean_unsigned_to_nat(134u); x_2 = lean_unsigned_to_nat(78u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6948,7 +6938,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(122u); +x_1 = lean_unsigned_to_nat(123u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6960,7 +6950,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(122u); +x_1 = lean_unsigned_to_nat(123u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7804,7 +7794,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7816,7 +7806,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(142u); +x_1 = lean_unsigned_to_nat(143u); x_2 = lean_unsigned_to_nat(95u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7844,7 +7834,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7856,7 +7846,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9350,7 +9340,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(160u); +x_1 = lean_unsigned_to_nat(161u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9362,7 +9352,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(164u); +x_1 = lean_unsigned_to_nat(165u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9390,7 +9380,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(160u); +x_1 = lean_unsigned_to_nat(161u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9402,7 +9392,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(160u); +x_1 = lean_unsigned_to_nat(161u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10003,7 +9993,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10015,7 +10005,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(176u); +x_1 = lean_unsigned_to_nat(177u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10043,7 +10033,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10055,7 +10045,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10355,7 +10345,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -10580,7 +10570,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10592,7 +10582,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(187u); +x_1 = lean_unsigned_to_nat(188u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10620,7 +10610,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10632,7 +10622,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10823,7 +10813,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10835,7 +10825,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(190u); +x_1 = lean_unsigned_to_nat(191u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10862,7 +10852,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10874,7 +10864,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11231,7 +11221,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11243,7 +11233,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(198u); +x_1 = lean_unsigned_to_nat(199u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11271,7 +11261,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11283,7 +11273,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11810,7 +11800,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(200u); +x_1 = lean_unsigned_to_nat(201u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11822,7 +11812,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(203u); +x_1 = lean_unsigned_to_nat(204u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11850,7 +11840,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(200u); +x_1 = lean_unsigned_to_nat(201u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11862,7 +11852,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(200u); +x_1 = lean_unsigned_to_nat(201u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12134,7 +12124,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(205u); +x_1 = lean_unsigned_to_nat(206u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12146,7 +12136,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(207u); +x_1 = lean_unsigned_to_nat(208u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12174,7 +12164,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(205u); +x_1 = lean_unsigned_to_nat(206u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12186,7 +12176,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(205u); +x_1 = lean_unsigned_to_nat(206u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13739,11 +13729,31 @@ lean_ctor_set(x_11, 1, x_8); return x_11; } } +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -18534,7 +18544,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(295u); +x_1 = lean_unsigned_to_nat(296u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18546,7 +18556,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(297u); +x_1 = lean_unsigned_to_nat(298u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18574,7 +18584,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(295u); +x_1 = lean_unsigned_to_nat(296u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18586,7 +18596,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(295u); +x_1 = lean_unsigned_to_nat(296u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18922,7 +18932,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18934,7 +18944,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(304u); +x_1 = lean_unsigned_to_nat(305u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18962,7 +18972,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18974,7 +18984,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19294,7 +19304,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTypeAscription_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(306u); +x_1 = lean_unsigned_to_nat(307u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19306,7 +19316,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTypeAscription_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(311u); +x_1 = lean_unsigned_to_nat(312u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19334,7 +19344,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTypeAscription_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(306u); +x_1 = lean_unsigned_to_nat(307u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19346,7 +19356,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTypeAscription_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(306u); +x_1 = lean_unsigned_to_nat(307u); x_2 = lean_unsigned_to_nat(73u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19410,7 +19420,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -19439,7 +19449,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_20; } else @@ -19658,7 +19668,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(313u); +x_1 = lean_unsigned_to_nat(314u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19670,7 +19680,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(321u); +x_1 = lean_unsigned_to_nat(322u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19698,7 +19708,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(313u); +x_1 = lean_unsigned_to_nat(314u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19710,7 +19720,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(313u); +x_1 = lean_unsigned_to_nat(314u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24370,7 +24380,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_12); +x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_12); return x_15; } else @@ -24396,7 +24406,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_12); +x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_12); return x_22; } else @@ -25354,7 +25364,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(342u); +x_1 = lean_unsigned_to_nat(343u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25366,7 +25376,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(414u); +x_1 = lean_unsigned_to_nat(415u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25394,7 +25404,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(342u); +x_1 = lean_unsigned_to_nat(343u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25406,7 +25416,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(342u); +x_1 = lean_unsigned_to_nat(343u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25857,7 +25867,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(416u); +x_1 = lean_unsigned_to_nat(417u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25869,7 +25879,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(425u); +x_1 = lean_unsigned_to_nat(426u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25897,7 +25907,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(416u); +x_1 = lean_unsigned_to_nat(417u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25909,7 +25919,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(416u); +x_1 = lean_unsigned_to_nat(417u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26087,7 +26097,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(427u); +x_1 = lean_unsigned_to_nat(428u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26099,7 +26109,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(429u); +x_1 = lean_unsigned_to_nat(430u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26127,7 +26137,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(427u); +x_1 = lean_unsigned_to_nat(428u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26139,7 +26149,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(427u); +x_1 = lean_unsigned_to_nat(428u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26299,7 +26309,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___lambda__1___closed__3; x_2 = l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__4; -x_3 = lean_unsigned_to_nat(439u); +x_3 = lean_unsigned_to_nat(440u); x_4 = lean_unsigned_to_nat(54u); x_5 = l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26312,7 +26322,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___lambda__1___closed__3; x_2 = l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__4; -x_3 = lean_unsigned_to_nat(440u); +x_3 = lean_unsigned_to_nat(441u); x_4 = lean_unsigned_to_nat(55u); x_5 = l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26801,7 +26811,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -27010,7 +27020,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(432u); +x_1 = lean_unsigned_to_nat(433u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27022,7 +27032,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(452u); +x_1 = lean_unsigned_to_nat(453u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27050,7 +27060,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(432u); +x_1 = lean_unsigned_to_nat(433u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27062,7 +27072,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(432u); +x_1 = lean_unsigned_to_nat(433u); x_2 = lean_unsigned_to_nat(14u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27546,7 +27556,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -27987,7 +27997,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(455u); +x_1 = lean_unsigned_to_nat(456u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27999,7 +28009,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(468u); +x_1 = lean_unsigned_to_nat(469u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28027,7 +28037,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(455u); +x_1 = lean_unsigned_to_nat(456u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28039,7 +28049,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(455u); +x_1 = lean_unsigned_to_nat(456u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28085,6 +28095,1141 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_11 = l_Lean_Elab_Term_elabType(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +lean_inc(x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_12); +x_15 = lean_box(0); +x_16 = 1; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_17 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_14, x_16, x_16, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 0; +x_21 = 1; +lean_inc(x_3); +x_22 = l_Lean_Meta_mkForallFVars(x_3, x_12, x_20, x_16, x_21, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Meta_mkLambdaFVars(x_3, x_18, x_20, x_16, x_21, x_6, x_7, x_8, x_9, x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +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; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_25, 0, x_28); +return x_25; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_25, 0); +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_dec(x_23); +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) +{ +return x_25; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +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 +{ +uint8_t x_37; +lean_dec(x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_37 = !lean_is_exclusive(x_22); +if (x_37 == 0) +{ +return x_22; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_22); +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 +{ +uint8_t x_41; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_17); +if (x_41 == 0) +{ +return x_17; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_17, 0); +x_43 = lean_ctor_get(x_17, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_17); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_45 = !lean_is_exclusive(x_11); +if (x_45 == 0) +{ +return x_11; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_11, 0); +x_47 = lean_ctor_get(x_11, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_11); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_14 = l_Lean_Elab_Term_elabTerm(x_2, x_12, x_13, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; 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(x_14); +x_17 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__52; +x_18 = lean_array_push(x_17, x_4); +x_19 = l_Lean_Expr_abstractM(x_15, x_18, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_10); +lean_dec(x_8); +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; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_array_push(x_17, x_3); +x_23 = lean_expr_instantiate(x_21, x_22); +lean_dec(x_22); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 0); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_19); +x_26 = lean_array_push(x_17, x_3); +x_27 = lean_expr_instantiate(x_24, x_26); +lean_dec(x_26); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_3); +x_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_33 = !lean_is_exclusive(x_14); +if (x_33 == 0) +{ +return x_14; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_14, 0); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_14); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI___lambda__1), 10, 2); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_15 = l_Lean_Elab_Term_elabBinders___rarg(x_3, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +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; uint8_t x_22; uint8_t x_23; lean_object* x_24; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Syntax_getId(x_4); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI___lambda__2), 11, 3); +lean_closure_set(x_21, 0, x_6); +lean_closure_set(x_21, 1, x_5); +lean_closure_set(x_21, 2, x_19); +x_22 = 0; +x_23 = 0; +x_24 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_20, x_22, x_18, x_21, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) +{ +return x_15; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +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_Elab_Term_elabHaveI___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveI", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabHaveI___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___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__5; +x_4 = l_Lean_Elab_Term_elabHaveI___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; +x_10 = l_Lean_Elab_Term_elabHaveI___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Elab_Term_expandHave___closed__3; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_14, x_18); +lean_dec(x_14); +x_20 = l_Lean_Elab_Term_expandHave___closed__5; +lean_inc(x_19); +x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = l_Lean_Syntax_getArg(x_19, x_18); +x_24 = l_Lean_Elab_Term_expandHave___closed__13; +lean_inc(x_23); +x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_Lean_Syntax_getArg(x_19, x_13); +x_28 = lean_unsigned_to_nat(2u); +x_29 = l_Lean_Syntax_getArg(x_19, x_28); +lean_inc(x_29); +x_30 = l_Lean_Syntax_matchesNull(x_29, x_13); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = l_Lean_Syntax_getArg(x_29, x_18); +lean_dec(x_29); +x_33 = l_Lean_Elab_Term_elabShow___closed__10; +lean_inc(x_32); +x_34 = l_Lean_Syntax_isOfKind(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_32); +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_36 = l_Lean_Syntax_getArg(x_32, x_13); +lean_dec(x_32); +x_37 = lean_unsigned_to_nat(4u); +x_38 = l_Lean_Syntax_getArg(x_19, x_37); +lean_dec(x_19); +x_39 = lean_unsigned_to_nat(3u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +lean_dec(x_1); +x_41 = l_Lean_Syntax_getArgs(x_27); +lean_dec(x_27); +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI___lambda__3___boxed), 13, 5); +lean_closure_set(x_42, 0, x_36); +lean_closure_set(x_42, 1, x_38); +lean_closure_set(x_42, 2, x_41); +lean_closure_set(x_42, 3, x_23); +lean_closure_set(x_42, 4, x_40); +x_43 = l_Lean_Elab_Term_withExpectedType(x_2, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_43; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHaveI___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Term_elabHaveI___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_14; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabHaveI", 9); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___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___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__5; +x_4 = l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__8; +x_3 = l_Lean_Elab_Term_elabHaveI___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(471u); +x_2 = lean_unsigned_to_nat(44u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(481u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___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___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1; +x_2 = lean_unsigned_to_nat(44u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(471u); +x_2 = lean_unsigned_to_nat(48u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(471u); +x_2 = lean_unsigned_to_nat(57u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4; +x_2 = lean_unsigned_to_nat(48u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5; +x_4 = lean_unsigned_to_nat(57u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI___lambda__1), 10, 2); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_15 = l_Lean_Elab_Term_elabBinders___rarg(x_3, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +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; uint8_t x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Syntax_getId(x_4); +lean_inc(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabHaveI___lambda__2), 11, 3); +lean_closure_set(x_21, 0, x_6); +lean_closure_set(x_21, 1, x_5); +lean_closure_set(x_21, 2, x_19); +x_22 = 0; +x_23 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(x_20, x_18, x_19, x_21, x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +return x_23; +} +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +return x_15; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_15); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Term_elabLetI___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letI", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabLetI___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___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__5; +x_4 = l_Lean_Elab_Term_elabLetI___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; +x_10 = l_Lean_Elab_Term_elabLetI___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Elab_Term_expandHave___closed__3; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_14, x_18); +lean_dec(x_14); +x_20 = l_Lean_Elab_Term_expandHave___closed__5; +lean_inc(x_19); +x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = l_Lean_Syntax_getArg(x_19, x_18); +x_24 = l_Lean_Elab_Term_expandHave___closed__13; +lean_inc(x_23); +x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_Lean_Syntax_getArg(x_19, x_13); +x_28 = lean_unsigned_to_nat(2u); +x_29 = l_Lean_Syntax_getArg(x_19, x_28); +lean_inc(x_29); +x_30 = l_Lean_Syntax_matchesNull(x_29, x_13); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = l_Lean_Syntax_getArg(x_29, x_18); +lean_dec(x_29); +x_33 = l_Lean_Elab_Term_elabShow___closed__10; +lean_inc(x_32); +x_34 = l_Lean_Syntax_isOfKind(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_32); +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_36 = l_Lean_Syntax_getArg(x_32, x_13); +lean_dec(x_32); +x_37 = lean_unsigned_to_nat(4u); +x_38 = l_Lean_Syntax_getArg(x_19, x_37); +lean_dec(x_19); +x_39 = lean_unsigned_to_nat(3u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +lean_dec(x_1); +x_41 = l_Lean_Syntax_getArgs(x_27); +lean_dec(x_27); +x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetI___lambda__1___boxed), 13, 5); +lean_closure_set(x_42, 0, x_36); +lean_closure_set(x_42, 1, x_38); +lean_closure_set(x_42, 2, x_41); +lean_closure_set(x_42, 3, x_23); +lean_closure_set(x_42, 4, x_40); +x_43 = l_Lean_Elab_Term_withExpectedType(x_2, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_43; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetI___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Term_elabLetI___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_14; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabLetI", 8); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI___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___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__5; +x_4 = l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetI), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__8; +x_3 = l_Lean_Elab_Term_elabLetI___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(483u); +x_2 = lean_unsigned_to_nat(43u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(493u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___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___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1; +x_2 = lean_unsigned_to_nat(43u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(483u); +x_2 = lean_unsigned_to_nat(47u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(483u); +x_2 = lean_unsigned_to_nat(55u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4; +x_2 = lean_unsigned_to_nat(47u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5; +x_4 = lean_unsigned_to_nat(55u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetI_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_BorrowedAnnotation(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_KAbstract(uint8_t builtin, lean_object*); @@ -28093,6 +29238,7 @@ lean_object* initialize_Lean_Meta_MatchUtil(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_ImplementedByAttr(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_SyntheticMVars(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Eval(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Binders(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_BuiltinNotation(uint8_t builtin, lean_object* w) { lean_object * res; @@ -28122,6 +29268,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Eval(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Binders(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_elabCoe___closed__1 = _init_l_Lean_Elab_Term_elabCoe___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabCoe___closed__1); l_Lean_Elab_Term_elabCoe___closed__2 = _init_l_Lean_Elab_Term_elabCoe___closed__2(); @@ -28236,18 +29385,14 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg___closed__2); -l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__1); -l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__2); -l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__3); -l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__2___closed__4); +}l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__1); +l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2); +l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__3); +l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4 = _init_l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4); l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1); l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2 = _init_l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2(); @@ -29098,6 +30243,10 @@ l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__ lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___closed__1); l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___closed__2(); lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___closed__2); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__2); l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1 = _init_l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1); l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2 = _init_l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2(); @@ -29541,6 +30690,66 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___close if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Elab_Term_elabHaveI___closed__1 = _init_l_Lean_Elab_Term_elabHaveI___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabHaveI___closed__1); +l_Lean_Elab_Term_elabHaveI___closed__2 = _init_l_Lean_Elab_Term_elabHaveI___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabHaveI___closed__2); +l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__1); +l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__2); +l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabHaveI(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__4); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__5); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__6); +l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabHaveI_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Term_elabLetI___closed__1 = _init_l_Lean_Elab_Term_elabLetI___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetI___closed__1); +l_Lean_Elab_Term_elabLetI___closed__2 = _init_l_Lean_Elab_Term_elabLetI___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetI___closed__2); +l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI___closed__1); +l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI___closed__2); +l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabLetI(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__4); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__5); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__6); +l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetI_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabLetI_declRange(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/ElabRules.c b/stage0/stdlib/Lean/Elab/ElabRules.c index 45d8c3223f..0cae0989b3 100644 --- a/stage0/stdlib/Lean/Elab/ElabRules.c +++ b/stage0/stdlib/Lean/Elab/ElabRules.c @@ -15,7 +15,6 @@ extern "C" { #endif static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___closed__2; static lean_object* l_Lean_Elab_Command_elabElab___lambda__1___closed__6; -static lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); @@ -158,7 +157,6 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_tryPostponeIfHasMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; static lean_object* l_Lean_Elab_Command_elabElab___closed__1; @@ -237,7 +235,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(l LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab_declRange___closed__2; @@ -250,7 +247,6 @@ static lean_object* l_Lean_Elab_Command_elabElab___lambda__1___closed__8; static lean_object* l_Lean_Elab_Command_elabElab___lambda__3___closed__1; lean_object* l_Array_mkArray1___rarg(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_resolveSyntaxKind___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabElabRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; @@ -286,7 +282,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___c lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___closed__6; -lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; @@ -326,97 +321,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___c static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; lean_object* l_Lean_Elab_Command_expandMacroArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("expected type must be known", 27); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_withExpectedType___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_withExpectedType___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_withExpectedType(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_2); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_Elab_Command_withExpectedType___closed__2; -x_13 = l_Lean_throwError___at_Lean_Elab_Term_tryPostponeIfHasMVars___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -lean_dec(x_1); -x_16 = lean_apply_8(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -return x_16; -} -} -else -{ -uint8_t x_17; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) -{ -return x_10; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_10, 0); -x_19 = lean_ctor_get(x_10, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_10); -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; -} -} -} -} static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1() { _start: { @@ -2162,7 +2066,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Elab.Command.withExpectedType", 34); +x_1 = lean_mk_string_from_bytes("Lean.Elab.Term.withExpectedType", 31); return x_1; } } @@ -2189,7 +2093,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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__1; x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__3; x_4 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -5550,7 +5454,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(79u); +x_1 = lean_unsigned_to_nat(73u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5562,7 +5466,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(86u); +x_1 = lean_unsigned_to_nat(80u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5590,7 +5494,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(79u); +x_1 = lean_unsigned_to_nat(73u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5602,7 +5506,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(79u); +x_1 = lean_unsigned_to_nat(73u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7041,7 +6945,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7053,7 +6957,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(105u); +x_1 = lean_unsigned_to_nat(99u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7081,7 +6985,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7093,7 +6997,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(83u); x_2 = lean_unsigned_to_nat(12u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7156,10 +7060,6 @@ lean_dec_ref(res); res = initialize_Lean_Elab_AuxDef(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__1); -l_Lean_Elab_Command_withExpectedType___closed__2 = _init_l_Lean_Elab_Command_withExpectedType___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__2); l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1); l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index b5521b8b47..3776c4655e 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -196,8 +196,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy_declRange___c static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRel___closed__4; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___closed__4; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processUnOp___spec__1___closed__4; static lean_object* l_Lean_Elab_Term_elabForIn_x27___closed__2; static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__8; @@ -1318,7 +1318,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -2991,7 +2991,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else diff --git a/stage0/stdlib/Lean/Elab/Tactic.c b/stage0/stdlib/Lean/Elab/Tactic.c index 8346015396..a2d7f6916d 100644 --- a/stage0/stdlib/Lean/Elab/Tactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic -// Imports: Init Lean.Elab.Term Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Tactic.Induction Lean.Elab.Tactic.Generalize Lean.Elab.Tactic.Injection Lean.Elab.Tactic.Match Lean.Elab.Tactic.Rewrite Lean.Elab.Tactic.Location Lean.Elab.Tactic.Simp Lean.Elab.Tactic.Simproc Lean.Elab.Tactic.BuiltinTactic Lean.Elab.Tactic.Split Lean.Elab.Tactic.Conv Lean.Elab.Tactic.Delta Lean.Elab.Tactic.Meta Lean.Elab.Tactic.Unfold Lean.Elab.Tactic.Cache Lean.Elab.Tactic.Calc Lean.Elab.Tactic.Congr Lean.Elab.Tactic.Guard Lean.Elab.Tactic.RCases Lean.Elab.Tactic.Repeat Lean.Elab.Tactic.Change Lean.Elab.Tactic.HaveI +// Imports: Init Lean.Elab.Term Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Tactic.Induction Lean.Elab.Tactic.Generalize Lean.Elab.Tactic.Injection Lean.Elab.Tactic.Match Lean.Elab.Tactic.Rewrite Lean.Elab.Tactic.Location Lean.Elab.Tactic.Simp Lean.Elab.Tactic.Simproc Lean.Elab.Tactic.BuiltinTactic Lean.Elab.Tactic.Split Lean.Elab.Tactic.Conv Lean.Elab.Tactic.Delta Lean.Elab.Tactic.Meta Lean.Elab.Tactic.Unfold Lean.Elab.Tactic.Cache Lean.Elab.Tactic.Calc Lean.Elab.Tactic.Congr Lean.Elab.Tactic.Guard Lean.Elab.Tactic.RCases Lean.Elab.Tactic.Repeat Lean.Elab.Tactic.Ext Lean.Elab.Tactic.Change #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -37,8 +37,8 @@ lean_object* initialize_Lean_Elab_Tactic_Congr(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Guard(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_RCases(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Repeat(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Ext(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Change(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Elab_Tactic_HaveI(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic(uint8_t builtin, lean_object* w) { lean_object * res; @@ -116,10 +116,10 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Repeat(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_Tactic_Change(builtin, lean_io_mk_world()); +res = initialize_Lean_Elab_Tactic_Ext(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_Tactic_HaveI(builtin, lean_io_mk_world()); +res = initialize_Lean_Elab_Tactic_Change(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 387e637e95..049c120a85 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -39,6 +39,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9(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___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSeq1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange___closed__4; @@ -93,6 +94,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__2; lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -225,7 +227,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__2; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; @@ -239,6 +240,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___closed_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___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* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntro_introStep(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_Tactic_evalIntro___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__3; @@ -342,7 +344,6 @@ static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tact lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntroMatch(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_sequenceMap___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__1; lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); @@ -417,12 +418,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; lean_object* l_Lean_MVarId_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__3; lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_addCheckpoints___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; @@ -432,7 +435,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange(lean_object*); -static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst(lean_object*); LEAN_EXPORT lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__32___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -520,6 +522,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalClear___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__1; static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3; @@ -575,6 +578,7 @@ static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tact LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateRight(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_Tactic_evalWithAnnotateState___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -600,6 +604,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tacti static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCase_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,6 +664,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRight___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -742,6 +748,7 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_eval LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__4; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDone___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -760,7 +767,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___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_Tactic_tacticSubst__eqs___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__28(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___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5; @@ -861,15 +867,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__2; static lean_object* l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticSubst__eqs; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__41(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___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnknown___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___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___closed__4; @@ -908,12 +913,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___clo LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst_loop(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_Tactic_evalReplace___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__5; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__35___closed__3; @@ -931,6 +938,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___closed lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRunTac(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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___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_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__6; @@ -997,6 +1005,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateLeft___boxed(lean_object*, lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__5(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; lean_object* lean_environment_main_module(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; lean_object* lean_nat_mod(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__2; @@ -1085,7 +1094,6 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound(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_Tactic_evalIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__7; -static lean_object* l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___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_object*, lean_object*); @@ -1098,11 +1106,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__28; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f(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_Tactic_tacticSubst__eqs___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__2; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__6; uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4; @@ -1113,6 +1121,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_renameInaccessibles___lambda__2___bo static lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; lean_object* l_Lean_toMessageList(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6; static lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__6___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntroMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1120,7 +1129,6 @@ lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -static lean_object* l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_evalOpen___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange(lean_object*); @@ -1225,6 +1233,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___clo LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___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_Elab_Tactic_evalRotateLeft(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_popScope___at_Lean_Elab_Tactic_evalOpen___spec__43(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_Tactic_evalSubstEqs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__7; @@ -1377,6 +1386,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__6; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___boxed(lean_object**); @@ -24035,69 +24045,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticSubst_eqs", 15); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs___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_Tactic_evalWithAnnotateState___closed__1; -x_2 = l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__1; -x_3 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__3; -x_4 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__1; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("subst_eqs", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_tacticSubst__eqs() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__5; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -24218,41 +24166,200 @@ return x_30; } } } -static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___lambda__1), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSubstEqs___rarg___lambda__1), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2; -x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); -return x_13; +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1; +x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1; -x_15 = l_Lean_Elab_Tactic_withMainContext___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_15; } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSubstEqs___rarg), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstEqs___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalSubstEqs(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("substEqs", 8); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___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_Tactic_evalWithAnnotateState___closed__1; +x_2 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__2; +x_3 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalSubstEqs", 12); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4() { +_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_Tactic_evalWithAnnotateState___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__1; +x_3 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSubstEqs___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(329u); +x_2 = lean_unsigned_to_nat(46u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(330u); +x_2 = lean_unsigned_to_nat(42u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___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___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1; +x_2 = lean_unsigned_to_nat(46u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2; +x_4 = lean_unsigned_to_nat(42u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(329u); +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(329u); +x_2 = lean_unsigned_to_nat(62u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4; +x_2 = lean_unsigned_to_nat(50u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5; +x_4 = lean_unsigned_to_nat(62u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; } } LEAN_EXPORT lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___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) { @@ -32149,7 +32256,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(418u); +x_1 = lean_unsigned_to_nat(415u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -32161,7 +32268,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(428u); +x_1 = lean_unsigned_to_nat(425u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -32189,7 +32296,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(418u); +x_1 = lean_unsigned_to_nat(415u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -32201,7 +32308,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(418u); +x_1 = lean_unsigned_to_nat(415u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33695,7 +33802,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(430u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33707,7 +33814,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(445u); +x_1 = lean_unsigned_to_nat(442u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33735,7 +33842,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(430u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33747,7 +33854,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(430u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33993,7 +34100,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(447u); +x_1 = lean_unsigned_to_nat(444u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34005,7 +34112,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(449u); +x_1 = lean_unsigned_to_nat(446u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34033,7 +34140,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(447u); +x_1 = lean_unsigned_to_nat(444u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34045,7 +34152,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(447u); +x_1 = lean_unsigned_to_nat(444u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34524,7 +34631,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(451u); +x_1 = lean_unsigned_to_nat(448u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34536,7 +34643,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(460u); +x_1 = lean_unsigned_to_nat(457u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34564,7 +34671,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(451u); +x_1 = lean_unsigned_to_nat(448u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34576,7 +34683,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(451u); +x_1 = lean_unsigned_to_nat(448u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34879,7 +34986,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(462u); +x_1 = lean_unsigned_to_nat(459u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34891,7 +34998,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(468u); +x_1 = lean_unsigned_to_nat(465u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34919,7 +35026,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(462u); +x_1 = lean_unsigned_to_nat(459u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34931,7 +35038,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(462u); +x_1 = lean_unsigned_to_nat(459u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35121,7 +35228,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(470u); +x_1 = lean_unsigned_to_nat(467u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35133,7 +35240,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(473u); +x_1 = lean_unsigned_to_nat(470u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35161,7 +35268,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(470u); +x_1 = lean_unsigned_to_nat(467u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35173,7 +35280,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(470u); +x_1 = lean_unsigned_to_nat(467u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35344,7 +35451,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(475u); +x_1 = lean_unsigned_to_nat(472u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35356,7 +35463,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(478u); +x_1 = lean_unsigned_to_nat(475u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35384,7 +35491,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(475u); +x_1 = lean_unsigned_to_nat(472u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35396,7 +35503,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(475u); +x_1 = lean_unsigned_to_nat(472u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35710,7 +35817,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(480u); +x_1 = lean_unsigned_to_nat(477u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35722,7 +35829,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(481u); +x_1 = lean_unsigned_to_nat(478u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35750,7 +35857,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(480u); +x_1 = lean_unsigned_to_nat(477u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35762,7 +35869,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(480u); +x_1 = lean_unsigned_to_nat(477u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36066,7 +36173,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(483u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36078,7 +36185,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(484u); +x_1 = lean_unsigned_to_nat(481u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36106,7 +36213,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(483u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36118,7 +36225,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(483u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36670,7 +36777,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(486u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36682,7 +36789,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(498u); +x_1 = lean_unsigned_to_nat(495u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36710,7 +36817,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(486u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -36722,7 +36829,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(486u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -37137,7 +37244,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(500u); +x_1 = lean_unsigned_to_nat(497u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -37149,7 +37256,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(505u); +x_1 = lean_unsigned_to_nat(502u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -37177,7 +37284,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(500u); +x_1 = lean_unsigned_to_nat(497u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -37189,7 +37296,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(500u); +x_1 = lean_unsigned_to_nat(497u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -38508,21 +38615,39 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___c if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Tactic_tacticSubst__eqs___closed__1 = _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs___closed__1); -l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2 = _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs___closed__2); -l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3 = _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs___closed__3); -l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4 = _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs___closed__4); -l_Lean_Elab_Tactic_tacticSubst__eqs___closed__5 = _init_l_Lean_Elab_Tactic_tacticSubst__eqs___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs___closed__5); -l_Lean_Elab_Tactic_tacticSubst__eqs = _init_l_Lean_Elab_Tactic_tacticSubst__eqs(); -lean_mark_persistent(l_Lean_Elab_Tactic_tacticSubst__eqs); -l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___closed__1); -l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__1(); +}l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSubstEqs___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs___closed__5); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSubstEqs_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__1); l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__2 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__2(); lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___closed__2); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Ext.c b/stage0/stdlib/Lean/Elab/Tactic/Ext.c new file mode 100644 index 0000000000..c9c8d278a8 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/Ext.c @@ -0,0 +1,15932 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.Ext +// Imports: Init Lean.Elab.Tactic.RCases Lean.Elab.Tactic.Repeat Lean.Elab.Tactic.BuiltinTactic Lean.Elab.Command Lean.Linter.Util +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___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_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1; +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5; +lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___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*); +size_t lean_usize_shift_right(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2; +lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1; +uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_RCases_rintro(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_Tactic_Ext_withExtHyps___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_type(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1; +extern lean_object* l_Lean_maxRecDepthErrorMessage; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29; +uint8_t lean_usize_dec_le(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21; +lean_object* l_List_mapTR_loop___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); +uint64_t lean_uint64_of_nat(lean_object*); +uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); +lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1; +lean_object* l_Lean_mkIff(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +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_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1(lean_object*, lean_object*, lean_object*); +size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1; +lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___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_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* l_Lean_MessageData_ofList(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___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* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5; +lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); +size_t lean_usize_mul(size_t, size_t); +lean_object* l_Array_mkArray5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17; +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_Ext_extExt_config___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_MVarId_getType_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1; +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_eraseCore(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2; +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__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* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___at_Lean_Elab_Tactic_Ext_extCore___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_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType(lean_object*); +lean_object* l_ReaderT_read___at_Lean_Macro_instMonadRefMacroM___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5; +lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_registerCoercion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3; +lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__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_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12; +lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); +extern lean_object* l_Lean_Expr_instBEqExpr; +lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19; +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3; +lean_object* l_Lean_Expr_appArg_x21(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_extCore___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_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1; +lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1; +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore(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_Elab_Tactic_Ext_withExtHyps___rarg___closed__6; +lean_object* l_ReaderT_instApplicativeReaderT___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString(lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16; +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2(lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_Tactic_RCases_expandRIntroPats(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6; +static lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1(size_t, size_t, lean_object*); +lean_object* l_List_mapTR_loop___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2; +static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_getExtTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_reverse___rarg(lean_object*); +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1; +lean_object* l_Lean_ScopedEnvExtension_addScopedEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14; +lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); +lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2; +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7; +static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__1; +lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange(lean_object*); +lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__2(lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16; +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19; +lean_object* lean_nat_div(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1; +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___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_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange(lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12; +lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6; +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +uint8_t l_Lean_Expr_isMVar(lean_object*); +lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5; +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps(lean_object*); +lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4; +lean_object* l_Lean_liftCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1; +uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_mkAndN(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2; +lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2; +static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2; +lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_termElabAttribute; +static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +LEAN_EXPORT uint64_t l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1(lean_object*, size_t, size_t, uint64_t); +lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8; +lean_object* l_Lean_ScopedEnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1; +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1; +uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_instHashableExpr; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7(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_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120_(lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instHashableLocalInstance___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43_(lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5(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_Format_joinSep___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange(lean_object*); +uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1; +lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt(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_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2; +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___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_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22; +lean_object* l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_368_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extExt_config; +lean_object* l_Lean_Expr_appFn_x21(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1; +lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); +lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveLocalName_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_instHashableExtTheorem; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Format_defWidth; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3; +lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___boxed(lean_object*, lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4; +LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1; +lean_object* l_Lean_throwError___at_Lean_MVarId_refl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30; +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros(lean_object*); +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg___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_Tactic_Ext_withExtHyps___rarg___lambda__1(uint8_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5; +lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___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_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal_loop___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__10(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___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_Tactic_Ext_applyExtTheoremAt___closed__3; +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19; +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2(lean_object*, lean_object*, size_t, size_t, uint8_t); +lean_object* l_instMonadControlT__1___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15; +lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___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_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType(lean_object*); +extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; +static lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1; +static lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1; +lean_object* lean_string_length(lean_object*); +lean_object* l_Lean_TSyntax_getNat(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_instReprExtTheorem; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* lean_environment_main_module(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1; +LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___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___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2; +lean_object* l_id___rarg___boxed(lean_object*); +lean_object* l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___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_Tactic_Ext_elabExtType(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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23; +lean_object* l_Lean_indentExpr(lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2(uint8_t, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1; +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9; +static lean_object* l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2; +uint64_t l_Lean_Name_hash___override(lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(lean_object*); +LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1; +LEAN_EXPORT uint64_t l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213_(lean_object*); +lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_insertAt_x21___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_isStructure(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__3; +lean_object* l_Array_mkArray1___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21; +static lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___closed__3; +lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___closed__1; +LEAN_EXPORT lean_object* l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +LEAN_EXPORT uint8_t l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3; +extern lean_object* l_Lean_Elab_Tactic_RCases_linter_unusedRCasesPattern; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16; +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Array_ofSubarray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default; +extern lean_object* l_Lean_Core_instMonadCoreM; +lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1; +lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15; +lean_object* l_Array_back___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4(lean_object*, lean_object*, size_t, size_t, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__10; +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extExtension; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__2(lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6(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_Tactic_Ext_withExt1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__8; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___closed__4; +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_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11; +lean_object* lean_string_append(lean_object*, lean_object*); +uint8_t l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg(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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3; +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_instBEqExtTheorem; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2; +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__3(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8; +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3; +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5(lean_object*, lean_object*, size_t, size_t, uint8_t); +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13; +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22; +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Meta_mkProjection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_intros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_erase___at_Lean_Meta_addInstanceEntry___spec__18(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26; +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Exception_isRuntime(lean_object*); +lean_object* l_Lean_Meta_DiscrTree_getMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterTR_loop___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); +extern lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_Instances_erased___default___spec__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Ext_extCore___closed__1; +uint8_t l_Lean_Expr_isForall(lean_object*); +lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610_(lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__14; +static lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___closed__5; +static lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_run___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofName(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_replaceMainGoal(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___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(lean_object*); +uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1(lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5; +LEAN_EXPORT lean_object* l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3(lean_object*, lean_object*, lean_object*); +size_t lean_usize_land(size_t, size_t); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erased___default; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4; +lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6; +lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3(lean_object*, lean_object*, size_t, size_t, uint8_t); +uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2; +return x_1; +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_368_(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +lean_inc(x_1); +x_6 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_1); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_368_(x_4, x_7); +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_2 = x_9; +x_3 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_368_(x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_368_(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__3(x_2, x_10, x_4); +return x_11; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declName", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" := ", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3; +x_2 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(12u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(",", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("priority", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("keys", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("{ ", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" }", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("#[", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("]", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("#[]", 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14; +x_2 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Name_reprPrec(x_3, x_4); +x_6 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7; +x_7 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = 0; +x_9 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); +x_10 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6; +x_11 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9; +x_13 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11; +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5; +x_19 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +x_21 = l_Nat_repr(x_20); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_23, 0, x_6); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_8); +x_25 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_12); +x_27 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_14); +x_28 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13; +x_29 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_18); +x_31 = lean_ctor_get(x_1, 2); +lean_inc(x_31); +lean_dec(x_1); +x_32 = lean_array_get_size(x_31); +x_33 = lean_nat_dec_eq(x_32, x_4); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t 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_34 = lean_array_to_list(lean_box(0), x_31); +x_35 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21; +x_36 = l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____spec__2(x_34, x_35); +x_37 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25; +x_38 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27; +x_40 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24; +x_42 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = 1; +x_44 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set_uint8(x_44, sizeof(void*)*1, x_43); +x_45 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14; +x_46 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_8); +x_48 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_48, 0, x_30); +lean_ctor_set(x_48, 1, x_47); +x_49 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18; +x_50 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20; +x_52 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17; +x_54 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_8); +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_dec(x_31); +x_56 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31; +x_57 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_57, 0, x_30); +lean_ctor_set(x_57, 1, x_56); +x_58 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18; +x_59 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20; +x_61 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17; +x_63 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_8); +return x_64; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instReprExtTheorem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1; +return x_1; +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_name_eq(x_3, x_6); +lean_dec(x_6); +lean_dec(x_3); +if (x_9 == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_10 = 0; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = lean_nat_dec_eq(x_4, x_7); +lean_dec(x_7); +lean_dec(x_4); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_8); +lean_dec(x_5); +x_12 = 0; +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_array_get_size(x_5); +x_14 = lean_array_get_size(x_8); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_8); +lean_dec(x_5); +x_16 = 0; +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1(x_5, x_8, lean_box(0), x_5, x_8, x_17); +lean_dec(x_8); +lean_dec(x_5); +return x_18; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = l_Array_isEqvAux___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120_(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instBEqExtTheorem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1; +return x_1; +} +} +LEAN_EXPORT uint64_t l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1(lean_object* x_1, size_t x_2, size_t x_3, uint64_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; uint64_t x_7; uint64_t x_8; size_t x_9; size_t x_10; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Meta_DiscrTree_Key_hash(x_6); +lean_dec(x_6); +x_8 = lean_uint64_mix_hash(x_4, x_7); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_2 = x_10; +x_4 = x_8; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT uint64_t l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_ctor_get(x_1, 2); +x_5 = 0; +x_6 = l_Lean_Name_hash___override(x_2); +x_7 = lean_uint64_mix_hash(x_5, x_6); +x_8 = lean_uint64_of_nat(x_3); +x_9 = lean_uint64_mix_hash(x_7, x_8); +x_10 = 7; +x_11 = lean_array_get_size(x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_11); +if (x_13 == 0) +{ +uint64_t x_14; +lean_dec(x_11); +x_14 = lean_uint64_mix_hash(x_9, x_10); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_11, x_11); +if (x_15 == 0) +{ +uint64_t x_16; +lean_dec(x_11); +x_16 = lean_uint64_mix_hash(x_9, x_10); +return x_16; +} +else +{ +size_t x_17; size_t x_18; uint64_t x_19; uint64_t x_20; +x_17 = 0; +x_18 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_19 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1(x_4, x_17, x_18, x_10); +x_20 = lean_uint64_mix_hash(x_9, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint64_t x_7; uint64_t x_8; lean_object* x_9; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_uint64(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____spec__1(x_1, x_5, x_6, x_7); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213_(x_1); +lean_dec(x_1); +x_3 = lean_box_uint64(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_hashExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_213____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instHashableExtTheorem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erased___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_Instances_erased___default___spec__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3; +x_2 = l_Lean_PersistentHashMap_empty___at_Lean_Meta_Instances_erased___default___spec__1; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extExt_config___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; +x_1 = 1; +x_2 = 2; +x_3 = lean_alloc_ctor(0, 0, 4); +lean_ctor_set_uint8(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, 1, x_1); +lean_ctor_set_uint8(x_3, 2, x_2); +lean_ctor_set_uint8(x_3, 3, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extExt_config() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_extExt_config___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__1() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = 5; +x_3 = lean_usize_shift_left(x_1, x_2); +return x_3; +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__1; +x_3 = lean_usize_sub(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = 5; +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2; +x_7 = lean_usize_land(x_2, x_6); +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = lean_usize_shift_right(x_2, x_5); +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4(x_20, x_21, lean_box(0), x_22, x_3); +lean_dec(x_21); +lean_dec(x_20); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint64_t x_4; size_t x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Meta_DiscrTree_Key_hash(x_2); +x_5 = lean_uint64_to_usize(x_4); +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3(x_3, x_5, x_2); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_9 = lean_array_fget(x_2, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = l_Lean_Meta_DiscrTree_Key_hash(x_9); +x_12 = lean_uint64_to_usize(x_11); +x_13 = 1; +x_14 = lean_usize_sub(x_1, x_13); +x_15 = 5; +x_16 = lean_usize_mul(x_15, x_14); +x_17 = lean_usize_shift_right(x_12, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_6, x_17, x_1, x_9, x_10); +x_4 = lean_box(0); +x_5 = x_19; +x_6 = x_20; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_5, x_2); +x_18 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +lean_dec(x_2); +x_2 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_1); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_1, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_array_fset(x_5, x_2, x_3); +x_26 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_array_fset(x_5, x_2, x_3); +x_28 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2; +x_11 = lean_usize_land(x_2, x_10); +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(0); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_4, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_free_object(x_15); +x_22 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_array_fset(x_17, x_12, x_23); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_24); +return x_1; +} +else +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_25 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_4, x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_fset(x_17, x_12, x_30); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_31); +return x_1; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_5); +x_33 = lean_array_fset(x_17, x_12, x_32); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_33); +return x_1; +} +} +} +case 1: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_usize_shift_right(x_2, x_9); +x_37 = lean_usize_add(x_3, x_8); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_35, x_36, x_37, x_4, x_5); +lean_ctor_set(x_15, 0, x_38); +x_39 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_39); +return x_1; +} +else +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_15, 0); +lean_inc(x_40); +lean_dec(x_15); +x_41 = lean_usize_shift_right(x_2, x_9); +x_42 = lean_usize_add(x_3, x_8); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_40, x_41, x_42, x_4, x_5); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_array_fset(x_17, x_12, x_44); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_45); +return x_1; +} +} +default: +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_5); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +} +} +} +else +{ +lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec(x_1); +x_49 = 1; +x_50 = 5; +x_51 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2; +x_52 = lean_usize_land(x_2, x_51); +x_53 = lean_usize_to_nat(x_52); +x_54 = lean_array_get_size(x_48); +x_55 = lean_nat_dec_lt(x_53, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_53); +lean_dec(x_5); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_array_fget(x_48, x_53); +x_58 = lean_box(0); +x_59 = lean_array_fset(x_48, x_53, x_58); +switch (lean_obj_tag(x_57)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_62 = x_57; +} else { + lean_dec_ref(x_57); + x_62 = lean_box(0); +} +x_63 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_99_(x_4, x_60); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_62); +x_64 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_fset(x_59, x_53, x_65); +lean_dec(x_53); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_60); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 1, x_5); +x_69 = lean_array_fset(x_59, x_53, x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +case 1: +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_72 = x_57; +} else { + lean_dec_ref(x_57); + x_72 = lean_box(0); +} +x_73 = lean_usize_shift_right(x_2, x_50); +x_74 = lean_usize_add(x_3, x_49); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_71, x_73, x_74, x_4, x_5); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(1, 1, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_array_fset(x_59, x_53, x_76); +lean_dec(x_53); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +default: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_5); +x_80 = lean_array_fset(x_59, x_53, x_79); +lean_dec(x_53); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_1); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__8(x_1, x_83, x_4, x_5); +x_85 = 7; +x_86 = lean_usize_dec_le(x_85, x_3); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_84); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_dec_lt(x_87, x_88); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_84, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7(x_3, x_90, x_91, lean_box(0), x_83, x_92); +lean_dec(x_91); +lean_dec(x_90); +return x_93; +} +else +{ +return x_84; +} +} +else +{ +return x_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; uint8_t x_100; +x_94 = lean_ctor_get(x_1, 0); +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_1); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__8(x_96, x_97, x_4, x_5); +x_99 = 7; +x_100 = lean_usize_dec_le(x_99, x_3); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_98); +x_102 = lean_unsigned_to_nat(4u); +x_103 = lean_nat_dec_lt(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_98, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_98, 1); +lean_inc(x_105); +lean_dec(x_98); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7(x_3, x_104, x_105, lean_box(0), x_97, x_106); +lean_dec(x_105); +lean_dec(x_104); +return x_107; +} +else +{ +return x_98; +} +} +else +{ +return x_98; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_Meta_DiscrTree_Key_hash(x_2); +x_8 = lean_uint64_to_usize(x_7); +x_9 = 1; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_5, x_8, x_9, x_2, x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_6, x_11); +lean_dec(x_6); +lean_ctor_set(x_1, 1, x_12); +lean_ctor_set(x_1, 0, x_10); +return x_1; +} +else +{ +lean_object* x_13; lean_object* x_14; uint64_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = l_Lean_Meta_DiscrTree_Key_hash(x_2); +x_16 = lean_uint64_to_usize(x_15); +x_17 = 1; +x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_13, x_16, x_17, x_2, x_3); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_14, x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal_loop___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_array_push(x_1, x_2); +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_fget(x_1, x_3); +lean_inc(x_2); +x_8 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_beqExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_120_(x_2, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_3, x_9); +lean_dec(x_3); +x_3 = x_10; +goto _start; +} +else +{ +lean_object* x_12; +x_12 = lean_array_fset(x_1, x_3, x_2); +lean_dec(x_3); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____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: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_nat_add(x_7, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_div(x_9, x_10); +lean_dec(x_9); +lean_inc(x_6); +x_12 = lean_array_get(x_6, x_5, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_6, 0); +lean_inc(x_14); +x_15 = l_Lean_Meta_DiscrTree_Key_lt(x_13, x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_8); +x_16 = l_Lean_Meta_DiscrTree_Key_lt(x_14, x_13); +lean_dec(x_13); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_7); +lean_dec(x_6); +x_17 = lean_array_get_size(x_5); +x_18 = lean_nat_dec_lt(x_11, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_dec(x_11); +lean_dec(x_4); +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_array_fget(x_5, x_11); +x_20 = lean_box(0); +x_21 = lean_array_fset(x_5, x_11, x_20); +x_22 = !lean_is_exclusive(x_19); +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; +x_23 = lean_ctor_get(x_19, 1); +x_24 = lean_ctor_get(x_19, 0); +lean_dec(x_24); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_3, x_25); +x_27 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_26, x_23); +lean_dec(x_26); +lean_ctor_set(x_19, 1, x_27); +lean_ctor_set(x_19, 0, x_4); +x_28 = lean_array_fset(x_21, x_11, x_19); +lean_dec(x_11); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_3, x_30); +x_32 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_31, x_29); +lean_dec(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_4); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_array_fset(x_21, x_11, x_33); +lean_dec(x_11); +return x_34; +} +} +} +else +{ +x_8 = x_11; +goto _start; +} +} +else +{ +uint8_t x_36; +lean_dec(x_14); +lean_dec(x_13); +x_36 = lean_nat_dec_eq(x_11, x_7); +if (x_36 == 0) +{ +lean_dec(x_7); +x_7 = x_11; +goto _start; +} +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_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_3, x_38); +x_40 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_39); +lean_dec(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_4); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_nat_add(x_7, x_38); +lean_dec(x_7); +x_43 = l_Array_insertAt_x21___rarg(x_5, x_42, x_41); +lean_dec(x_42); +return x_43; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = l_Array_isEmpty___rarg(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_unsigned_to_nat(0u); +lean_inc(x_6); +x_9 = lean_array_get(x_6, x_5, x_8); +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Meta_DiscrTree_Key_lt(x_10, x_11); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = l_Lean_Meta_DiscrTree_Key_lt(x_11, x_10); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +lean_dec(x_10); +lean_dec(x_6); +x_14 = lean_array_get_size(x_5); +x_15 = lean_nat_dec_lt(x_8, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_dec(x_4); +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_array_fget(x_5, x_8); +x_17 = lean_box(0); +x_18 = lean_array_fset(x_5, x_8, x_17); +x_19 = !lean_is_exclusive(x_16); +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; +x_20 = lean_ctor_get(x_16, 1); +x_21 = lean_ctor_get(x_16, 0); +lean_dec(x_21); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_3, x_22); +x_24 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_23, x_20); +lean_dec(x_23); +lean_ctor_set(x_16, 1, x_24); +lean_ctor_set(x_16, 0, x_4); +x_25 = lean_array_fset(x_18, x_8, x_16); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_3, x_27); +x_29 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_28, x_26); +lean_dec(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_4); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_array_fset(x_18, x_8, x_30); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_inc(x_6); +x_32 = l_Array_back___rarg(x_6, x_5); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Meta_DiscrTree_Key_lt(x_33, x_10); +if (x_34 == 0) +{ +uint8_t x_35; +x_35 = l_Lean_Meta_DiscrTree_Key_lt(x_10, x_33); +lean_dec(x_33); +lean_dec(x_10); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_dec(x_6); +x_36 = lean_array_get_size(x_5); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_36, x_37); +x_39 = lean_nat_dec_lt(x_38, x_36); +lean_dec(x_36); +if (x_39 == 0) +{ +lean_dec(x_38); +lean_dec(x_4); +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_array_fget(x_5, x_38); +x_41 = lean_box(0); +x_42 = lean_array_fset(x_5, x_38, x_41); +x_43 = !lean_is_exclusive(x_40); +if (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_40, 1); +x_45 = lean_ctor_get(x_40, 0); +lean_dec(x_45); +x_46 = lean_nat_add(x_3, x_37); +x_47 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_46, x_44); +lean_dec(x_46); +lean_ctor_set(x_40, 1, x_47); +lean_ctor_set(x_40, 0, x_4); +x_48 = lean_array_fset(x_42, x_38, x_40); +lean_dec(x_38); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_dec(x_40); +x_50 = lean_nat_add(x_3, x_37); +x_51 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_50, x_49); +lean_dec(x_50); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_4); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_fset(x_42, x_38, x_52); +lean_dec(x_38); +return x_53; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_array_get_size(x_5); +x_55 = lean_unsigned_to_nat(1u); +x_56 = lean_nat_sub(x_54, x_55); +lean_dec(x_54); +x_57 = l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_33); +lean_dec(x_10); +lean_dec(x_6); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_3, x_58); +x_60 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_59); +lean_dec(x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_4); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_array_push(x_5, x_61); +return x_62; +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +x_63 = lean_unsigned_to_nat(1u); +x_64 = lean_nat_add(x_3, x_63); +x_65 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_64); +lean_dec(x_64); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_4); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Array_insertAt_x21___rarg(x_5, x_8, x_66); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_6); +x_68 = lean_unsigned_to_nat(1u); +x_69 = lean_nat_add(x_3, x_68); +x_70 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_69); +lean_dec(x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_4); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_5, x_71); +return x_72; +} +} +} +static lean_object* _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +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___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_array_get_size(x_1); +x_9 = lean_nat_dec_lt(x_3, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal_loop___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__10(x_6, x_2, x_10); +lean_ctor_set(x_4, 0, x_11); +return x_4; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_fget(x_1, x_3); +x_13 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1; +lean_inc(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11(x_1, x_2, x_3, x_12, x_7, x_14); +lean_ctor_set(x_4, 1, x_15); +return x_4; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_4, 0); +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_4); +x_18 = lean_array_get_size(x_1); +x_19 = lean_nat_dec_lt(x_3, x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal_loop___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__10(x_16, x_2, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_array_fget(x_1, x_3); +x_24 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1; +lean_inc(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11(x_1, x_2, x_3, x_23, x_17, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +static lean_object* _init_l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Meta.DiscrTree", 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Meta.DiscrTree.insertCore", 30); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("invalid key sequence", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4() { +_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_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1; +x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2; +x_3 = lean_unsigned_to_nat(438u); +x_4 = lean_unsigned_to_nat(23u); +x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Array_isEmpty___rarg(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_get_size(x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_lt(x_6, x_5); +lean_dec(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_Meta_DiscrTree_instInhabitedKey; +x_9 = l___private_Init_Util_0__outOfBounds___rarg(x_8); +lean_inc(x_9); +lean_inc(x_1); +x_10 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__2(x_1, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_11); +lean_dec(x_2); +x_13 = l_Lean_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(x_1, x_9, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_2, x_3, x_15, x_14); +lean_dec(x_2); +x_17 = l_Lean_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(x_1, x_9, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_fget(x_2, x_6); +lean_inc(x_18); +lean_inc(x_1); +x_19 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__2(x_1, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_20); +lean_dec(x_2); +x_22 = l_Lean_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(x_1, x_18, x_21); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_2, x_3, x_24, x_23); +lean_dec(x_2); +x_26 = l_Lean_PersistentHashMap_insert___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__5(x_1, x_18, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4; +x_28 = l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13(x_27); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_2); +x_7 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1(x_4, x_6, x_2); +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = l_Lean_PersistentHashMap_erase___at_Lean_Meta_addInstanceEntry___spec__18(x_5, x_8); +lean_dec(x_8); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 2); +lean_inc(x_12); +lean_inc(x_2); +x_13 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1(x_10, x_12, x_2); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +lean_dec(x_2); +x_15 = l_Lean_PersistentHashMap_erase___at_Lean_Meta_addInstanceEntry___spec__18(x_11, x_14); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elab", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Ext", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("extExtension", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____lambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_id___rarg___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7; +x_3 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9; +x_3 = l_Lean_registerSimpleScopedEnvExtension___rarg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__7(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____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___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_binInsertM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__11(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +x_8 = lean_array_fget(x_1, x_2); +x_9 = lean_array_fget(x_1, x_7); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_nat_dec_lt(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_dec(x_7); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fswap(x_1, x_2, x_7); +lean_dec(x_2); +x_1 = x_13; +x_2 = x_7; +x_3 = lean_box(0); +goto _start; +} +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_3, x_6); +lean_dec(x_3); +x_8 = lean_array_get_size(x_1); +x_9 = lean_nat_dec_lt(x_2, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_dec(x_7); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_inc(x_2); +x_10 = l_Array_insertionSort_swapLoop___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__2(x_1, x_2, lean_box(0)); +x_11 = lean_nat_add(x_2, x_6); +lean_dec(x_2); +x_1 = x_10; +x_2 = x_11; +x_3 = x_7; +goto _start; +} +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(x_8, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +if (x_10 == 0) +{ +lean_object* x_13; +x_13 = lean_array_push(x_5, x_7); +x_3 = x_12; +x_5 = x_13; +goto _start; +} +else +{ +lean_dec(x_7); +x_3 = x_12; +goto _start; +} +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_Ext_extExtension; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_2 = lean_array_get_size(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_getExtTheorems(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems; +x_12 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +x_13 = l_Lean_ScopedEnvExtension_getState___rarg(x_11, x_12, x_10); +lean_dec(x_10); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = l_Lean_Elab_Tactic_Ext_extExt_config; +x_16 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_14, x_1, x_15, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_array_get_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_lt(x_20, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_13); +x_22 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_23 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +x_24 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_22, x_20, x_23); +x_25 = l_Array_reverse___rarg(x_24); +lean_ctor_set(x_16, 0, x_25); +return x_16; +} +else +{ +uint8_t x_26; +x_26 = lean_nat_dec_le(x_19, x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_13); +x_27 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_28 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +x_29 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_27, x_20, x_28); +x_30 = l_Array_reverse___rarg(x_29); +lean_ctor_set(x_16, 0, x_30); +return x_16; +} +else +{ +size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_31 = 0; +x_32 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_33 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3(x_13, x_18, x_31, x_32, x_33); +lean_dec(x_18); +x_35 = lean_array_get_size(x_34); +x_36 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_34, x_20, x_35); +x_37 = l_Array_reverse___rarg(x_36); +lean_ctor_set(x_16, 0, x_37); +return x_16; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_16, 0); +x_39 = lean_ctor_get(x_16, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_16); +x_40 = lean_array_get_size(x_38); +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_nat_dec_lt(x_41, x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_40); +lean_dec(x_38); +lean_dec(x_13); +x_43 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_44 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +x_45 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_43, x_41, x_44); +x_46 = l_Array_reverse___rarg(x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_39); +return x_47; +} +else +{ +uint8_t x_48; +x_48 = lean_nat_dec_le(x_40, x_40); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_40); +lean_dec(x_38); +lean_dec(x_13); +x_49 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_50 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +x_51 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_49, x_41, x_50); +x_52 = l_Array_reverse___rarg(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_39); +return x_53; +} +else +{ +size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_54 = 0; +x_55 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_56 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_57 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3(x_13, x_38, x_54, x_55, x_56); +lean_dec(x_38); +x_58 = lean_array_get_size(x_57); +x_59 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_57, x_41, x_58); +x_60 = l_Array_reverse___rarg(x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_39); +return x_61; +} +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_13); +x_62 = !lean_is_exclusive(x_16); +if (x_62 == 0) +{ +return x_16; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_16, 0); +x_64 = lean_ctor_get(x_16, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_16); +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_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_eraseCore(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_box(0); +x_6 = l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2(x_4, x_2, x_5); +lean_ctor_set(x_1, 1, x_6); +return x_1; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_1); +x_9 = lean_box(0); +x_10 = l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2(x_8, x_2, x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, uint8_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_array_uget(x_2, x_3); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +lean_inc(x_1); +x_11 = l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(x_1, x_5, x_10); +x_3 = x_9; +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, uint8_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_array_uget(x_2, x_3); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +lean_inc(x_1); +x_11 = l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(x_1, x_5, x_10); +x_3 = x_9; +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, uint8_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_box(x_5); +lean_inc(x_1); +x_9 = lean_apply_2(x_1, x_8, x_7); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_3 = x_12; +x_5 = x_10; +goto _start; +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, uint8_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_array_uget(x_2, x_3); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +lean_inc(x_1); +x_11 = l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(x_1, x_5, x_10); +x_3 = x_9; +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_get_size(x_4); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +lean_dec(x_6); +lean_dec(x_4); +x_9 = lean_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_7, x_9); +if (x_10 == 0) +{ +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_11; +x_11 = lean_nat_dec_le(x_9, x_9); +if (x_11 == 0) +{ +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_1); +return x_2; +} +else +{ +size_t x_12; size_t x_13; uint8_t x_14; +x_12 = 0; +x_13 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2(x_1, x_5, x_12, x_13, x_2); +lean_dec(x_5); +return x_14; +} +} +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_6, x_6); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +lean_dec(x_6); +lean_dec(x_4); +x_16 = lean_array_get_size(x_5); +x_17 = lean_nat_dec_lt(x_7, x_16); +if (x_17 == 0) +{ +lean_dec(x_16); +lean_dec(x_5); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_18; +x_18 = lean_nat_dec_le(x_16, x_16); +if (x_18 == 0) +{ +lean_dec(x_16); +lean_dec(x_5); +lean_dec(x_1); +return x_2; +} +else +{ +size_t x_19; size_t x_20; uint8_t x_21; +x_19 = 0; +x_20 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3(x_1, x_5, x_19, x_20, x_2); +lean_dec(x_5); +return x_21; +} +} +} +else +{ +size_t x_22; size_t x_23; uint8_t x_24; lean_object* x_25; uint8_t x_26; +x_22 = 0; +x_23 = lean_usize_of_nat(x_6); +lean_dec(x_6); +lean_inc(x_1); +x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4(x_1, x_4, x_22, x_23, x_2); +lean_dec(x_4); +x_25 = lean_array_get_size(x_5); +x_26 = lean_nat_dec_lt(x_7, x_25); +if (x_26 == 0) +{ +lean_dec(x_25); +lean_dec(x_5); +lean_dec(x_1); +return x_24; +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_25, x_25); +if (x_27 == 0) +{ +lean_dec(x_25); +lean_dec(x_5); +lean_dec(x_1); +return x_24; +} +else +{ +size_t x_28; uint8_t x_29; +x_28 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5(x_1, x_5, x_22, x_28, x_24); +lean_dec(x_5); +return x_29; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_box(x_3); +x_6 = l_Lean_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2___rarg(x_2, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Elab_Tactic_Ext_ExtTheorems_eraseCore(x_2, x_3); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (x_2 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_name_eq(x_4, x_1); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = 1; +return x_6; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +lean_dec(x_3); +x_5 = l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(x_1, x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("' does not have [ext] attribute", 31); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_3); +lean_closure_set(x_5, 2, x_4); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_inc(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2___boxed), 3, 1); +lean_closure_set(x_7, 0, x_4); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3___boxed), 4, 1); +lean_closure_set(x_8, 0, x_7); +x_9 = 0; +x_10 = l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6(x_6, x_8, x_9); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_3); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = l_Lean_MessageData_ofName(x_4); +x_14 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___rarg(x_1, x_2, x_17); +x_19 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_18, x_5); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +lean_dec(x_3); +lean_inc(x_4); +x_21 = l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(x_20, x_4); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_4); +lean_dec(x_2); +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_1, 0); +lean_inc(x_23); +lean_dec(x_1); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_box(0); +x_26 = lean_apply_2(x_24, lean_box(0), x_25); +x_27 = lean_apply_4(x_22, lean_box(0), lean_box(0), x_26, x_5); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_1, 1); +lean_inc(x_28); +x_29 = l_Lean_MessageData_ofName(x_4); +x_30 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4; +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_throwError___rarg(x_1, x_2, x_33); +x_35 = lean_apply_4(x_28, lean_box(0), lean_box(0), x_34, x_5); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__2(x_1, x_2, x_6, x_7, x_8); +lean_dec(x_2); +x_10 = lean_box(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__3(x_1, x_2, x_6, x_7, x_8); +lean_dec(x_2); +x_10 = lean_box(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__4(x_1, x_2, x_6, x_7, x_8); +lean_dec(x_2); +x_10 = lean_box(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__5(x_1, x_2, x_6, x_7, x_8); +lean_dec(x_2); +x_10 = lean_box(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Meta_DiscrTree_Trie_foldValuesM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__1(x_1, x_4, x_3); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_3); +lean_dec(x_3); +x_5 = l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6(x_1, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2(x_1, x_4, x_3); +lean_dec(x_3); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3(x_1, x_5, x_3, x_4); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3(x_2, x_3, x_4, x_8); +lean_dec(x_4); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +x_19 = lean_ctor_get(x_3, 7); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_15); +lean_ctor_set(x_20, 3, x_16); +lean_ctor_set(x_20, 4, x_17); +lean_ctor_set(x_20, 5, x_18); +lean_ctor_set(x_20, 6, x_9); +lean_ctor_set(x_20, 7, x_19); +x_21 = l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3(x_2, x_20, x_4, x_8); +lean_dec(x_4); +return x_21; +} +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_maxRecDepthErrorMessage; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg), 1, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_6, 0); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +lean_free_object(x_6); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_dec(x_5); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_15, x_3, x_16); +lean_dec(x_15); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_20, x_3, x_16); +lean_dec(x_20); +return x_21; +} +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_5, 1); +lean_inc(x_22); +lean_dec(x_5); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_6, 0, x_24); +lean_ctor_set(x_15, 0, x_6); +x_25 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_15, x_3, x_22); +lean_dec(x_15); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +lean_inc(x_26); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_6); +x_28 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_27, x_3, x_22); +lean_dec(x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_6, 0); +lean_inc(x_29); +lean_dec(x_6); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +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_5, 1); +lean_inc(x_31); +lean_dec(x_5); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 1, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_32); +x_35 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_34, x_3, x_31); +lean_dec(x_34); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_36 = lean_ctor_get(x_5, 1); +lean_inc(x_36); +lean_dec(x_5); +x_37 = lean_ctor_get(x_30, 0); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_37); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(1, 1, 0); +} else { + x_40 = x_38; +} +lean_ctor_set(x_40, 0, x_39); +x_41 = l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(x_40, x_3, x_36); +lean_dec(x_40); +return x_41; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_25); +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(x_26); +x_29 = lean_ctor_get(x_2, 2); +lean_inc(x_29); +x_30 = lean_st_ref_get(x_3, x_28); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 4); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_3, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 3); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_environment_main_module(x_8); +x_39 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_27); +lean_ctor_set(x_39, 3, x_29); +lean_ctor_set(x_39, 4, x_33); +lean_ctor_set(x_39, 5, x_24); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_apply_2(x_1, x_39, x_41); +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; lean_object* x_48; uint8_t x_49; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_st_ref_take(x_3, x_36); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_50 = lean_ctor_get(x_47, 3); +lean_dec(x_50); +lean_ctor_set(x_47, 3, x_45); +x_51 = lean_st_ref_set(x_3, x_47, x_48); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_ctor_get(x_44, 1); +lean_inc(x_53); +lean_dec(x_44); +x_54 = l_List_reverse___rarg(x_53); +x_55 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_54, x_2, x_3, x_52); +lean_dec(x_3); +lean_dec(x_2); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_43); +return x_55; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_43); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +else +{ +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; +x_60 = lean_ctor_get(x_47, 0); +x_61 = lean_ctor_get(x_47, 1); +x_62 = lean_ctor_get(x_47, 2); +x_63 = lean_ctor_get(x_47, 4); +x_64 = lean_ctor_get(x_47, 5); +x_65 = lean_ctor_get(x_47, 6); +x_66 = lean_ctor_get(x_47, 7); +x_67 = lean_ctor_get(x_47, 8); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_47); +x_68 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_68, 0, x_60); +lean_ctor_set(x_68, 1, x_61); +lean_ctor_set(x_68, 2, x_62); +lean_ctor_set(x_68, 3, x_45); +lean_ctor_set(x_68, 4, x_63); +lean_ctor_set(x_68, 5, x_64); +lean_ctor_set(x_68, 6, x_65); +lean_ctor_set(x_68, 7, x_66); +lean_ctor_set(x_68, 8, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_48); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_ctor_get(x_44, 1); +lean_inc(x_71); +lean_dec(x_44); +x_72 = l_List_reverse___rarg(x_71); +x_73 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_72, x_2, x_3, x_70); +lean_dec(x_3); +lean_dec(x_2); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_43); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_42, 0); +lean_inc(x_77); +lean_dec(x_42); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_maxRecDepthErrorMessage; +x_81 = lean_string_dec_eq(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_82, 0, x_79); +x_83 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__2(x_78, x_83, x_2, x_3, x_36); +return x_84; +} +else +{ +lean_object* x_85; +lean_dec(x_79); +x_85 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4(x_78, x_2, x_3, x_36); +lean_dec(x_3); +lean_dec(x_2); +return x_85; +} +} +else +{ +lean_object* x_86; +lean_dec(x_3); +lean_dec(x_2); +x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg(x_36); +return x_86; +} +} +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1; +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; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instBEqLocalInstance___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6; +x_2 = lean_alloc_closure((void*)(l_Array_instBEqArray___rarg___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7; +x_2 = l_Lean_Expr_instBEqExpr; +x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instHashableLocalInstance___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9; +x_2 = lean_alloc_closure((void*)(l_instHashableArray___rarg___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10; +x_2 = l_Lean_Expr_instHashableExpr; +x_3 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instBEqExpr; +x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instHashableExpr; +x_2 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15; +x_2 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17() { +_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_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3; +x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5; +x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12; +x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16; +x_5 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_1); +lean_ctor_set(x_5, 4, x_1); +lean_ctor_set(x_5, 5, x_4); +lean_ctor_set(x_5, 6, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6(lean_object* x_1, lean_object* 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) { +_start: +{ +switch (x_3) { +case 0: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_dec(x_6); +x_9 = lean_st_ref_take(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 4); +lean_dec(x_14); +x_15 = l_Lean_ScopedEnvExtension_addEntry___rarg(x_1, x_13, x_2); +x_16 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +lean_ctor_set(x_10, 4, x_16); +lean_ctor_set(x_10, 0, x_15); +x_17 = lean_st_ref_set(x_7, x_10, x_11); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_st_ref_take(x_5, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_20, 1); +lean_dec(x_23); +x_24 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +lean_ctor_set(x_20, 1, x_24); +x_25 = lean_st_ref_set(x_5, x_20, x_21); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = lean_box(0); +lean_ctor_set(x_25, 0, x_28); +return x_25; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = lean_ctor_get(x_20, 0); +x_33 = lean_ctor_get(x_20, 2); +x_34 = lean_ctor_get(x_20, 3); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_20); +x_35 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_33); +lean_ctor_set(x_36, 3, x_34); +x_37 = lean_st_ref_set(x_5, x_36, x_21); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +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_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_42 = lean_ctor_get(x_10, 0); +x_43 = lean_ctor_get(x_10, 1); +x_44 = lean_ctor_get(x_10, 2); +x_45 = lean_ctor_get(x_10, 3); +x_46 = lean_ctor_get(x_10, 5); +x_47 = lean_ctor_get(x_10, 6); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_10); +x_48 = l_Lean_ScopedEnvExtension_addEntry___rarg(x_1, x_42, x_2); +x_49 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +x_50 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_43); +lean_ctor_set(x_50, 2, x_44); +lean_ctor_set(x_50, 3, x_45); +lean_ctor_set(x_50, 4, x_49); +lean_ctor_set(x_50, 5, x_46); +lean_ctor_set(x_50, 6, x_47); +x_51 = lean_st_ref_set(x_7, x_50, x_11); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_5, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_ctor_get(x_54, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 2); +lean_inc(x_57); +x_58 = lean_ctor_get(x_54, 3); +lean_inc(x_58); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + lean_ctor_release(x_54, 2); + lean_ctor_release(x_54, 3); + x_59 = x_54; +} else { + lean_dec_ref(x_54); + x_59 = lean_box(0); +} +x_60 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 4, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_57); +lean_ctor_set(x_61, 3, x_58); +x_62 = lean_st_ref_set(x_5, x_61, x_55); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +x_65 = lean_box(0); +if (lean_is_scalar(x_64)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_64; +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_63); +return x_66; +} +} +case 1: +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_6); +x_67 = lean_st_ref_take(x_7, x_8); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_71 = lean_ctor_get(x_68, 0); +x_72 = lean_ctor_get(x_68, 4); +lean_dec(x_72); +x_73 = l_Lean_ScopedEnvExtension_addLocalEntry___rarg(x_1, x_71, x_2); +x_74 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +lean_ctor_set(x_68, 4, x_74); +lean_ctor_set(x_68, 0, x_73); +x_75 = lean_st_ref_set(x_7, x_68, x_69); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_take(x_5, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_81 = lean_ctor_get(x_78, 1); +lean_dec(x_81); +x_82 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +lean_ctor_set(x_78, 1, x_82); +x_83 = lean_st_ref_set(x_5, x_78, x_79); +x_84 = !lean_is_exclusive(x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_83, 0); +lean_dec(x_85); +x_86 = lean_box(0); +lean_ctor_set(x_83, 0, x_86); +return x_83; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_83, 1); +lean_inc(x_87); +lean_dec(x_83); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +else +{ +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; +x_90 = lean_ctor_get(x_78, 0); +x_91 = lean_ctor_get(x_78, 2); +x_92 = lean_ctor_get(x_78, 3); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_78); +x_93 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_94, 0, x_90); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_92); +x_95 = lean_st_ref_set(x_5, x_94, x_79); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +x_98 = lean_box(0); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +} +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; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_100 = lean_ctor_get(x_68, 0); +x_101 = lean_ctor_get(x_68, 1); +x_102 = lean_ctor_get(x_68, 2); +x_103 = lean_ctor_get(x_68, 3); +x_104 = lean_ctor_get(x_68, 5); +x_105 = lean_ctor_get(x_68, 6); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_68); +x_106 = l_Lean_ScopedEnvExtension_addLocalEntry___rarg(x_1, x_100, x_2); +x_107 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +x_108 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_101); +lean_ctor_set(x_108, 2, x_102); +lean_ctor_set(x_108, 3, x_103); +lean_ctor_set(x_108, 4, x_107); +lean_ctor_set(x_108, 5, x_104); +lean_ctor_set(x_108, 6, x_105); +x_109 = lean_st_ref_set(x_7, x_108, x_69); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_111 = lean_st_ref_take(x_5, x_110); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_112, 2); +lean_inc(x_115); +x_116 = lean_ctor_get(x_112, 3); +lean_inc(x_116); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + lean_ctor_release(x_112, 2); + lean_ctor_release(x_112, 3); + x_117 = x_112; +} else { + lean_dec_ref(x_112); + x_117 = lean_box(0); +} +x_118 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 4, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_114); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_115); +lean_ctor_set(x_119, 3, x_116); +x_120 = lean_st_ref_set(x_5, x_119, x_113); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +x_123 = lean_box(0); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_122; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_121); +return x_124; +} +} +default: +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_125 = lean_ctor_get(x_6, 6); +lean_inc(x_125); +lean_dec(x_6); +x_126 = lean_st_ref_take(x_7, x_8); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = !lean_is_exclusive(x_127); +if (x_129 == 0) +{ +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; uint8_t x_139; +x_130 = lean_ctor_get(x_127, 0); +x_131 = lean_ctor_get(x_127, 4); +lean_dec(x_131); +x_132 = l_Lean_ScopedEnvExtension_addScopedEntry___rarg(x_1, x_130, x_125, x_2); +x_133 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +lean_ctor_set(x_127, 4, x_133); +lean_ctor_set(x_127, 0, x_132); +x_134 = lean_st_ref_set(x_7, x_127, x_128); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_136 = lean_st_ref_take(x_5, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = !lean_is_exclusive(x_137); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_140 = lean_ctor_get(x_137, 1); +lean_dec(x_140); +x_141 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +lean_ctor_set(x_137, 1, x_141); +x_142 = lean_st_ref_set(x_5, x_137, x_138); +x_143 = !lean_is_exclusive(x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_142, 0); +lean_dec(x_144); +x_145 = lean_box(0); +lean_ctor_set(x_142, 0, x_145); +return x_142; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_142, 1); +lean_inc(x_146); +lean_dec(x_142); +x_147 = lean_box(0); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +return x_148; +} +} +else +{ +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; +x_149 = lean_ctor_get(x_137, 0); +x_150 = lean_ctor_get(x_137, 2); +x_151 = lean_ctor_get(x_137, 3); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_137); +x_152 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +x_153 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_150); +lean_ctor_set(x_153, 3, x_151); +x_154 = lean_st_ref_set(x_5, x_153, x_138); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +x_157 = lean_box(0); +if (lean_is_scalar(x_156)) { + x_158 = lean_alloc_ctor(0, 2, 0); +} else { + x_158 = x_156; +} +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_155); +return x_158; +} +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_159 = lean_ctor_get(x_127, 0); +x_160 = lean_ctor_get(x_127, 1); +x_161 = lean_ctor_get(x_127, 2); +x_162 = lean_ctor_get(x_127, 3); +x_163 = lean_ctor_get(x_127, 5); +x_164 = lean_ctor_get(x_127, 6); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_127); +x_165 = l_Lean_ScopedEnvExtension_addScopedEntry___rarg(x_1, x_159, x_125, x_2); +x_166 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +x_167 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_160); +lean_ctor_set(x_167, 2, x_161); +lean_ctor_set(x_167, 3, x_162); +lean_ctor_set(x_167, 4, x_166); +lean_ctor_set(x_167, 5, x_163); +lean_ctor_set(x_167, 6, x_164); +x_168 = lean_st_ref_set(x_7, x_167, x_128); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec(x_168); +x_170 = lean_st_ref_take(x_5, x_169); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = lean_ctor_get(x_171, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_171, 2); +lean_inc(x_174); +x_175 = lean_ctor_get(x_171, 3); +lean_inc(x_175); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + lean_ctor_release(x_171, 2); + lean_ctor_release(x_171, 3); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); +} +x_177 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 4, 0); +} else { + x_178 = x_176; +} +lean_ctor_set(x_178, 0, x_173); +lean_ctor_set(x_178, 1, x_177); +lean_ctor_set(x_178, 2, x_174); +lean_ctor_set(x_178, 3, x_175); +x_179 = lean_st_ref_set(x_5, x_178, x_172); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_181 = x_179; +} else { + lean_dec_ref(x_179); + x_181 = lean_box(0); +} +x_182 = lean_box(0); +if (lean_is_scalar(x_181)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_181; +} +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_180); +return x_183; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_5, 5); +x_10 = l_Lean_replaceRef(x_1, x_9); +lean_dec(x_9); +lean_ctor_set(x_5, 5, x_10); +x_11 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +x_14 = lean_ctor_get(x_5, 2); +x_15 = lean_ctor_get(x_5, 3); +x_16 = lean_ctor_get(x_5, 4); +x_17 = lean_ctor_get(x_5, 5); +x_18 = lean_ctor_get(x_5, 6); +x_19 = lean_ctor_get(x_5, 7); +x_20 = lean_ctor_get(x_5, 8); +x_21 = lean_ctor_get(x_5, 9); +x_22 = lean_ctor_get(x_5, 10); +x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_5); +x_24 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_25 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_13); +lean_ctor_set(x_25, 2, x_14); +lean_ctor_set(x_25, 3, x_15); +lean_ctor_set(x_25, 4, x_16); +lean_ctor_set(x_25, 5, x_24); +lean_ctor_set(x_25, 6, x_18); +lean_ctor_set(x_25, 7, x_19); +lean_ctor_set(x_25, 8, x_20); +lean_ctor_set(x_25, 9, x_21); +lean_ctor_set(x_25, 10, x_22); +lean_ctor_set_uint8(x_25, sizeof(void*)*11, x_23); +x_26 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_2, x_3, x_4, x_25, x_6, x_7); +lean_dec(x_25); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_Elab_Tactic_Ext_ExtTheorems_eraseCore(x_1, x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_inc(x_2); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__2___boxed), 3, 1); +lean_closure_set(x_7, 0, x_2); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___lambda__3___boxed), 4, 1); +lean_closure_set(x_8, 0, x_7); +x_9 = 0; +x_10 = l_Lean_PersistentHashMap_foldlM___at_Lean_Elab_Tactic_Ext_ExtTheorems_erase___spec__6(x_6, x_8, x_9); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +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; uint8_t x_18; +lean_dec(x_1); +x_12 = l_Lean_MessageData_ofName(x_2); +x_13 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +x_14 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_16, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_inc(x_2); +x_23 = l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(x_22, x_2); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1(x_1, x_2, x_24, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_1); +x_26 = l_Lean_MessageData_ofName(x_2); +x_27 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +x_28 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4; +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_30, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_31); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 5); +lean_inc(x_4); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_1, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("prioDefault", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("default", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3; +lean_inc(x_1); +x_5 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2; +x_7 = l_Lean_Syntax_node1(x_1, x_6, 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_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = l_Lean_evalPrio(x_2, x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = l_Lean_evalPrio(x_6, x_3, x_4); +return x_7; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_read___at_Lean_Macro_instMonadRefMacroM___spec__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_5); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_6, 5); +lean_inc(x_16); +x_17 = !lean_is_exclusive(x_11); +if (x_17 == 0) +{ +uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = 2; +lean_ctor_set_uint8(x_11, 9, x_18); +x_19 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_19, 0, x_11); +lean_ctor_set(x_19, 1, x_12); +lean_ctor_set(x_19, 2, x_13); +lean_ctor_set(x_19, 3, x_14); +lean_ctor_set(x_19, 4, x_15); +lean_ctor_set(x_19, 5, x_16); +x_20 = l_Lean_Elab_Tactic_Ext_extExt_config; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = l_Lean_Meta_DiscrTree_mkPath(x_1, x_20, x_19, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__4), 4, 1); +lean_closure_set(x_24, 0, x_2); +x_25 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7; +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_26, 0, x_25); +lean_closure_set(x_26, 1, x_24); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1), 4, 1); +lean_closure_set(x_27, 0, x_26); +x_28 = l_Lean_liftCommandElabM___rarg(x_27, x_8, x_9, x_23); +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; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_3); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_22); +x_32 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +x_33 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6(x_32, x_31, x_4, x_6, x_7, x_8, x_9, x_30); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_33; +} +else +{ +uint8_t x_34; +lean_dec(x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) +{ +return x_28; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_28); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_38 = !lean_is_exclusive(x_21); +if (x_38 == 0) +{ +return x_21; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_21, 0); +x_40 = lean_ctor_get(x_21, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_21); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_42 = lean_ctor_get_uint8(x_11, 0); +x_43 = lean_ctor_get_uint8(x_11, 1); +x_44 = lean_ctor_get_uint8(x_11, 2); +x_45 = lean_ctor_get_uint8(x_11, 3); +x_46 = lean_ctor_get_uint8(x_11, 4); +x_47 = lean_ctor_get_uint8(x_11, 5); +x_48 = lean_ctor_get_uint8(x_11, 6); +x_49 = lean_ctor_get_uint8(x_11, 7); +x_50 = lean_ctor_get_uint8(x_11, 8); +x_51 = lean_ctor_get_uint8(x_11, 10); +x_52 = lean_ctor_get_uint8(x_11, 11); +lean_dec(x_11); +x_53 = 2; +x_54 = lean_alloc_ctor(0, 0, 12); +lean_ctor_set_uint8(x_54, 0, x_42); +lean_ctor_set_uint8(x_54, 1, x_43); +lean_ctor_set_uint8(x_54, 2, x_44); +lean_ctor_set_uint8(x_54, 3, x_45); +lean_ctor_set_uint8(x_54, 4, x_46); +lean_ctor_set_uint8(x_54, 5, x_47); +lean_ctor_set_uint8(x_54, 6, x_48); +lean_ctor_set_uint8(x_54, 7, x_49); +lean_ctor_set_uint8(x_54, 8, x_50); +lean_ctor_set_uint8(x_54, 9, x_53); +lean_ctor_set_uint8(x_54, 10, x_51); +lean_ctor_set_uint8(x_54, 11, x_52); +x_55 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_12); +lean_ctor_set(x_55, 2, x_13); +lean_ctor_set(x_55, 3, x_14); +lean_ctor_set(x_55, 4, x_15); +lean_ctor_set(x_55, 5, x_16); +x_56 = l_Lean_Elab_Tactic_Ext_extExt_config; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_57 = l_Lean_Meta_DiscrTree_mkPath(x_1, x_56, x_55, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_57) == 0) +{ +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_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__4), 4, 1); +lean_closure_set(x_60, 0, x_2); +x_61 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7; +x_62 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_62, 0, x_61); +lean_closure_set(x_62, 1, x_60); +x_63 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1), 4, 1); +lean_closure_set(x_63, 0, x_62); +x_64 = l_Lean_liftCommandElabM___rarg(x_63, x_8, x_9, x_59); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_67, 0, x_3); +lean_ctor_set(x_67, 1, x_65); +lean_ctor_set(x_67, 2, x_58); +x_68 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +x_69 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6(x_68, x_67, x_4, x_6, x_7, x_8, x_9, x_66); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_58); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_70 = lean_ctor_get(x_64, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_64, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_72 = x_64; +} else { + lean_dec_ref(x_64); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(1, 2, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_71); +return x_73; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_74 = lean_ctor_get(x_57, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_57, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_76 = x_57; +} else { + lean_dec_ref(x_57); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("@[ext] attribute only applies to structures or theorems proving x = y, got ", 75); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Eq", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6(lean_object* x_1, lean_object* 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) { +_start: +{ +lean_object* x_10; +lean_dec(x_4); +lean_inc(x_1); +x_10 = l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_ConstantInfo_type(x_11); +lean_dec(x_11); +x_14 = lean_box(0); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_5, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_5, 3); +lean_inc(x_18); +x_19 = lean_ctor_get(x_5, 4); +lean_inc(x_19); +x_20 = lean_ctor_get(x_5, 5); +lean_inc(x_20); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +uint8_t x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; +x_22 = 1; +lean_ctor_set_uint8(x_15, 9, x_22); +x_23 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_16); +lean_ctor_set(x_23, 2, x_17); +lean_ctor_set(x_23, 3, x_18); +lean_ctor_set(x_23, 4, x_19); +lean_ctor_set(x_23, 5, x_20); +x_24 = 1; +x_25 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_26 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_13, x_24, x_14, x_25, x_23, x_6, x_7, x_8, x_12); +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; 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; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_30); +x_31 = l_Lean_MessageData_ofExpr(x_30); +x_32 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2; +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6; +x_37 = lean_unsigned_to_nat(3u); +x_38 = l_Lean_Expr_isAppOfArity(x_30, x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_30); +lean_dec(x_2); +lean_dec(x_1); +x_39 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_35, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_40 = l_Lean_Expr_appFn_x21(x_30); +x_41 = l_Lean_Expr_appFn_x21(x_40); +x_42 = l_Lean_Expr_appArg_x21(x_41); +lean_dec(x_41); +x_43 = l_Lean_Expr_appArg_x21(x_40); +lean_dec(x_40); +x_44 = l_Lean_Expr_appArg_x21(x_30); +lean_dec(x_30); +x_45 = l_Lean_Expr_isMVar(x_43); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +lean_dec(x_44); +lean_dec(x_42); +lean_dec(x_2); +lean_dec(x_1); +x_46 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_35, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +return x_46; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_46, 0); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_46); +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; +x_51 = l_Lean_Expr_isMVar(x_44); +lean_dec(x_44); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +lean_dec(x_42); +lean_dec(x_2); +lean_dec(x_1); +x_52 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_35, x_5, x_6, x_7, x_8, x_29); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +return x_52; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_52, 0); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_52); +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 +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_35); +x_57 = lean_box(0); +x_58 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5(x_42, x_2, x_1, x_3, x_57, x_5, x_6, x_7, x_8, x_29); +return x_58; +} +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_26); +if (x_59 == 0) +{ +return x_26; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_26, 0); +x_61 = lean_ctor_get(x_26, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_26); +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; uint8_t x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; lean_object* x_79; +x_63 = lean_ctor_get_uint8(x_15, 0); +x_64 = lean_ctor_get_uint8(x_15, 1); +x_65 = lean_ctor_get_uint8(x_15, 2); +x_66 = lean_ctor_get_uint8(x_15, 3); +x_67 = lean_ctor_get_uint8(x_15, 4); +x_68 = lean_ctor_get_uint8(x_15, 5); +x_69 = lean_ctor_get_uint8(x_15, 6); +x_70 = lean_ctor_get_uint8(x_15, 7); +x_71 = lean_ctor_get_uint8(x_15, 8); +x_72 = lean_ctor_get_uint8(x_15, 10); +x_73 = lean_ctor_get_uint8(x_15, 11); +lean_dec(x_15); +x_74 = 1; +x_75 = lean_alloc_ctor(0, 0, 12); +lean_ctor_set_uint8(x_75, 0, x_63); +lean_ctor_set_uint8(x_75, 1, x_64); +lean_ctor_set_uint8(x_75, 2, x_65); +lean_ctor_set_uint8(x_75, 3, x_66); +lean_ctor_set_uint8(x_75, 4, x_67); +lean_ctor_set_uint8(x_75, 5, x_68); +lean_ctor_set_uint8(x_75, 6, x_69); +lean_ctor_set_uint8(x_75, 7, x_70); +lean_ctor_set_uint8(x_75, 8, x_71); +lean_ctor_set_uint8(x_75, 9, x_74); +lean_ctor_set_uint8(x_75, 10, x_72); +lean_ctor_set_uint8(x_75, 11, x_73); +x_76 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_16); +lean_ctor_set(x_76, 2, x_17); +lean_ctor_set(x_76, 3, x_18); +lean_ctor_set(x_76, 4, x_19); +lean_ctor_set(x_76, 5, x_20); +x_77 = 1; +x_78 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_79 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_13, x_77, x_14, x_78, x_76, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_ctor_get(x_79, 1); +lean_inc(x_82); +lean_dec(x_79); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +lean_inc(x_83); +x_84 = l_Lean_MessageData_ofExpr(x_83); +x_85 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2; +x_86 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6; +x_90 = lean_unsigned_to_nat(3u); +x_91 = l_Lean_Expr_isAppOfArity(x_83, x_89, x_90); +if (x_91 == 0) +{ +lean_object* x_92; +lean_dec(x_83); +lean_dec(x_2); +lean_dec(x_1); +x_92 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_88, x_5, x_6, x_7, x_8, x_82); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_93 = l_Lean_Expr_appFn_x21(x_83); +x_94 = l_Lean_Expr_appFn_x21(x_93); +x_95 = l_Lean_Expr_appArg_x21(x_94); +lean_dec(x_94); +x_96 = l_Lean_Expr_appArg_x21(x_93); +lean_dec(x_93); +x_97 = l_Lean_Expr_appArg_x21(x_83); +lean_dec(x_83); +x_98 = l_Lean_Expr_isMVar(x_96); +lean_dec(x_96); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_97); +lean_dec(x_95); +lean_dec(x_2); +lean_dec(x_1); +x_99 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_88, x_5, x_6, x_7, x_8, x_82); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_102 = x_99; +} else { + lean_dec_ref(x_99); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +else +{ +uint8_t x_104; +x_104 = l_Lean_Expr_isMVar(x_97); +lean_dec(x_97); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_95); +lean_dec(x_2); +lean_dec(x_1); +x_105 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_88, x_5, x_6, x_7, x_8, x_82); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +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); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(1, 2, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_107); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_88); +x_110 = lean_box(0); +x_111 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5(x_95, x_2, x_1, x_3, x_110, x_5, x_6, x_7, x_8, x_82); +return x_111; +} +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_112 = lean_ctor_get(x_79, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_79, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_114 = x_79; +} else { + lean_dec_ref(x_79); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +} +else +{ +uint8_t x_116; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_116 = !lean_is_exclusive(x_10); +if (x_116 == 0) +{ +return x_10; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_10, 0); +x_118 = lean_ctor_get(x_10, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_10); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = 1; +x_4 = 0; +x_5 = lean_alloc_ctor(0, 0, 12); +lean_ctor_set_uint8(x_5, 0, x_1); +lean_ctor_set_uint8(x_5, 1, x_1); +lean_ctor_set_uint8(x_5, 2, x_1); +lean_ctor_set_uint8(x_5, 3, x_1); +lean_ctor_set_uint8(x_5, 4, x_1); +lean_ctor_set_uint8(x_5, 5, x_2); +lean_ctor_set_uint8(x_5, 6, x_2); +lean_ctor_set_uint8(x_5, 7, x_1); +lean_ctor_set_uint8(x_5, 8, x_2); +lean_ctor_set_uint8(x_5, 9, x_3); +lean_ctor_set_uint8(x_5, 10, x_1); +lean_ctor_set_uint8(x_5, 11, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_4); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__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 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6; +x_4 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 3, x_1); +lean_ctor_set(x_6, 4, x_5); +lean_ctor_set(x_6, 5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___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 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9; +x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1; +x_5 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set(x_5, 4, x_3); +lean_ctor_set(x_5, 5, x_4); +lean_ctor_set(x_5, 6, x_2); +lean_ctor_set(x_5, 7, x_3); +lean_ctor_set(x_5, 8, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__10; +x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unexpected 'flat' config on @[ext] theorem", 42); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declareExtTheoremFor", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declare_ext_theorems_for", 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("flat", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":=", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7(lean_object* x_1, lean_object* 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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(2u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_getOptional_x3f(x_10); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_101; +x_101 = lean_box(0); +x_13 = x_101; +goto block_100; +} +else +{ +uint8_t x_102; +x_102 = !lean_is_exclusive(x_11); +if (x_102 == 0) +{ +x_13 = x_11; +goto block_100; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_11, 0); +lean_inc(x_103); +lean_dec(x_11); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_13 = x_104; +goto block_100; +} +} +block_100: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_2); +x_17 = l_Lean_isStructure(x_16, x_2); +if (x_17 == 0) +{ +lean_dec(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11; +x_19 = lean_st_mk_ref(x_18, x_15); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7; +lean_inc(x_20); +x_24 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6(x_2, x_13, x_3, x_22, x_23, x_20, x_6, x_7, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_st_ref_get(x_20, x_26); +lean_dec(x_20); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_25); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_20); +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) +{ +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_24); +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; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_dec(x_13); +lean_dec(x_2); +x_36 = lean_ctor_get(x_5, 0); +lean_inc(x_36); +lean_dec(x_5); +x_37 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11; +x_38 = lean_st_mk_ref(x_37, x_15); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13; +x_42 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7; +x_43 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7(x_36, x_41, x_42, x_39, x_6, x_7, x_40); +lean_dec(x_7); +lean_dec(x_39); +lean_dec(x_36); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +return x_43; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_43); +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; 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_6, 5); +lean_inc(x_48); +x_49 = 0; +x_50 = l_Lean_SourceInfo_fromRef(x_48, x_49); +x_51 = lean_st_ref_get(x_7, x_15); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16; +lean_inc(x_50); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_50); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_mkCIdentFrom(x_1, x_2, x_49); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18; +x_57 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19; +lean_inc(x_50); +x_58 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_58, 0, x_50); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_57); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15; +lean_inc(x_58); +x_60 = l_Lean_Syntax_node4(x_50, x_59, x_54, x_58, x_55, x_58); +x_61 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_61, 0, x_60); +x_62 = l_Lean_liftCommandElabM___rarg(x_61, x_6, x_7, x_52); +lean_dec(x_7); +lean_dec(x_6); +return x_62; +} +else +{ +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; +x_63 = lean_ctor_get(x_13, 0); +lean_inc(x_63); +lean_dec(x_13); +x_64 = l_Array_mkArray1___rarg(x_63); +x_65 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_66 = l_Array_append___rarg(x_65, x_64); +lean_inc(x_50); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_50); +lean_ctor_set(x_67, 1, x_56); +lean_ctor_set(x_67, 2, x_66); +x_68 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15; +x_69 = l_Lean_Syntax_node4(x_50, x_68, x_54, x_58, x_55, x_67); +x_70 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_70, 0, x_69); +x_71 = l_Lean_liftCommandElabM___rarg(x_70, x_6, x_7, x_52); +lean_dec(x_7); +lean_dec(x_6); +return x_71; +} +} +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; lean_object* x_84; lean_object* x_85; +x_72 = lean_ctor_get(x_5, 0); +lean_inc(x_72); +lean_dec(x_5); +x_73 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20; +lean_inc(x_50); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_50); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21; +lean_inc(x_50); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_50); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22; +lean_inc(x_50); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_50); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23; +lean_inc(x_50); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_50); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Array_mkArray5___rarg(x_74, x_76, x_78, x_72, x_80); +x_82 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_83 = l_Array_append___rarg(x_82, x_81); +x_84 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18; +lean_inc(x_50); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_50); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_83); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_86 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19; +lean_inc(x_50); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_50); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_86); +x_88 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15; +x_89 = l_Lean_Syntax_node4(x_50, x_88, x_54, x_85, x_55, x_87); +x_90 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_90, 0, x_89); +x_91 = l_Lean_liftCommandElabM___rarg(x_90, x_6, x_7, x_52); +lean_dec(x_7); +lean_dec(x_6); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_92 = lean_ctor_get(x_13, 0); +lean_inc(x_92); +lean_dec(x_13); +x_93 = l_Array_mkArray1___rarg(x_92); +x_94 = l_Array_append___rarg(x_82, x_93); +lean_inc(x_50); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_50); +lean_ctor_set(x_95, 1, x_84); +lean_ctor_set(x_95, 2, x_94); +x_96 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15; +x_97 = l_Lean_Syntax_node4(x_50, x_96, x_54, x_85, x_55, x_95); +x_98 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_98, 0, x_97); +x_99 = l_Lean_liftCommandElabM___rarg(x_98, x_6, x_7, x_52); +lean_dec(x_7); +lean_dec(x_6); +return x_99; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Parser", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Attr", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ext", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unexpected @[ext] attribute ", 28); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4; +lean_inc(x_2); +x_8 = l_Lean_Syntax_isOfKind(x_2, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_9 = l_Lean_MessageData_ofSyntax(x_2); +x_10 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6; +x_11 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_13, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_2, x_15); +x_17 = l_Lean_Syntax_isNone(x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_unsigned_to_nat(5u); +lean_inc(x_16); +x_19 = l_Lean_Syntax_matchesNull(x_16, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_16); +lean_dec(x_1); +x_20 = l_Lean_MessageData_ofSyntax(x_2); +x_21 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_24, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_16, x_26); +lean_dec(x_16); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7(x_2, x_1, x_3, x_29, x_28, x_4, x_5, x_6); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_16); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7(x_2, x_1, x_3, x_32, x_31, x_4, x_5, x_6); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems; +x_10 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +x_11 = l_Lean_ScopedEnvExtension_getState___rarg(x_9, x_10, x_8); +lean_dec(x_8); +lean_inc(x_3); +x_12 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8(x_11, x_1, x_2, x_3, x_7); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_st_ref_take(x_3, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 4); +lean_dec(x_20); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9___boxed), 2, 1); +lean_closure_set(x_21, 0, x_13); +x_22 = l_Lean_ScopedEnvExtension_modifyState___rarg(x_10, x_19, x_21); +x_23 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +lean_ctor_set(x_16, 4, x_23); +lean_ctor_set(x_16, 0, x_22); +x_24 = lean_st_ref_set(x_3, x_16, x_17); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +x_27 = lean_box(0); +lean_ctor_set(x_24, 0, x_27); +return x_24; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_dec(x_24); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +x_33 = lean_ctor_get(x_16, 2); +x_34 = lean_ctor_get(x_16, 3); +x_35 = lean_ctor_get(x_16, 5); +x_36 = lean_ctor_get(x_16, 6); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9___boxed), 2, 1); +lean_closure_set(x_37, 0, x_13); +x_38 = l_Lean_ScopedEnvExtension_modifyState___rarg(x_10, x_31, x_37); +x_39 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2; +x_40 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_32); +lean_ctor_set(x_40, 2, x_33); +lean_ctor_set(x_40, 3, x_34); +lean_ctor_set(x_40, 4, x_39); +lean_ctor_set(x_40, 5, x_35); +lean_ctor_set(x_40, 6, x_36); +x_41 = lean_st_ref_set(x_3, x_40, x_17); +lean_dec(x_3); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +x_44 = lean_box(0); +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_43; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_3); +x_46 = !lean_is_exclusive(x_12); +if (x_46 == 0) +{ +return x_12; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_12, 0); +x_48 = lean_ctor_get(x_12, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_12); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("initFn", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_@", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_hyg", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14; +x_2 = lean_unsigned_to_nat(610u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Marks a theorem as an extensionality theorem", 44); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17; +x_4 = 0; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__10), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21; +x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__2(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_4); +lean_dec(x_4); +x_12 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_3); +lean_dec(x_3); +x_8 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__9(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = l_Lean_Expr_fvarId_x21(x_5); +x_9 = 1; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_2, x_12); +x_14 = lean_array_uset(x_7, x_2, x_11); +x_2 = x_13; +x_3 = x_14; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_5, x_4); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_22; +x_14 = lean_array_uget(x_3, x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_14); +lean_inc(x_1); +x_22 = l_Lean_Meta_mkProjection(x_1, x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_14); +lean_inc(x_2); +x_25 = l_Lean_Meta_mkProjection(x_2, x_14, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_23); +x_28 = l_Lean_Meta_isProof(x_23, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_23); +x_32 = lean_infer_type(x_23, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_26); +x_35 = lean_infer_type(x_26, x_7, x_8, x_9, x_10, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_38 = l_Lean_Meta_isExprDefEq(x_33, x_36, x_7, x_8, x_9, x_10, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_unbox(x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_42 = l_Lean_Meta_mkHEq(x_23, x_26, x_7, x_8, x_9, x_10, x_41); +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); +lean_dec(x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_array_push(x_6, x_45); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_15 = x_47; +x_16 = x_44; +goto block_21; +} +else +{ +uint8_t x_48; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +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; lean_object* x_53; +x_52 = lean_ctor_get(x_38, 1); +lean_inc(x_52); +lean_dec(x_38); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_53 = l_Lean_Meta_mkEq(x_23, x_26, x_7, x_8, x_9, x_10, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_14); +lean_ctor_set(x_56, 1, x_54); +x_57 = lean_array_push(x_6, x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_15 = x_58; +x_16 = x_55; +goto block_21; +} +else +{ +uint8_t x_59; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_53); +if (x_59 == 0) +{ +return x_53; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_53, 0); +x_61 = lean_ctor_get(x_53, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_53); +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_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_38); +if (x_63 == 0) +{ +return x_38; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_38, 0); +x_65 = lean_ctor_get(x_38, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_38); +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; +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_35); +if (x_67 == 0) +{ +return x_35; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_35, 0); +x_69 = lean_ctor_get(x_35, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_35); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_32); +if (x_71 == 0) +{ +return x_32; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_32, 0); +x_73 = lean_ctor_get(x_32, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_32); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +x_75 = lean_ctor_get(x_28, 1); +lean_inc(x_75); +lean_dec(x_28); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_6); +x_15 = x_76; +x_16 = x_75; +goto block_21; +} +} +else +{ +uint8_t x_77; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_77 = !lean_is_exclusive(x_28); +if (x_77 == 0) +{ +return x_28; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_28, 0); +x_79 = lean_ctor_get(x_28, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_28); +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; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_25); +if (x_81 == 0) +{ +return x_25; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_25, 0); +x_83 = lean_ctor_get(x_25, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_25); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_22); +if (x_85 == 0) +{ +return x_22; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_22, 0); +x_87 = lean_ctor_get(x_22, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_22); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +block_21: +{ +lean_object* x_17; size_t x_18; size_t x_19; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_5, x_18); +x_5 = x_19; +x_6 = x_17; +x_11 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_5, x_4); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_22; +x_14 = lean_array_uget(x_3, x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_14); +lean_inc(x_1); +x_22 = l_Lean_Meta_mkProjection(x_1, x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_14); +lean_inc(x_2); +x_25 = l_Lean_Meta_mkProjection(x_2, x_14, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_23); +x_28 = l_Lean_Meta_isProof(x_23, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_23); +x_32 = lean_infer_type(x_23, x_7, x_8, x_9, x_10, x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_26); +x_35 = lean_infer_type(x_26, x_7, x_8, x_9, x_10, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_38 = l_Lean_Meta_isExprDefEq(x_33, x_36, x_7, x_8, x_9, x_10, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_unbox(x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_42 = l_Lean_Meta_mkHEq(x_23, x_26, x_7, x_8, x_9, x_10, x_41); +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); +lean_dec(x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_array_push(x_6, x_45); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_15 = x_47; +x_16 = x_44; +goto block_21; +} +else +{ +uint8_t x_48; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +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; lean_object* x_53; +x_52 = lean_ctor_get(x_38, 1); +lean_inc(x_52); +lean_dec(x_38); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_53 = l_Lean_Meta_mkEq(x_23, x_26, x_7, x_8, x_9, x_10, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_14); +lean_ctor_set(x_56, 1, x_54); +x_57 = lean_array_push(x_6, x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_15 = x_58; +x_16 = x_55; +goto block_21; +} +else +{ +uint8_t x_59; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_53); +if (x_59 == 0) +{ +return x_53; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_53, 0); +x_61 = lean_ctor_get(x_53, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_53); +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_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_38); +if (x_63 == 0) +{ +return x_38; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_38, 0); +x_65 = lean_ctor_get(x_38, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_38); +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; +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_33); +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_35); +if (x_67 == 0) +{ +return x_35; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_35, 0); +x_69 = lean_ctor_get(x_35, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_35); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_32); +if (x_71 == 0) +{ +return x_32; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_32, 0); +x_73 = lean_ctor_get(x_32, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_32); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +x_75 = lean_ctor_get(x_28, 1); +lean_inc(x_75); +lean_dec(x_28); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_6); +x_15 = x_76; +x_16 = x_75; +goto block_21; +} +} +else +{ +uint8_t x_77; +lean_dec(x_26); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_77 = !lean_is_exclusive(x_28); +if (x_77 == 0) +{ +return x_28; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_28, 0); +x_79 = lean_ctor_get(x_28, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_28); +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; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_81 = !lean_is_exclusive(x_25); +if (x_81 == 0) +{ +return x_25; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_25, 0); +x_83 = lean_ctor_get(x_25, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_25); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_22); +if (x_85 == 0) +{ +return x_22; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_22, 0); +x_87 = lean_ctor_get(x_22, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_22); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +block_21: +{ +lean_object* x_17; size_t x_18; size_t x_19; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_5, x_18); +x_5 = x_19; +x_6 = x_17; +x_11 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_5, 5); +x_10 = l_Lean_replaceRef(x_1, x_9); +lean_dec(x_9); +lean_ctor_set(x_5, 5, x_10); +x_11 = l_Lean_throwError___at_Lean_MVarId_refl___spec__3(x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +x_14 = lean_ctor_get(x_5, 2); +x_15 = lean_ctor_get(x_5, 3); +x_16 = lean_ctor_get(x_5, 4); +x_17 = lean_ctor_get(x_5, 5); +x_18 = lean_ctor_get(x_5, 6); +x_19 = lean_ctor_get(x_5, 7); +x_20 = lean_ctor_get(x_5, 8); +x_21 = lean_ctor_get(x_5, 9); +x_22 = lean_ctor_get(x_5, 10); +x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_5); +x_24 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_25 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_13); +lean_ctor_set(x_25, 2, x_14); +lean_ctor_set(x_25, 3, x_15); +lean_ctor_set(x_25, 4, x_16); +lean_ctor_set(x_25, 5, x_24); +lean_ctor_set(x_25, 6, x_18); +lean_ctor_set(x_25, 7, x_19); +lean_ctor_set(x_25, 8, x_20); +lean_ctor_set(x_25, 9, x_21); +lean_ctor_set(x_25, 10, x_22); +lean_ctor_set_uint8(x_25, sizeof(void*)*11, x_23); +x_26 = l_Lean_throwError___at_Lean_MVarId_refl___spec__3(x_2, x_3, x_4, x_25, x_6, x_7); +lean_dec(x_25); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_st_ref_get(x_11, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_get(x_11, x_15); +if (x_1 == 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; lean_object* x_25; +lean_dec(x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_getStructureFields(x_20, x_2); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__2(x_3, x_7, x_21, x_23, x_4, x_24, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_21); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_apply_9(x_5, x_6, x_3, x_7, x_26, x_8, x_9, x_10, x_11, x_27); +return x_28; +} +else +{ +uint8_t x_29; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_29 = !lean_is_exclusive(x_25); +if (x_29 == 0) +{ +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_ctor_get(x_17, 1); +lean_inc(x_33); +lean_dec(x_17); +x_34 = 0; +x_35 = l_Lean_getStructureFieldsFlattened(x_16, x_2, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +x_39 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__3(x_3, x_7, x_35, x_37, x_4, x_38, x_8, x_9, x_10, x_11, x_33); +lean_dec(x_35); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* 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(x_39); +x_42 = lean_apply_9(x_5, x_6, x_3, x_7, x_40, x_8, x_9, x_10, x_11, x_41); +return x_42; +} +else +{ +uint8_t x_43; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +return x_39; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("y", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2(uint8_t x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_13 = lean_box(x_1); +x_14 = lean_box_usize(x_3); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__1___boxed), 12, 6); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_7); +lean_closure_set(x_15, 3, x_14); +lean_closure_set(x_15, 4, x_4); +lean_closure_set(x_15, 5, x_5); +x_16 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2; +x_17 = 0; +x_18 = 0; +x_19 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(x_16, x_17, x_6, x_15, x_18, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("x", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3(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) { +_start: +{ +lean_object* x_12; size_t x_13; size_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_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_12 = lean_array_get_size(x_5); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +lean_inc(x_5); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1(x_13, x_14, x_5); +lean_inc(x_5); +x_16 = l_Lean_mkAppN(x_1, x_5); +x_17 = lean_box(x_2); +x_18 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1; +lean_inc(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___boxed), 12, 6); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_3); +lean_closure_set(x_19, 2, x_18); +lean_closure_set(x_19, 3, x_4); +lean_closure_set(x_19, 4, x_5); +lean_closure_set(x_19, 5, x_16); +x_20 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2; +x_21 = 0; +x_22 = 0; +x_23 = lean_box(x_21); +x_24 = lean_box(x_22); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg___boxed), 10, 5); +lean_closure_set(x_25, 0, x_20); +lean_closure_set(x_25, 1, x_23); +lean_closure_set(x_25, 2, x_16); +lean_closure_set(x_25, 3, x_19); +lean_closure_set(x_25, 4, x_24); +x_26 = l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3___rarg(x_15, x_25, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_15); +return x_26; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4(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) { +_start: +{ +lean_object* x_10; +lean_inc(x_1); +x_10 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_registerCoercion___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_11); +x_13 = lean_infer_type(x_11, x_5, x_6, x_7, x_8, x_12); +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; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_box(x_2); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed), 11, 4); +lean_closure_set(x_17, 0, x_11); +lean_closure_set(x_17, 1, x_16); +lean_closure_set(x_17, 2, x_1); +lean_closure_set(x_17, 3, x_3); +x_18 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_14, x_17, x_5, x_6, x_7, x_8, x_15); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +return x_10; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_10); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("not a structure: ", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5(lean_object* x_1, lean_object* 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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_1); +x_13 = l_Lean_isStructure(x_12, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_2); +x_14 = l_Lean_MessageData_ofName(x_1); +x_15 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_18, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +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; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4(x_1, x_3, x_2, x_24, x_4, x_5, x_6, x_7, x_11); +return x_25; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("true", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("false", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected 'true' or 'false'", 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2; +x_10 = l_Lean_Syntax_matchesIdent(x_2, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4; +x_12 = l_Lean_Syntax_matchesIdent(x_2, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_3); +lean_dec(x_1); +x_13 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__6; +x_14 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4(x_2, x_13, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; lean_object* x_20; +lean_dec(x_2); +x_19 = 0; +x_20 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5(x_1, x_3, x_19, x_4, x_5, x_6, x_7, x_8); +return x_20; +} +} +else +{ +uint8_t x_21; lean_object* x_22; +lean_dec(x_2); +x_21 = 1; +x_22 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5(x_1, x_3, x_21, x_4, x_5, x_6, x_7, x_8); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__2(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__3(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_withExtHyps___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__1(x_13, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2(x_13, x_2, x_14, 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_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +lean_dec(x_2); +x_13 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__4(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 5); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 5, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +x_22 = lean_ctor_get(x_7, 8); +x_23 = lean_ctor_get(x_7, 9); +x_24 = lean_ctor_get(x_7, 10); +x_25 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_26 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_27 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_27, 0, x_14); +lean_ctor_set(x_27, 1, x_15); +lean_ctor_set(x_27, 2, x_16); +lean_ctor_set(x_27, 3, x_17); +lean_ctor_set(x_27, 4, x_18); +lean_ctor_set(x_27, 5, x_26); +lean_ctor_set(x_27, 6, x_20); +lean_ctor_set(x_27, 7, x_21); +lean_ctor_set(x_27, 8, x_22); +lean_ctor_set(x_27, 9, x_23); +lean_ctor_set(x_27, 10, x_24); +lean_ctor_set_uint8(x_27, sizeof(void*)*11, x_25); +x_28 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_2, x_3, x_4, x_5, x_6, x_27, x_8, x_9); +lean_dec(x_27); +return x_28; +} +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unknown constant '", 18); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_box(0); +x_10 = l_Lean_Expr_const___override(x_1, x_9); +x_11 = l_Lean_MessageData_ofExpr(x_10); +x_12 = l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2; +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_List_mapTR_loop___at_Lean_resolveGlobalConstCore___spec__2(x_1, x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_inc(x_6); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveLocalName_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_List_filterTR_loop___at_Lean_resolveGlobalConstCore___spec__1(x_10, x_12); +x_14 = l_List_isEmpty___rarg(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1(x_13, x_12, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_13); +x_17 = l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected identifier", 19); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___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) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +x_11 = l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(x_10); +x_12 = l_List_isEmpty___rarg(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_11); +x_14 = !lean_is_exclusive(x_6); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 5); +x_16 = l_Lean_replaceRef(x_1, x_15); +lean_dec(x_15); +lean_dec(x_1); +lean_ctor_set(x_6, 5, x_16); +x_17 = l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); +x_21 = lean_ctor_get(x_6, 3); +x_22 = lean_ctor_get(x_6, 4); +x_23 = lean_ctor_get(x_6, 5); +x_24 = lean_ctor_get(x_6, 6); +x_25 = lean_ctor_get(x_6, 7); +x_26 = lean_ctor_get(x_6, 8); +x_27 = lean_ctor_get(x_6, 9); +x_28 = lean_ctor_get(x_6, 10); +x_29 = lean_ctor_get_uint8(x_6, sizeof(void*)*11); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +x_30 = l_Lean_replaceRef(x_1, x_23); +lean_dec(x_23); +lean_dec(x_1); +x_31 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_19); +lean_ctor_set(x_31, 2, x_20); +lean_ctor_set(x_31, 3, x_21); +lean_ctor_set(x_31, 4, x_22); +lean_ctor_set(x_31, 5, x_30); +lean_ctor_set(x_31, 6, x_24); +lean_ctor_set(x_31, 7, x_25); +lean_ctor_set(x_31, 8, x_26); +lean_ctor_set(x_31, 9, x_27); +lean_ctor_set(x_31, 10, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*11, x_29); +x_32 = l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5(x_9, x_2, x_3, x_4, x_5, x_31, x_7, x_8); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3; +x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 5); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 5, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +x_22 = lean_ctor_get(x_7, 8); +x_23 = lean_ctor_get(x_7, 9); +x_24 = lean_ctor_get(x_7, 10); +x_25 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_26 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_27 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_27, 0, x_14); +lean_ctor_set(x_27, 1, x_15); +lean_ctor_set(x_27, 2, x_16); +lean_ctor_set(x_27, 3, x_17); +lean_ctor_set(x_27, 4, x_18); +lean_ctor_set(x_27, 5, x_26); +lean_ctor_set(x_27, 6, x_20); +lean_ctor_set(x_27, 7, x_21); +lean_ctor_set(x_27, 8, x_22); +lean_ctor_set(x_27, 9, x_23); +lean_ctor_set(x_27, 10, x_24); +lean_ctor_set_uint8(x_27, sizeof(void*)*11, x_25); +x_28 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_27, x_8, x_9); +lean_dec(x_27); +return x_28; +} +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ambiguous identifier '", 22); +return x_1; +} +} +static lean_object* _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("', possible interpretations: ", 29); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___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) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = 0; +x_14 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +x_15 = l_Lean_Syntax_formatStxAux(x_12, x_13, x_14, x_1); +x_16 = l_Std_Format_defWidth; +x_17 = lean_format_pretty(x_15, x_16, x_14, x_14); +x_18 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1; +x_19 = lean_string_append(x_18, x_17); +lean_dec(x_17); +x_20 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2; +x_21 = lean_string_append(x_19, x_20); +x_22 = lean_box(0); +x_23 = l_List_mapTR_loop___at_Lean_resolveGlobalConstNoOverload___spec__1(x_10, x_22); +x_24 = l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(x_23); +lean_dec(x_23); +x_25 = lean_string_append(x_21, x_24); +lean_dec(x_24); +x_26 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3; +x_27 = lean_string_append(x_25, x_26); +x_28 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7(x_1, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_30; +} +else +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_9); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_9, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_10, 0); +lean_inc(x_34); +lean_dec(x_10); +lean_ctor_set(x_9, 0, x_34); +return x_9; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_9, 1); +lean_inc(x_35); +lean_dec(x_9); +x_36 = lean_ctor_get(x_10, 0); +lean_inc(x_36); +lean_dec(x_10); +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; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_31); +x_38 = lean_ctor_get(x_9, 1); +lean_inc(x_38); +lean_dec(x_9); +x_39 = lean_box(0); +x_40 = 0; +x_41 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +x_42 = l_Lean_Syntax_formatStxAux(x_39, x_40, x_41, x_1); +x_43 = l_Std_Format_defWidth; +x_44 = lean_format_pretty(x_42, x_43, x_41, x_41); +x_45 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1; +x_46 = lean_string_append(x_45, x_44); +lean_dec(x_44); +x_47 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2; +x_48 = lean_string_append(x_46, x_47); +x_49 = lean_box(0); +x_50 = l_List_mapTR_loop___at_Lean_resolveGlobalConstNoOverload___spec__1(x_10, x_49); +x_51 = l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(x_50); +lean_dec(x_50); +x_52 = lean_string_append(x_48, x_51); +lean_dec(x_51); +x_53 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3; +x_54 = lean_string_append(x_52, x_53); +x_55 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7(x_1, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_38); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_9); +if (x_58 == 0) +{ +return x_9; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_9, 0); +x_60 = lean_ctor_get(x_9, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_9); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___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) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_10 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_st_ref_get(x_8, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 6); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +lean_ctor_set(x_13, 0, x_11); +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_dec(x_13); +lean_inc(x_11); +x_22 = l_Lean_Elab_addConstInfo___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5(x_1, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_11); +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_11); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_11); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +return x_22; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_22); +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; +} +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_10); +if (x_31 == 0) +{ +return x_10; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_6 = 1; +x_7 = lean_usize_sub(x_2, x_6); +x_8 = lean_array_uget(x_1, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = 0; +x_12 = l_Lean_Expr_forallE___override(x_9, x_10, x_4, x_11); +x_2 = x_7; +x_4 = x_12; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_Meta_mkEq(x_2, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_array_get_size(x_4); +x_14 = lean_array_push(x_1, x_2); +x_15 = lean_array_push(x_14, x_3); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_13); +if (x_17 == 0) +{ +uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +lean_dec(x_13); +x_18 = 0; +x_19 = 1; +x_20 = 1; +x_21 = l_Lean_Meta_mkForallFVars(x_15, x_11, x_18, x_19, x_20, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_21; +} +else +{ +size_t x_22; size_t x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; +x_22 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_23 = 0; +x_24 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8(x_4, x_22, x_23, x_11); +x_25 = 0; +x_26 = 1; +x_27 = 1; +x_28 = l_Lean_Meta_mkForallFVars(x_15, x_24, x_25, x_26, x_27, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +return x_10; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_10); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("extType", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ident", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1___boxed), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; +x_10 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +lean_dec(x_1); +x_17 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__4; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_21 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1(x_16, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__5; +x_25 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg(x_22, x_14, x_24, x_5, x_6, x_7, x_8, x_23); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_Ext_elabExtType___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Ext_elabExtType___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Tactic_Ext_elabExtType___spec__8(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Ext_elabExtType___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Ext_elabExtType(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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabExtType", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_termElabAttribute; +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_elabExtType___boxed), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3; +x_3 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Creates the type of the extensionality theorem for the given structure,\nelaborating to `x.1 = y.1 → x.2 = y.2 → x = y`, for example.\n", 137); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(151u); +x_2 = lean_unsigned_to_nat(29u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(158u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___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___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1; +x_2 = lean_unsigned_to_nat(29u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(151u); +x_2 = lean_unsigned_to_nat(33u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(151u); +x_2 = lean_unsigned_to_nat(44u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4; +x_2 = lean_unsigned_to_nat(33u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5; +x_4 = lean_unsigned_to_nat(44u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_Meta_mkEq(x_2, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_array_push(x_1, x_2); +x_14 = lean_array_push(x_13, x_3); +x_15 = lean_array_get_size(x_4); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1(x_16, x_17, x_4); +x_19 = lean_array_to_list(lean_box(0), x_18); +x_20 = l_Lean_mkAndN(x_19); +x_21 = l_Lean_mkIff(x_11, x_20); +x_22 = 0; +x_23 = 1; +x_24 = 1; +x_25 = l_Lean_Meta_mkForallFVars(x_14, x_21, x_22, x_23, x_24, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_10); +if (x_26 == 0) +{ +return x_10; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("extIffType", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_elabExtIffType___lambda__1), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; +x_10 = l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +lean_inc(x_1); +x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +lean_dec(x_1); +x_17 = l_Lean_Elab_Tactic_Ext_elabExtType___closed__4; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_21 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_Ext_elabExtType___spec__1(x_16, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3; +x_25 = l_Lean_Elab_Tactic_Ext_withExtHyps___rarg(x_22, x_14, x_24, x_5, x_6, x_7, x_8, x_23); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_elabExtIffType___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_elabExtIffType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Ext_elabExtIffType(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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabExtIffType", 14); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_elabExtIffType___boxed), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3; +x_3 = l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Creates the type of the iff-variant of the extensionality theorem for the given structure,\nelaborating to `x = y ↔ x.1 = y.1 ∧ x.2 = y.2`, for example.\n", 156); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(164u); +x_2 = lean_unsigned_to_nat(32u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(170u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___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___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1; +x_2 = lean_unsigned_to_nat(32u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(164u); +x_2 = lean_unsigned_to_nat(36u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(164u); +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4; +x_2 = lean_unsigned_to_nat(36u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5; +x_4 = lean_unsigned_to_nat(50u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed", 6); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_8 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = lean_infer_type(x_9, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_box(0); +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_3, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 3); +lean_inc(x_18); +x_19 = lean_ctor_get(x_3, 4); +lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 5); +lean_inc(x_20); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +uint8_t x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; +x_22 = 1; +lean_ctor_set_uint8(x_15, 9, x_22); +x_23 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_16); +lean_ctor_set(x_23, 2, x_17); +lean_ctor_set(x_23, 3, x_18); +lean_ctor_set(x_23, 4, x_19); +lean_ctor_set(x_23, 5, x_20); +x_24 = 1; +x_25 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_26 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_12, x_24, x_14, x_25, x_23, x_4, x_5, x_6, x_13); +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_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_31 = l_Lean_Meta_isExprDefEq(x_2, x_30, x_3, x_4, x_5, x_6, x_29); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2; +x_36 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_35, x_3, x_4, x_5, x_6, x_34); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_36; +} +else +{ +uint8_t x_37; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_31, 0); +lean_dec(x_38); +x_39 = lean_box(0); +lean_ctor_set(x_31, 0, x_39); +return x_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_31, 1); +lean_inc(x_40); +lean_dec(x_31); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_43 = !lean_is_exclusive(x_31); +if (x_43 == 0) +{ +return x_31; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_31, 0); +x_45 = lean_ctor_get(x_31, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_31); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_47 = !lean_is_exclusive(x_26); +if (x_47 == 0) +{ +return x_26; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_26, 0); +x_49 = lean_ctor_get(x_26, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_26); +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; uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; +x_51 = lean_ctor_get_uint8(x_15, 0); +x_52 = lean_ctor_get_uint8(x_15, 1); +x_53 = lean_ctor_get_uint8(x_15, 2); +x_54 = lean_ctor_get_uint8(x_15, 3); +x_55 = lean_ctor_get_uint8(x_15, 4); +x_56 = lean_ctor_get_uint8(x_15, 5); +x_57 = lean_ctor_get_uint8(x_15, 6); +x_58 = lean_ctor_get_uint8(x_15, 7); +x_59 = lean_ctor_get_uint8(x_15, 8); +x_60 = lean_ctor_get_uint8(x_15, 10); +x_61 = lean_ctor_get_uint8(x_15, 11); +lean_dec(x_15); +x_62 = 1; +x_63 = lean_alloc_ctor(0, 0, 12); +lean_ctor_set_uint8(x_63, 0, x_51); +lean_ctor_set_uint8(x_63, 1, x_52); +lean_ctor_set_uint8(x_63, 2, x_53); +lean_ctor_set_uint8(x_63, 3, x_54); +lean_ctor_set_uint8(x_63, 4, x_55); +lean_ctor_set_uint8(x_63, 5, x_56); +lean_ctor_set_uint8(x_63, 6, x_57); +lean_ctor_set_uint8(x_63, 7, x_58); +lean_ctor_set_uint8(x_63, 8, x_59); +lean_ctor_set_uint8(x_63, 9, x_62); +lean_ctor_set_uint8(x_63, 10, x_60); +lean_ctor_set_uint8(x_63, 11, x_61); +x_64 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_16); +lean_ctor_set(x_64, 2, x_17); +lean_ctor_set(x_64, 3, x_18); +lean_ctor_set(x_64, 4, x_19); +lean_ctor_set(x_64, 5, x_20); +x_65 = 1; +x_66 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_67 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_12, x_65, x_14, x_66, x_64, x_4, x_5, x_6, x_13); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_72 = l_Lean_Meta_isExprDefEq(x_2, x_71, x_3, x_4, x_5, x_6, x_70); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_unbox(x_73); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2; +x_77 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_76, x_3, x_4, x_5, x_6, x_75); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_78 = lean_ctor_get(x_72, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_79 = x_72; +} else { + lean_dec_ref(x_72); + x_79 = lean_box(0); +} +x_80 = lean_box(0); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_82 = lean_ctor_get(x_72, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_72, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_84 = x_72; +} else { + lean_dec_ref(x_72); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_86 = lean_ctor_get(x_67, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_67, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_88 = x_67; +} else { + lean_dec_ref(x_67); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +else +{ +uint8_t x_90; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_90 = !lean_is_exclusive(x_11); +if (x_90 == 0) +{ +return x_11; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_11, 0); +x_92 = lean_ctor_get(x_11, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_11); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_8); +if (x_94 == 0) +{ +return x_8; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_8, 0); +x_96 = lean_ctor_get(x_8, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_8); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_1 = 2; +x_2 = 1; +x_3 = 0; +x_4 = lean_alloc_ctor(0, 0, 4); +lean_ctor_set_uint8(x_4, 0, x_1); +lean_ctor_set_uint8(x_4, 1, x_2); +lean_ctor_set_uint8(x_4, 2, x_3); +lean_ctor_set_uint8(x_4, 3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_8, x_7); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; +lean_dec(x_9); +x_17 = lean_array_uget(x_6, x_8); +x_45 = lean_ctor_get(x_17, 0); +lean_inc(x_45); +lean_dec(x_17); +lean_inc(x_3); +lean_inc(x_45); +x_46 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1), 7, 2); +lean_closure_set(x_46, 0, x_45); +lean_closure_set(x_46, 1, x_3); +x_47 = 0; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_48 = l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1___rarg(x_46, x_47, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_50 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_45, x_10, x_11, x_12, x_13, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +x_54 = l_Lean_MVarId_apply(x_1, x_51, x_53, x_10, x_11, x_12, x_13, x_52); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_57); +x_18 = x_58; +x_19 = x_56; +goto block_28; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_54, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_54, 1); +lean_inc(x_60); +lean_dec(x_54); +x_29 = x_59; +x_30 = x_60; +goto block_44; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_50, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_50, 1); +lean_inc(x_62); +lean_dec(x_50); +x_29 = x_61; +x_30 = x_62; +goto block_44; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_45); +x_63 = lean_ctor_get(x_48, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_48, 1); +lean_inc(x_64); +lean_dec(x_48); +x_29 = x_63; +x_30 = x_64; +goto block_44; +} +block_28: +{ +if (lean_obj_tag(x_18) == 0) +{ +size_t x_20; size_t x_21; +lean_dec(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_8, x_20); +lean_inc(x_5); +{ +size_t _tmp_7 = x_21; +lean_object* _tmp_8 = x_5; +lean_object* _tmp_13 = x_19; +x_8 = _tmp_7; +x_9 = _tmp_8; +x_14 = _tmp_13; +} +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_19); +return x_27; +} +} +block_44: +{ +uint8_t x_31; +x_31 = l_Lean_Exception_isRuntime(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_29); +x_32 = l_Lean_Meta_SavedState_restore(x_4, x_10, x_11, x_12, x_13, x_30); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_35); +x_18 = x_36; +x_19 = x_34; +goto block_28; +} +else +{ +uint8_t x_37; +x_37 = lean_ctor_get_uint8(x_12, sizeof(void*)*11); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_30); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_29); +x_39 = l_Lean_Meta_SavedState_restore(x_4, x_10, x_11, x_12, x_13, x_30); +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(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_42); +x_18 = x_43; +x_19 = x_41; +goto block_28; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(x_8, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +if (x_10 == 0) +{ +lean_object* x_13; +x_13 = lean_array_push(x_5, x_7); +x_3 = x_12; +x_5 = x_13; +goto _start; +} +else +{ +lean_dec(x_7); +x_3 = x_12; +goto _start; +} +} +else +{ +lean_dec(x_1); +return x_5; +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("no applicable extensionality theorem found for", 46); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_8 = l_Lean_indentExpr(x_1); +x_9 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2; +x_10 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_12 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2(x_12, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_13; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1() { +_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_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2; +x_4 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2; +x_2 = l_Array_reverse___rarg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_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_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_dec(x_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_10); +x_12 = lean_nat_sub(x_11, x_10); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +lean_inc(x_1); +x_15 = l_Lean_Expr_getRevArg_x21(x_1, x_14); +x_16 = l_Lean_Meta_saveState___rarg(x_6, x_7, x_8, x_9); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_42 = lean_st_ref_get(x_8, x_18); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems; +x_47 = l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1; +x_48 = l_Lean_ScopedEnvExtension_getState___rarg(x_46, x_47, x_45); +lean_dec(x_45); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = l_Lean_Elab_Tactic_Ext_extExt_config; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_15); +x_51 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_49, x_15, x_50, x_5, x_6, x_7, x_8, x_44); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_array_get_size(x_52); +x_55 = lean_nat_dec_lt(x_10, x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_54); +lean_dec(x_52); +lean_dec(x_48); +x_56 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3; +x_19 = x_56; +x_20 = x_53; +goto block_41; +} +else +{ +uint8_t x_57; +x_57 = lean_nat_dec_le(x_54, x_54); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_54); +lean_dec(x_52); +lean_dec(x_48); +x_58 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3; +x_19 = x_58; +x_20 = x_53; +goto block_41; +} +else +{ +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; +x_59 = 0; +x_60 = lean_usize_of_nat(x_54); +lean_dec(x_54); +x_61 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_62 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3(x_48, x_52, x_59, x_60, x_61); +lean_dec(x_52); +x_63 = lean_array_get_size(x_62); +x_64 = l_Array_insertionSort_traverse___at_Lean_Elab_Tactic_Ext_getExtTheorems___spec__1(x_62, x_10, x_63); +x_65 = l_Array_reverse___rarg(x_64); +x_19 = x_65; +x_20 = x_53; +goto block_41; +} +} +} +else +{ +uint8_t x_66; +lean_dec(x_48); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_51); +if (x_66 == 0) +{ +return x_51; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_51, 0); +x_68 = lean_ctor_get(x_51, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_51); +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; +} +} +block_41: +{ +lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_array_get_size(x_19); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +x_24 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1(x_2, x_3, x_1, x_17, x_24, x_19, x_22, x_23, x_24, x_5, x_6, x_7, x_8, x_20); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_3); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1(x_15, x_29, x_5, x_6, x_7, x_8, x_28); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_25, 0); +lean_dec(x_32); +x_33 = lean_ctor_get(x_27, 0); +lean_inc(x_33); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_33); +return x_25; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_dec(x_25); +x_35 = lean_ctor_get(x_27, 0); +lean_inc(x_35); +lean_dec(x_27); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_37 = !lean_is_exclusive(x_25); +if (x_37 == 0) +{ +return x_25; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_25, 0); +x_39 = lean_ctor_get(x_25, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_25); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("applyExtTheorem only applies to equations, not", 46); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_8 = l_Lean_MVarId_getType_x27(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Expr_isAppOfArity(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_indentExpr(x_9); +x_15 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_18, x_3, x_4, x_5, x_6, x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +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; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2(x_9, x_1, x_2, x_24, x_3, x_4, x_5, x_6, x_10); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_8); +if (x_26 == 0) +{ +return x_8; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_8, 0); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_8); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Core_instMonadCoreM; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1; +x_2 = l_ReaderT_instApplicativeReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_instMonadControlT__1___rarg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_applyExtTheoremAt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__3; +lean_inc(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3), 7, 2); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_7); +x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___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_7); +lean_dec(x_7); +x_16 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* 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(x_13); +x_16 = l_Lean_Elab_Tactic_replaceMainGoal(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +return x_16; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_16, 0); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_16); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +else +{ +uint8_t x_27; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +return x_13; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_13, 0); +x_29 = lean_ctor_get(x_13, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_10); +if (x_31 == 0) +{ +return x_10; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___lambda__1), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1; +x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("applyExtTheorem", 15); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalApplyExtTheorem", 19); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_tacticElabAttribute; +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Apply a single extensionality theorem to the current goal. ", 59); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(197u); +x_2 = lean_unsigned_to_nat(34u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(198u); +x_2 = lean_unsigned_to_nat(34u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1; +x_2 = lean_unsigned_to_nat(34u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2; +x_4 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +lean_ctor_set(x_4, 3, x_2); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(197u); +x_2 = lean_unsigned_to_nat(38u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(197u); +x_2 = lean_unsigned_to_nat(57u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4; +x_2 = lean_unsigned_to_nat(38u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5; +x_4 = lean_unsigned_to_nat(57u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_1); +x_5 = lean_apply_2(x_2, lean_box(0), x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_nat_dec_le(x_1, x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_box(0); +lean_inc(x_7); +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +if (x_5 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_10 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1___boxed), 3, 2); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_7); +x_11 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_9, x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1___boxed), 3, 2); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_7); +x_13 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_9, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_2(x_9, lean_box(0), x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg(x_1, x_2, x_11, x_4, x_3); +lean_inc(x_5); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2), 4, 3); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_5); +lean_inc(x_5); +x_16 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_15); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__3), 7, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_MVarId_intros(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_2(x_1, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_MVarId_getType_x27(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_add(x_2, x_5); +x_7 = lean_apply_2(x_4, lean_box(0), x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_1); +x_8 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4___boxed), 2, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = 0; +x_3 = l_Lean_SourceInfo_fromRef(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rintroPat", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("one", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2; +x_5 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5() { +_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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = l_Lean_Expr_isForall(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_11 = lean_apply_2(x_1, x_2, x_3); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_3); +x_12 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1; +x_13 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4; +x_14 = l_Lean_Syntax_node1(x_12, x_13, x_4); +x_15 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5; +x_16 = lean_array_push(x_15, x_14); +x_17 = lean_box(0); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_RCases_rintro), 10, 3); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_17); +lean_closure_set(x_18, 2, x_2); +lean_inc(x_5); +x_19 = lean_apply_2(x_5, lean_box(0), x_18); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__5), 6, 5); +lean_closure_set(x_20, 0, x_6); +lean_closure_set(x_20, 1, x_5); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_7); +lean_closure_set(x_20, 4, x_8); +x_21 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_19, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1___boxed), 8, 1); +lean_closure_set(x_7, 0, x_3); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__2), 2, 1); +lean_closure_set(x_9, 0, x_5); +x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_4, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_3); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3___boxed), 8, 1); +lean_closure_set(x_14, 0, x_3); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_run___spec__1___rarg), 9, 2); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_2); +x_16 = lean_apply_2(x_2, lean_box(0), x_15); +lean_inc(x_13); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___boxed), 9, 8); +lean_closure_set(x_17, 0, x_5); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_4); +lean_closure_set(x_17, 3, x_11); +lean_closure_set(x_17, 4, x_2); +lean_closure_set(x_17, 5, x_1); +lean_closure_set(x_17, 6, x_12); +lean_closure_set(x_17, 7, x_13); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__1(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__4(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_2(x_9, lean_box(0), x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg(x_1, x_2, x_11, x_3, x_4); +lean_inc(x_5); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2), 4, 3); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_5); +lean_inc(x_5); +x_16 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_15); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg___lambda__1), 7, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_apply_2(x_4, lean_box(0), x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_1); +x_8 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExt1___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__2), 2, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1___boxed), 8, 1); +lean_closure_set(x_7, 0, x_3); +lean_inc(x_2); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +lean_inc(x_6); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__3), 6, 5); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_4); +lean_closure_set(x_9, 3, x_5); +lean_closure_set(x_9, 4, x_6); +x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_2(x_9, lean_box(0), x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg(x_1, x_2, x_11, x_3, x_4); +lean_inc(x_5); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2), 4, 3); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_5); +lean_inc(x_5); +x_16 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_15); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg___lambda__1), 7, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_1); +x_8 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__2), 2, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1___boxed), 8, 1); +lean_closure_set(x_7, 0, x_3); +lean_inc(x_2); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +lean_inc(x_6); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg___lambda__1), 6, 5); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_4); +lean_closure_set(x_9, 3, x_5); +lean_closure_set(x_9, 4, x_6); +x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_2(x_9, lean_box(0), x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_dec(x_6); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg(x_1, x_2, x_11, x_3, x_4); +lean_inc(x_5); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_tryIntros___spec__1___rarg___lambda__2), 4, 3); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_5); +lean_inc(x_5); +x_16 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_15); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg___lambda__1), 7, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_1); +x_8 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_withExtN___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__2), 2, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___rarg___lambda__1___boxed), 8, 1); +lean_closure_set(x_7, 0, x_3); +lean_inc(x_2); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +lean_inc(x_6); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg___lambda__1), 6, 5); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_4); +lean_closure_set(x_9, 3, x_5); +lean_closure_set(x_9, 4, x_6); +x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 0; +x_9 = l_Lean_Elab_Tactic_Ext_withExtN___rarg(x_1, x_2, x_3, x_6, x_7, x_4, x_5, x_8); +lean_dec(x_5); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_apply_2(x_1, x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_7, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_7, x_11); +if (x_8 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__1), 7, 5); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_6); +lean_closure_set(x_14, 4, x_12); +lean_inc(x_5); +lean_inc(x_4); +x_15 = l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__1___rarg(x_1, x_2, x_4, x_5, x_14); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_16, 0, x_6); +lean_closure_set(x_16, 1, x_4); +lean_closure_set(x_16, 2, x_5); +x_17 = lean_apply_3(x_13, lean_box(0), x_15, x_16); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_inc(x_2); +lean_inc(x_1); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__1), 7, 5); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_6); +lean_closure_set(x_18, 4, x_12); +x_19 = l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_withExtN___spec__3___rarg(x_1, x_2, x_4, x_5, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_apply_2(x_6, x_4, x_5); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___rarg___boxed), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Tactic_Ext_withExtN___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_8); +lean_dec(x_8); +x_10 = l_Lean_Elab_Tactic_Ext_withExtN___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9); +lean_dec(x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_5); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +lean_dec(x_3); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +lean_inc(x_2); +x_17 = l_Lean_Elab_Tactic_Ext_tryIntros___at_Lean_Elab_Tactic_Ext_extCore___spec__3(x_15, x_2, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_nat_dec_le(x_4, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +x_3 = x_16; +x_5 = x_21; +x_12 = x_19; +goto _start; +} +else +{ +lean_dec(x_4); +x_3 = x_16; +x_4 = x_20; +x_5 = x_21; +x_12 = x_19; +goto _start; +} +} +else +{ +uint8_t x_25; +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_tryIntros___at_Lean_Elab_Tactic_Ext_extCore___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) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_12 = l_Lean_MVarId_intros(x_1, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_box(0); +x_17 = lean_apply_10(x_3, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_18 = !lean_is_exclusive(x_12); +if (x_18 == 0) +{ +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +lean_inc(x_1); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__3___boxed), 8, 1); +lean_closure_set(x_24, 0, x_1); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_25 = l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_run___spec__1___rarg(x_1, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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(x_25); +x_28 = l_Lean_Expr_isForall(x_26); +lean_dec(x_26); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_23); +lean_dec(x_22); +x_29 = lean_apply_10(x_3, x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_2); +x_30 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1; +x_31 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4; +x_32 = l_Lean_Syntax_node1(x_30, x_31, x_22); +x_33 = l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5; +x_34 = lean_array_push(x_33, x_32); +x_35 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_36 = l_Lean_Elab_Tactic_RCases_rintro(x_34, x_35, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_unsigned_to_nat(0u); +x_40 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___spec__4(x_3, x_23, x_37, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_40, 0); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_nat_add(x_44, x_45); +lean_dec(x_44); +lean_ctor_set(x_42, 0, x_46); +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_42, 0); +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_42); +x_49 = lean_unsigned_to_nat(1u); +x_50 = lean_nat_add(x_47, x_49); +lean_dec(x_47); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +lean_ctor_set(x_40, 0, x_51); +return x_40; +} +} +else +{ +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_52 = lean_ctor_get(x_40, 0); +x_53 = lean_ctor_get(x_40, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_40); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_56 = x_52; +} else { + lean_dec_ref(x_52); + x_56 = lean_box(0); +} +x_57 = lean_unsigned_to_nat(1u); +x_58 = lean_nat_add(x_54, x_57); +lean_dec(x_54); +if (lean_is_scalar(x_56)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_56; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_55); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_53); +return x_60; +} +} +else +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_40); +if (x_61 == 0) +{ +return x_40; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_40, 0); +x_63 = lean_ctor_get(x_40, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_40); +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; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_23); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_65 = !lean_is_exclusive(x_36); +if (x_65 == 0) +{ +return x_36; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_36, 0); +x_67 = lean_ctor_get(x_36, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_36); +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_23); +lean_dec(x_22); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_25); +if (x_69 == 0) +{ +return x_25; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_25, 0); +x_71 = lean_ctor_get(x_25, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_25); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_5); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +lean_dec(x_3); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_Elab_Tactic_Ext_tryIntros___at_Lean_Elab_Tactic_Ext_extCore___spec__3(x_15, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_nat_dec_le(x_4, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +x_3 = x_16; +x_5 = x_21; +x_12 = x_19; +goto _start; +} +else +{ +lean_dec(x_4); +x_3 = x_16; +x_4 = x_20; +x_5 = x_21; +x_12 = x_19; +goto _start; +} +} +else +{ +uint8_t x_25; +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_extCore___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) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_12 = l_Lean_Elab_Tactic_Ext_applyExtTheoremAt(x_1, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_List_forIn_loop___at_Lean_Elab_Tactic_Ext_extCore___spec__5(x_2, x_3, x_13, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_16, 0); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_16); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_27 = x_23; +} else { + lean_dec_ref(x_23); + x_27 = lean_box(0); +} +if (lean_is_scalar(x_27)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_27; +} +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_12); +if (x_34 == 0) +{ +return x_12; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_12, 0); +x_36 = lean_ctor_get(x_12, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_12); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = 0; +x_14 = l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1(x_3, x_4, x_1, x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_4, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_4, x_16); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_inc(x_3); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1___lambda__1), 12, 2); +lean_closure_set(x_18, 0, x_3); +lean_closure_set(x_18, 1, x_17); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_19 = l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_extCore___spec__2(x_1, x_2, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = l_Lean_Exception_isRuntime(x_21); +if (x_23 == 0) +{ +lean_object* x_24; +lean_free_object(x_19); +lean_dec(x_21); +x_24 = lean_apply_10(x_3, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = lean_ctor_get_uint8(x_11, sizeof(void*)*11); +if (x_25 == 0) +{ +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_26; +lean_free_object(x_19); +lean_dec(x_21); +x_26 = lean_apply_10(x_3, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_19, 0); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_19); +x_29 = l_Lean_Exception_isRuntime(x_27); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_27); +x_30 = lean_apply_10(x_3, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +return x_30; +} +else +{ +uint8_t x_31; +x_31 = lean_ctor_get_uint8(x_11, sizeof(void*)*11); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_27); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +else +{ +lean_object* x_33; +lean_dec(x_27); +x_33 = lean_apply_10(x_3, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +return x_33; +} +} +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1___lambda__1), 12, 2); +lean_closure_set(x_34, 0, x_3); +lean_closure_set(x_34, 1, x_17); +x_35 = l_Lean_Elab_Tactic_Ext_withExt1___at_Lean_Elab_Tactic_Ext_extCore___spec__2(x_1, x_2, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_35; +} +} +else +{ +lean_object* x_36; +lean_dec(x_4); +x_36 = lean_apply_10(x_3, x_1, x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_36; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_2); +x_12 = lean_array_push(x_3, x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_10); +return x_15; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_extCore___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_extCore___lambda__1___boxed), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_Elab_Tactic_Ext_extCore___closed__1; +x_13 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_14 = l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1(x_1, x_2, x_12, x_3, x_4, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___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: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Elab_Tactic_Ext_withExtN___at_Lean_Elab_Tactic_Ext_extCore___spec__1(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_Ext_extCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_extCore___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; lean_object* x_13; +x_12 = lean_unbox(x_4); +lean_dec(x_4); +x_13 = l_Lean_Elab_Tactic_Ext_extCore(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = l_Lean_MessageData_ofSyntax(x_6); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_8); +{ +lean_object* _tmp_1 = x_7; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l_Lean_MessageData_ofSyntax(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +x_2 = x_11; +x_3 = x_13; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" [", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___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) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +x_16 = l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_inc(x_13); +x_18 = l_Lean_MessageData_ofName(x_13); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_22, 0, x_13); +lean_ctor_set(x_22, 1, x_21); +x_23 = 1; +x_24 = l_Lean_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(x_2, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_24; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_array_get_size(x_1); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1(x_13, x_14, x_1); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = l_Lean_Elab_Tactic_replaceMainGoal(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_RCases_linter_unusedRCasesPattern; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rcasesPat", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`ext` did not consume the patterns: ", 36); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_60; +lean_dec(x_2); +x_13 = lean_box(0); +x_14 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1; +x_17 = l_Lean_Elab_Tactic_RCases_expandRIntroPats(x_14, x_16, x_15); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_60 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_3) == 0) +{ +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_unsigned_to_nat(1000000u); +x_18 = x_63; +x_19 = x_61; +x_20 = x_62; +goto block_59; +} +else +{ +uint8_t x_64; +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_64 = !lean_is_exclusive(x_60); +if (x_64 == 0) +{ +return x_60; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_60, 0); +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_60); +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 +{ +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_3, 0); +lean_inc(x_68); +lean_dec(x_3); +x_69 = lean_ctor_get(x_60, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_60, 1); +lean_inc(x_70); +lean_dec(x_60); +x_71 = l_Lean_TSyntax_getNat(x_68); +lean_dec(x_68); +x_18 = x_71; +x_19 = x_69; +x_20 = x_70; +goto block_59; +} +else +{ +uint8_t x_72; +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_72 = !lean_is_exclusive(x_60); +if (x_72 == 0) +{ +return x_60; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_60, 0); +x_74 = lean_ctor_get(x_60, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_60); +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; +} +} +} +block_59: +{ +lean_object* x_21; uint8_t x_22; lean_object* x_23; +lean_inc(x_17); +x_21 = lean_array_to_list(lean_box(0), x_17); +x_22 = 1; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_23 = l_Lean_Elab_Tactic_Ext_extCore(x_19, x_21, x_18, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +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_28; lean_object* x_29; uint8_t x_30; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_ctor_get(x_10, 2); +lean_inc(x_28); +x_29 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1; +x_30 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_28, x_29); +lean_dec(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_26); +lean_dec(x_17); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(x_27, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_array_get_size(x_17); +x_34 = lean_nat_dec_lt(x_26, x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_26); +lean_dec(x_17); +x_35 = lean_box(0); +x_36 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(x_27, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +return x_36; +} +else +{ +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; +x_37 = lean_array_get_size(x_17); +x_38 = l_Array_toSubarray___rarg(x_17, x_26, x_37); +x_39 = l_Array_ofSubarray___rarg(x_38); +x_40 = lean_box(2); +x_41 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18; +lean_inc(x_39); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +x_43 = lean_array_to_list(lean_box(0), x_39); +x_44 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4; +x_45 = l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2(x_44, x_43, x_13); +x_46 = l_Lean_MessageData_ofList(x_45); +lean_dec(x_45); +x_47 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6; +x_48 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3(x_29, x_42, x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_42); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(x_27, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_53); +lean_dec(x_52); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_23); +if (x_55 == 0) +{ +return x_23; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_23, 0); +x_57 = lean_ctor_get(x_23, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_23); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Ext_evalExt___closed__1() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Tactic_Ext_evalExt___closed__1; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +lean_dec(x_1); +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_inc(x_17); +x_19 = l_Lean_Syntax_matchesNull(x_17, x_16); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(x_10); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_Syntax_getArg(x_17, x_14); +lean_dec(x_17); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2(x_15, x_23, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_17); +x_25 = lean_box(0); +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__2(x_15, x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_Ext_evalExt___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapTR_loop___at_Lean_Elab_Tactic_Ext_evalExt___spec__2(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___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) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___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); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Ext_evalExt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_Ext_evalExt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_12; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalExt", 7); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2() { +_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_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1; +x_2 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2; +x_3 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3; +x_4 = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Ext_evalExt), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5; +x_3 = l_Lean_Elab_Tactic_Ext_evalExt___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(256u); +x_2 = lean_unsigned_to_nat(22u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(267u); +x_2 = lean_unsigned_to_nat(31u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___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___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1; +x_2 = lean_unsigned_to_nat(22u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2; +x_4 = lean_unsigned_to_nat(31u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(256u); +x_2 = lean_unsigned_to_nat(26u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(256u); +x_2 = lean_unsigned_to_nat(33u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4; +x_2 = lean_unsigned_to_nat(26u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5; +x_4 = lean_unsigned_to_nat(33u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_RCases(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Repeat(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_BuiltinTactic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Command(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Linter_Util(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Ext(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_RCases(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_Repeat(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Tactic_BuiltinTactic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Command(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Linter_Util(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1 = _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__1); +l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2 = _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem___closed__2); +l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem = _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorem); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__1); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__2); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__3); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__4); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__5); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__6); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__7); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__8); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__9); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__10); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__11); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__12); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__13); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__14); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__15); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__16); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__17); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__18); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__19); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__20); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__21); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__22); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__23); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__24); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__25); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__26); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__27); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__28); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__29); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__30); +l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31 = _init_l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Ext_0__Lean_Elab_Tactic_Ext_reprExtTheorem____x40_Lean_Elab_Tactic_Ext___hyg_43____closed__31); +l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1 = _init_l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instReprExtTheorem___closed__1); +l_Lean_Elab_Tactic_Ext_instReprExtTheorem = _init_l_Lean_Elab_Tactic_Ext_instReprExtTheorem(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instReprExtTheorem); +l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1 = _init_l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instBEqExtTheorem___closed__1); +l_Lean_Elab_Tactic_Ext_instBEqExtTheorem = _init_l_Lean_Elab_Tactic_Ext_instBEqExtTheorem(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instBEqExtTheorem); +l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1 = _init_l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instHashableExtTheorem___closed__1); +l_Lean_Elab_Tactic_Ext_instHashableExtTheorem = _init_l_Lean_Elab_Tactic_Ext_instHashableExtTheorem(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instHashableExtTheorem); +l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__1); +l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__2); +l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default___closed__3); +l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_tree___default); +l_Lean_Elab_Tactic_Ext_ExtTheorems_erased___default = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erased___default(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_erased___default); +l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1 = _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems___closed__1); +l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems = _init_l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_instInhabitedExtTheorems); +l_Lean_Elab_Tactic_Ext_extExt_config___closed__1 = _init_l_Lean_Elab_Tactic_Ext_extExt_config___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extExt_config___closed__1); +l_Lean_Elab_Tactic_Ext_extExt_config = _init_l_Lean_Elab_Tactic_Ext_extExt_config(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extExt_config); +l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__1(); +l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__3___closed__2(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__6___closed__1); +l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1 = _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__9___closed__1); +l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1 = _init_l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__13___closed__1); +l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1 = _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__1); +l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2 = _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__2); +l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3 = _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__3); +l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4 = _init_l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____spec__1___closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__7); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__8); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321____closed__9); +if (builtin) {res = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_321_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Elab_Tactic_Ext_extExtension = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extExtension); +lean_dec_ref(res); +}l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1 = _init_l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__1); +l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2 = _init_l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_getExtTheorems___closed__2); +l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__1); +l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__2); +l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__3); +l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4 = _init_l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_ExtTheorems_erase___rarg___closed__4); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__4___closed__2); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__5___rarg___closed__2); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__1); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__2); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__3); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__4 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__4(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__4); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__5); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__6); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__7); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__8 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__8(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__8); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__9); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__10); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__11 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__11(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__11); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__12); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__13 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__13(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__13); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__14 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__14(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__14); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__15); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__16); +l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17(); +lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____spec__6___closed__17); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__3___closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__5___closed__7); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__6___closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__7); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__8); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__9); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__10 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__10); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__11); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__12); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__13); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__14); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__15); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__16); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__17); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__18); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__19); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__20); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__21); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__22); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__7___closed__23); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____lambda__8___closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__1); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__2); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__3); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__4); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__5); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__6); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__7); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__8); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__9); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__10); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__11); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__12); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__13); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__14); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__15); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__16); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__17); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__18); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__19); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__20); +l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21 = _init_l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610____closed__21); +if (builtin) {res = l_Lean_Elab_Tactic_Ext_initFn____x40_Lean_Elab_Tactic_Ext___hyg_610_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__1); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__2___closed__2); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__1); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___closed__2); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__3___boxed__const__1); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__1); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___lambda__5___closed__2); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__1); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__2); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__3); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__4); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__5); +l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__6 = _init_l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_withExtHyps___rarg___closed__6); +l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__1); +l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2(); +lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_Ext_elabExtType___spec__6___closed__2); +l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1 = _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1(); +lean_mark_persistent(l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__1); +l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2 = _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2(); +lean_mark_persistent(l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__2); +l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3 = _init_l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3(); +lean_mark_persistent(l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_Ext_elabExtType___spec__3___closed__3); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__1); +l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2 = _init_l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2(); +lean_mark_persistent(l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_Ext_elabExtType___spec__2___closed__2); +l_Lean_Elab_Tactic_Ext_elabExtType___closed__1 = _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtType___closed__1); +l_Lean_Elab_Tactic_Ext_elabExtType___closed__2 = _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtType___closed__2); +l_Lean_Elab_Tactic_Ext_elabExtType___closed__3 = _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtType___closed__3); +l_Lean_Elab_Tactic_Ext_elabExtType___closed__4 = _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtType___closed__4); +l_Lean_Elab_Tactic_Ext_elabExtType___closed__5 = _init_l_Lean_Elab_Tactic_Ext_elabExtType___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtType___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType___closed__4); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtType_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1 = _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1); +l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2 = _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2); +l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3 = _init_l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_elabExtIffType_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___lambda__1___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Ext_applyExtTheoremAt___spec__1___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__1___closed__2); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__2); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__2___closed__3); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___lambda__3___closed__2); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__1); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__2); +l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__3 = _init_l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_applyExtTheoremAt___closed__3); +l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem___closed__6); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_evalApplyExtTheorem_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1 = _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__1); +l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2 = _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__2); +l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3 = _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__3); +l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4 = _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__4); +l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5 = _init_l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_tryIntros___rarg___lambda__6___closed__5); +l_Lean_Elab_Tactic_Ext_extCore___closed__1 = _init_l_Lean_Elab_Tactic_Ext_extCore___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_extCore___closed__1); +l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1 = _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__1); +l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2 = _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__2); +l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3 = _init_l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3(); +lean_mark_persistent(l_Lean_Linter_logLint___at_Lean_Elab_Tactic_Ext_evalExt___spec__3___closed__3); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__1); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__2); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__3); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__4); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__5); +l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6 = _init_l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___lambda__2___closed__6); +l_Lean_Elab_Tactic_Ext_evalExt___closed__1 = _init_l_Lean_Elab_Tactic_Ext_evalExt___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Ext_evalExt___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Ext_evalExt_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Tactic/HaveI.c b/stage0/stdlib/Lean/Elab/Tactic/HaveI.c deleted file mode 100644 index 8089a25b99..0000000000 --- a/stage0/stdlib/Lean/Elab/Tactic/HaveI.c +++ /dev/null @@ -1,33 +0,0 @@ -// Lean compiler output -// Module: Lean.Elab.Tactic.HaveI -// Imports: Init Lean.Elab.ElabRules -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* initialize_Init(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Elab_ElabRules(uint8_t builtin, lean_object*); -static bool _G_initialized = false; -LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_HaveI(uint8_t builtin, lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Elab_ElabRules(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -return lean_io_result_mk_ok(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index ae135f4ba1..0afeba029f 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -22,7 +22,6 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesize lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_hasNoImplicitLambdaAnnotation___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14; static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__4; @@ -51,6 +50,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassi static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072_(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_mkAuxName___closed__1; LEAN_EXPORT 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*); @@ -82,6 +82,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo(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_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___spec__8(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_withExpectedType___closed__2; static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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*); @@ -133,7 +134,6 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__24; LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerSyntheticMVar___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_Term_registerSyntheticMVarWithCurrRef(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_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object*, lean_object*, uint8_t, 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_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__34___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__4; @@ -149,7 +149,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscr lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_1977____closed__1; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15; lean_object* l_Lean_indentD(lean_object*); double lean_float_div(double, double); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_inPattern___default; @@ -210,7 +209,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo___boxed(lean static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__28; static lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___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_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -230,6 +228,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2 static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12; lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); lean_object* l_Lean_Core_getMessageLog___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDeclId___closed__1; @@ -280,7 +279,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfError LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__3(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_instInhabitedLetRecToLift___closed__3; LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__30(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instHashableCacheKey; static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__7; @@ -300,6 +298,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_resolveLocalName___spec__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,7 +309,6 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBo static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__27; static lean_object* l_Lean_Elab_Term_mkCoe___lambda__2___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__2___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -322,7 +320,6 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassi static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__3; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__38___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3; static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda___lambda__4(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_logException___at_Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,6 +391,7 @@ uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Cache_post___default; static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__3; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_toList___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Term_getFVarLocalDecl_x21___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -417,7 +415,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWi extern lean_object* l_Lean_Expr_instBEqExpr; uint8_t l_Lean_Syntax_isAtom(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__49(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__10; static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; @@ -505,6 +502,7 @@ lean_object* l_ReaderT_instApplicativeReaderT___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_mayPostpone___default; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13; LEAN_EXPORT lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -518,6 +516,7 @@ static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__2; lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6; static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4(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_instMonadTermElabM___closed__4; @@ -541,6 +540,7 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBound static lean_object* l_Lean_Elab_Term_withoutHeedElabAsElim___rarg___closed__1; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); @@ -561,7 +561,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg___lambda__1(l uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_collectUnassignedMVars_go___closed__2; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__14___boxed(lean_object*, lean_object*); @@ -595,9 +594,7 @@ static lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default___clos LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__2; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__9(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLevelNames(lean_object*); lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -670,11 +667,14 @@ LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Term_expandDecl static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(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_Term_withAuxDecl(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6(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_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__5___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Cache_pre___default___closed__1; @@ -682,6 +682,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassigne LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkSaveInfoAnnotation(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___lambda__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_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Term_mkCoe___spec__2___rarg(lean_object*, lean_object*); @@ -701,12 +702,12 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAuto static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withPushMacroExpansionStack(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11; LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__1___lambda__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwMVarError(lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -795,6 +796,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_LVal_isFieldName___boxed(lean_object*) LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_tryPostponeIfHasMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Context_macroStack___default; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarErrorInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -819,6 +821,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAu LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveParentDeclInfoContext___at_Lean_Elab_Term_withDeclName___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); @@ -868,6 +871,7 @@ LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_expan LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___lambda__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__30; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Term_resolveLocalName___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__1; @@ -888,7 +892,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAu lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___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_Term_0__Lean_Elab_Term_elabUsingElabFns___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_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___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_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__33; @@ -907,6 +910,7 @@ uint64_t l___private_Lean_Expr_0__Lean_hashMVarId____x40_Lean_Expr___hyg_1921_(l uint8_t l_Lean_Syntax_isIdent(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_postponeElabTerm(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_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__46___boxed(lean_object*, lean_object*); @@ -936,6 +940,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicitForbiddenPred___r LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__2; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorInfo___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6; static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind___closed__1; lean_object* l_Lean_MacroScopesView_review(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_setInfoState___at_Lean_Elab_Term_SavedState_restore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1015,8 +1020,6 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__32; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Elab_Term_containsPendingMVar___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9; static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__2; extern lean_object* l_Lean_Linter_deprecatedAttr; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1060,6 +1063,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___l LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__8; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; +static lean_object* l_Lean_Elab_Term_withExpectedType___closed__1; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1068,13 +1072,11 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Term_withDec LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars(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_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__11; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6; uint8_t l_Lean_Name_isAtomic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991_(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l___private_Lean_Elab_Term_0__Lean_Elab_Tactic_hashCacheKey____x40_Lean_Elab_Term___hyg_679_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_LVal_isFieldName(lean_object*); @@ -1098,9 +1100,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVa static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___rarg___closed__2; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7; LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_heedElabAsElim___default; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(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_mkCoe___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1112,8 +1112,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*); static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_float_to_string(double); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1154,6 +1156,7 @@ static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName_loop___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_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__27___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8(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_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__51___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkConst___closed__2; @@ -1175,7 +1178,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__13___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6; static lean_object* l_Lean_Elab_Term_mkCoe___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_getDelayedMVarRoot___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1187,13 +1189,14 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1; static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Term_expandDeclId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___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_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1(lean_object*, size_t, size_t); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -1220,7 +1223,6 @@ uint8_t l_Lean_isStructure(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733_(lean_object*); extern lean_object* l_Lean_Elab_autoImplicit; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Term_exceptionToSorry___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -1282,6 +1284,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveState___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda___lambda__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_Elab_expandDeclId___at_Lean_Elab_Term_expandDeclId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__1; lean_object* l_List_reverse___rarg(lean_object*); @@ -1349,6 +1352,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, le static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwMVarError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7; static lean_object* l_Lean_Elab_Term_resolveName_x27___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_run_x27(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); @@ -1383,11 +1387,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__20; extern lean_object* l_Lean_KVMap_empty; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__17; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Term_withDeclName___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___rarg___closed__1; @@ -1409,6 +1411,7 @@ LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Term_instAddErrorMessageCon LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_State_pendingMVars___default; static lean_object* l_List_foldl___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__2___closed__3; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__4; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; @@ -1420,10 +1423,10 @@ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Term_mkCoe___spec LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__1; static lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg___closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringLVal(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDeclName___spec__13___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*); @@ -1535,6 +1538,7 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Term_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__5; lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814_(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__8; LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_ignoreTCFailures___default; @@ -1561,7 +1565,6 @@ lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_ob LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Term_mkCoe___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5; lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -30388,6 +30391,97 @@ lean_dec(x_3); return x_9; } } +static lean_object* _init_l_Lean_Elab_Term_withExpectedType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected type must be known", 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_withExpectedType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_withExpectedType___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withExpectedType(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_1); +x_10 = l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Term_withExpectedType___closed__2; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_tryPostponeIfHasMVars___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_apply_8(x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +return x_10; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +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_Lean_Elab_Term_saveContext(lean_object* x_1, 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: { @@ -52004,7 +52098,7 @@ lean_dec(x_3); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1() { _start: { lean_object* x_1; @@ -52012,17 +52106,17 @@ x_1 = lean_mk_string_from_bytes("letrec", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -52032,27 +52126,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6() { _start: { lean_object* x_1; @@ -52060,17 +52154,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8() { _start: { lean_object* x_1; @@ -52078,47 +52172,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13() { _start: { lean_object* x_1; @@ -52126,33 +52220,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14; -x_2 = lean_unsigned_to_nat(13733u); +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14; +x_2 = lean_unsigned_to_nat(13814u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -52479,7 +52573,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2; x_10 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -60860,77 +60954,77 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withoutModifyingStateWithInfoAndMes return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4; x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6; -x_2 = lean_unsigned_to_nat(15991u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6; +x_2 = lean_unsigned_to_nat(16072u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8() { _start: { lean_object* x_1; @@ -60938,23 +61032,23 @@ x_1 = lean_mk_string_from_bytes("debug", 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__2; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -60970,7 +61064,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9; +x_10 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9; x_11 = l_Lean_registerTraceClass(x_10, x_3, x_4, x_9); return x_11; } @@ -61483,6 +61577,10 @@ l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__5 = _init_l_Lean_Elab_Term_tryP lean_mark_persistent(l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__5); l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__6 = _init_l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__6); +l_Lean_Elab_Term_withExpectedType___closed__1 = _init_l_Lean_Elab_Term_withExpectedType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_withExpectedType___closed__1); +l_Lean_Elab_Term_withExpectedType___closed__2 = _init_l_Lean_Elab_Term_withExpectedType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_withExpectedType___closed__2); l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___closed__2(); @@ -61650,37 +61748,37 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__6); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__7); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__8); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__9); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__11); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__12); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__13); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__14); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733____closed__15); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13733_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__6); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__7); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__8); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__9); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__10); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__11); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__12); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__13); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__14); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814____closed__15); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13814_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__3___closed__1(); @@ -61897,25 +61995,25 @@ l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__3 = _init_l_Lean_Elab_Term_e lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__3); l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4 = _init_l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991____closed__9); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_15991_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072____closed__9); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16072_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index 9224927842..361a083c79 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -112,6 +112,7 @@ uint8_t lean_uint16_dec_lt(uint16_t, uint16_t); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_beqFVarId____x40_Lean_Expr___hyg_1613____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicit___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2961____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIff(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_lt___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__12; @@ -122,6 +123,7 @@ uint64_t lean_uint64_lor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Expr_getAutoParamTactic_x3f(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isLet(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getAppFn___boxed(lean_object*); +static lean_object* l_Lean_mkAndN___closed__2; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2961____closed__26; LEAN_EXPORT uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprMVarId____x40_Lean_Expr___hyg_1952____closed__4; @@ -324,6 +326,7 @@ static lean_object* l_Lean_Expr_mkData___closed__6; LEAN_EXPORT uint8_t l_Lean_Expr_isAppOfArity_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAppRange(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); +static lean_object* l_Lean_mkIff___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_fvarId_x21___spec__1(lean_object*); static lean_object* l_Lean_mkNatLit___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicitForExposingMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -375,6 +378,7 @@ uint32_t lean_uint32_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_isHeadBetaTarget___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bindingBody_x21___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_getBoundedAppArgsAux(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkAndN___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2961____closed__30; static lean_object* l_Lean_Expr_bindingBody_x21___closed__1; @@ -434,6 +438,7 @@ LEAN_EXPORT uint8_t lean_expr_has_level_param(lean_object*); static lean_object* l_Lean_Expr_constLevels_x21___closed__1; static lean_object* l_Lean_Expr_appArg_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_consumeMData___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkAndN(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_415____closed__22; static lean_object* l_Lean_instReprData__1___lambda__4___closed__1; LEAN_EXPORT uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1674_(lean_object*); @@ -445,6 +450,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spe LEAN_EXPORT lean_object* l_Lean_Literal_lt___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_isCharLit___boxed(lean_object*); +static lean_object* l_Lean_mkIff___closed__3; static lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; uint64_t lean_uint64_add(uint64_t, uint64_t); LEAN_EXPORT uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); @@ -711,6 +717,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_expr_mk_mvar(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkDecIsFalse(lean_object*, lean_object*); +static lean_object* l_Lean_mkAndN___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_getArgD(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2961____closed__14; LEAN_EXPORT lean_object* l_Lean_instMVarIdSetEmptyCollection; @@ -800,6 +807,7 @@ uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Expr_letFunAppArgs_x3f(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2961____closed__19; static lean_object* l_Lean_mkNatLit___closed__4; +static lean_object* l_Lean_mkIff___closed__2; size_t lean_usize_sub(size_t, size_t); static lean_object* l___private_Lean_Expr_0__Lean_reprMVarId____x40_Lean_Expr___hyg_1952____closed__6; static lean_object* l___private_Lean_Expr_0__Lean_reprMVarId____x40_Lean_Expr___hyg_1952____closed__3; @@ -30292,6 +30300,69 @@ x_4 = l_Lean_mkAppB(x_3, x_1, x_2); return x_4; } } +static lean_object* _init_l_Lean_mkAndN___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("True", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_mkAndN___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_mkAndN___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_mkAndN___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_mkAndN___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_mkAndN(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_Lean_mkAndN___closed__3; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l_Lean_mkAndN(x_3); +x_7 = l_Lean_mkAnd(x_5, x_6); +return x_7; +} +} +} +} static lean_object* _init_l_Lean_mkEM___closed__1() { _start: { @@ -30337,6 +30408,43 @@ x_3 = l_Lean_Expr_app___override(x_2, x_1); return x_3; } } +static lean_object* _init_l_Lean_mkIff___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Iff", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_mkIff___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_mkIff___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_mkIff___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_mkIff___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_mkIff(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_mkIff___closed__3; +x_4 = l_Lean_mkAppB(x_3, x_1, x_2); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_KVMap(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Level(uint8_t builtin, lean_object*); @@ -31034,6 +31142,12 @@ l_Lean_mkAnd___closed__2 = _init_l_Lean_mkAnd___closed__2(); lean_mark_persistent(l_Lean_mkAnd___closed__2); l_Lean_mkAnd___closed__3 = _init_l_Lean_mkAnd___closed__3(); lean_mark_persistent(l_Lean_mkAnd___closed__3); +l_Lean_mkAndN___closed__1 = _init_l_Lean_mkAndN___closed__1(); +lean_mark_persistent(l_Lean_mkAndN___closed__1); +l_Lean_mkAndN___closed__2 = _init_l_Lean_mkAndN___closed__2(); +lean_mark_persistent(l_Lean_mkAndN___closed__2); +l_Lean_mkAndN___closed__3 = _init_l_Lean_mkAndN___closed__3(); +lean_mark_persistent(l_Lean_mkAndN___closed__3); l_Lean_mkEM___closed__1 = _init_l_Lean_mkEM___closed__1(); lean_mark_persistent(l_Lean_mkEM___closed__1); l_Lean_mkEM___closed__2 = _init_l_Lean_mkEM___closed__2(); @@ -31042,6 +31156,12 @@ l_Lean_mkEM___closed__3 = _init_l_Lean_mkEM___closed__3(); lean_mark_persistent(l_Lean_mkEM___closed__3); l_Lean_mkEM___closed__4 = _init_l_Lean_mkEM___closed__4(); lean_mark_persistent(l_Lean_mkEM___closed__4); +l_Lean_mkIff___closed__1 = _init_l_Lean_mkIff___closed__1(); +lean_mark_persistent(l_Lean_mkIff___closed__1); +l_Lean_mkIff___closed__2 = _init_l_Lean_mkIff___closed__2(); +lean_mark_persistent(l_Lean_mkIff___closed__2); +l_Lean_mkIff___closed__3 = _init_l_Lean_mkIff___closed__3(); +lean_mark_persistent(l_Lean_mkIff___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus